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

Disassembly:
xor eax, eax
cmp dword [ecx + 0xc], eax
je 0x40eee8
ret
mov edx, dword [ecx + 8]
test edx, edx
jne 0x40eefa
mov ecx, dword [ecx]
test ecx, ecx
je 0x40eee7
jmp fcn.00448f00
cmp edx, 1
jne 0x40eee7
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x40eee7
jmp 0x41d380
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x74c], edi
je 0x41d39d
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret
push ebp
call dword [0x48b3bc]
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp dword [ebx + 0x8c], edi
je 0x41d3c2
mov eax, dword [ebx + 0x84]
cmp eax, 3
je 0x41d3d5
cmp eax, 5
je 0x41d3d5
mov eax, dword [0x4c08ec]
cmp dword [eax + 0x24], edi
jne 0x41d3d5
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x14
ret
push esi
lea esi, [ebx + 0x80]
lea esp, [esp]
cmp dword [esi + 0xc], 0
je 0x41dc1f
cmp dword [esi + 4], 1
jne 0x41d51c
fld dword [esi + 8]
call fcn.0045e190
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov ecx, ebp
fimul dword [esi - 0x18]
sub ecx, dword [esi]
cmp ecx, 0x12c
fadd dword [esi - 0x30]
fstp dword [esp + 0x14]
fild dword [esi - 0x10]
fadd dword [esi - 0x30]
fstp dword [esi - 0x30]
fld dword [esi + 8]
fadd qword [0x48c760]
fstp dword [esi + 8]
jle 0x41d45d
fld dword [esi - 4]
mov edx, dword [esi - 0xc]
fadd qword [0x48b730]
mov dword [esi], ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 4]
fild dword [edx*4 + 0x4b3304]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41d45d
fldz
fstp dword [esi - 4]
fld dword [esi - 0x14]
mov ebp, dword [esi - 0x1c]
fadd dword [esi - 0x2c]
sub ebp, dword [esi - 0x24]
mov dword [esp + 0x1c], ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 0x2c]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fld qword [0x48bc10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x41d4ae
fld st(0)
fsubp st(2)
fxch st(1)
call fcn.0045b7b0
mov ebp, eax
test ebp, ebp
jge 0x41d4b0
xor ebp, ebp
jmp 0x41d4b0
fstp st(1)
mov ecx, dword [ebx + edi*4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00444260
fld dword [esi - 4]
mov eax, dword [esi - 0x24]
fmul qword [0x48c758]
add eax, ebp
fild dword [esi - 0x20]
push eax
fadd st(1)
call fcn.0045b7b0
fiadd dword [esi - 0x28]
push eax
mov eax, dword [esi - 0x24]
push eax
call fcn.0045b7b0
mov ecx, dword [ebx + edi*4]
push eax
call fcn.00444340
fld dword [0x48b760]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x41d518
mov eax, dword [esi - 0x10]
mov ecx, dword [esi + 0x24]
push 0
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0041c620
mov ebp, dword [esp + 0x18]
cmp dword [esi + 4], 5
jne 0x41d6bd
fld dword [esi + 8]
call fcn.0045e190
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov edx, ebp
fimul dword [esi - 0x18]
sub edx, dword [esi]
cmp edx, 0x1f4
fadd dword [esi - 0x30]
fstp dword [esp + 0x14]
fld dword [esi + 8]
fadd qword [0x48c760]
fstp dword [esi + 8]
jle 0x41d586
fld dword [esi - 4]
mov eax, dword [esi - 0xc]
fadd qword [0x48b730]
mov dword [esi], ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 4]
fild dword [eax*4 + 0x4b3304]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41d586
fldz
fstp dword [esi - 4]
fld dword [esi - 0x14]
mov eax, dword [esi - 0x1c]
fadd dword [esi - 0x2c]
sub eax, dword [esi - 0x24]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 0x2c]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fld qword [0x48bc10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x41d5df
fld st(0)
fsubp st(2)
fxch st(1)
call fcn.0045b7b0
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x41d5e1
mov dword [esp + 0x1c], 0
jmp 0x41d5e1
fstp st(1)
mov ecx, dword [ebx + edi*4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00444260
fld dword [esi - 4]
mov ecx, dword [esp + 0x1c]
fmul qword [0x48c758]
mov ebp, dword [esi - 0x24]
fild dword [esi - 0x20]
lea edx, [ecx + ebp]
push edx
fadd st(1)
call fcn.0045b7b0
fiadd dword [esi - 0x28]
push eax
push ebp
call fcn.0045b7b0
mov ecx, dword [ebx + edi*4]
push eax
call fcn.00444340
fld dword [esi + 0x10]
cmp dword [esi + 0x14], 0
je 0x41d661
fadd qword [0x48c750]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fcomp qword [0x48c748]
fnstsw ax
test ah, 1
jne 0x41d68d
fld dword [0x48c740]
mov dword [esi + 0x14], 0
fstp dword [esi + 0x10]
jmp 0x41d68d
fsub qword [0x48c750]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x41d68b
fstp dword [esi + 0x10]
mov dword [esi + 0x14], 1
jmp 0x41d68d
fstp st(0)
fld dword [esi + 0x10]
push ecx
mov ecx, dword [ebx + edi*4]
fstp dword [esp]
call fcn.00444470
fld dword [0x48b760]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x41d6b9
mov eax, dword [esi + 0x24]
push eax
push edi
mov ecx, ebx
call fcn.0041c8c0
mov ebp, dword [esp + 0x18]
cmp dword [esi + 4], 0
jne 0x41d894
fld dword [esi + 8]
call fcn.0045e190
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fimul dword [esi - 0x18]
fadd dword [esi - 0x30]
fstp dword [esp + 0x14]
fld dword [esi + 8]
fadd qword [0x48c738]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x1c]
fstp dword [esi + 8]
fld dword [0x48c730]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x41d719
fsub qword [0x48c728]
fstp dword [esi + 8]
jmp 0x41d71b
fstp st(0)
mov ecx, ebp
sub ecx, dword [esi]
cmp ecx, 0x1f4
jle 0x41d757
fld dword [esi - 4]
mov edx, dword [esi - 0xc]
fadd qword [0x48b730]
mov dword [esi], ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 4]
fild dword [edx*4 + 0x4b3304]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41d757
fldz
fst dword [esi - 4]
jmp 0x41d759
fldz
cmp dword [esi + 0x14], 0
je 0x41d78e
fstp st(0)
fld dword [esi + 0x10]
fadd qword [0x48c720]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x41d7b7
fstp dword [esi + 0x10]
mov dword [esi + 0x14], 0
jmp 0x41d7b9
fld dword [esi + 0x10]
fsub qword [0x48c720]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41d7b7
fstp dword [esi + 0x10]
mov dword [esi + 0x14], 1
jmp 0x41d7b9
fstp st(0)
fld dword [esi + 0x10]
push ecx
mov ecx, dword [ebx + edi*4]
fstp dword [esp]
call fcn.00444470
fld dword [esi - 0x2c]
fsub dword [esi - 0x14]
sub esp, 8
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi - 0x2c]
mov ecx, dword [ebx + edi*4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00444260
fld dword [esi - 4]
mov eax, dword [esi - 0x1c]
fmul qword [0x48c758]
push eax
fild dword [esi - 0x20]
fadd st(1)
call fcn.0045b7b0
fiadd dword [esi - 0x28]
mov ecx, dword [esi - 0x24]
push eax
push ecx
call fcn.0045b7b0
mov ecx, dword [ebx + edi*4]
push eax
call fcn.00444340
fld dword [esp + 0x14]
mov edx, dword [esi - 0x28]
sub edx, dword [esi - 0x20]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41d886
fcomp dword [0x48b764]
fnstsw ax
test ah, 0x41
je 0x41d888
mov edx, dword [esi - 0x24]
fld dword [esp + 0x10]
mov ecx, dword [esi - 0x1c]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41d886
sub ecx, edx
add ecx, 0x2d0
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x41d894
jmp 0x41d888
fstp st(0)
mov ecx, dword [esi + 0x24]
push ecx
push edi
mov ecx, ebx
call fcn.0041cc60
mov eax, dword [esi + 4]
cmp eax, 3
jne 0x41da68
fld dword [esi + 8]
call fcn.0045e190
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov edx, ebp
fimul dword [esi - 0x18]
sub edx, dword [esi]
cmp edx, 0x1f4
fadd dword [esi - 0x30]
fild dword [esi - 0x10]
fdiv qword [0x49c110]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esi + 8]
fadd qword [0x48c738]
fstp dword [esi + 8]
jle 0x41d90d
fld dword [esi - 4]
mov eax, dword [esi - 0xc]
fadd qword [0x48b730]
mov dword [esi], ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 4]
fild dword [eax*4 + 0x4b3304]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41d90d
fldz
fst dword [esi - 4]
jmp 0x41d90f
fldz
cmp dword [esi + 0x14], 0
je 0x41d94a
fstp st(0)
fld dword [esi + 0x10]
fadd qword [0x48c720]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fcomp qword [0x48c748]
fnstsw ax
test ah, 1
jne 0x41d975
fld dword [0x48c740]
mov dword [esi + 0x14], 0
fstp dword [esi + 0x10]
jmp 0x41d975
fld dword [esi + 0x10]
fsub qword [0x48c720]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esi + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41d973
fstp dword [esi + 0x10]
mov dword [esi + 0x14], 1
jmp 0x41d975
fstp st(0)
fld dword [esi + 0x10]
push ecx
mov ecx, dword [ebx + edi*4]
fstp dword [esp]
call fcn.00444470
fld dword [esi - 0x2c]
fsub dword [esi - 0x14]
sub esp, 8
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esi - 0x2c]
mov ecx, dword [ebx + edi*4]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00444260
fld dword [esi - 4]
mov ecx, dword [esi - 0x1c]
fmul qword [0x48c758]
push ecx
fild dword [esi - 0x20]
fadd st(1)
call fcn.0045b7b0
fiadd dword [esi - 0x28]
mov edx, dword [esi - 0x24]
push eax
push edx
call fcn.0045b7b0
mov ecx, dword [ebx + edi*4]
push eax
call fcn.00444340
fld dword [esp + 0x14]
mov eax, dword [esi - 0x28]
sub eax, dword [esi - 0x20]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41da55
fcomp dword [0x48b764]
fnstsw ax
test ah, 0x41
je 0x41da57
mov edx, dword [esi - 0x24]
fld dword [esp + 0x10]
mov ecx, dword [esi - 0x1c]
mov eax, edx
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x41da55
sub ecx, edx
add ecx, 0x2d0
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x41dc1f
mov ecx, dword [esi + 0x24]
push ecx
push edi
mov ecx, ebx
call fcn.0041ce60
jmp 0x41dc1f
fstp st(0)
mov ecx, dword [esi + 0x24]
push ecx
push edi
mov ecx, ebx
call fcn.0041ce60
jmp 0x41dc1f
cmp eax, 2
jne 0x41db4c
fld dword [esi - 0x30]
mov eax, dword [esi - 0x1c]
sub eax, dword [esi - 0x24]
fstp dword [esp + 0x14]
fld dword [esi - 0x14]
fadd dword [esi - 0x2c]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esi - 0x2c]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(0)
faddp st(2)
fld qword [0x48bc10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x41dad1
fld st(0)
fsubp st(2)
fxch st(1)
call fcn.0045b7b0
mov dword [esp + 0x1c], eax
test eax, eax
jge 0x41dad3
mov dword [esp + 0x1c], 0
jmp 0x41dad3
fstp st(1)
mov ecx, dword [ebx + edi*4]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00444260
fld dword [esi - 4]
mov edx, dword [esp + 0x1c]
fmul qword [0x48c758]
mov ebp, dword [esi - 0x24]
fild dword [esi - 0x20]
lea eax, [edx + ebp]
push eax
fadd st(1)
call fcn.0045b7b0
fiadd dword [esi - 0x28]
push eax
push ebp
call fcn.0045b7b0
mov ecx, dword [ebx + edi*4]
push eax
call fcn.00444340
fld dword [esp + 0x10]
mov ecx, dword [esi - 0x24]
sub ecx, dword [esi - 0x1c]
add ecx, 0x2d0
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x41db43
push edi
mov ecx, ebx
call fcn.0041cad0
mov ebp, dword [esp + 0x18]
jmp 0x41dc1f
cmp eax, 4
jne 0x41dc1f
fldz
fcom dword [esi - 0x14]
fnstsw ax
test ah, 0x44
jnp 0x41dc1d
fld dword [esi + 8]
fadd dword [esi - 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x14]
fst dword [esi + 8]
fild dword [esi - 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fsub dword [esi - 0x14]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x41dbac
fld dword [esp + 0x14]
fld dword [esi - 0x14]
faddp st(2)
fcompp
fnstsw ax
test ah, 0x41
jp 0x41dbae
fstp dword [esi - 0x14]
jmp 0x41dbb0
fstp st(0)
fstp st(0)
fld dword [esi + 8]
fmul qword [0x48c718]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.0045e060
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
push ecx
fimul dword [esi + 0x20]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fadd dword [esi - 0x2c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
fld dword [esp + 0x20]
call fcn.0045e190
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
push ecx
fimul dword [esi + 0x1c]
mov ecx, dword [ebx + edi*4]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd dword [esi - 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.00444260
jmp 0x41dc1f
fstp st(0)
mov ecx, dword [ebx + edi*4]
test ecx, ecx
je 0x41dc2f
call fcn.00448f00
mov dword [esp + 0x20], eax
inc edi
add esi, 0x58
cmp edi, 0x14
jl 0x41d3e0
mov eax, dword [esp + 0x20]
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x14
ret