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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6389
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp esi, edi
jne 0x45a0ff
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], edi
jmp 0x45a3cd
call fcn.0042f5f5
mov ebx, eax
mov dword [esp + 0x1c], ebx
call fcn.0042f615
fild dword [esp + 0x1c]
mov dword [esp + 0x18], eax
fmul dword [ebp + 0x10]
call fcn.00490b00
fild dword [esp + 0x18]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [ebp + 0x10]
call fcn.00490b00
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], 1
je 0x45a176
cmp ebx, edi
je 0x45a176
cmp ebx, dword [ebp + 0x14]
jl 0x45a176
mov eax, ebx
cdq
idiv dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
cdq
idiv dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov eax, edx
neg eax
sbb eax, eax
and eax, ecx
add dword [esp + 0x10], eax
push dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
call fcn.0043155e
test eax, eax
jne 0x45a191
mov ecx, esi
jmp 0x45a0f5
mov eax, esi
call fcn.004316ca
push edi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x30], ebx
je 0x45a3bd
push dword [esi + 4]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
lea esi, [esp + 0x44]
mov dword [esp + 0x3c], eax
call fcn.0042f27b
push 2
mov dword [esp + 0x88], edi
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, edi
je 0x45a1ea
mov dword [esp + 0x44], eax
fld1
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x45a363
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x45a363
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x34]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, edi
je 0x45a21e
mov dword [esi + 8], eax
push dword [esp + 0x34]
lea esi, [esp + 0x6c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
call fcn.00448891
push 8
mov byte [esp + 0x88], 1
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x45a255
lea eax, [esp + 0x68]
call fcn.00448767
mov esi, eax
jmp 0x45a257
xor esi, esi
cmp esi, edi
je 0x45a358
push 0xffffff
push dword [esi]
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, edi
je 0x45a272
mov dword [esi + 4], eax
push dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [esp + 0x20]
push edi
push edi
call fcn.0044882d
mov eax, dword [esp + 0x1c]
cdq
idiv ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
cdq
idiv ebx
cmp ebx, edi
mov dword [esp + 0x2c], eax
jle 0x45a358
fild dword [esp + 0x1c]
mov dword [esp + 0x10], edi
fstp dword [esp + 0x50]
fld dword [esp + 0x20]
mov dword [esp + 0x20], edi
fstp dword [esp + 0x54]
fild dword [esp + 0x10]
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.00458c94
mov ebx, eax
cmp ebx, edi
je 0x45a358
push dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
push edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], eax
push edi
xor ecx, ecx
lea eax, [esp + 0x68]
mov edi, ebx
lea esi, [esp + 0x50]
call fcn.0042f42a
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
inc dword [esp + 0x24]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, dword [esp + 0x14]
jl 0x45a2be
push dword [esp + 0x6c]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x45a399
push dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
push edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], eax
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
lea eax, [esp + 0x68]
lea esi, [esp + 0x50]
call fcn.0042f42a
xor edi, edi
push dword [esp + 0x38]
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x30]
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 edi
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
cmp dword [esi + 4], edi
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