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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
push esi
push edi
mov edi, edx
mov dword [esp + 0x64], 1
mov edx, ecx
mov dword [esp + 0x8c], edi
sub esp, 0xc
mov dword [esp + 0x8c], edx
mov ecx, esp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0xa8], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xb4]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x98], 0
call fcn.1016dc50
movss xmm4, dword [esp + 0xe0]
add esp, 0x10
movss xmm5, dword [esp + 0xcc]
xorps xmm7, xmm7
movss xmm6, dword [esp + 0xc4]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm3, dword [esp + 0xc0]
movss xmm2, dword [esp + 0xbc]
movss xmm1, dword [esp + 0xb8]
movq qword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0xe0]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xc8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], eax
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x20], xmm1
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
cmp edx, edi
jge case.default.0x1016b667
mov al, byte [eax + edx]
xor edi, edi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x7c], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], ecx
lea esi, [eax - 1]
mov dword [esp + 0x58], edx
mov dword [esp + 0x10], esi
cmp esi, 0x1e
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
ja case.default.0x1016aab6
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x1016bcc8]
jmp dword [eax*4 + 0x1016bc78]
cmp dword [esp + 0x64], edi
je 0x1016aad8
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x60]
sar eax, 1
add edx, eax
mov dword [esp + 0x60], edx
jmp 0x1016aadc
mov edx, dword [esp + 0x60]
lea eax, [edx + 7]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x14]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, edi
jg 0x1016aafe
test edx, edx
jns 0x1016b037
mov edx, edi
jmp 0x1016b037
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add dword [esp + 0x60], eax
jmp 0x1016b033
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 2
jl case.default.0x1016b667
movss xmm1, dword [esp + eax*4 + 0xb0]
movss xmm2, dword [esp + eax*4 + 0xb4]
mov ecx, esi
call fcn.1016c040
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x1016b033
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 1
jl case.default.0x1016b667
movaps xmm1, xmm7
jmp 0x1016ab35
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 1
jl case.default.0x1016b667
movss xmm1, dword [esp + eax*4 + 0xb4]
movaps xmm2, xmm7
jmp 0x1016ab3e
cmp dword [esp + 0xc], 2
jl case.default.0x1016b667
mov edx, dword [esi + 0x2c]
lea edi, [esp + 0xbc]
mov dword [esp + 0x34], 1
cmp dword [esi], 0
movss xmm1, dword [edi - 4]
movss xmm0, dword [edi]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si eax, xmm0
cvttss2si ecx, xmm1
je 0x1016abeb
mov edx, ecx
mov ecx, esi
push eax
call fcn.1016c1c0
add esp, 4
jmp 0x1016ac17
mov eax, dword [esi + 0x28]
lea ecx, [edx*8]
sub ecx, edx
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0x34]
add edi, 8
inc dword [esi + 0x2c]
add eax, 2
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0xc]
jl 0x1016abb2
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x1016b033
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1016b667
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esp + 0x34], edx
lea edx, [esi + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], edx
lea ecx, [esi + 0x28]
jmp 0x1016ad20
cmp dword [esp + 0xc], 1
jl case.default.0x1016b667
lea eax, [esi + 0x14]
lea ecx, [esi + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x74], ecx
lea edx, [esi + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], eax
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
addss xmm1, dword [edx]
movss xmm0, dword [ecx]
addss xmm0, xmm7
movss dword [edx], xmm1
cvttss2si eax, xmm1
movss dword [ecx], xmm0
cvttss2si edx, xmm0
je 0x1016acd9
push edx
mov edx, eax
mov ecx, esi
call fcn.1016c1c0
add esp, 4
jmp 0x1016ad0d
mov eax, dword [esp + 0x10]
cvttss2si esi, xmm1
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov word [eax + ecx*2], si
mov esi, dword [ebp + 8]
mov byte [eax + ecx*2 + 0xc], 2
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x74]
inc dword [eax]
inc edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
cmp edi, eax
jge 0x1016ab51
cmp dword [esi], 0
mov eax, dword [esp + 0x48]
movss xmm0, dword [ecx]
movss xmm1, dword [esp + edi*4 + 0xb8]
addss xmm0, xmm7
addss xmm1, dword [eax]
movss dword [ecx], xmm0
cvttss2si ecx, xmm0
movss dword [eax], xmm1
cvttss2si eax, xmm1
je 0x1016ad84
mov edx, ecx
mov ecx, esi
push eax
call fcn.1016c1c0
mov edx, dword [esp + 0x54]
lea ecx, [esi + 0x28]
add esp, 4
mov dword [esp + 0x74], ecx
jmp 0x1016adbc
mov eax, dword [edx]
cvttss2si esi, xmm0
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov word [eax + ecx*2], si
cvttss2si esi, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], si
xor esi, esi
mov dword [eax + ecx*2 + 4], esi
mov dword [eax + ecx*2 + 8], esi
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x74]
inc dword [edx]
inc edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x34]
cmp edi, dword [esp + 0xc]
jl 0x1016aca0
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x1016b033
cmp dword [esp + 0xc], 4
jge 0x1016aead
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1016b667
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
sub eax, edi
cmp eax, 5
jne 0x1016ae2c
movss xmm6, dword [esp + edi*4 + 0xc8]
jmp 0x1016ae2f
movaps xmm6, xmm7
movss xmm3, dword [edx]
mov dl, 4
movss xmm5, dword [esp + edi*4 + 0xb8]
addss xmm3, xmm7
addss xmm5, dword [ecx]
movss xmm4, dword [esp + edi*4 + 0xbc]
mov ecx, esi
mov eax, dword [esp + 0x18]
addss xmm4, xmm3
movaps xmm0, xmm5
addss xmm0, dword [esp + edi*4 + 0xc0]
movaps xmm2, xmm4
addss xmm2, dword [esp + edi*4 + 0xc4]
movaps xmm1, xmm0
addss xmm1, xmm6
movss dword [eax], xmm2
mov eax, dword [esp + 0x10]
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
call fcn.1016c130
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 0xc]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1016bc22
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1016aed0
movss xmm0, dword [esp + edi*4 + 0xc8]
jmp 0x1016aed3
movaps xmm0, xmm7
movss xmm3, dword [esi + 0x14]
lea ecx, [esi + 0x14]
movss xmm4, dword [esp + edi*4 + 0xc0]
addss xmm3, xmm7
movss xmm5, dword [esp + edi*4 + 0xb8]
mov dl, 4
addss xmm5, dword [esi + 0x10]
mov dword [esp + 0x40], ecx
addss xmm4, xmm3
movaps xmm1, xmm5
addss xmm1, dword [esp + edi*4 + 0xbc]
cvttss2si eax, xmm4
movaps xmm2, xmm1
push eax
cvttss2si eax, xmm1
addss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc8]
push eax
cvttss2si eax, xmm3
movss dword [ecx], xmm0
mov ecx, esi
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
call fcn.1016c130
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0x14]
add edi, 4
mov dword [esp + 0x28], eax
add esp, 0x18
lea edx, [esi + 0x10]
mov dword [esp + 0x18], edx
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1016bc22
mov eax, ecx
mov ecx, dword [esp + 0x40]
jmp 0x1016ae1a
cmp dword [esp + 0xc], 6
jl case.default.0x1016b667
mov dword [esp + 0x10], 5
lea edi, [esp + 0xbc]
movss xmm4, dword [edi]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [edi - 4]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movss xmm3, dword [edi + 4]
movaps xmm0, xmm4
addss xmm0, dword [edi + 8]
addss xmm3, xmm5
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm2, xmm3
push eax
addss xmm1, dword [edi + 0x10]
cvttss2si eax, xmm3
addss xmm2, dword [edi + 0xc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
call fcn.1016c130
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0xc]
jl 0x1016af95
mov edx, dword [esp + 0x24]
movss xmm4, dword [esp + 0x38]
movss xmm2, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x28]
movss xmm1, dword [esp + 0x20]
movss xmm5, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x7c], eax
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
jmp 0x1016aa65
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1016b667
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
cmp eax, 5
jle 0x1016b13f
mov dword [esp + 0x10], 5
nop word [eax + eax]
movss xmm4, dword [esp + edi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
mov eax, dword [esp + 0x28]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x18]
jl 0x1016b080
lea eax, [ecx + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x1016b667
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x38]
movss xmm5, dword [esp + 0x30]
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
movss xmm0, dword [esp + edi*4 + 0xbc]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si edi, xmm0
cvttss2si edx, xmm1
je 0x1016b18f
push edi
mov ecx, esi
call fcn.1016c1c0
movss xmm1, dword [esp + 0x24]
add esp, 4
inc dword [esi + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x1016b033
mov eax, dword [esi + 0x2c]
movss xmm1, dword [esp + 0x20]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x28]
mov word [eax + ecx*2], dx
xor edx, edx
inc dword [esi + 0x2c]
mov dword [eax + ecx*2 + 4], edx
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2 + 2], di
mov dword [eax + ecx*2 + 8], edx
mov edx, dword [esp + 0x24]
jmp 0x1016b033
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1016b667
add eax, 0xfffffffa
mov dword [esp + 0x18], eax
cmp eax, 1
jle 0x1016b28b
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x10], 1
cmp dword [esi], 0
movss xmm1, dword [esp + edi*4 + 0xb8]
movss xmm0, dword [esp + edi*4 + 0xbc]
addss xmm1, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
cvttss2si eax, xmm0
cvttss2si ecx, xmm1
je 0x1016b232
mov edx, ecx
mov ecx, esi
push eax
call fcn.1016c1c0
add esp, 4
jmp 0x1016b25e
mov eax, dword [esi + 0x28]
lea ecx, [edx*8]
sub ecx, edx
cvttss2si edx, xmm1
mov byte [eax + ecx*2 + 0xc], 2
mov word [eax + ecx*2], dx
cvttss2si edx, xmm0
mov word [eax + ecx*2 + 2], dx
xor edx, edx
mov dword [eax + ecx*2 + 4], edx
mov dword [eax + ecx*2 + 8], edx
mov eax, dword [esp + 0x10]
add edi, 2
inc dword [esi + 0x2c]
add eax, 2
mov ecx, edi
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x18]
jl 0x1016b1f0
lea eax, [ecx + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x1016b667
movss xmm4, dword [esp + edi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xb8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
add esp, 0x18
jmp 0x1016b011
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1016b667
mov edi, eax
movaps xmm5, xmm7
and edi, 1
je 0x1016b32a
movaps xmm5, xmm1
lea ecx, [edi + 3]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jge 0x1016b02d
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [esp + edi*4 + 0xbc]
nop word [eax + eax]
cmp dword [esp + 0x34], 0x1b
movss xmm1, dword [edi]
movss xmm0, dword [eax]
movss xmm2, dword [ecx]
movss xmm3, dword [edi - 4]
movss xmm4, dword [edi + 4]
movss xmm6, dword [edi + 8]
jne 0x1016b395
addss xmm2, xmm5
addss xmm0, xmm3
movaps xmm5, xmm2
addss xmm5, xmm4
addss xmm1, xmm0
movaps xmm4, xmm5
movaps xmm3, xmm1
addss xmm4, xmm7
addss xmm3, xmm6
jmp 0x1016b3b6
addss xmm2, xmm3
addss xmm0, xmm5
movaps xmm5, xmm2
addss xmm5, xmm4
addss xmm1, xmm0
movaps xmm4, xmm5
movaps xmm3, xmm1
addss xmm4, xmm6
addss xmm3, xmm7
movaps xmm7, xmm3
movaps xmm6, xmm4
movss dword [eax], xmm7
mov dl, 4
cvttss2si eax, xmm5
movss dword [ecx], xmm6
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0x10]
add ecx, 4
add esp, 0x18
add edi, 0x10
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0xc]
xorps xmm7, xmm7
xorps xmm5, xmm5
lea ecx, [esi + 0x14]
jl 0x1016b350
movss xmm6, dword [esp + 0x44]
jmp 0x1016b011
cmp dword [esp + 0x88], edi
mov edi, dword [esp + 0x80]
jne 0x1016b477
cmp dword [edi + 0x78], 0
je 0x1016b463
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x178]
push eax
mov ecx, edi
call fcn.1016bd00
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], eax
mov dword [esp + 0x88], 1
jmp 0x1016b477
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1016b667
mov edx, dword [esp + 0x70]
dec eax
mov dword [esp + 0xc], eax
cvttss2si eax, dword [esp + eax*4 + 0xb8]
mov dword [esp + 0x18], eax
cmp edx, 0xa
jge case.default.0x1016b667
movq xmm0, qword [esp + 0x54]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x14]
inc edx
cmp dword [esp + 0x34], 0xa
movq qword [esp + eax*4 + 0x198], xmm0
mov dword [esp + 0x70], edx
lea edx, [esp + 0x9c]
mov dword [esp + eax*4 + 0x1a0], ecx
je 0x1016b4d6
lea edx, [edi + 0x4c]
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x90], xmm0
mov edi, dword [esp + 0x90]
cmovns eax, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x94], eax
cmp eax, edx
jl 0x1016b509
xor cl, cl
jmp 0x1016b514
mov cl, byte [edi + eax]
inc eax
mov dword [esp + 0x94], eax
movzx ecx, cl
cmp eax, edx
jl 0x1016b51f
xor al, al
jmp 0x1016b536
mov dl, byte [edi + eax]
inc eax
mov byte [esp + 0x1f], dl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov al, byte [esp + 0x1f]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1016b552
mov eax, 0x8000
jmp 0x1016b560
cmp ecx, 0x4d8
mov edi, 0x46b
cmovae eax, edi
mov edi, dword [esp + 0x18]
add edi, eax
js 0x1016b5a5
cmp edi, ecx
jge 0x1016b5a5
movq xmm0, qword [esp + 0x90]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x194]
push eax
call fcn.1016dc50
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0xa8], xmm0
jmp 0x1016b5c6
mov dword [esp + 0xa8], 0
xor edi, edi
mov dword [esp + 0xac], 0
movq xmm0, qword [esp + 0xa8]
mov dword [esp + 0x14], edi
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], edi
test edi, edi
je case.default.0x1016b667
mov eax, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], eax
jmp 0x1016b037
mov eax, dword [esp + 0x70]
test eax, eax
jle case.default.0x1016b667
dec eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x18c]
mov edi, dword [esp + eax*4 + 0x194]
movq qword [esp + 0x54], xmm0
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], eax
jmp 0x1016b037
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1016b64a
xor dl, dl
jmp 0x1016b658
mov eax, dword [esp + 0x3c]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
movzx eax, dl
sub eax, 0x22
cmp eax, 3
ja case.default.0x1016b667
jmp dword [eax*4 + 0x1016bce8]
cmp dword [esp + 0xc], 7
jl case.default.0x1016b667
movss xmm4, dword [esi + 0x14]
movaps xmm0, xmm3
addss xmm4, xmm7
movaps xmm5, xmm1
addss xmm5, dword [esi + 0x10]
movaps xmm3, xmm6
mov dl, 4
mov ecx, esi
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
movaps xmm1, xmm0
addss xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm1, xmm7
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x64]
addss xmm4, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0x48]
movss xmm1, dword [esp + 0x50]
movaps xmm6, xmm4
subss xmm6, dword [esp + 0x40]
addss xmm5, xmm3
movaps xmm2, xmm6
addss xmm1, xmm5
addss xmm2, xmm7
jmp 0x1016ba0a
cmp dword [esp + 0xc], 0xd
jl case.default.0x1016b667
movaps xmm4, xmm2
movaps xmm0, xmm6
addss xmm4, dword [esi + 0x14]
movaps xmm5, xmm1
movaps xmm2, xmm3
addss xmm5, dword [esi + 0x10]
movss xmm1, dword [esp + 0x30]
mov dl, 4
movss xmm3, dword [esp + 0x4c]
mov ecx, esi
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
movss xmm3, dword [esp + 0x50]
movss xmm4, dword [esp + 0x80]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x84]
movss xmm6, dword [esp + 0x90]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xfc]
addss xmm5, xmm3
addss xmm6, xmm4
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x1016ba0a
cmp dword [esp + 0xc], 9
jl case.default.0x1016b667
movaps xmm4, xmm2
movaps xmm0, xmm6
addss xmm4, dword [esi + 0x14]
movaps xmm5, xmm1
movaps xmm2, xmm3
addss xmm5, dword [esi + 0x10]
movss xmm3, dword [esp + 0x4c]
mov dl, 4
mov ecx, esi
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
movaps xmm1, xmm0
addss xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm1, xmm7
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x48]
addss xmm4, xmm7
movss xmm0, dword [esp + 0x5c]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esp + 0x44]
movss xmm6, dword [esp + 0x80]
movss xmm5, dword [esp + 0x50]
addss xmm6, xmm4
movss xmm1, dword [esp + 0x84]
addss xmm5, xmm3
addss xmm0, dword [esp + 0x80]
movaps xmm2, xmm6
addss xmm1, xmm5
subss xmm2, xmm0
jmp 0x1016ba0a
cmp dword [esp + 0xc], 0xb
jl case.default.0x1016b667
movss xmm0, dword [esp + 0x84]
sub esp, 8
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm6
addss xmm1, xmm2
addss xmm0, dword [esp + 0x54]
addss xmm1, xmm5
addss xmm0, xmm4
addss xmm1, dword [esp + 0x70]
addss xmm0, dword [esp + 0x74]
addss xmm1, dword [esp + 0x80]
movss dword [esp + 0x50], xmm0
cvtss2sd xmm0, xmm0
movss dword [esp + 0x18], xmm1
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.100e5a1a
movss xmm0, dword [esp + 0x3c]
add esp, 8
fstp dword [esp + 0x50]
comiss xmm0, dword [esp + 0x50]
jbe 0x1016b943
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x102cd9f0]
movss dword [esp + 0x40], xmm0
jmp 0x1016b956
movss xmm0, dword [esp + 0x48]
xorps xmm0, xmmword [0x102cd9f0]
movss dword [esp + 0x18], xmm0
movss xmm4, dword [esp + 0x2c]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x44]
mov ecx, esi
movss xmm5, dword [esp + 0x20]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x28]
addss xmm0, xmm4
movss xmm1, dword [esp + 0x30]
movss xmm3, dword [esp + 0x4c]
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1016c130
movss xmm3, dword [esp + 0x50]
movss xmm4, dword [esp + 0x80]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x84]
movss xmm6, dword [esp + 0x90]
addss xmm5, xmm3
addss xmm6, xmm4
movaps xmm1, xmm5
addss xmm1, dword [esp + 0x30]
movaps xmm2, xmm6
addss xmm2, dword [esp + 0x58]
add esp, 0x18
movaps xmm7, xmm1
cvttss2si eax, xmm6
mov dl, 4
mov ecx, esi
movaps xmm0, xmm2
movss dword [esi + 0x10], xmm7
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
call fcn.1016c130
movss xmm1, dword [esp + 0x38]
add esp, 0x18
movss xmm3, dword [esp + 0x28]
xorps xmm7, xmm7
movss xmm6, dword [esp + 0x44]
movss xmm2, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x38]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
jmp 0x1016b037
mov eax, dword [esp + 0x34]
cmp eax, 0xff
je 0x1016bad4
cmp eax, 0x1c
je 0x1016ba95
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1016b667
mov ecx, dword [esp + 0x14]
dec edx
cmp edx, ecx
jg 0x1016baa6
mov dword [esp + 0x58], edx
test edx, edx
jns 0x1016baaa
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
call fcn.1016dfc0
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
cwde
mov dword [esp + 0x14], edi
movd xmm0, eax
mov eax, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x3c], eax
jmp 0x1016bb52
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x1016bae4
mov eax, dword [esp + 0x40]
xor cl, cl
jmp 0x1016baf8
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0x1f], al
mov eax, edx
mov cl, byte [esp + 0x1f]
movzx ecx, cl
cmp eax, edi
jl 0x1016bb03
xor al, al
jmp 0x1016bb0b
mov eax, dword [esp + 0x3c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1016bb1b
xor al, al
jmp 0x1016bb23
mov eax, dword [esp + 0x3c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1016bb33
xor al, al
jmp 0x1016bb3b
mov eax, dword [esp + 0x3c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x102cd5ec]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x1016b667
movss dword [esp + eax*4 + 0xb8], xmm0
inc eax
movss xmm0, dword [esp + 0xe0]
movss xmm4, dword [esp + 0xd0]
movss xmm5, dword [esp + 0xcc]
movss xmm6, dword [esp + 0xc4]
movss xmm3, dword [esp + 0xc0]
movss xmm2, dword [esp + 0xbc]
movss xmm1, dword [esp + 0xb8]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x7c], 0
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x20], xmm1
jmp 0x1016b037
movss xmm1, dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x7c], eax
movss xmm3, dword [esp + 0x28]
movss xmm6, dword [esp + 0x44]
cmove eax, ecx
movss xmm2, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x38]
movss xmm5, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
jmp 0x1016aa65
mov ecx, esi
call fcn.1016c0c0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret