Function at 0x10161950
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x102220c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [0x1023fc80]
push esi
push edi
cmp byte [eax + 0x3693], 0
je 0x1016263b
mov eax, dword [0x1023fc7c]
movss xmm1, dword [0x1046851c]
addss xmm1, dword [0x102145b8]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x1016263b
call fcn.10161770
test al, al
je 0x1016264f
cmp dword [0x1024013c], 7
lea ecx, [esp + 0xb8]
push 0
push 0
push 0x80
push ecx
push 0xffffffffffffffff
mov eax, 0x10240128
mov dword [esp + 0xa4], 0
cmova eax, dword [0x10240128]
xorps xmm0, xmm0
push eax
push 0
movaps xmmword [esp + 0x9c], xmm0
push 0xfde9
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10161a6a
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
lea ecx, [esp + 0xb8]
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10161a33
sub ecx, edx
lea eax, [esp + 0xb8]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027870
movaps xmm0, xmmword [esp + 0x60]
movaps xmmword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x70]
movq qword [esp + 0x90], xmm0
cmp dword [0x1024013c], 7
mov eax, 0x10240128
push str.spotify
cmova eax, dword [0x10240128]
push eax
call fcn.101b638b
mov edi, dword [0x10240d90]
add esp, 8
test eax, eax
je 0x10161d18
movups xmm0, xmmword [str.kMUKLXZ]
mov al, byte [0x1020cf44]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10161bf0
movaps xmm0, xmmword [0x10214b30]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10161af0
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10161c20
nop
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10161bf0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10161c40
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x70], 0
cmova edx, dword [esp + 0x30]
mov ecx, edx
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10161c83
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.10027870
lea eax, [esp + 0x60]
mov ecx, 0x1023fc94
push eax
call fcn.100208a0
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x10161cdc
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161cd2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016287e
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10161d91
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161d0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016287e
push ecx
push edx
call fcn.101b5563
add esp, 8
jmp 0x10161d91
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa4]
call fcn.10020a50
push eax
mov ecx, 0x1023fc94
call fcn.100208a0
mov ecx, dword [esp + 0xb4]
cmp ecx, 0xf
jbe 0x10161d73
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161d69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016287e
push ecx
push edx
call fcn.101b5563
add esp, 8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
movups xmm0, xmmword [0x1020cf78]
movups xmmword [esp + 0x10], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x10161f20
xor edx, edx
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x10161ef0
movaps xmm0, xmmword [0x10214b30]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102149a0]
xor ecx, ecx
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + esi]
xorps xmm1, xmm0
movd dword [ecx + esi], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x10161df0
jmp 0x10161f20
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x10
jl 0x10161ef0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10161f40
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
mov eax, 0x1023fc94
cmova ecx, dword [esp + 0x30]
cmp dword [0x1023fca8], 0xf
push ecx
cmova eax, dword [0x1023fc94]
push eax
call fcn.101b6120
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x10161fbb
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161fb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162883
push ecx
push edx
call fcn.101b5563
add esp, 8
test esi, esi
je 0x101621db
movups xmm0, xmmword [str.kMUKLXZ]
mov al, byte [0x1020cf44]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10162110
movaps xmm0, xmmword [0x10214b30]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10162010
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10162140
nop
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10162110
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162160
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
cmova edx, dword [esp + 0x30]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162190
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x101621db
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101621d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162879
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1020cfec]
xor edx, edx
movq xmm0, qword [str.kIUOU_G]
mov dword [esp + 0x58], eax
mov al, byte [0x1020cff0]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], al
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x10162305
movaps xmm2, xmmword [0x102149a0]
mov edx, 8
movaps xmm4, xmmword [0x10214db0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
mov eax, dword [0x10214b30]
movaps xmm0, xmm1
mov dword [esp + 0xc], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102149e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.kIUOU_G]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x50], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214a10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x54]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xd
jl 0x10162305
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162354
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
mov eax, 0x1023fc94
cmova ecx, dword [esp + 0x30]
cmp dword [0x1023fca8], 0xf
push ecx
cmova eax, dword [0x1023fc94]
push eax
call fcn.101b6120
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x101623cf
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101623c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162888
push ecx
push edx
call fcn.101b5563
add esp, 8
test esi, esi
je 0x101625eb
movups xmm0, xmmword [str.kMUKLXZ]
mov al, byte [0x1020cf44]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10162522
movaps xmm0, xmmword [0x10214b30]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10162424
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10162552
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10162522
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162571
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea esi, [esp + 0x30]
cmova esi, dword [esp + 0x30]
mov edx, esi
lea edi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x101625a0
sub edx, edi
mov ecx, 0x1023fc94
push edx
push esi
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x101625eb
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101625e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162879
push ecx
push edx
call fcn.101b5563
add esp, 8
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x10162627
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1016261d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162879
push ecx
push edx
call fcn.101b5563
add esp, 8
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x1046851c], xmm0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.101b526a
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [0x1020cf64]
mov ax, word [0x1020cf74]
mov word [esp + 0x20], ax
movups xmmword [esp + 0x10], xmm0
test ah, ah
je 0x101627e0
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0xc], edx
jl 0x101627b0
movaps xmm0, xmmword [0x10214b30]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102149a0]
movaps xmm3, xmmword [0x10214db0]
movaps xmm5, xmmword [0x10214a10]
movaps xmmword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x10]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + edx + 0x10], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214ac0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edx + esi]
xorps xmm1, xmm0
movd dword [edx + esi], xmm1
add edx, 8
cmp edx, 0x10
jl 0x101626b0
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x101627e0
nop
mov eax, 0x51eb851f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x32
sub cl, al
add cl, 0x38
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x101627b0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162800
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027870
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
cmova edx, dword [esp + 0x30]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10162830
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10162627
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1016261d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1016261d
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
call fcn.101ba696
int3