1) the easiest one - to store the image somewhere on your pc, then just draw it in. you can download the proper one in the loader, with something like b1gpaste.ua/api/profile_picture?uid=...
, then store it in bytecode idk, figure it out.
2) make the request from the dll, parse the response, store the png, draw it in.