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

Disassembly:
fld qword [0x62c6f8]
sub esp, 0x2c
fcom qword [esp + 0x60]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esi + 0x30]
fnstsw ax
push edi
test ah, 1
je 0x4610e1
fld qword [esp + 0x60]
fld qword [esp + 0x48]
fsub st(1), st(0)
fld qword [esp + 0x68]
fld qword [esp + 0x50]
fsub st(1), st(0)
fld st(3)
fucomp st(5)
fnstsw ax
test ah, 0x44
jp 0x4610f0
fld st(1)
fucomp st(5)
fnstsw ax
test ah, 0x44
jp 0x4610f0
fstp st(3)
fstp st(0)
fstp st(2)
fstp st(1)
fstp st(0)
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
fld qword [esi + 0x28]
fsub st(1)
fmul st(2)
fld qword [esi + 0x20]
fsub st(4)
fmul st(5)
faddp st(1)
fld st(2)
fmul st(3)
fld st(5)
fmul st(6)
faddp st(1)
fdivp st(1)
fld st(0)
fmulp st(5)
fxch st(4)
faddp st(3)
fxch st(2)
fstp qword [esp + 0x28]
fmul st(2)
faddp st(1)
fstp qword [esp + 0x30]
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x46113e
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4610e3
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
fstp st(1)
fld1
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x461161
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4610e3
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
fstp st(0)
fmul qword [esp + 0x70]
fst qword [esp + 0x18]
fadd qword [esp + 0x58]
fst qword [esp + 0x10]
fcom qword [ebp + 0xf8]
fnstsw ax
test ah, 1
jne 0x461195
cmp dword [ebp + 0x108], 0
jne 0x461195
fsub qword [ebp + 0xf8]
fstp qword [esp + 0x10]
jmp 0x461197
fstp st(0)
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
push ebp
call fcn.0045d880
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x4610e3
fld qword [esp + 0x28]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
mov ecx, esi
fld qword [esp + 0x40]
fstp qword [eax + 8]
lea eax, [esp + 0x20]
push eax
call fcn.00461040
add esp, 0x14
test eax, eax
je 0x4610e3
mov eax, dword [esp + 0x44]
cmp eax, 0x11
jge 0x4613b7
fld qword [esp + 0x70]
lea ebx, [eax + 1]
fsub qword [esp + 0x18]
fstp qword [esp + 0x70]
nop
fld qword [esp + 0x18]
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
fld qword [esp + 0x40]
sub esp, 0x18
fstp qword [eax]
fld qword [esp + 0x60]
fstp qword [eax + 8]
mov eax, esp
fld qword [esp + 0x88]
fstp qword [esp + 0x10]
push ebx
fld qword [esp + 0x7c]
push esi
fstp qword [eax]
fld qword [esp + 0x88]
fstp qword [eax + 8]
call fcn.00461090
fld qword [esp + 0xa8]
add esp, 0x20
fstp qword [esp + 0x10]
mov edi, eax
fld qword [esp + 0x78]
mov eax, esp
fstp qword [eax]
sub esp, 0x18
fld qword [esp + 0x98]
fstp qword [eax + 8]
mov eax, esp
fld qword [esp + 0x40]
fstp qword [esp + 0x10]
push ebx
fld qword [esp + 0x5c]
push esi
fstp qword [eax]
fld qword [esp + 0x68]
fstp qword [eax + 8]
call fcn.00461090
add esp, 0x38
cmp edi, 1
jne 0x4613b7
test eax, eax
jne 0x4613b7
fld qword [esp + 0x18]
fld qword [0x650c98]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x18]
fadd qword [esp + 0x58]
fst qword [esp + 0x58]
fld qword [esp + 0x70]
fmulp st(2)
fxch st(1)
fst qword [esp + 0x70]
fld qword [esp + 0x10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x4613a6
fadd st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4613aa
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.0045d880
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x4610e3
fld qword [esp + 0x48]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
lea edx, [esp + 0x68]
fld qword [esp + 0x60]
push edx
mov ecx, esi
fstp qword [eax + 8]
call fcn.00461040
fld qword [esp + 0x84]
fadd qword [esp + 0x24]
add esp, 0x14
fst qword [esp + 0x20]
fcom qword [ebp + 0xf8]
fnstsw ax
test ah, 1
jne 0x461358
cmp dword [ebp + 0x108], 0
jne 0x461358
fsub qword [ebp + 0xf8]
fstp qword [esp + 0x20]
jmp 0x46135a
fstp st(0)
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0045d880
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x4610e3
fld qword [esp + 0x60]
sub esp, 0x10
mov eax, esp
fstp qword [eax]
lea ecx, [esp + 0x30]
fld qword [esp + 0x78]
push ecx
mov ecx, esi
fstp qword [eax + 8]
call fcn.00461040
add esp, 0x14
jmp 0x461200
fstp st(0)
fstp st(0)
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x2c
ret