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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5972e9
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 0x443aa8
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], ebx
jmp 0x443d6f
call fcn.004243be
mov dword [esp + 0x18], eax
call fcn.0042439e
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fmul dword [ebp + 0x10]
call fcn.00592fe0
fild dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [ebp + 0x10]
call fcn.00592fe0
cmp dword [ebp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 1
je 0x443b21
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x443b21
cmp eax, dword [ebp + 0x14]
jl 0x443b21
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.00431b4d
test eax, eax
jne 0x443b39
mov ecx, esi
jmp 0x443a9e
mov eax, esi
call fcn.00418a9b
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 0x443d5f
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.00431a02
push 2
mov dword [esp + 0x88], ebx
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x443b93
mov dword [esp + 0x44], eax
fld1
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x443d0b
cmp dword [esp + 0x10], 1
je 0x443d0b
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x443bc5
mov dword [edi + 8], eax
push dword [esp + 0x30]
lea esi, [esp + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004263f0
push 8
mov byte [esp + 0x88], 1
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x443bfc
lea eax, [esp + 0x68]
call fcn.004253d8
mov esi, eax
jmp 0x443bfe
xor esi, esi
cmp esi, ebx
je 0x443d00
push 0xffffff
push dword [esi]
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x443c19
mov dword [esi + 4], eax
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.004243de
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 0x443d00
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.00443d86
mov edi, eax
cmp edi, ebx
je 0x443d00
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.0042d4aa
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 0x443c6a
push dword [esp + 0x6c]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x443d3b
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.0042d4aa
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