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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d0b90
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 0x411b3d
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 4], ebx
jmp 0x411e04
call fcn.00411ac6
mov dword [esp + 0x18], eax
call fcn.00411ae6
fild dword [esp + 0x18]
mov dword [esp + 0x1c], eax
fmul dword [ebp + 0x10]
call fcn.004c0be0
fild dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [ebp + 0x10]
call fcn.004c0be0
cmp dword [ebp + 0x14], ebx
mov edi, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], 1
je 0x411bb6
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411bb6
cmp eax, dword [ebp + 0x14]
jl 0x411bb6
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.0042217e
test eax, eax
jne 0x411bce
mov ecx, esi
jmp 0x411b33
mov eax, esi
call fcn.0040b214
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 0x411df4
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.00422097
push 2
mov dword [esp + 0x88], ebx
push dword [esp + 0x44]
call sub.gdiplus.dll_GdipSetInterpolationMode
cmp eax, ebx
je 0x411c28
mov dword [esp + 0x44], eax
fld1
fcomp dword [ebp + 0x10]
fnstsw ax
test ah, 0x44
jnp 0x411da0
cmp dword [esp + 0x10], 1
je 0x411da0
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x30]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipGetImagePixelFormat
cmp eax, ebx
je 0x411c5a
mov dword [edi + 8], eax
push dword [esp + 0x30]
lea esi, [esp + 0x6c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00411e1b
push 8
mov byte [esp + 0x88], 1
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x411c91
lea eax, [esp + 0x68]
call fcn.00411e4d
mov esi, eax
jmp 0x411c93
xor esi, esi
cmp esi, ebx
je 0x411d95
push 0xffffff
push dword [esi]
call sub.gdiplus.dll_GdipGraphicsClear
cmp eax, ebx
je 0x411cae
mov dword [esi + 4], eax
push dword [esp + 0x1c]
mov eax, edi
push dword [esp + 0x1c]
push ebx
push ebx
call fcn.00411e71
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 0x411d95
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.00411ea2
mov edi, eax
cmp edi, ebx
je 0x411d95
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.00411f20
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 0x411cff
push dword [esp + 0x6c]
call sub.gdiplus.dll_GdipDisposeImage
jmp 0x411dd0
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.00411f20
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