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

Disassembly:
jmp 0x41c8e0
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
push edi
lea eax, [esp + 0x5c]
push ebx
mov esi, ecx
push eax
call fcn.004024e1
mov ebp, dword [eax]
mov edx, dword [esi + 0xb0]
mov dword [esp + 0x34], ebp
mov ecx, dword [eax + 4]
mov edi, dword [edx + ebp*4]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0xa4]
mov dword [esp + 0x38], ecx
mov ecx, edi
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi + 0xc4]
shr ecx, 1
sub eax, dword [edx + ebp*4]
cmp eax, ecx
jb 0x41ca79
sub edi, ecx
cmp eax, edi
ja 0x41ca79
mov edi, dword [ebx]
mov ebx, dword [esi + 0xa8]
mov eax, edi
xor edx, edx
div ebx
xor edx, edx
mov ecx, eax
mov eax, edi
div ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xa0]
mov eax, dword [edx + ebp*8]
test eax, eax
mov edx, dword [edx + ebp*8 + 4]
mov dword [esp + 0x60], edx
je 0x41cd7a
mov edi, dword [eax + 8]
mov edx, dword [eax]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], edx
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
cmp ebx, eax
jg 0x41ca79
cmp edx, ebp
jne 0x41ca79
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x41c9c9
cmp dword [esp + 0x10], ebx
jl 0x41c9c9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ebx - 1]
cmp ecx, eax
jle 0x41ca99
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
test eax, eax
jne 0x41ca51
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x41ca15
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
fild qword [esp + 0x2c]
mov dword [esp + 0x28], edx
fild qword [esp + 0x24]
fmul qword [str.333333]
fcompp
fnstsw ax
test ah, 1
je 0x41ca99
jmp 0x41ca17
xor edx, edx
lea eax, [ecx + 1]
cmp eax, ebx
jne 0x41ca57
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xa8]
fild qword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [0x4b65e0]
fcompp
fnstsw ax
test ah, 0x41
jne 0x41ca99
jmp 0x41ca57
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x1c]
cmp eax, edx
je 0x41ca79
mov edi, dword [eax + 8]
mov edx, dword [eax]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], edx
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
cmp ebx, eax
jle 0x41c999
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41cd7a
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x41cd7a
jmp 0x41caa9
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x7c], eax
mov ebx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
mov eax, edi
mov dword [esp + 0x14], edx
sub eax, ebp
mov dword [esp + 0x24], edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x41cd6e
mov eax, dword [esp + 0x10]
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x41cd6e
cmp edi, dword [esp + 0x10]
jle 0x41cb2a
mov eax, ecx
mov ecx, ebx
mov ebx, eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xb0]
mov ebp, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0xa4]
shr ebp, 1
add ebp, eax
lea eax, [edi*4]
imul ebp, dword [esi + 0xa8]
mov edx, dword [eax + edx]
mov edi, 1
sub edx, ecx
mov dword [esp + 0x1c], eax
shr edx, 1
sub edi, edx
mov edx, dword [esi + 0xc4]
mov dword [esp + 0x2c], ebp
sub edi, dword [eax + edx]
mov eax, dword [ebx]
sub edi, ecx
mov ecx, ebx
mov dword [esp + 0x30], edi
call dword [eax + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esi + 0xb0]
mov edx, dword [esp + 0x10]
shr eax, 1
add eax, ebx
mov ebx, dword [ecx + edx*4]
imul eax, dword [esi + 0xa8]
mov edx, dword [esi + 0xa4]
mov ecx, dword [esp + 0x10]
sub ebx, edx
mov edx, dword [esi + 0xc4]
shr ebx, 1
add ebx, dword [edx + ecx*4]
mov edx, dword [esi + 0xe4]
mov dword [esp + 0x5c], eax
neg ebx
test edx, edx
je 0x41ccc5
cmp dword [esp + 0x24], ecx
je 0x41ccc5
mov eax, dword [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], ebp
mov eax, dword [eax + 0x70]
add eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
call fcn.00401b2c
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
xor eax, eax
mov ecx, ebx
mov dword [esp + 0x48], eax
sub ecx, edi
fild qword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx]
fild dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
fmulp st(1)
fild qword [esp + 0x3c]
fdivp st(1)
call fcn.0044ac60
mov ecx, dword [esp + 0x5c]
add eax, edi
cmp ebp, ecx
mov dword [esp + 0x54], ecx
jle 0x41cc39
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ebp
mov edx, dword [esp + 0x78]
mov ecx, dword [edx]
lea edx, [ebp - 0x1e]
cmp ecx, edx
jl 0x41cc60
add ebp, 0x1e
cmp ecx, ebp
jg 0x41cc60
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 4]
cmp edx, edi
jg 0x41cc60
cmp edx, eax
jge 0x41cd86
mov edx, dword [esp + 0x4c]
add edx, 0xffffffe2
cmp ecx, edx
jl 0x41cc8f
mov edx, dword [esp + 0x54]
add edx, 0x1e
cmp ecx, edx
jg 0x41cc8f
mov edx, dword [esp + 0x78]
lea edi, [eax + 0x1e]
mov edx, dword [edx + 4]
cmp edx, edi
jg 0x41cc8f
lea edi, [eax - 0x1e]
cmp edx, edi
jge 0x41cd86
mov edx, dword [esp + 0x5c]
lea edi, [edx - 0x1e]
cmp ecx, edi
jl 0x41cd6a
add edx, 0x1e
cmp ecx, edx
jg 0x41cd6a
mov ecx, dword [esp + 0x78]
mov ecx, dword [ecx + 4]
cmp ecx, eax
jg 0x41cd6a
cmp ecx, ebx
jge 0x41cd86
jmp 0x41cd6a
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x41cd24
sub edi, ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
fild dword [esp + 0x18]
mov edi, dword [ebx]
fdivp st(1)
mov dword [esp + 0x1c], edi
lea edx, [edi - 0x1e]
mov dword [esp + 0x64], edx
fild dword [esp + 0x30]
fild dword [esp + 0x2c]
fmul st(2)
fsubp st(1)
fild dword [esp + 0x1c]
fmul st(2)
fadd st(1)
call fcn.0044ac60
lea ecx, [eax - 0x1e]
add edi, 0x1e
fstp st(0)
add eax, 0x1e
mov dword [esp + 0x68], ecx
fstp st(0)
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], eax
jmp 0x41cd4b
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x78]
lea edx, [ebp - 0x1e]
add ebp, 0x1e
mov eax, dword [eax + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], ebp
lea ecx, [eax + 0x1e]
add eax, 0xffffffe2
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x64]
call fcn.00498a32
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push edx
lea ecx, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41cd86
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41caa5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret 8
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8