Function at 0x101613f0
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 0x101620db
mov eax, dword [0x1023fc7c]
movss xmm1, dword [0x10468514]
addss xmm1, dword [0x102143c0]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x101620db
call fcn.10161210
test al, al
je 0x101620ef
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 0x1016150a
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 0x101614d3
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.101b5d4b
mov edi, dword [0x10240d90]
add esp, 8
test eax, eax
je 0x101617b8
movups xmm0, xmmword [0x1020cd94]
mov al, byte [0x1020cda4]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10161690
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
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, 1
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 [0x102148e0]
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, 1
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 [0x102148e0]
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 0x10161590
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x101616bf
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10161690
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 0x101616e0
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 0x10161723
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 0x1016177c
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161772
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016231e
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10161831
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101617ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016231e
push ecx
push edx
call fcn.101b4f23
add esp, 8
jmp 0x10161831
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 0x10161813
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161809
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1016231e
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
movups xmm0, xmmword [0x1020cd84]
movups xmmword [esp + 0x10], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x101619b6
xor edx, edx
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x10161987
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102147a0]
xor ecx, ecx
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
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, 1
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 [0x102148e0]
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, 1
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 [0x102148e0]
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 0x10161890
jmp 0x101619b6
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x10
jl 0x10161987
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 0x101619d5
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.101b5ae0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x10161a50
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161a46
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162323
push ecx
push edx
call fcn.101b4f23
add esp, 8
test esi, esi
je 0x10161c7b
movups xmm0, xmmword [0x1020cd94]
mov al, byte [0x1020cda4]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10161bb0
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
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, 1
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 [0x102148e0]
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, 1
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 [0x102148e0]
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 0x10161ab0
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10161bdf
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10161bb0
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 0x10161c00
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 0x10161c30
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10161c7b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161c71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162319
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov eax, dword [0x1020cddc]
xor edx, edx
movq xmm0, qword [0x1020cdd4]
mov dword [esp + 0x58], eax
mov al, byte [0x1020cde0]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], al
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x10161da5
movaps xmm2, xmmword [0x102147a0]
mov edx, 8
movaps xmm4, xmmword [0x10214900]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
mov eax, dword [0x10214950]
movaps xmm0, xmm1
mov dword [esp + 0xc], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x102147e0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1020cdd4]
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, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10214850]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x102148e0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x54]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x50], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xd
jl 0x10161da5
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 0x10161df3
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.101b5ae0
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x10161e6e
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10161e64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162328
push ecx
push edx
call fcn.101b4f23
add esp, 8
test esi, esi
je 0x1016208b
movups xmm0, xmmword [0x1020cd94]
mov al, byte [0x1020cda4]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10161fc1
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
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, 1
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 [0x102148e0]
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, 1
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 [0x102148e0]
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 0x10161ec3
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10161ff0
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10161fc1
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 0x10162010
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 + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10162040
sub edx, edi
mov ecx, 0x1023fc94
push edx
push esi
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1016208b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162081
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162319
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x101620c7
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101620bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162319
push ecx
push edx
call fcn.101b4f23
add esp, 8
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x10468514], xmm0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.101b4c2a
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [str.gEYCQ_CerRJ]
mov ax, word [0x1020cd70]
mov word [esp + 0x20], ax
movups xmmword [esp + 0x10], xmm0
test ah, ah
je 0x1016227f
xor edx, edx
cmp dword [0x10240d90], 2
mov dword [esp + 0xc], edx
jl 0x10162250
movaps xmm0, xmmword [0x10214950]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x102147a0]
movaps xmm3, xmmword [0x10214900]
movaps xmm5, xmmword [0x10214850]
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, 1
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 [0x102148e0]
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, 1
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 [0x102148e0]
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 0x10162150
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x1016227f
nop
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0xc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x34
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x10162250
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 0x101622a0
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 0x101622d0
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10022b70
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x101620c7
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101620bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101620bd
call fcn.101ba056
call fcn.101ba056
call fcn.101ba056
call fcn.101ba056
int3