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

Disassembly:
push 0xffffffffffffffff
push 0x444d88
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453140]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x28], ebp
mov esi, dword [ebp + 4]
xor ebx, ebx
cmp esi, ebx
je 0x420a92
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x420823
mov dword [esi + 8], eax
mov esi, dword [ebp + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x42083f
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov esi, dword [ebp + 4]
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x42086f
mov dword [esi + 8], eax
mov eax, dword [esp + 0x2c]
mov esi, dword [ebp + 4]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esi + 4]
push eax
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
call sub.gdiplus.dll_GdipBitmapLockBits
cmp eax, ebx
je 0x420893
mov dword [esi + 8], eax
mov esi, dword [ebp + 4]
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x4208b7
mov dword [esi + 8], eax
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x4208d7
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
imul eax, edi
xor ebp, ebp
xor ecx, ecx
xor dl, dl
cmp eax, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
jle 0x420a92
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
add esi, 3
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
je 0x42095b
test dl, dl
jne 0x42093f
fild dword [esp + 0x18]
call fcn.00432350
fild dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x30], esi
call fcn.00432350
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov edi, ebx
mov dl, 1
cmp ebp, dword [esp + 0x30]
jge 0x420949
mov dword [esp + 0x30], ebp
cmp ebp, esi
jle 0x42094f
mov esi, ebp
cmp ecx, ebx
jge 0x420955
mov ebx, ecx
cmp ecx, edi
jle 0x42095b
mov edi, ecx
add ebp, 1
cmp ebp, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
jl 0x420975
xor ebp, ebp
add ecx, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
add dword [esp + 0x24], 4
sub dword [esp + 0x2c], 1
jne 0x420910
test dl, dl
je 0x420a92
mov ecx, dword [esp + 0x28]
mov ebp, dword [ecx + 4]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x50]
push edx
push eax
add esi, 1
add edi, 1
call sub.gdiplus.dll_GdipBitmapUnlockBits
test eax, eax
je 0x4209ab
mov dword [ebp + 8], eax
sub esi, dword [esp + 0x30]
push 0x10
mov ebp, esi
sub edi, ebx
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x4209eb
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0x26200a
push eax
push edi
push ebp
mov dword [esi], 0x447670
mov dword [esp + 0x44], eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov eax, esi
xor esi, esi
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
je 0x420a0f
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
push 1
push esi
mov dword [esp + 0x78], 0
call sub.gdiplus.dll_GdipSetCompositingMode
test eax, eax
je 0x420a2b
mov dword [esp + 0x20], eax
push 7
push esi
call sub.gdiplus.dll_GdipSetInterpolationMode
test eax, eax
je 0x420a3b
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
je 0x420a4b
mov eax, dword [eax + 4]
jmp 0x420a4d
xor eax, eax
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 2
push edi
push ebp
push ebx
push ecx
push edi
push ebp
push 0
push 0
push eax
push esi
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x420a72
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x420a85
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x24]
push esi
mov dword [edi + 4], ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret