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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
fld dword [0x1010f560]
fmul dword [0x1010f568]
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 0x1006cb83
fadd dword [0x100d5b98]
fstp dword [ebp + 0x2c]
fld dword [ebp + 0x2c]
mov eax, ecx
fld qword [0x100d8ce8]
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 0x1006cbae
fadd dword [0x100d5b98]
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 0x1006cbd1
fadd dword [0x100d5b98]
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 0x1006cbef
fadd dword [0x100d5b98]
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 [0x1010f55c]
fmul dword [0x1010f564]
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 0x1006cd7a
fadd dword [0x100d5b98]
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 0x1006cda3
fadd dword [0x100d5b98]
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 0x1006cdcc
fadd dword [0x100d5b98]
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 0x1006cdf0
fadd dword [0x100d5b98]
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 0x1006ce2f
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 0x1006ce52
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