Function at 0x1006d1f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x180
mov esi, edx
mov ebx, ecx
mov eax, dword [0x1025ad40]
xor eax, ebp
mov dword [esp + 0x178], eax
cmp dword [ecx + 0x3c], 0
je 0x1006d2d9
pxor xmm0, xmm0
movdqu xmmword [esp + 0x168], xmm0
movdqu xmmword [esp + 0x15c], xmm0
movdqu xmmword [esp + 0x14c], xmm0
mov dword [esp + 0x148], 1
movdqu xmmword [esp + 0x138], xmm0
movdqu xmmword [esp + 0x128], xmm0
movdqu xmmword [esp + 0x118], xmm0
lea eax, [esp + 0x148]
mov ecx, ebx
mov edx, esi
push eax
call fcn.1006beb0
add esp, 4
test eax, eax
je 0x1006d2c9
mov edi, dword [esp + 0x174]
mov ecx, edi
shl ecx, 4
sub ecx, edi
sub ecx, edi
push ecx
call fcn.100485a0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [esp + 0x140], eax
lea eax, [esp + 0x118]
mov ecx, ebx
mov edx, esi
push eax
call fcn.1006beb0
add esp, 4
test eax, eax
je 0x1006d2c9
mov ebx, edi
cmp dword [esp + 0x144], edi
je 0x1006e1f1
jmp 0x1006d974
mov eax, dword [ebp + 8]
mov dword [eax], 0
xor ebx, ebx
jmp 0x1006e1f1
mov edi, dword [ebx + 4]
mov dword [esp + 8], ebx
mov ecx, ebx
mov edx, esi
call fcn.1006be40
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
xor ebx, ebx
test edx, edx
js 0x1006e1f1
mov eax, edx
add edx, edi
movzx eax, word [edi + eax]
rol ax, 8
test ax, ax
jle 0x1006d95b
movzx edi, ax
movzx eax, byte [edx + edi*2 + 8]
shl eax, 8
movzx ecx, byte [edx + edi*2 + 9]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [eax + edi*2]
lea ecx, [eax + eax]
shl eax, 4
sub eax, ecx
add eax, 0xe
movzx ecx, byte [edx + edi*2 + 0xa]
mov dword [esp + 0x30], ecx
movzx ecx, byte [edx + edi*2 + 0xb]
mov dword [esp + 0x80], ecx
push eax
mov esi, edx
call fcn.100485a0
add esp, 4
test eax, eax
je 0x1006e1f1
mov edx, eax
lea ecx, [edi + edi]
mov dword [esp + 0xe0], ecx
lea ecx, [esi + edi*2]
add ecx, 0xa
add esi, 0xa
mov dword [esp + 0xdc], esi
mov eax, dword [esp + 0x30]
shl eax, 8
add eax, dword [esp + 0x80]
mov esi, edx
add eax, ecx
add eax, 2
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x20]
lea ecx, [ebx + ebx]
shl ebx, 4
sub ebx, ecx
add ebx, 0xe
mov dword [esp + 0x10], ebx
lea ecx, [edi + edi*8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], ecx
add ecx, edi
mov dword [esp + 0x4c], edx
add ecx, edx
add ecx, 0xc
xor edi, edi
xor edx, edx
xor ebx, ebx
jmp 0x1006d3de
dec bl
mov byte [ecx + edi], dl
add edi, 0xe
cmp dword [esp + 0x10], edi
je 0x1006d3f8
test bl, bl
jne 0x1006d3d0
movzx edx, byte [eax]
test dl, 8
jne 0x1006d3ef
inc eax
xor ebx, ebx
jmp 0x1006d3d2
movzx ebx, byte [eax + 1]
add eax, 2
jmp 0x1006d3d2
mov ebx, dword [esp + 0x30]
add ebx, dword [esp + 0x4c]
add ebx, dword [esp + 0x20]
xor edx, edx
xor edi, edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ebx
jmp 0x1006d44c
movzx ecx, byte [eax]
inc eax
mov esi, ecx
neg esi
test bl, 0x10
cmovne esi, ecx
mov ecx, dword [esp + 0x20]
add edi, esi
mov esi, dword [esp + 0xc0]
mov ebx, dword [esp + 0x30]
mov word [ebx + edx], di
add edx, 0xe
cmp dword [esp + 0x10], edx
je 0x1006d470
movzx ebx, byte [ebx + edx + 0xc]
test bl, 2
jne 0x1006d420
test bl, 0x10
jne 0x1006d43b
movzx ecx, word [eax]
rol cx, 8
movzx ecx, cx
add edi, ecx
mov ecx, dword [esp + 0x20]
add eax, 2
jmp 0x1006d43b
xor edx, edx
xor edi, edi
jmp 0x1006d4a9
movzx ecx, byte [eax]
inc eax
mov esi, ecx
neg esi
test bl, 0x20
cmovne esi, ecx
mov ecx, dword [esp + 0x20]
add edi, esi
mov esi, dword [esp + 0xc0]
mov word [ecx + edx - 0xa], di
add edx, 0xe
cmp dword [esp + 0x10], edx
je 0x1006d4cc
movzx ebx, byte [ecx + edx]
test bl, 4
jne 0x1006d480
test bl, 0x20
jne 0x1006d49b
movzx ecx, word [eax]
rol cx, 8
movzx ecx, cx
add edi, ecx
mov ecx, dword [esp + 0x20]
add eax, 2
jmp 0x1006d49b
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0xc], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 4], 0
mov dword [esp + 0x90], 0
mov dword [esp + 8], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0xb0], 0
xor ebx, ebx
jmp 0x1006d58d
movd xmm0, edi
test ebx, ebx
sete dl
mov ecx, dword [esp + 0x60]
cmove ecx, ebx
cmovne ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
mov edi, eax
shl edi, 4
sub edi, eax
sub edi, eax
mov esi, dword [esp + 0xc0]
xor dl, 3
mov byte [esi + edi + 0xc], dl
movd dword [esi + edi], xmm0
mov word [esi + edi + 4], cx
mov word [esi + edi + 6], bx
inc eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dl, 1
mov edi, dword [esp + 0x30]
lea ecx, [edi + 1]
mov ebx, eax
cmp edi, dword [esp + 0x48]
mov eax, ecx
jge 0x1006d8d1
mov ecx, dword [esp + 0xe0]
lea edx, [eax + ecx]
mov dword [esp + 0xf0], edx
mov edi, edx
shl edi, 4
sub edi, edx
sub edi, edx
movzx edx, byte [esi + edi + 0xc]
mov edi, dword [esi + edi]
movsx ecx, di
mov dword [esp + 0x20], ecx
mov ecx, edi
sar ecx, 0x10
cmp dword [esp + 0xa0], eax
jne 0x1006d660
mov byte [esp + 0xa0], dl
test eax, eax
mov edi, eax
mov dword [esp + 0x80], ecx
je 0x1006d7a4
cmp dword [esp + 0xb0], 0
mov dword [esp + 0x30], edi
je 0x1006d6d6
test ebx, ebx
je 0x1006d730
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esp + 0xb0], eax
lea ebx, [ecx + ecx]
shl ecx, 4
sub ecx, ebx
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x90]
lea ebx, [eax + edi]
shr ebx, 1
mov byte [esi + ecx + 0xc], 3
mov word [esi + ecx], bx
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 4]
lea ebx, [edx + eax]
shr ebx, 1
mov word [esi + ecx + 2], bx
mov word [esi + ecx + 4], di
mov word [esi + ecx + 6], ax
mov edi, dword [esp + 0xb0]
jmp 0x1006d738
mov dword [esp + 0x30], eax
test dl, 1
jne 0x1006d530
test ebx, ebx
je 0x1006d714
mov ebx, ecx
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esp + 0xf0], eax
lea edx, [ecx + ecx]
shl ecx, 4
sub ecx, edx
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x20]
lea edx, [edi + eax]
shr edx, 1
mov byte [esi + ecx + 0xc], 3
mov word [esi + ecx], dx
mov eax, dword [esp + 0x70]
lea edx, [eax + ebx]
shr edx, 1
mov word [esi + ecx + 2], dx
mov word [esi + ecx + 4], di
mov word [esi + ecx + 6], ax
xor edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10], eax
jmp 0x1006d722
mov edi, dword [esp + 0x10]
lea eax, [edi + edi]
shl edi, 4
sub edi, eax
mov eax, dword [esp + 0x4c]
lea ecx, [eax + edi]
add eax, edi
add eax, 0xc
test ebx, ebx
je 0x1006d769
mov byte [eax], 3
mov eax, dword [esp + 0x50]
mov word [ecx], ax
mov eax, dword [esp + 8]
mov word [esi + edi + 2], ax
mov eax, dword [esp + 0x60]
mov word [esi + edi + 4], ax
mov eax, dword [esp + 0x70]
jmp 0x1006d785
xor edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], ecx
mov edi, dword [esp + 0x30]
mov eax, 1
jmp 0x1006d57c
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, edi
shl ebx, 4
sub ebx, edi
sub ebx, edi
mov byte [esi + ebx + 0xc], 3
mov eax, dword [esp + 0x50]
mov word [esi + ebx], ax
mov eax, dword [esp + 8]
mov word [esi + ebx + 2], ax
mov eax, dword [esp + 0x90]
mov word [esi + ebx + 4], ax
mov eax, edx
mov ecx, esi
jmp 0x1006d78b
mov byte [eax], 2
mov eax, dword [esp + 0x50]
mov word [ecx], ax
mov eax, dword [esp + 8]
mov word [esi + edi + 2], ax
mov word [esi + edi + 4], 0
xor eax, eax
mov ecx, esi
mov edi, dword [esp + 0x10]
mov esi, edi
shl esi, 4
sub esi, edi
sub esi, edi
mov word [ecx + esi + 6], ax
inc edi
mov dword [esp + 0x10], edi
mov esi, ecx
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x20]
test byte [esp + 0xa0], 1
sete byte [esp + 0xa0]
jne 0x1006d810
mov ecx, edi
mov eax, dword [esp + 0xf0]
lea ebx, [eax + 1]
lea esi, [eax + eax]
add esi, 2
mov edx, ebx
shl edx, 4
mov edi, edx
sub edi, esi
mov esi, dword [esp + 0xc0]
movsx eax, word [esi + edi]
test byte [esi + edi + 0xc], 1
jne 0x1006d82c
add ebx, ebx
sub edx, ebx
add eax, dword [esp + 0x20]
sar eax, 1
mov dword [esp + 0x50], eax
movsx edx, word [esi + edx + 2]
add edx, dword [esp + 0x80]
sar edx, 1
mov ebx, esi
mov edi, ecx
jmp 0x1006d841
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x80]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
jmp 0x1006d83f
movzx eax, ax
mov dword [esp + 0x50], eax
add ebx, ebx
sub edx, ebx
movzx edx, word [esi + edx + 2]
mov edi, ecx
inc edi
mov ebx, esi
xor ecx, ecx
movzx eax, byte [esp + 0xa0]
mov cl, al
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esp + 0x30], eax
lea esi, [ecx + ecx]
shl ecx, 4
sub ecx, esi
mov byte [ebx + ecx + 0xc], 1
mov eax, dword [esp + 0x50]
mov word [ebx + ecx], ax
mov dword [esp + 8], edx
mov word [ebx + ecx + 2], dx
mov dword [ebx + ecx + 4], 0
mov esi, dword [esp + 0xdc]
mov eax, dword [esp + 0xc]
movzx esi, word [esi + eax*2]
rol si, 8
movzx ecx, si
inc ecx
mov dword [esp + 0xa0], ecx
inc eax
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov dl, 1
mov esi, ebx
jmp 0x1006d57c
cmp dword [esp + 0xb0], 0
je 0x1006d97c
test dl, dl
mov edx, dword [esp + 0x10]
jne 0x1006d927
lea eax, [edx + 1]
lea ecx, [edx + edx]
shl edx, 4
sub edx, ecx
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x90]
add ecx, ebx
shr ecx, 1
mov byte [esi + edx + 0xc], 3
mov word [esi + edx], cx
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 4]
add ecx, edi
shr ecx, 1
mov word [esi + edx + 2], cx
mov word [esi + edx + 4], bx
mov word [esi + edx + 6], di
mov edx, eax
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 8]
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub ecx, edx
mov byte [esi + ecx + 0xc], 3
mov word [esi + ecx], di
mov word [esi + ecx + 2], bx
mov eax, dword [esp + 0x90]
mov word [esi + ecx + 4], ax
mov edi, dword [esp + 4]
jmp 0x1006e1db
cmp ax, 0xffff
je 0x1006d9bd
mov esi, 0
test ax, ax
mov ebx, 0
jns 0x1006e1ec
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
shl eax, 4
sub eax, ecx
mov edi, dword [esp + 0x4c]
lea ecx, [edi + eax]
add ecx, 0xc
add edi, eax
test dl, dl
mov edx, dword [esp + 8]
je 0x1006e1b9
mov byte [ecx], 2
mov ecx, dword [esp + 0x50]
mov word [edi], cx
mov word [esi + eax + 2], dx
mov word [esi + eax + 4], 0
xor edi, edi
jmp 0x1006e1d7
add edx, 0xa
xor ecx, ecx
mov dword [esp + 0xc], 0
jmp 0x1006d9e7
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov esi, ecx
mov edx, edi
test byte [esp + 0x48], 0x20
je 0x1006e1ec
mov dword [esp + 0x148], 0
movzx ebx, byte [edx + 1]
test bl, 2
je 0x1006d974
movzx eax, byte [edx + 4]
mov dword [esp + 0x48], ebx
test bl, 1
mov dword [esp + 4], ecx
jne 0x1006da40
movzx eax, al
shl eax, 8
pxor xmm0, xmm0
pinsrw xmm0, eax, 1
movzx eax, byte [edx + 5]
shl eax, 8
pinsrw xmm0, eax, 3
psrad xmm0, 0x18
cvtdq2ps xmm3, xmm0
mov edi, 6
jmp 0x1006da82
movzx ecx, byte [edx + 5]
movzx eax, al
mov esi, edx
movzx edx, byte [edx + 6]
shl edx, 8
or edx, eax
movd xmm0, edx
mov edx, esi
pxor xmm1, xmm1
punpcklbw xmm1, xmm0
movzx eax, byte [esi + 7]
movd xmm0, ecx
pinsrw xmm0, eax, 1
por xmm0, xmm1
punpcklwd xmm0, xmm0
psrad xmm0, 0x10
cvtdq2ps xmm3, xmm0
mov edi, 8
add edi, edx
mov eax, dword [esp + 0x48]
test al, 8
jne 0x1006dab0
test al, 0x40
jne 0x1006dae2
test al, al
js 0x1006db29
movss xmm4, dword [0x101a8280]
movaps xmm5, xmmword [0x101a9a90]
jmp 0x1006dba0
movzx eax, word [edi]
rol ax, 8
cwde
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x101b0360]
add edi, 2
xorps xmm4, xmm4
movss xmm4, xmm0
movq xmm5, xmm0
shufps xmm5, xmmword [0x101a7130], 0xe2
jmp 0x1006dba0
movzx eax, word [edi]
rol ax, 8
cwde
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movzx eax, word [edi + 2]
rol ax, 8
cwde
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss xmm2, dword [0x101b0360]
mulss xmm0, xmm2
mulss xmm1, xmm2
add edi, 4
xorps xmm4, xmm4
movss xmm4, xmm0
movq xmm5, xmm1
shufps xmm5, xmmword [0x101a7130], 0xe2
jmp 0x1006dba0
movzx ecx, byte [edi]
mov ebx, edx
movzx edx, byte [edi + 1]
movzx eax, byte [edi + 4]
movzx esi, byte [edi + 2]
shl esi, 8
or esi, ecx
movd xmm0, esi
movzx ecx, byte [edi + 3]
shl ecx, 8
or ecx, edx
movd xmm1, ecx
punpcklbw xmm1, xmm0
punpcklwd xmm0, xmm1
psrad xmm0, 0x10
cvtdq2ps xmm4, xmm0
movaps xmm2, xmmword [0x101b0370]
mulps xmm4, xmm2
movzx ecx, byte [edi + 5]
movzx edx, byte [edi + 6]
shl edx, 8
or edx, eax
movd xmm0, edx
mov edx, ebx
movzx eax, byte [edi + 7]
shl eax, 8
or eax, ecx
movd xmm1, eax
punpcklbw xmm1, xmm0
punpcklwd xmm0, xmm1
psrad xmm0, 0x10
cvtdq2ps xmm5, xmm0
mulps xmm5, xmm2
add edi, 8
movzx esi, word [edx + 2]
movaps xmm0, xmm4
mulps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
ucomisd xmm0, qword [0x101a9fb0]
movaps xmmword [esp + 0xe0], xmm5
movaps xmmword [esp + 0x70], xmm3
movaps xmmword [esp + 0x60], xmm4
jb 0x1006dbf0
sqrtsd xmm0, xmm0
jmp 0x1006dc18
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm5, xmmword [esp + 0xe8]
add esp, 8
fstp qword [esp + 0x110]
movsd xmm0, qword [esp + 0x110]
movapd xmmword [esp + 0x10], xmm0
rol si, 8
movaps xmm0, xmm5
mulps xmm0, xmm5
shufps xmm0, xmm0, 0x55
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
ucomisd xmm0, qword [0x101a9fb0]
jb 0x1006dc50
sqrtsd xmm0, xmm0
jmp 0x1006dc70
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
add esp, 8
fstp qword [esp + 0x108]
movsd xmm0, qword [esp + 0x108]
movapd xmmword [esp + 0x20], xmm0
movzx edx, si
mov ecx, dword [esp + 8]
lea eax, [esp + 0x148]
push eax
call fcn.1006d1f0
add esp, 4
test eax, eax
jle 0x1006d9d0
mov ebx, eax
movapd xmm0, xmmword [esp + 0x10]
unpcklpd xmm0, xmmword [esp + 0x20]
cvtpd2ps xmm5, xmm0
mov esi, dword [esp + 0x148]
xor eax, eax
cmp ebx, 9
jb 0x1006e085
mov ecx, ebx
and ecx, 7
mov eax, 8
cmove ecx, eax
mov eax, ebx
sub eax, ecx
movaps xmm2, xmmword [esp + 0xe0]
movaps xmm0, xmm2
shufps xmm0, xmm2, 0
movaps xmmword [esp + 0x20], xmm0
movaps xmm1, xmmword [esp + 0x60]
movaps xmm0, xmm1
shufps xmm0, xmm1, 0
movaps xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [esp + 0x70]
movaps xmm3, xmm0
shufps xmm3, xmm0, 0
movaps xmmword [esp + 0x10], xmm3
movapd xmm3, xmm5
shufps xmm3, xmm5, 0
movaps xmmword [esp + 0x80], xmm3
shufps xmm2, xmm2, 0x55
movaps xmmword [esp + 0xc0], xmm2
shufps xmm1, xmm1, 0x55
movaps xmmword [esp + 0xa0], xmm1
shufps xmm0, xmm0, 0x55
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xb0], xmm5
shufps xmm5, xmm5, 0x55
movaps xmmword [esp + 0x50], xmm5
lea ecx, [esi + 0x68]
mov edx, eax
nop word [eax + eax]
xorps xmm1, xmm1
pinsrw xmm1, word [ecx - 0x30], 1
pinsrw xmm1, word [ecx - 0x22], 3
pinsrw xmm1, word [ecx - 0x14], 5
pinsrw xmm1, word [ecx - 6], 7
psrad xmm1, 0x10
xorps xmm2, xmm2
pinsrw xmm2, word [ecx - 0x68], 1
pinsrw xmm2, word [ecx - 0x5a], 3
pinsrw xmm2, word [ecx - 0x4c], 5
pinsrw xmm2, word [ecx - 0x3e], 7
cvtdq2ps xmm1, xmm1
psrad xmm2, 0x10
cvtdq2ps xmm2, xmm2
xorps xmm3, xmm3
pinsrw xmm3, word [ecx - 0x66], 1
pinsrw xmm3, word [ecx - 0x58], 3
pinsrw xmm3, word [ecx - 0x4a], 5
pinsrw xmm3, word [ecx - 0x3c], 7
psrad xmm3, 0x10
xorps xmm5, xmm5
pinsrw xmm5, word [ecx - 0x2e], 1
pinsrw xmm5, word [ecx - 0x20], 3
pinsrw xmm5, word [ecx - 0x12], 5
cvtdq2ps xmm4, xmm3
pinsrw xmm5, word [ecx - 4], 7
psrad xmm5, 0x10
cvtdq2ps xmm5, xmm5
movaps xmm7, xmmword [esp + 0x20]
movaps xmm3, xmm7
mulps xmm3, xmm5
mulps xmm7, xmm4
movaps xmm0, xmmword [esp + 0x30]
movaps xmm6, xmm0
mulps xmm6, xmm2
addps xmm6, xmm7
mulps xmm0, xmm1
addps xmm0, xmm3
movaps xmm3, xmmword [esp + 0x10]
addps xmm0, xmm3
addps xmm6, xmm3
movaps xmm3, xmmword [esp + 0x80]
mulps xmm6, xmm3
mulps xmm0, xmm3
cvttps2dq xmm3, xmm0
cvttps2dq xmm6, xmm6
movaps xmm0, xmmword [esp + 0xc0]
mulps xmm5, xmm0
mulps xmm4, xmm0
movaps xmm0, xmmword [esp + 0xa0]
mulps xmm2, xmm0
addps xmm2, xmm4
mulps xmm1, xmm0
addps xmm1, xmm5
movaps xmm0, xmmword [esp + 0x90]
addps xmm1, xmm0
addps xmm2, xmm0
movaps xmm0, xmmword [esp + 0x50]
mulps xmm2, xmm0
mulps xmm1, xmm0
cvttps2dq xmm1, xmm1
cvttps2dq xmm2, xmm2
pshufhw xmm4, xmm6, 0xe8
punpcklwd xmm6, xmm2
movd dword [ecx - 0x68], xmm6
pshufd xmm5, xmm6, 0xee
movd dword [ecx - 0x5a], xmm5
pshufhw xmm2, xmm2, 0xe8
pshufd xmm2, xmm2, 0xaa
pshufd xmm4, xmm4, 0xaa
punpcklwd xmm4, xmm2
movd dword [ecx - 0x4c], xmm4
pshufd xmm2, xmm4, 0x55
movd dword [ecx - 0x3e], xmm2
pshufhw xmm2, xmm3, 0xe8
punpcklwd xmm3, xmm1
movd dword [ecx - 0x30], xmm3
pshufd xmm3, xmm3, 0xee
movd dword [ecx - 0x22], xmm3
pshufhw xmm1, xmm1, 0xe8
pshufd xmm1, xmm1, 0xaa
pshufd xmm2, xmm2, 0xaa
punpcklwd xmm2, xmm1
movd dword [ecx - 0x14], xmm2
pshufd xmm1, xmm2, 0x55
movd dword [ecx - 6], xmm1
pxor xmm1, xmm1
pinsrw xmm1, word [ecx - 0x2c], 1
pinsrw xmm1, word [ecx - 0x1e], 3
pinsrw xmm1, word [ecx - 0x10], 5
pinsrw xmm1, word [ecx - 2], 7
psrad xmm1, 0x10
cvtdq2ps xmm1, xmm1
pxor xmm2, xmm2
pinsrw xmm2, word [ecx - 0x64], 1
pinsrw xmm2, word [ecx - 0x56], 3
pinsrw xmm2, word [ecx - 0x48], 5
pinsrw xmm2, word [ecx - 0x3a], 7
psrad xmm2, 0x10
pxor xmm3, xmm3
pinsrw xmm3, word [ecx - 0x62], 1
pinsrw xmm3, word [ecx - 0x54], 3
pinsrw xmm3, word [ecx - 0x46], 5
pinsrw xmm3, word [ecx - 0x38], 7
cvtdq2ps xmm2, xmm2
psrad xmm3, 0x10
cvtdq2ps xmm4, xmm3
pxor xmm3, xmm3
pinsrw xmm3, word [ecx - 0x2a], 1
pinsrw xmm3, word [ecx - 0x1c], 3
pinsrw xmm3, word [ecx - 0xe], 5
pinsrw xmm3, word [ecx], 7
psrad xmm3, 0x10
cvtdq2ps xmm0, xmm3
movaps xmmword [esp + 0xf0], xmm0
movaps xmm3, xmmword [esp + 0x20]
movaps xmm7, xmm3
mulps xmm7, xmm0
mulps xmm3, xmm4
movaps xmm0, xmmword [esp + 0x30]
movaps xmm6, xmm0
mulps xmm6, xmm2
addps xmm6, xmm3
movaps xmm3, xmm0
mulps xmm3, xmm1
addps xmm3, xmm7
movaps xmm5, xmmword [esp + 0xc0]
mulps xmm4, xmm5
movaps xmm0, xmmword [esp + 0xa0]
mulps xmm2, xmm0
addps xmm2, xmm4
addps xmm6, xmmword [esp + 0x10]
movaps xmm7, xmmword [esp + 0x80]
mulps xmm6, xmm7
cvttps2dq xmm4, xmm6
movaps xmm6, xmmword [esp + 0xf0]
mulps xmm6, xmm5
mulps xmm1, xmm0
addps xmm1, xmm6
movaps xmm6, xmmword [esp + 0x90]
addps xmm2, xmm6
movaps xmm0, xmmword [esp + 0x50]
mulps xmm2, xmm0
cvttps2dq xmm2, xmm2
pshufhw xmm5, xmm4, 0xe8
punpcklwd xmm4, xmm2
movd dword [ecx - 0x64], xmm4
pshufd xmm4, xmm4, 0xee
movd dword [ecx - 0x56], xmm4
pshufhw xmm2, xmm2, 0xe8
pshufd xmm2, xmm2, 0xaa
pshufd xmm4, xmm5, 0xaa
punpcklwd xmm4, xmm2
addps xmm3, xmmword [esp + 0x10]
mulps xmm3, xmm7
cvttps2dq xmm2, xmm3
addps xmm1, xmm6
mulps xmm1, xmm0
cvttps2dq xmm1, xmm1
movd dword [ecx - 0x48], xmm4
pshufd xmm3, xmm4, 0x55
movd dword [ecx - 0x3a], xmm3
pshufhw xmm3, xmm2, 0xe8
punpcklwd xmm2, xmm1
movd dword [ecx - 0x2c], xmm2
pshufd xmm2, xmm2, 0xee
movd dword [ecx - 0x1e], xmm2
pshufhw xmm1, xmm1, 0xe8
pshufd xmm1, xmm1, 0xaa
pshufd xmm2, xmm3, 0xaa
punpcklwd xmm2, xmm1
movd dword [ecx - 0x10], xmm2
pshufd xmm1, xmm2, 0x55
movd dword [ecx - 2], xmm1
add ecx, 0x70
add edx, 0xfffffff8
jne 0x1006dd50
movaps xmm5, xmmword [esp + 0xb0]
mov dword [esp + 0x30], edi
movaps xmm2, xmmword [esp + 0x70]
movlhps xmm2, xmm2
movaps xmm4, xmmword [esp + 0xe0]
movlhps xmm4, xmm4
movaps xmm3, xmmword [esp + 0x60]
movlhps xmm3, xmm3
movlhps xmm5, xmm5
lea edx, [eax + eax]
mov ecx, ebx
sub ecx, eax
shl eax, 4
sub eax, edx
mov dword [esp + 0x20], esi
add eax, esi
nop dword [eax]
xorpd xmm0, xmm0
pinsrw xmm0, word [eax], 1
pinsrw xmm0, word [eax + 4], 3
psrad xmm0, 0x10
cvtdq2ps xmm0, xmm0
unpcklps xmm0, xmm0
mulps xmm0, xmm3
xorps xmm1, xmm1
pinsrw xmm1, word [eax + 2], 1
pinsrw xmm1, word [eax + 6], 3
psrad xmm1, 0x10
cvtdq2ps xmm1, xmm1
unpcklps xmm1, xmm1
mulps xmm1, xmm4
addps xmm1, xmm0
addps xmm1, xmm2
mulps xmm1, xmm5
cvttps2dq xmm0, xmm1
packssdw xmm0, xmm0
movq qword [eax], xmm0
add eax, 0xe
dec ecx
jne 0x1006e0c0
mov edi, dword [esp + 0xc]
lea ecx, [ebx + edi]
lea eax, [ecx + ecx]
mov dword [esp + 0x10], ecx
shl ecx, 4
sub ecx, eax
push ecx
call fcn.100485a0
add esp, 4
test eax, eax
je 0x1006e209
mov esi, eax
mov dword [esp + 0x80], ebx
test edi, edi
mov ebx, dword [esp + 4]
jle 0x1006e164
mov ecx, dword [esp + 0xc]
shl ecx, 4
sub ecx, edi
sub ecx, edi
push ecx
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esp + 0x18]
add esp, 0xc
lea eax, [edi + edi]
shl edi, 4
sub edi, eax
mov eax, esi
add eax, edi
mov edx, dword [esp + 0x80]
lea ecx, [edx + edx]
shl edx, 4
sub edx, ecx
push edx
push dword [esp + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test ebx, ebx
je 0x1006e19a
push ebx
call fcn.100485d0
add esp, 4
push dword [esp + 0x20]
call fcn.100485d0
add esp, 4
mov ecx, esi
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x30]
jmp 0x1006d9da
mov byte [ecx], 3
mov ecx, dword [esp + 0x50]
mov word [edi], cx
mov word [esi + eax + 2], dx
mov ecx, dword [esp + 0x60]
mov word [esi + eax + 4], cx
mov eax, dword [esp + 0x70]
mov edi, eax
mov edx, dword [esp + 0x10]
mov ecx, edx
shl ecx, 4
sub ecx, edx
sub ecx, edx
mov word [esi + ecx + 6], di
inc edx
mov ebx, edx
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [esp + 0x178]
xor ecx, ebp
call fcn.10157981
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x1006e21a
push ebx
call fcn.100485d0
add esp, 4
push dword [esp + 0x20]
call fcn.100485d0
add esp, 4
jmp 0x1006d2d2