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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, eax
lea esi, [ebx + 0x80]
sub esp, 0x58
fld dword [edx + 0xc]
movzx ebp, byte [ecx + 0x1c]
mov eax, ebp
mov edi, ebp
fstp dword [esp + 0x14]
fld dword [edx + 8]
and eax, 8
and edi, 4
and ebp, 2
lea ebp, [esp + 0x54]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x50]
fchs
fld dword [ecx + 0xc]
mov dword [esp + 0xc], ebp
lea ebp, [esp + 0x4c]
mov dword [esp + 8], ebp
lea ebp, [esp + 0x48]
mov dword [esp + 4], ebp
fstp dword [esp + 0x18]
fld dword [ecx + 8]
fchs
fstp dword [esp + 0x1c]
fstp dword [esp + 0x20]
je 0x4169a0
fld dword [esp + 0x6c]
fstp dword [esp]
call fcn.004153d0
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
mov eax, edi
fld st(0)
fstp dword [ebx]
fxch st(1)
fst dword [esp + 0x2c]
fstp dword [ebx + 4]
fld dword [esp + 0x74]
fstp dword [ebx + 8]
fld1
fst dword [ebx + 0xc]
fld dword [ecx + 4]
fstp xword [esp + 0x38]
fld xword [esp + 0x38]
fld dword [esp + 0x70]
fld dword [esp + 0x70]
fld dword [esp + 0x20]
fmul st(1)
fsubr st(3)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x44]
fld dword [ecx]
fstp xword [esp + 0x20]
fld xword [esp + 0x20]
fxch st(2)
fmul dword [esp + 0x14]
fsubr st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x10]
fld st(1)
fstp dword [ebx + 0x14]
fld dword [esp + 0x78]
fst dword [ebx + 0x18]
fxch st(6)
fst dword [ebx + 0x1c]
test al, al
jne 0x416bc0
fstp st(6)
fstp st(6)
fstp st(0)
fxch st(2)
fxch st(4)
fxch st(1)
fxch st(3)
fld st(3)
fmul dword [ecx + 0x14]
fld st(3)
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(4)
fmul dword [ecx + 0x18]
mov dword [ebx + 0x28], 0x3f000000
mov dword [ebx + 0x68], 0x3f000000
fld st(6)
fsubr st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(5)
fst dword [ebx + 0x20]
fxch st(7)
fst dword [ebx + 0x24]
fxch st(3)
fst dword [ebx + 0x2c]
fxch st(4)
fstp dword [ebx + 0x30]
fld dword [esp + 0x44]
fstp dword [ebx + 0x34]
fld dword [esp + 0x78]
fst dword [ebx + 0x38]
fxch st(4)
fst dword [ebx + 0x3c]
fxch st(2)
fst dword [ebx + 0x40]
fxch st(5)
fst dword [ebx + 0x44]
fxch st(4)
fst dword [ebx + 0x48]
fxch st(2)
fst dword [ebx + 0x4c]
fxch st(5)
fstp dword [ebx + 0x50]
fxch st(3)
fstp dword [ebx + 0x54]
fstp dword [ebx + 0x58]
fxch st(2)
fst dword [ebx + 0x5c]
fxch st(4)
fstp dword [ebx + 0x60]
fxch st(1)
fstp dword [ebx + 0x64]
fxch st(2)
fst dword [ebx + 0x6c]
fld dword [esp + 0x1c]
fmul st(2)
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(1)
fmul dword [esp + 0x18]
fld xword [esp + 0x20]
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x70]
fxch st(1)
fst dword [ebx + 0x74]
fld dword [esp + 0x78]
fstp dword [ebx + 0x78]
fxch st(2)
fstp dword [ebx + 0x7c]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fstp dword [esi]
lea eax, [esi + 0x20]
fstp dword [esi + 4]
fld dword [esp + 0x74]
fstp dword [esi + 8]
fld1
fst dword [esi + 0xc]
fxch st(1)
fstp dword [esi + 0x10]
fxch st(1)
fstp dword [esi + 0x14]
fld dword [esp + 0x78]
fstp dword [esi + 0x18]
fstp dword [esi + 0x1c]
add esp, 0x58
pop ebx
pop esi
pop edi
pop ebp
ret
fld dword [esp + 0x70]
fchs
fstp dword [esp]
call fcn.004153d0
fld dword [ecx + 4]
mov eax, edi
fld st(0)
fld dword [esp + 0x6c]
fld dword [esp + 0x6c]
fld dword [esp + 0x20]
fmul st(1)
fadd st(4)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [ecx]
fstp xword [esp + 0x2c]
fld xword [esp + 0x2c]
fxch st(2)
fmul dword [esp + 0x14]
fadd st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x20]
fstp dword [ebx]
fst dword [esp + 0x14]
fstp dword [ebx + 4]
fld dword [esp + 0x74]
fstp dword [ebx + 8]
fld1
fst dword [ebx + 0xc]
fld dword [esp + 0x4c]
fld dword [esp + 0x48]
fst dword [ebx + 0x10]
fxch st(1)
fst dword [ebx + 0x14]
fld dword [esp + 0x78]
fstp dword [ebx + 0x18]
fxch st(2)
fst dword [ebx + 0x1c]
test al, al
jne 0x416b28
fstp st(2)
fstp st(0)
fld st(2)
fmul dword [ecx + 0x14]
fld st(2)
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld st(3)
fmul dword [ecx + 0x18]
mov dword [ebx + 0x38], 0x3f000000
fadd st(5)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x20]
fstp dword [ebx + 0x20]
fld dword [esp + 0x14]
fstp dword [ebx + 0x24]
fld dword [esp + 0x74]
fst dword [ebx + 0x28]
fxch st(3)
fst dword [ebx + 0x2c]
fxch st(4)
fst dword [ebx + 0x30]
fxch st(7)
fst dword [ebx + 0x34]
fxch st(4)
fst dword [ebx + 0x3c]
fxch st(2)
fst dword [ebx + 0x40]
fxch st(1)
fst dword [ebx + 0x44]
fxch st(3)
fst dword [ebx + 0x48]
fxch st(2)
fst dword [ebx + 0x4c]
fxch st(1)
fstp dword [ebx + 0x50]
fxch st(2)
fstp dword [ebx + 0x54]
fst dword [ebx + 0x58]
fxch st(1)
fst dword [ebx + 0x5c]
fld dword [esp + 0x1c]
fmul st(4)
faddp st(5)
fxch st(4)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(3)
fmul dword [esp + 0x18]
fld st(5)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x60]
fxch st(3)
fst dword [ebx + 0x64]
fxch st(1)
fstp dword [ebx + 0x68]
fxch st(3)
fst dword [ebx + 0x6c]
fxch st(4)
fstp dword [ebx + 0x70]
fstp dword [ebx + 0x74]
fxch st(2)
fstp dword [ebx + 0x7c]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fxch st(3)
mov dword [ebx + 0x78], 0x3f000000
fstp dword [esi]
fxch st(1)
lea eax, [esi + 0x20]
fstp dword [esi + 4]
fld dword [esp + 0x74]
fstp dword [esi + 8]
fld1
fst dword [esi + 0xc]
fxch st(2)
fstp dword [esi + 0x10]
fstp dword [esi + 0x14]
fld dword [esp + 0x78]
fstp dword [esi + 0x18]
fstp dword [esi + 0x1c]
add esp, 0x58
pop ebx
pop esi
pop edi
pop ebp
ret
fstp st(6)
fstp st(2)
fxch st(2)
fxch st(3)
fxch st(4)
fld dword [esp + 0x20]
lea esi, [ebx + 0x60]
fstp dword [ebx + 0x20]
fld dword [esp + 0x14]
fstp dword [ebx + 0x24]
fld dword [esp + 0x74]
fst dword [ebx + 0x28]
fxch st(1)
fst dword [ebx + 0x2c]
fxch st(2)
fstp dword [ebx + 0x30]
fxch st(2)
fstp dword [ebx + 0x34]
fld dword [esp + 0x78]
fstp dword [ebx + 0x38]
fst dword [ebx + 0x3c]
fld dword [esp + 0x1c]
fmul st(3)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(2)
fmul dword [esp + 0x18]
fld xword [esp + 0x2c]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x40]
fxch st(2)
fst dword [ebx + 0x44]
fxch st(1)
fstp dword [ebx + 0x48]
fxch st(2)
fst dword [ebx + 0x4c]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fst dword [ebx + 0x50]
fxch st(1)
fst dword [ebx + 0x54]
fld dword [esp + 0x78]
fstp dword [ebx + 0x58]
fxch st(2)
fstp dword [ebx + 0x5c]
fxch st(3)
fxch st(2)
jmp 0x416af2
fstp st(5)
fstp st(2)
fxch st(2)
fxch st(3)
fxch st(5)
fstp dword [ebx + 0x20]
fld dword [esp + 0x2c]
lea esi, [ebx + 0x60]
fstp dword [ebx + 0x24]
fld dword [esp + 0x74]
fstp dword [ebx + 0x28]
fxch st(4)
fst dword [ebx + 0x2c]
fxch st(4)
fstp dword [ebx + 0x30]
fstp dword [ebx + 0x34]
fxch st(1)
fstp dword [ebx + 0x38]
fxch st(1)
fst dword [ebx + 0x3c]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fst dword [ebx + 0x40]
fxch st(1)
fst dword [ebx + 0x44]
fld dword [esp + 0x74]
fstp dword [ebx + 0x48]
fxch st(2)
fst dword [ebx + 0x4c]
fld dword [esp + 0x1c]
fmul st(4)
fld xword [esp + 0x38]
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fxch st(4)
fmul dword [esp + 0x18]
fld xword [esp + 0x20]
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x50]
fxch st(4)
fst dword [ebx + 0x54]
fld dword [esp + 0x78]
fstp dword [ebx + 0x58]
fxch st(1)
fstp dword [ebx + 0x5c]
fxch st(3)
fxch st(2)
fxch st(1)
jmp 0x416970