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

Disassembly:
sub esp, 0x1a4
mov eax, dword [0x103b33c0]
xor eax, esp
mov dword [esp + 0x1a0], eax
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1ac]
push esi
mov eax, dword [esp + 0x1b4]
push edi
lea esi, [ecx + 0x5c]
mov dword [esp + 0x6c], eax
lea edi, [esp + 0x20]
mov dword [esp + 0x38], ecx
movsd dword es:[edi], dword [esi]
xor eax, eax
push edx
sub esp, 0xc
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x44], edx
movsd dword es:[edi], dword [esi]
mov edi, esp
mov dword [esp + 0x68], 1
lea esi, [ecx + 0x44]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1006aabc
movss xmm6, dword [esp + 0xfc]
lea edi, [esp + 0x58]
mov esi, eax
add esp, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], esi
cmp eax, dword [esp + 0x4c]
jge 0x1006c488
lea eax, [esp + 0x44]
mov dword [esp + 0x50], 1
push eax
xor edi, edi
call fcn.1006a969
pop ecx
movzx ecx, al
mov dword [esp + 0x60], ecx
lea eax, [ecx - 1]
cmp eax, 0x1e
ja case.0x1006c36b.2
movzx eax, byte [eax + 0x1006cd58]
jmp dword [eax*4 + 0x1006cd08]
cmp dword [esp + 0x58], edi
mov edi, dword [esp + 0x5c]
je 0x1006c389
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add edi, eax
mov dword [esp + 0x5c], edi
and dword [esp + 0x58], 0
lea eax, [edi + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1006aa24
pop ecx
pop ecx
jmp 0x1006cce1
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x5c], eax
jmp 0x1006cce1
and dword [esp + 0x58], edi
cmp esi, 2
jl 0x1006c488
movss xmm0, dword [esp + esi*4 + 0xe4]
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + esi*4 + 0xe8]
movss dword [esp], xmm0
push dword [esp + 0x74]
call fcn.1006aea1
add esp, 0xc
jmp 0x1006cce1
and dword [esp + 0x58], edi
cmp esi, 1
jl 0x1006c488
movss xmm0, dword [esp + esi*4 + 0xe4]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], edi
jmp 0x1006c3e8
and dword [esp + 0x58], edi
cmp esi, 1
jl 0x1006c488
movss xmm0, dword [esp + esi*4 + 0xe4]
push ecx
push ecx
and dword [esp + 4], edi
jmp 0x1006c3e3
cmp esi, 2
jl 0x1006c488
mov dword [esp + 0x68], 1
lea edi, [esp + 0xe8]
movss xmm0, dword [edi + 4]
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
push dword [esp + 0x74]
call fcn.1006ae61
mov eax, dword [esp + 0x74]
lea edi, [edi + 8]
add eax, 2
add esp, 0xc
mov dword [esp + 0x68], eax
cmp eax, esi
jl 0x1006c44a
jmp 0x1006cce1
cmp esi, 1
jge 0x1006c4c8
xor eax, eax
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
xor ecx, esp
call fcn.100b7398
add esp, 0x1a4
ret
cmp esi, 1
jl 0x1006c488
movss xmm0, dword [esp + edi*4 + 0xe8]
push ecx
push ecx
and dword [esp + 4], 0
movss dword [esp], xmm0
push dword [esp + 0x74]
call fcn.1006ae61
add esp, 0xc
inc edi
cmp edi, esi
jge 0x1006cce1
movss xmm0, dword [esp + edi*4 + 0xe8]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
push dword [esp + 0x74]
call fcn.1006ae61
add esp, 0xc
inc edi
cmp edi, esi
jl 0x1006c4a6
jmp 0x1006cce1
cmp esi, 4
jl 0x1006c488
jmp 0x1006c54a
cmp esi, 4
jl 0x1006c488
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x1006c51b
movss xmm0, dword [esp + edi*4 + 0xf8]
jmp 0x1006c51e
xorps xmm0, xmm0
sub esp, 0x18
movss dword [esp + 0x14], xmm0
movups xmm0, xmmword [esp + edi*4 + 0x100]
movups xmmword [esp + 4], xmm0
and dword [esp], 0
push dword [esp + 0x84]
call fcn.1006adf2
add esp, 0x1c
add edi, 4
lea eax, [edi + 3]
cmp eax, esi
jge 0x1006cce1
movss xmm1, dword [esp + edi*4 + 0xf4]
mov eax, esi
sub eax, edi
cmp eax, 5
jne 0x1006c572
movss xmm0, dword [esp + edi*4 + 0xf8]
jmp 0x1006c575
xorps xmm0, xmm0
sub esp, 0x18
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + edi*4 + 0x108]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + edi*4 + 0x104]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0x100]
and dword [esp + 4], 0
movss dword [esp], xmm0
push dword [esp + 0x84]
call fcn.1006adf2
add edi, 4
add esp, 0x1c
lea eax, [edi + 3]
cmp eax, esi
jl 0x1006c507
jmp 0x1006cce1
cmp esi, 6
jl 0x1006c488
mov dword [esp + 0x68], 5
lea edi, [esp + 0xf8]
movups xmm0, xmmword [edi - 8]
sub esp, 0x18
movups xmmword [esp + 8], xmm0
movss xmm0, dword [edi - 0xc]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi - 0x10]
movss dword [esp], xmm0
push dword [esp + 0x84]
call fcn.1006adf2
mov eax, dword [esp + 0x84]
lea edi, [edi + 0x18]
add eax, 6
add esp, 0x1c
mov dword [esp + 0x68], eax
cmp eax, esi
jl 0x1006c5ef
jmp 0x1006cce1
cmp esi, 8
jl 0x1006c488
push 5
lea eax, [esi - 2]
pop ecx
mov dword [esp + 0x60], eax
cmp eax, ecx
jle 0x1006c6b6
mov dword [esp + 0x64], ecx
mov esi, eax
movups xmm0, xmmword [esp + edi*4 + 0xf0]
sub esp, 0x18
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0x104]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0x100]
movss dword [esp], xmm0
push dword [esp + 0x84]
call fcn.1006adf2
mov ecx, dword [esp + 0x80]
add edi, 6
add ecx, 6
add esp, 0x1c
mov dword [esp + 0x64], ecx
mov eax, edi
cmp ecx, esi
jl 0x1006c656
mov esi, dword [esp + 0x68]
inc eax
cmp eax, esi
jge 0x1006c488
movss xmm0, dword [esp + edi*4 + 0xec]
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0xf0]
movss dword [esp], xmm0
push dword [esp + 0x74]
call fcn.1006ae61
jmp 0x1006c3f1
cmp esi, 8
jl 0x1006c488
lea eax, [esi - 6]
mov dword [esp + 0x60], eax
cmp eax, 1
jle 0x1006c743
xor esi, esi
inc esi
movss xmm0, dword [esp + edi*4 + 0xec]
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0xf0]
movss dword [esp], xmm0
push dword [esp + 0x74]
call fcn.1006ae61
add edi, 2
add esi, 2
add esp, 0xc
mov eax, edi
cmp esi, dword [esp + 0x60]
jl 0x1006c6fb
mov esi, dword [esp + 0x68]
add eax, 5
cmp eax, esi
jge 0x1006c488
movups xmm0, xmmword [esp + edi*4 + 0xf0]
sub esp, 0x18
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esp + edi*4 + 0x104]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + edi*4 + 0x100]
movss dword [esp], xmm0
push dword [esp + 0x84]
call fcn.1006adf2
add esp, 0x1c
jmp 0x1006cce1
cmp esi, 4
jl 0x1006c488
mov eax, esi
xorps xmm1, xmm1
and eax, 1
je 0x1006c79a
movaps xmm1, xmm6
lea edx, [eax + 3]
mov dword [esp + 0x64], edx
cmp edx, esi
jge 0x1006cce1
lea edi, [esp + 0xf4]
lea edi, [edi + eax*4]
movss xmm0, dword [edi]
cmp ecx, 0x1b
jne 0x1006c7c9
movss xmm2, dword [edi - 0xc]
movaps xmm3, xmm0
xorps xmm0, xmm0
jmp 0x1006c7d4
movaps xmm2, xmm1
xorps xmm3, xmm3
movss xmm1, dword [edi - 0xc]
sub esp, 0x18
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm3
movss xmm0, dword [edi - 4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [edi - 8]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
push dword [esp + 0x84]
call fcn.1006adf2
mov edx, dword [esp + 0x80]
add esp, 0x1c
mov ecx, dword [esp + 0x60]
add edx, 4
add edi, 0x10
mov dword [esp + 0x64], edx
xorps xmm1, xmm1
cmp edx, esi
jl 0x1006c7b3
jmp 0x1006cce1
cmp dword [esp + 0x3c], edi
jne case.0x1006c36b.29
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x7c], edi
je 0x1006c866
push dword [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1006ac10
mov ecx, dword [esp + 0x6c]
lea edi, [esp + 0x2c]
mov esi, eax
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x68]
xor eax, eax
inc eax
mov dword [esp + 0x3c], eax
cmp esi, 1
jl 0x1006c488
mov edx, dword [esp + 0x54]
dec esi
mov dword [esp + 0x68], esi
cmp edx, 0xa
jge 0x1006c488
imul eax, edx, 0xc
lea edi, [esp + 0x70]
lea esi, [esp + 0x44]
add edi, eax
mov eax, dword [esp + 0x64]
inc edx
mov dword [esp + 0x54], edx
movsd dword es:[edi], dword [esi]
cvttss2si eax, dword [esp + eax*4 + 0xe4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ecx, 0xa
jne 0x1006c8b5
lea esi, [esp + 0x20]
jmp 0x1006c8bc
mov esi, dword [esp + 0x38]
add esi, 0x50
push eax
sub esp, 0xc
lea eax, [esp + 0x18]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1006b6b2
mov esi, eax
lea edi, [esp + 0x58]
add esp, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x4c], 0
je 0x1006c488
and dword [esp + 0x48], 0
and dword [esp + 0x50], 0
mov esi, dword [esp + 0x68]
jmp 0x1006cce1
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x1006c488
dec eax
lea edi, [esp + 0x44]
mov dword [esp + 0x54], eax
imul eax, dword [esp + 0x40], 0xc
lea esi, [esp + eax + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x1006c8eb
lea eax, [esp + 0x44]
push eax
call fcn.1006a969
movzx eax, al
pop ecx
sub eax, 0x22
je 0x1006cbcd
sub eax, 1
je 0x1006cb65
sub eax, 1
je 0x1006ca9e
sub eax, 1
jne 0x1006c488
cmp esi, 0xb
jl 0x1006c488
movss xmm0, dword [esp + 0x110]
movss xmm1, dword [esp + 0xf4]
addss xmm1, dword [esp + 0xec]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xf0]
addss xmm0, xmm6
addss xmm1, dword [esp + 0xfc]
push ecx
push ecx
addss xmm0, dword [esp + 0x100]
addss xmm1, dword [esp + 0x10c]
addss xmm0, dword [esp + 0x108]
addss xmm1, dword [esp + 0x114]
addss xmm0, dword [esp + 0x110]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x34], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movss xmm0, dword [esp + 0x68]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x48]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
movss xmm0, dword [esp + 0x48]
fstp dword [esp + 0x38]
comiss xmm0, dword [esp + 0x38]
pop ecx
pop ecx
jbe 0x1006ca1b
movss xmm0, dword [esp + 0x60]
xorps xmm0, xmmword [0x100cb8d0]
movss dword [esp + 0x64], xmm0
jmp 0x1006ca2e
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmmword [0x100cb8d0]
movss dword [esp + 0x68], xmm0
movups xmm0, xmmword [esp + 0xf0]
mov edi, dword [esp + 0x6c]
sub esp, 0x18
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp], xmm0
push edi
call fcn.1006adf2
movss xmm0, dword [esp + 0x80]
pop ecx
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x10], xmm0
movups xmm0, xmmword [esp + 0x118]
movups xmmword [esp], xmm0
push edi
call fcn.1006adf2
add esp, 0x1c
jmp 0x1006ccd8
cmp esi, 9
jl 0x1006c488
movss xmm0, dword [esp + 0xf8]
sub esp, 0x18
movss xmm6, dword [esp + 0x10c]
movss xmm7, dword [esp + 0x104]
and dword [esp + 0x14], edi
mov edi, dword [esp + 0x84]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x108]
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push edi
call fcn.1006adf2
movss xmm1, dword [esp + 0x120]
movaps xmm0, xmm6
addss xmm0, xmm7
add esp, 4
addss xmm0, xmm1
xorps xmm0, xmmword [0x100cb8d0]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x120]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x118]
movss dword [esp + 0xc], xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x114]
and dword [esp + 4], 0
movss dword [esp], xmm0
jmp 0x1006ca90
cmp esi, 0xd
jl 0x1006c488
movups xmm0, xmmword [esp + 0xf0]
mov edi, dword [esp + 0x6c]
sub esp, 0x18
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp], xmm0
push edi
call fcn.1006adf2
movups xmm0, xmmword [esp + 0x124]
pop ecx
movups xmmword [esp + 8], xmm0
movss xmm0, dword [esp + 0x11c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x118]
jmp 0x1006cb5b
cmp esi, 7
jl 0x1006c488
movss xmm0, dword [esp + 0xf4]
sub esp, 0x18
movss xmm6, dword [esp + 0x108]
and dword [esp + 0x14], edi
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x104]
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm0
and dword [esp + 4], edi
movss xmm0, dword [esp + 0x100]
mov edi, dword [esp + 0x84]
movss dword [esp], xmm0
push edi
call fcn.1006adf2
movss xmm0, dword [esp + 0x11c]
pop ecx
and dword [esp + 0x14], 0
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm6
xorps xmm0, xmmword [0x100cb8d0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x114]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x110]
jmp 0x1006cb56
cmp ecx, 0xff
je 0x1006cca4
cmp ecx, 0x1c
je 0x1006cc81
cmp ecx, 0x20
jb 0x1006c488
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push eax
call fcn.1006aa24
lea eax, [esp + 0x4c]
push eax
call fcn.1006ab3d
cwde
add esp, 0xc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
jmp 0x1006ccc1
lea eax, [esp + 0x44]
push 4
push eax
call fcn.1006a982
pop ecx
pop ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100d216c]
cmp esi, 0x30
jge 0x1006c488
movss dword [esp + esi*4 + 0xe8], xmm0
inc esi
and dword [esp + 0x50], edi
movss xmm6, dword [esp + 0xe8]
xor eax, eax
cmp dword [esp + 0x50], eax
cmove eax, esi
mov esi, eax
mov dword [esp + 0x68], esi
jmp 0x1006c322
push dword [esp + 0x6c]
call fcn.1006adb3
xor eax, eax
pop ecx
inc eax
jmp 0x1006c48a