Function at 0x10158840
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.1015bd20
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 ds:[esp + 0x70]
mov dword [esp + 0x18], ecx
cmp edx, edi
jge case.default.0x101595d4
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.0x101589e9
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x10159c40]
jmp dword [eax*4 + 0x10159bf0]
cmp dword [esp + 0x64], edi
je 0x10158a0b
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 0x10158a0f
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 0x10158a31
test edx, edx
jns 0x10158f83
mov edx, edi
jmp 0x10158f83
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add dword [esp + 0x60], eax
jmp 0x10158f7f
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 2
jl case.default.0x101595d4
movss xmm1, dword [esp + eax*4 + 0xb0]
movss xmm2, dword [esp + eax*4 + 0xb4]
mov ecx, esi
call fcn.1015a020
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x10158f7f
mov eax, dword ds:[esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 1
jl case.default.0x101595d4
movaps xmm1, xmm7
jmp 0x10158a68
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], edi
cmp eax, 1
jl case.default.0x101595d4
movss xmm1, dword [esp + eax*4 + 0xb4]
movaps xmm2, xmm7
jmp 0x10158a71
cmp dword [esp + 0xc], 2
jl case.default.0x101595d4
mov edx, dword [esi + 0x2c]
lea edi, [esp + 0xbc]
mov dword [esp + 0x34], 1
nop word [eax + eax]
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 0x10158b2a
mov edx, ecx
mov ecx, esi
push eax
call fcn.1015a1c0
add esp, 4
jmp 0x10158b56
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 0x10158af0
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x10158f7f
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x101595d4
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 0x10158c5f
cmp dword [esp + 0xc], 1
jl case.default.0x101595d4
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 0x10158c18
push edx
mov edx, eax
mov ecx, esi
call fcn.1015a1c0
add esp, 4
jmp 0x10158c4c
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 0x10158a84
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 0x10158cc3
mov edx, ecx
mov ecx, esi
push eax
call fcn.1015a1c0
mov edx, dword [esp + 0x54]
lea ecx, [esi + 0x28]
add esp, 4
mov dword [esp + 0x74], ecx
jmp 0x10158cfb
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 ds:[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 0x10158bdf
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x10158f7f
cmp dword ds:[esp + 0xc], 4
jge 0x10158df8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x101595d4
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 0x10158d77
movss xmm6, dword [esp + edi*4 + 0xc8]
jmp 0x10158d7a
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.1015a120
add esp, 0x18
add edi, 4
mov ecx, dword ds:[esp + 0xc]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x10159b98
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x10158e1c
movss xmm0, dword [esp + edi*4 + 0xc8]
jmp 0x10158e1f
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.1015a120
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 0x10159b98
mov eax, ecx
mov ecx, dword [esp + 0x40]
jmp 0x10158d65
cmp dword [esp + 0xc], 6
jl case.default.0x101595d4
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.1015a120
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 0x10158ee1
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 0x10158995
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x101595d4
add eax, 0xfffffffe
mov dword [esp + 0x18], eax
cmp eax, 5
jle 0x1015908f
mov dword [esp + 0x10], 5
nop dword [eax]
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.1015a120
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 0x10158fd0
lea eax, [ecx + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x101595d4
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 0x101590df
push edi
mov ecx, esi
call fcn.1015a1c0
movss xmm1, dword [esp + 0x24]
add esp, 4
inc dword [esi + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x10158f7f
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 0x10158f7f
mov eax, dword ds:[esp + 0xc]
cmp eax, 8
jl case.default.0x101595d4
add eax, 0xfffffffa
mov dword [esp + 0x18], eax
cmp eax, 1
jle 0x101591ea
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 0x1015918a
mov edx, ecx
mov ecx, esi
push eax
call fcn.1015a1c0
add esp, 4
jmp 0x101591b6
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 0x10159144
lea eax, ds:[ecx + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x101595d4
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.1015a120
add esp, 0x18
jmp 0x10158f5d
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x101595d4
mov edi, eax
movaps xmm5, xmm7
and edi, 1
je 0x10159289
movaps xmm5, xmm1
lea ecx, [edi + 3]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jge 0x10158f79
lea eax, [esi + 0x10]
lea ecx, [esi + 0x14]
lea edi, [esp + edi*4 + 0xbc]
nop word [eax + eax]
cmp dword [esp + 0x34], 0x1b
movss xmm2, dword [edi]
movss xmm0, dword [eax]
movss xmm1, dword [ecx]
movss xmm3, dword [edi - 4]
movss xmm4, dword [edi + 4]
movss xmm6, dword [edi + 8]
jne 0x101592f5
addss xmm1, xmm5
addss xmm0, xmm3
movaps xmm5, xmm1
addss xmm5, xmm4
addss xmm2, xmm0
movaps xmm4, xmm5
movaps xmm3, xmm2
addss xmm4, xmm7
addss xmm3, xmm6
jmp 0x10159316
addss xmm1, xmm3
addss xmm0, xmm5
movaps xmm5, xmm1
addss xmm5, xmm4
addss xmm2, xmm0
movaps xmm4, xmm5
movaps xmm3, xmm2
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, xmm2
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
call fcn.1015a120
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 0x101592b0
movss xmm6, dword [esp + 0x44]
jmp 0x10158f5d
cmp dword [esp + 0x88], edi
mov edi, dword [esp + 0x80]
jne 0x101593d7
cmp dword [edi + 0x78], 0
je 0x101593c3
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x178]
push eax
mov ecx, edi
call fcn.10159c80
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 0x101593d7
mov edi, dword [esp + 0x80]
mov eax, dword ds:[esp + 0xc]
cmp eax, 1
jl case.default.0x101595d4
mov edx, dword ds:[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.0x101595d4
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 0x1015943c
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 0x1015946f
xor cl, cl
jmp 0x1015947a
mov cl, byte [edi + eax]
inc eax
mov dword [esp + 0x94], eax
movzx ecx, cl
cmp eax, edx
jl 0x10159488
xor al, al
jmp 0x1015949f
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 0x101594bb
mov eax, 0x8000
jmp 0x101594c9
cmp ecx, 0x4d8
mov edi, 0x46b
cmovae eax, edi
mov edi, dword [esp + 0x18]
add edi, eax
js 0x1015950e
cmp edi, ecx
jge 0x1015950e
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.1015bd20
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0xa8], xmm0
jmp 0x1015952f
mov dword [esp + 0xa8], 0
xor edi, edi
mov dword [esp + 0xac], 0
movq xmm0, qword [esp + 0xa8]
mov dword ds:[esp + 0x14], edi
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], edi
test edi, edi
je case.default.0x101595d4
mov eax, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x3c], eax
jmp 0x10158f83
mov eax, dword ds:[esp + 0x70]
test eax, eax
jle case.default.0x101595d4
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 0x10158f83
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x101595b7
xor dl, dl
jmp 0x101595c5
mov eax, dword [esp + 0x3c]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
movzx eax, dl
sub eax, 0x22
cmp eax, 3
ja case.default.0x101595d4
jmp dword [eax*4 + 0x10159c60]
cmp dword [esp + 0xc], 7
jl case.default.0x101595d4
movss xmm4, dword ds:[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.1015a120
movss xmm4, dword ds:[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 0x1015997e
cmp dword [esp + 0xc], 0xd
jl case.default.0x101595d4
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.1015a120
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 0x1015997e
cmp dword [esp + 0xc], 9
jl case.default.0x101595d4
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.1015a120
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 0x1015997e
cmp dword [esp + 0xc], 0xb
jl case.default.0x101595d4
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.100d5947
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
fstp dword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.100d5947
movss xmm0, dword [esp + 0x3c]
add esp, 8
fstp dword [esp + 0x50]
comiss xmm0, dword [esp + 0x50]
jbe 0x101598b7
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x102fb790]
movss dword [esp + 0x40], xmm0
jmp 0x101598ca
movss xmm0, dword [esp + 0x48]
xorps xmm0, xmmword [0x102fb790]
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.1015a120
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.1015a120
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 0x10158f83
mov eax, dword [esp + 0x34]
cmp eax, 0xff
je 0x10159a4a
cmp eax, 0x1c
je 0x10159a0b
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x101595d4
mov ecx, dword [esp + 0x14]
dec edx
cmp edx, ecx
jg 0x10159a1c
mov dword [esp + 0x58], edx
test edx, edx
jns 0x10159a20
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
call fcn.1015c0c0
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 0x10159ac8
mov edi, dword [esp + 0x14]
cmp ecx, edi
jl 0x10159a5a
mov eax, dword [esp + 0x40]
xor cl, cl
jmp 0x10159a6e
mov eax, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov al, byte [ecx + eax]
mov byte [esp + 0x1f], al
mov eax, edx
mov cl, byte [esp + 0x1f]
movzx ecx, cl
cmp eax, edi
jl 0x10159a79
xor al, al
jmp 0x10159a81
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 0x10159a91
xor al, al
jmp 0x10159a99
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 0x10159aa9
xor al, al
jmp 0x10159ab1
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 [0x102fb288]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x101595d4
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 0x10158f83
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 0x10158995
mov ecx, esi
call fcn.1015a0a0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret