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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x594815
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x4437e5
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], ebx
jmp 0x443aac
call fcn.0042427b
mov dword [esp + 0x18], eax
call fcn.0042425b
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fmul dword [ebp + 0x10]
call fcn.00590480
fild dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [ebp + 0x10]
call fcn.00590480
cmp dword [ebp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 1
je 0x44385e
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44385e
cmp eax, dword [ebp + 0x14]
jl 0x44385e
cdq
idiv dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
sub ecx, edx
mov eax, edx
neg eax
sbb eax, eax
and eax, ecx
add dword [esp + 0x14], eax
mov esi, dword [ebp + 8]
push edi
push dword [esp + 0x18]
call fcn.00431a72
test eax, eax
jne 0x443876
mov ecx, esi
jmp 0x4437db
mov eax, esi
call fcn.004185f1
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x443a9c
push dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x28]
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], eax
call fcn.00431927
push 2
mov dword [esp + 0x88], ebx
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x4438d0
mov dword [esp + 0x44], eax
fld1
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x443a48
cmp dword [esp + 0x10], 1
je 0x443a48
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x443902
mov dword [edi + 8], eax
push dword [esp + 0x30]
lea esi, [esp + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004262a9
push 8
mov byte [esp + 0x88], 1
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x443939
lea eax, [esp + 0x68]
call fcn.00425295
mov esi, eax
jmp 0x44393b
xor esi, esi
cmp esi, ebx
je 0x443a3d
push 0xffffff
push dword [esi]
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x443956
mov dword [esi + 4], eax
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.0042429b
mov eax, dword [esp + 0x18]
cdq
idiv dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cdq
idiv dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
jle 0x443a3d
fild dword [esp + 0x18]
mov dword [esp + 0x14], ebx
fstp dword [esp + 0x50]
fld dword [esp + 0x20]
mov dword [esp + 0x20], ebx
fstp dword [esp + 0x54]
fild dword [esp + 0x14]
sub esp, 0x10
lea eax, [esp + 0x78]
fstp dword [esp + 0x58]
fld dword [esp + 0x64]
fstp dword [esp + 0xc]
fld dword [esp + 0x60]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [esp + 0x58]
fstp dword [esp]
call fcn.00443ac3
mov edi, eax
cmp edi, ebx
je 0x443a3d
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push dword [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
push ebx
mov dword [esp + 0x70], eax
push ebx
xor ecx, ecx
lea eax, [esp + 0x68]
lea esi, [esp + 0x50]
mov dword [esp + 0x6c], ebx
call fcn.0042d44b
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
inc dword [esp + 0x24]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x10]
jl 0x4439a7
push dword [esp + 0x6c]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x443a78
push dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push dword [esp + 0x1c]
mov dword [esp + 0x68], eax
push ebx
mov dword [esp + 0x70], edi
mov edi, dword [ebp + 0xc]
push ebx
xor ecx, ecx
lea eax, [esp + 0x68]
lea esi, [esp + 0x50]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0042d44b
push dword [esp + 0x38]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x40]
call sub.gdiplus.dll_GdipDeleteGraphics
mov esi, dword [ebp + 8]
push dword [esp + 0x3c]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
cmp dword [esi + 4], ebx
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10