Function at 0x48c160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, ecx
push esi
push edi
mov dword [esp + 0x4c], eax
cmp dword [eax + 4], 0
je 0x48c55a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48c55a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48c55a
push ecx
push eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x78], 1
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.004813d0
mov esi, eax
test esi, esi
je 0x48c55a
mov ecx, dword [esp + 0xc]
mov edi, esi
push ecx
mov dword [esp + 0x2c], edi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, esi
call fcn.0046b810
mov ecx, esi
mov dword [esp + 0xc], eax
call fcn.0046b7e0
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x48c2a5
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x48c2a5
test eax, eax
jle 0x48c2a5
cmp dword [esp + 0xc], ecx
jne 0x48c232
cmp dword [esp + 0x1c], eax
je 0x48c2a5
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48c25a
push ecx
push dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x18]
call fcn.0043b0d0
mov edi, eax
mov dword [esp + 0x28], eax
jmp 0x48c260
xor edi, edi
mov dword [esp + 0x28], edi
push edi
lea ecx, [esp + 0x24]
call fcn.0043afe0
push ecx
lea ecx, [esp + 0x24]
call fcn.0043ae50
push ecx
lea ecx, [esp + 0x24]
call fcn.0048c920
push dword [esp + 0x14]
lea ecx, [esp + 0x24]
push dword [esp + 0x14]
sub esp, 8
push esi
call fcn.0048c8e0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x48c4ce
cmp dword [esi], 0
jne 0x48c2bf
cmp dword [esi + 4], 0
je 0x48c4ce
mov ecx, edi
call fcn.0046b810
mov ecx, edi
mov dword [esp + 0x14], eax
call fcn.0046b7e0
push 0x10
mov dword [esp + 0x14], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48c2f7
push ecx
push dword [esp + 0x14]
mov ecx, eax
push dword [esp + 0x1c]
call fcn.0043b0d0
jmp 0x48c2f9
xor eax, eax
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.0043afe0
push 0xff000000
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipGraphicsClear]
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x24], ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.0043ae50
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], eax
call fcn.0048c8c0
push dword [esi + 4]
movups xmm0, xmmword [esp + 0x34]
mov edx, dword [esi]
lea ecx, [esp + 0x54]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0048b4a0
add esp, 0x14
mov dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
lea ecx, [esp + 0x74]
push eax
call fcn.0043aee0
push dword [esp + 0x50]
push dword [esp + 0x7c]
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipFillPath]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x80]
push eax
push 0x26200a
push 1
lea eax, [esp + 0x3c]
push eax
push dword [esi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
test eax, eax
je 0x48c3c5
mov dword [esi + 8], eax
lea eax, [esp + 0x98]
push eax
push 0x26200a
push 2
lea eax, [esp + 0x3c]
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipBitmapLockBits]
test eax, eax
je 0x48c3e9
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], 0
test ecx, ecx
jle 0x48c474
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa8]
add eax, 3
mov dword [esp + 0x14], eax
xor eax, eax
nop
xor edx, edx
mov dword [esp + 0x10], edx
test esi, esi
jle 0x48c45d
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
mov edx, dword [esp + 0x10]
jae 0x48c446
mov dl, byte [ecx]
mov byte [eax], dl
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
inc edx
add ecx, 4
add eax, 4
mov dword [esp + 0x10], edx
cmp edx, esi
jl 0x48c430
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
inc eax
add dword [esp + 0x14], edx
add edi, edx
mov dword [esp + 0xc], eax
cmp eax, ecx
jl 0x48c420
mov edi, dword [esp + 0x28]
mov esi, dword [sym.imp.gdiplus.dll_GdipBitmapUnlockBits]
lea eax, [esp + 0x98]
push eax
push dword [edi + 4]
call esi
test eax, eax
je 0x48c48e
mov dword [edi + 8], eax
lea eax, [esp + 0x80]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 4]
call esi
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x48c4aa
mov dword [ecx + 8], eax
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esp + 0x78]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [esp + 0x50]
call dword [sym.imp.gdiplus.dll_GdipDeletePath]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push 0
lea eax, [esp + 0x64]
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
je 0x48c4e5
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x5c], edi
push eax
push dword [edi + 4]
mov dword [esp + 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageWidth]
test eax, eax
je 0x48c506
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0xc]
push eax
push dword [edi + 4]
mov dword [esp + 0x14], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageHeight]
test eax, eax
je 0x48c52b
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x58]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
push edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x60]
call eax
mov edx, dword [edi]
mov ecx, edi
push 1
mov esi, eax
call dword [edx]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14