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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
fld dword [0x10108510]
fmul dword [0x10108518]
fld1
fld st(0)
mov ecx, dword [ebp + 0x2c]
fdivrp st(2)
fxch st(1)
movzx eax, cl
mov dword [ebp + 0x2c], eax
fstp dword [ebp - 4]
fild dword [ebp + 0x2c]
test eax, eax
jns 0x1006a1a3
fadd dword [0x100cf570]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
mov eax, ecx
fld qword [0x100d25b8]
fdiv st(1), st(0)
fxch st(1)
shr eax, 8
movzx eax, al
mov dword [ebp + 0x2c], eax
fstp dword [ebp - 0x10]
fild dword [ebp + 0x2c]
test eax, eax
jns 0x1006a1ce
fadd dword [0x100cf570]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
mov eax, ecx
fdiv st(1)
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0x2c], eax
fstp dword [ebp - 0xc]
fild dword [ebp + 0x2c]
test eax, eax
jns 0x1006a1f1
fadd dword [0x100cf570]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fdiv st(1)
shr ecx, 0x18
mov dword [ebp + 0x2c], ecx
fstp dword [ebp - 8]
fild dword [ebp + 0x2c]
test ecx, ecx
jns 0x1006a20f
fadd dword [0x100cf570]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fdiv st(1)
mov edx, dword [ebp + 8]
movss xmm2, dword [ebp + 0x38]
fstp dword [ebp - 0x14]
fld dword [0x1010850c]
fmul dword [0x10108514]
movss xmm1, dword [ebp + 0x20]
movss xmm4, dword [ebp - 8]
movss xmm5, dword [ebp - 0xc]
movss xmm6, dword [ebp - 0x10]
fdivp st(2)
fxch st(1)
movss xmm7, dword [ebp - 0x14]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fild dword [ebp + 0xc]
movss xmm3, dword [ebp + 0x1c]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fmul st(1)
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
fstp dword [edx]
fld dword [ebp - 4]
fild dword [ebp + 0x10]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fmul st(1)
movss dword [edx + 8], xmm2
movss dword [edx + 0x24], xmm1
mov dword [edx + 0xc], 0x3f800000
movss dword [edx + 0x20], xmm3
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
fstp dword [edx + 4]
fild dword [ebp + 0x14]
movss xmm0, dword [ebp + 0x2c]
movss dword [edx + 0x10], xmm4
movss dword [edx + 0x14], xmm5
movss dword [edx + 0x18], xmm6
movss dword [edx + 0x1c], xmm7
fstp dword [ebp + 8]
fld dword [ebp + 8]
fmulp st(2)
fxch st(1)
movss dword [edx + 0x2c], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [edx + 0x30], xmm2
movss xmm2, dword [ebp + 0x24]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fstp dword [edx + 0x28]
fild dword [ebp + 0x18]
mov dword [edx + 0x34], 0x3f800000
movss dword [edx + 0x50], xmm0
movss xmm0, dword [ebp + 0x38]
movss dword [edx + 0x4c], xmm1
movss xmm1, dword [ebp + 0x28]
movss dword [edx + 0x48], xmm2
movss dword [edx + 0x38], xmm4
movss dword [edx + 0x3c], xmm5
movss dword [edx + 0x40], xmm6
movss dword [edx + 0x44], xmm7
fstp dword [ebp + 0x2c]
fmul dword [ebp + 0x2c]
movss dword [edx + 0x58], xmm0
movss xmm0, dword [ebp + 8]
movss dword [edx + 0x78], xmm0
mov dword [edx + 0x5c], 0x3f800000
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
movss xmm0, dword [ebp + 0x2c]
fstp dword [edx + 0x54]
movss dword [edx + 0x70], xmm3
movss dword [edx + 0x74], xmm1
movss dword [edx + 0x60], xmm4
movss dword [edx + 0x64], xmm5
movss dword [edx + 0x68], xmm6
movss dword [edx + 0x6c], xmm7
mov ecx, dword [ebp + 0x30]
movzx eax, cl
movss dword [edx + 0x7c], xmm0
movss xmm0, dword [ebp + 0x38]
mov dword [ebp + 0x38], eax
movss dword [edx + 0x80], xmm0
mov dword [edx + 0x84], 0x3f800000
movss dword [edx + 0x98], xmm2
movss dword [edx + 0x9c], xmm1
fild dword [ebp + 0x38]
test eax, eax
jns 0x1006a39a
fadd dword [0x100cf570]
fstp dword [ebp + 0x38]
fld dword [ebp + 0x38]
mov eax, ecx
fdiv st(1)
shr eax, 8
movzx eax, al
mov dword [ebp + 0x38], eax
fstp dword [ebp + 0x20]
fld dword [ebp + 0x20]
fstp dword [ebp + 0xc]
fild dword [ebp + 0x38]
test eax, eax
jns 0x1006a3c3
fadd dword [0x100cf570]
fstp dword [ebp + 0x38]
fld dword [ebp + 0x38]
mov eax, ecx
fdiv st(1)
shr eax, 0x10
movzx eax, al
mov dword [ebp + 0x38], eax
fstp dword [ebp + 0x1c]
fld dword [ebp + 0x1c]
fstp dword [ebp + 0x2c]
fild dword [ebp + 0x38]
test eax, eax
jns 0x1006a3ec
fadd dword [0x100cf570]
fstp dword [ebp + 0x38]
fld dword [ebp + 0x38]
fdiv st(1)
shr ecx, 0x18
mov dword [ebp + 8], ecx
fstp dword [ebp + 0x10]
fld dword [ebp + 0x10]
fstp dword [ebp + 0x38]
fild dword [ebp + 8]
test ecx, ecx
jns 0x1006a410
fadd dword [0x100cf570]
cmp dword [ebp + 0x34], 1
fstp dword [ebp + 8]
fdivr dword [ebp + 8]
movss xmm0, dword [ebp + 0x38]
fstp dword [ebp + 0x14]
fld dword [ebp + 0x14]
fstp dword [ebp + 8]
jne 0x1006a44f
movss dword [edx + 0x38], xmm0
movss xmm0, dword [ebp + 0x2c]
movss dword [edx + 0x3c], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [edx + 0x40], xmm0
movss xmm0, dword [ebp + 8]
movss dword [edx + 0x44], xmm0
jmp 0x1006a472
movss dword [edx + 0x60], xmm0
movss xmm0, dword [ebp + 0x2c]
movss dword [edx + 0x64], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [edx + 0x68], xmm0
movss xmm0, dword [ebp + 8]
movss dword [edx + 0x6c], xmm0
movss xmm0, dword [ebp + 0x10]
movss dword [edx + 0x88], xmm0
movss xmm0, dword [ebp + 0x1c]
movss dword [edx + 0x8c], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [edx + 0x90], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [edx + 0x94], xmm0
mov esp, ebp
pop ebp
ret