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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cd654
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 0x442d2e
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], ebx
jmp 0x442ff5
call fcn.00424a74
mov dword [esp + 0x18], eax
call fcn.00424a54
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fmul dword [ebp + 0x10]
call fcn.004cb780
fild dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [ebp + 0x10]
call fcn.004cb780
cmp dword [ebp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 1
je 0x442da7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x442da7
cmp eax, dword [ebp + 0x14]
jl 0x442da7
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.00432119
test eax, eax
jne 0x442dbf
mov ecx, esi
jmp 0x442d24
mov eax, esi
call fcn.00418d93
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 0x442fe5
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.00431fce
push 2
mov dword [esp + 0x88], ebx
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x442e19
mov dword [esp + 0x44], eax
fld1
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x442f91
cmp dword [esp + 0x10], 1
je 0x442f91
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x442e4b
mov dword [edi + 8], eax
push dword [esp + 0x30]
lea esi, [esp + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00426aa2
push 8
mov byte [esp + 0x88], 1
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x442e82
lea eax, [esp + 0x68]
call fcn.00425a8e
mov esi, eax
jmp 0x442e84
xor esi, esi
cmp esi, ebx
je 0x442f86
push 0xffffff
push dword [esi]
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x442e9f
mov dword [esi + 4], eax
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.00424a94
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 0x442f86
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.0044300c
mov edi, eax
cmp edi, ebx
je 0x442f86
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.0042db07
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 0x442ef0
push dword [esp + 0x6c]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x442fc1
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.0042db07
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