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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x101d32d0]
xor eax, esp
mov dword [esp + 0xd4], eax
fldz
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xb4], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x84], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x78], ecx
fst dword [esp + 0xc4]
fst dword [esp + 0xc0]
push esi
mov esi, dword [ebp + 0xc]
fst dword [esp + 0xc0]
push edi
mov edi, dword [ebp + 0x20]
fstp dword [esp + 0xc0]
test dl, dl
je 0x1006ca9f
fld dword [edi + 0x10]
fstp dword [esp + 0x1c]
fld dword [edi + 0x14]
fstp dword [esp + 0x3c]
fld dword [edi + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x54]
fld dword [edi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x58]
fld dword [edi + 4]
fstp dword [esp + 0x2c]
fld dword [edi + 0xc]
fstp dword [esp + 0x64]
fld dword [esp + 0x58]
fst dword [esp + 0x18]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
jmp 0x1006cae8
fld dword [edi]
fstp dword [esp + 0x1c]
fld dword [edi + 4]
fstp dword [esp + 0x3c]
fld dword [edi + 0xc]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp + 0x54]
fld dword [edi + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x58]
fld dword [edi + 0x14]
fstp dword [esp + 0x2c]
fld dword [edi + 0x1c]
fstp dword [esp + 0x64]
fld dword [esp + 0x58]
fst dword [esp + 0x18]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
cmp byte [ebp + 0x28], 0
fst dword [esp + 0x14]
fstp dword [esp + 0x30]
fld dword [esp + 0x3c]
fstp dword [esp + 0x34]
fld dword [esp + 0x1c]
fst dword [esp + 0x20]
fld dword [esp + 0x34]
fst dword [esp + 0x88]
fld dword [esp + 0x30]
fst dword [esp + 0x84]
fld dword [esp + 0x14]
fst dword [esp + 0x70]
fld dword [esp + 0x38]
fst dword [esp + 0x14]
fld dword [esp + 0x18]
fst dword [esp + 0x18]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fxch st(5)
fstp dword [esp + 0x40]
fxch st(3)
fstp dword [esp + 0x1c]
fxch st(1)
fstp dword [esp + 0x30]
fstp dword [esp + 0x34]
fstp dword [esp + 0x38]
fstp dword [esp + 0x48]
fld dword [esp + 0x64]
fstp dword [esp + 0xb8]
fld dword [edi + 0x30]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fstp dword [esp + 0x54]
fld dword [edi + 0x34]
fstp dword [esp + 0xb0]
fld dword [esp + 0xb0]
fstp dword [esp + 0xac]
fld dword [edi + 0x3c]
fstp dword [esp + 0xb4]
fld dword [esp + 0xb4]
fstp dword [esp + 0x58]
je 0x1006cc46
mov ecx, dword [esi]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov dword [esp + 0x68], 1
mov dword [esp + 0x7c], ecx
test dl, dl
je 0x1006cbef
cmp byte [ebp + 0x2c], 0
je 0x1006cbef
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0xc]
add eax, 4
mov dword [esp + 0x50], 1
jmp 0x1006cc01
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], 1
fld dword [esp + 0x2c]
mov eax, dword [eax]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x70]
fstp dword [esp + 0x14]
fld dword [esp + 0x84]
fstp dword [esp + 0x30]
fld dword [esp + 0x88]
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
mov dword [esp + 0x6c], eax
jmp 0x1006ccf1
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x60], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 8]
mov esi, dword [esi]
mov dword [esp + 0x7c], ecx
test dl, dl
je 0x1006cc88
cmp byte [ebp + 0x2c], 0
je 0x1006cc88
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [eax]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], 1
jmp 0x1006ccbd
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x7c], ecx
fld dword [esp + 0x4c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x48]
fstp dword [esp + 0x18]
fld dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fstp dword [esp + 0x34]
fld dword [esp + 0x40]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], esi
fstp dword [esp + 0x1c]
cmp esi, ecx
jge 0x1006d08d
fld dword [esp + 0x30]
fld dword [esp + 0xac]
fld dword [esp + 0x34]
fld dword [esp + 0x1c]
fld qword [0x10035e20]
fld dword [esp + 0x54]
shl dword [esp + 0x50], 4
fld dword [esp + 0x58]
mov ecx, dword [ebp + 0x28]
jmp 0x1006cd3c
fxch st(4)
fxch st(5)
fxch st(4)
fxch st(1)
fxch st(2)
fxch st(1)
mov eax, dword [ebp + 0x2c]
fild dword [esp + 0x40]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x40]
test cl, cl
je 0x1006ce61
fstp st(2)
fld dword [esp + 0x40]
fst qword [esp + 0x98]
fld dword [esp + 0xb8]
fst qword [esp + 0xa0]
fld dword [esp + 0x38]
fxch st(4)
fstp qword [esp + 0x90]
fmul st(1)
test al, al
je 0x1006cdb9
fstp st(4)
fstp st(4)
fstp st(4)
fld dword [esp + 0x14]
fstp dword [esp + 0x4c]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 0x48]
fxch st(3)
faddp st(1)
fchs
fstp qword [esp + 0x70]
fmulp st(1)
fadd qword [esp + 0x90]
jmp 0x1006ce3b
fstp st(1)
fsub dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(1)
fld qword [esp + 0x98]
fmul st(1), st(0)
fxch st(6)
fsubrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(6)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld qword [esp + 0xa0]
fmul st(1)
fxch st(6)
fmul st(5)
faddp st(6)
fxch st(5)
fstp dword [esp + 0x4c]
fld dword [esp + 0x1c]
fmul st(4)
fld st(2)
fmulp st(6)
faddp st(5)
fxch st(4)
fchs
fstp dword [esp + 0x48]
fld qword [esp + 0xa0]
fmul st(2)
fxch st(4)
fmul st(3)
faddp st(4)
fxch st(3)
fchs
fstp qword [esp + 0x70]
fmulp st(2)
fmul qword [esp + 0x90]
faddp st(1)
fstp qword [esp + 0x20]
fld dword [esp + 0x30]
fstp qword [esp + 0xa0]
fld dword [esp + 0xac]
fstp qword [esp + 0x90]
fld dword [esp + 0x34]
jmp 0x1006cf60
fstp st(0)
fld dword [esp + 0x40]
fst qword [esp + 0x70]
fxch st(5)
fst qword [esp + 0xa0]
fxch st(4)
fst qword [esp + 0x90]
fld st(4)
fmul st(6)
fxch st(4)
fst qword [esp + 0x98]
test al, al
je 0x1006cebb
fstp st(3)
fstp st(4)
fld dword [esp + 0x64]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x48]
faddp st(2)
fxch st(1)
fchs
fstp qword [esp + 0x70]
fmulp st(2)
faddp st(1)
fstp qword [esp + 0x20]
jmp 0x1006cf67
fstp st(0)
fstp st(0)
fld dword [esp + 0x64]
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + 0xa8]
fld st(2)
fmulp st(6)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + 0x18]
fld st(3)
fmul qword [esp + 0x70]
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld st(0)
fmul st(5)
fld st(6)
fmulp st(5)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fmul st(5)
fld qword [esp + 0x98]
fld st(0)
fmulp st(5)
fxch st(1)
faddp st(4)
fxch st(3)
fchs
fstp dword [esp + 0x48]
fxch st(1)
fmul st(4)
fld st(1)
fmul st(4)
faddp st(1)
fchs
fstp qword [esp + 0x70]
fmul st(1)
fld qword [esp + 0x90]
fmul st(4), st(0)
fxch st(1)
faddp st(4)
fxch st(3)
fstp qword [esp + 0x20]
fxch st(1)
fstp qword [esp + 0xa0]
fxch st(1)
fstp qword [esp + 0x90]
fstp qword [esp + 0x98]
lea edx, [esp + 0x88]
push edx
lea edx, [esp + 0x88]
push edx
push dword [ebp + 0x24]
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0xcc]
push eax
push edi
push dword [esp + 0x74]
push dword [esp + 0x7c]
push edx
push dword [esp + 0x90]
push esi
call fcn.1005cf10
fld dword [esp + 0x48]
lea eax, [esp + 0xc0]
push eax
sub esp, 0x10
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x94]
fstp dword [esp + 0xc]
fld dword [esp + 0x60]
fstp dword [esp + 8]
fld qword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld qword [esp + 0x84]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x8c]
push dword [esp + 0xb4]
push edx
push dword [esp + 0x9c]
mov edx, dword [esp + 0x70]
call fcn.1006f6e0
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x50]
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 0x10]
test cl, cl
jne 0x1006d03f
mov eax, 1
fld qword [esp + 0xa0]
inc esi
fld qword [esp + 0x98]
fld qword [esp + 0x90]
fld dword [esp + 0x1c]
fld dword [esp + 0x54]
fld qword [0x10035e20]
fld dword [esp + 0x58]
shl eax, 4
add dword [esp + 0x8c], eax
mov dword [esp + 0x40], esi
cmp esi, dword [esp + 0x7c]
jl 0x1006cd30
fstp st(2)
fstp st(4)
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.101b9e50
mov esp, ebp
pop ebp
ret 0x28