Function at 0x5b4d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652759
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x6a56e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x70], 0
lea edx, [ebp - 0x70]
push edx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov eax, dword [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xb8], eax
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x90], 0
je 0x5b4e02
push 0
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x90]
call fcn.005aa010
mov dword [ebp - 0x94], eax
jmp 0x5b4e0c
mov dword [ebp - 0x94], 0
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [edx + 8]
call ecx
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x5b4eab
mov edx, dword [ebp - 0x74]
mov dword [edx], vtable.Gdiplus::Image.0
mov eax, dword [ebp - 0x74]
mov dword [eax], vtable.Gdiplus::Bitmap.0
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
push ecx
push 0
push 0x26200a
push 0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc0]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x9c], edx
jmp 0x5b4eb5
mov dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0x80], 0
je 0x5b4ef3
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 1
push 2
mov ecx, dword [ebp - 0x8c]
push ecx
call sub.gdiplus.dll_GdipSetInterpolationMode
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x5b4f3f
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xcc], eax
jmp 0x5b4f48
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xcc], ecx
cmp dword [ebp - 0xa4], 0
je 0x5b4f62
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
mov dword [ebp - 0xa8], eax
jmp 0x5b4f6c
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
push 0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call sub.gdiplus.dll_GdipDrawImageRectI
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x5b4faa
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xd0], eax
jmp 0x5b4fb3
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x6c], 0
lea edx, [ebp - 0x6c]
push edx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0x20]
push eax
push str.image_png
call fcn.005b2b80
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xd4], ecx
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + 4]
push edx
call sub.gdiplus.dll_GdipSaveImageToStream
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x5b5026
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0xd8], edx
jmp 0x5b5032
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xd8], eax
push 1
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 0xe8], 0
xor eax, eax
mov dword [ebp - 0xe4], eax
push 0
push 0
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.00615dd1
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xe0]
mov dword [edx], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x8c]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006158c5
mov esp, ebp
pop ebp
ret