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

Disassembly:
sub esp, 0x144
push esi
push edi
mov edi, ecx
xor esi, esi
fld dword [esi*4 + 0x586338]
fcomp dword [esp + 0x154]
fnstsw ax
test ah, 5
jp 0x418e87
inc esi
cmp esi, 0x32
jl 0x418e6c
cmp esi, 0x32
jne 0x418fb7
mov eax, dword [edi]
mov eax, dword [eax + 0x178]
add eax, 0x31
cdq
idiv dword [0x581d84]
mov eax, dword [0x581d80]
lea ecx, [edx + edx*8]
lea edx, [edx + ecx*2]
lea ecx, [esp + 0x20]
lea esi, [eax + edx*4]
push esi
call fcn.004149e0
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.004149e0
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [esi + 0x1c]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], eax
call fcn.004149e0
lea edx, [esi + 0x2c]
lea ecx, [esp + 0x4c]
push edx
call fcn.004149e0
mov eax, dword [esi + 0x38]
add esi, 0x49
mov dword [esp + 0x58], eax
mov ecx, dword [esi - 0xd]
fld dword [esp + 0x58]
mov dword [esp + 0x5c], ecx
mov edx, dword [esi - 9]
fadd dword [esp + 0x158]
mov dword [esp + 0x60], edx
mov ax, word [esi - 5]
mov word [esp + 0x64], ax
mov cx, word [esi - 3]
fcom qword [0x553dc0]
mov word [esp + 0x66], cx
mov dl, byte [esi - 1]
mov byte [esp + 0x68], dl
mov ax, word [esi]
mov word [esp + 0x69], ax
mov cl, byte [esi + 2]
fnstsw ax
mov byte [esp + 0x6b], cl
and eax, 0x100
jne 0x418f51
fld dword [esp + 0x3c]
fmul st(1)
jmp 0x418f59
fld dword [esp + 0x38]
fmul st(1)
fchs
fstp dword [esp + 8]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x6c]
push edx
push 0
push 0x3f800000
push 0
fstp st(0)
call fcn.0040e9c0
push eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004052a0
add esp, 0xc
lea edx, [esp + 0x7c]
push eax
push edx
call fcn.004039d0
mov esi, dword [esp + 0x15c]
push eax
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00405210
add esp, 0x18
mov eax, esi
pop edi
pop esi
add esp, 0x144
ret 0xc
test esi, esi
jne 0x4190e7
mov ecx, dword [edi]
mov eax, dword [ecx + 0x178]
cdq
idiv dword [0x581d84]
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
mov edx, dword [0x581d80]
lea esi, [edx + ecx*4]
lea ecx, [esp + 0x20]
push esi
call fcn.004149e0
lea eax, [esi + 0xc]
lea ecx, [esp + 0x2c]
push eax
call fcn.004149e0
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0x1c]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], edx
call fcn.004149e0
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esp + 0x50]
call fcn.004149e0
mov edx, dword [esi + 0x38]
add esi, 0x49
mov dword [esp + 0x58], edx
mov eax, dword [esi - 0xd]
mov dword [esp + 0x5c], eax
mov ecx, dword [esi - 9]
fld dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov dx, word [esi - 5]
fadd dword [esp + 0x158]
mov word [esp + 0x64], dx
mov ax, word [esi - 3]
mov word [esp + 0x66], ax
mov cl, byte [esi - 1]
fcom qword [0x553dc0]
mov byte [esp + 0x68], cl
mov dx, word [esi]
mov word [esp + 0x69], dx
mov al, byte [esi + 2]
mov byte [esp + 0x6b], al
fnstsw ax
and eax, 0x100
jne 0x41907e
fld dword [esp + 0x3c]
fmul st(1)
jmp 0x419086
fld dword [esp + 0x38]
fmul st(1)
fchs
fstp dword [esp + 8]
mov ecx, dword [esp + 8]
push ecx
push 0
push 0x3f800000
push 0
lea ecx, [esp + 0x88]
fstp st(0)
call fcn.0040e9c0
push eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x74]
push edx
push eax
call fcn.004052a0
add esp, 0xc
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004039d0
mov esi, dword [esp + 0x15c]
lea edx, [esp + 0x2c]
push eax
push edx
push esi
call fcn.00405210
add esp, 0x18
mov eax, esi
pop edi
pop esi
add esp, 0x144
ret 0xc
mov eax, dword [edi]
lea ecx, [esi - 1]
fld dword [esp + 0x154]
mov eax, dword [eax + 0x178]
add eax, ecx
cdq
fsub dword [ecx*4 + 0x586338]
idiv dword [0x581d84]
fld dword [esi*4 + 0x586338]
fsub dword [ecx*4 + 0x586338]
fdivp st(1)
mov eax, dword [0x581d80]
lea ecx, [edx + edx*8]
lea edx, [edx + ecx*2]
lea ecx, [eax + edx*4]
push ecx
lea ecx, [esp + 0x104]
fstp dword [esp + 0x10]
call fcn.00414a00
mov edx, dword [edi]
mov eax, dword [edx + 0x178]
add eax, esi
cdq
idiv dword [0x581d84]
lea eax, [edx + edx*8]
lea ecx, [edx + eax*2]
mov edx, dword [0x581d80]
lea eax, [edx + ecx*4]
lea ecx, [esp + 0x84]
push eax
call fcn.00414a00
fld dword [esp + 0xbc]
fadd dword [esp + 0x158]
fld dword [0x552454]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x41919f
fld st(0)
fld dword [0x552538]
fcompp
fnstsw ax
and eax, 0x4100
jne 0x41919f
fstp st(0)
fld dword [0x552538]
jmp 0x4191b6
fld dword [0x552454]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4191b6
fstp st(0)
fld dword [0x552454]
fld dword [esp + 0x138]
fadd dword [esp + 0x158]
fld dword [0x552454]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x4191f2
fld st(0)
fld dword [0x552538]
fcompp
fnstsw ax
and eax, 0x4100
jne 0x4191f2
fstp st(0)
mov dword [esp + 8], 0xbf800000
jmp 0x419211
fld dword [0x552454]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41920d
fstp st(0)
mov dword [esp + 8], 0x3f800000
jmp 0x419211
fstp dword [esp + 8]
fcom qword [0x553dc0]
fnstsw ax
and eax, 0x100
jne 0x41922b
fld dword [esp + 0xa0]
fmul st(1)
jmp 0x419236
fld dword [esp + 0x9c]
fmul st(1)
fchs
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x3f800000
push 0
lea ecx, [esp + 0x88]
fstp st(0)
call fcn.0040e9c0
push eax
lea edx, [esp + 0x98]
lea eax, [esp + 0xd8]
push edx
push eax
call fcn.004052a0
add esp, 0xc
lea ecx, [esp + 0xe0]
push eax
push ecx
call fcn.004039d0
push eax
lea edx, [esp + 0x94]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00405210
fld dword [esp + 0x34]
fmul dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x78]
fstp dword [esp + 8]
fld dword [esp + 0x24]
fmul dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fmul dword [esp + 0x18]
fstp dword [esp]
call fcn.0040e9c0
fld dword [0x552454]
fsub dword [esp + 0xc]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x6c]
push ecx
push ecx
fstp dword [esp]
lea eax, [esp + 0xf0]
push edx
push eax
lea ecx, [esp + 0x110]
call fcn.00419ed0
lea ecx, [esp + 0xfc]
push eax
push ecx
call fcn.004039d0
mov esi, dword [esp + 0x160]
add esp, 0xc
push eax
push esi
call fcn.00405210
add esp, 0xc
lea ecx, [esp + 0x84]
call fcn.00403a30
lea ecx, [esp + 0x100]
call fcn.00403a30
mov eax, esi
pop edi
pop esi
add esp, 0x144
ret 0xc