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

Disassembly:
sub esp, 0xd0
fld dword [esp + 0xd4]
push esi
fcomp dword [esp + 0xdc]
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
fnstsw ax
test ah, 0x41
jne 0x45fe4f
fld dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
fstp dword [esp + 0xe0]
mov dword [esp + 0xdc], eax
fld dword [esp + 0xe4]
fcomp dword [esp + 0xe8]
fnstsw ax
test ah, 0x41
jne 0x45fe80
fld dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
fstp dword [esp + 0xe8]
mov dword [esp + 0xe4], ecx
mov eax, dword [esi + 4]
fld dword [eax + 0x138]
add eax, 0x130
fchs
push ecx
fstp dword [esp]
push ecx
fld dword [eax + 4]
fchs
fstp dword [esp]
push ecx
fld dword [eax]
lea ecx, [esp + 0x38]
fchs
fstp dword [esp]
call fcn.00401530
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.0042a680
fcom dword [0x515374]
fnstsw ax
test ah, 0x40
jne 0x45ff02
fsqrt
fdivr dword [0x515370]
fld st(0)
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x45ff04
fstp st(0)
fld dword [esp + 0x14]
mov dword [esp + 0x1c], 0
fmul dword [0x515370]
mov dword [esp + 8], 0
fsubr dword [esp + 0x1c]
fadd dword [esp + 8]
call fcn.004fcfe0
fmul qword [0x515c60]
push ecx
fstp dword [esp + 0x10]
fld dword [0x515374]
fld dword [esp + 0x14]
fmul dword [0x515c94]
fsubr st(1)
fstp dword [esp]
push ecx
fld dword [esp + 0x10]
fsub dword [esp + 0x24]
fstp dword [esp]
push ecx
fld dword [esp + 0x24]
lea ecx, [esp + 0x2c]
fmul dword [0x515c94]
fsub st(1)
fstp dword [esp]
fstp st(0)
call fcn.00401530
fld dword [esp + 0x28]
fcomp dword [0x515374]
fnstsw ax
test ah, 1
je 0x45ff8d
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov dword [esp + 8], 0
fcomp dword [esp + 0xdc]
fnstsw ax
test ah, 1
je 0x45ffb0
fld dword [esp + 0xdc]
jmp 0x45ffc9
fld dword [esp + 0xc]
fcomp dword [esp + 0xe0]
fnstsw ax
test ah, 0x41
jne 0x45ffd1
fld dword [esp + 0xe0]
fsub dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 8]
fabs
fcomp qword [0x515888]
fnstsw ax
test ah, 0x41
jne 0x460171
push ebx
push ebp
lea ecx, [esp + 0x44]
call fcn.00435b00
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x3f800000
call fcn.00435c20
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xa0]
call fcn.0041d890
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x48]
call fcn.00435ed0
lea ecx, [esp + 0xa0]
lea eax, [esp + 0x54]
mov edx, 3
mov edi, eax
mov ebp, dword [edi]
mov ebx, ecx
mov dword [ebx], ebp
mov ebp, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [ebx + 4], ebp
add eax, 0xc
add ecx, 0x10
dec edx
mov dword [ebx + 8], edi
jne 0x460058
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x120]
mov eax, dword [edx + 0x124]
add edx, 0x120
mov dword [esp + 0x54], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x64], ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x74], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x34]
mov dword [esp + 0x84], ecx
mov ecx, dword [edx + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 0x3c]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
xor eax, eax
mov edi, edx
mov ecx, 0xc
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
sub edx, ecx
lea ebp, [esp + 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 3
jmp 0x46012a
mov edx, dword [esp + 0x10]
lea esi, [edx + ebp]
lea ebx, [esp + 0xa0]
mov edx, 3
mov ecx, ebp
mov eax, ebx
mov edi, 3
fld dword [ecx]
add eax, 0x10
fmul dword [eax - 0x10]
add ecx, 4
dec edi
fadd dword [esi]
fstp dword [esi]
jne 0x460142
add esi, 4
add ebx, 4
dec edx
jne 0x460139
mov eax, dword [esp + 0x24]
add ebp, 0x10
dec eax
mov dword [esp + 0x24], eax
jne 0x460126
mov esi, dword [esp + 0x40]
pop ebp
pop ebx
mov eax, dword [esi + 4]
fld dword [eax + 0x138]
add eax, 0x130
fchs
push ecx
fstp dword [esp]
push ecx
fld dword [eax + 4]
fchs
fstp dword [esp]
push ecx
fld dword [eax]
lea ecx, [esp + 0x2c]
fchs
fstp dword [esp]
call fcn.00401530
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00459c70
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.0042a680
fcom dword [0x515374]
fnstsw ax
test ah, 0x40
jne 0x460213
fsqrt
fdivr dword [0x515370]
fld st(0)
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
jmp 0x460215
fstp st(0)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fcomp dword [0x515374]
fnstsw ax
test ah, 0x40
jne 0x4603c4
fld dword [esp + 0x14]
fmul dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x18]
faddp st(1)
fcom dword [0x515374]
fnstsw ax
test ah, 1
je 0x460277
fstp st(0)
mov dword [esp + 8], 0
jmp 0x460294
fcom dword [0x515370]
fnstsw ax
test ah, 0x41
jne 0x460290
fstp st(0)
mov dword [esp + 8], 0x3f800000
jmp 0x460294
fstp dword [esp + 8]
fld dword [esp + 8]
call fcn.004fcfe0
fmul qword [0x515c60]
push 0
push ecx
fstp dword [esp + 0x14]
fld dword [0x515374]
fld dword [esp + 0x18]
fsub st(1)
fstp dword [esp]
push ecx
lea ecx, [esp + 0x2c]
fsub dword [esp + 0x20]
fstp dword [esp]
call fcn.00401530
fld dword [esp + 0x28]
push ecx
fchs
fstp dword [esp]
push ecx
fld dword [esp + 0x2c]
fchs
fstp dword [esp]
push ecx
fld dword [esp + 0x2c]
lea ecx, [esp + 0x98]
fchs
fstp dword [esp]
call fcn.00401530
fld dword [esp + 0x34]
fcomp dword [0x515374]
fnstsw ax
test ah, 1
je 0x46030f
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
mov dword [esp + 8], 0
fcomp dword [esp + 0xe4]
fnstsw ax
test ah, 1
je 0x460332
fld dword [esp + 0xe4]
jmp 0x46034b
fld dword [esp + 0xc]
fcomp dword [esp + 0xe8]
fnstsw ax
test ah, 0x41
jne 0x460353
fld dword [esp + 0xe8]
fsub dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [esp + 8]
fabs
fcomp qword [0x515888]
fnstsw ax
test ah, 0x41
jne 0x4603bc
lea ecx, [esp + 0x3c]
call fcn.00435b00
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x44]
call fcn.00435c20
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x9c]
call fcn.0042f110
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esi + 4]
add ecx, 0x120
call fcn.00401580
mov ecx, dword [esi + 4]
call fcn.00459c70
pop edi
pop esi
add esp, 0xd0
ret 0x10