Function at 0x10161ef0
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 + 0x36a3], 0
je 0x10162bdb
mov eax, dword [0x1023fc7c]
movss xmm1, dword [0x1046850c]
addss xmm1, dword [0x10214570]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x10162bdb
call fcn.10161d10
test al, al
je 0x10162bef
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 0x1016200a
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 0x10161fd3
sub ecx, edx
lea eax, [esp + 0xb8]
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.10027d90
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.101b68bb
mov edi, dword [0x10240d90]
add esp, 8
test eax, eax
je 0x101622b8
movups xmm0, xmmword [str.eCWIJX]
mov al, byte [0x1020cf18]
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10162190
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
nop word [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 [0x10214a50]
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 [0x10214a50]
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 0x10162090
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jge 0x101621bf
nop
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jl 0x10162190
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 0x101621e0
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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 0x10162223
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.10027d90
lea eax, [esp + 0x60]
mov ecx, 0x1023fc94
push eax
call fcn.10020d50
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x1016227c
mov edx, dword [esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162272
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e1e
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10162331
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101622ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e1e
push ecx
push edx
call fcn.101b5a93
add esp, 8
jmp 0x10162331
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa4]
call fcn.10020f00
push eax
mov ecx, 0x1023fc94
call fcn.10020d50
mov ecx, dword [esp + 0xb4]
cmp ecx, 0xf
jbe 0x10162313
mov edx, dword [esp + 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162309
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e1e
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xf
mov byte [esp + 0xa0], 0
movups xmm0, xmmword [0x1020cfa0]
movups xmmword [esp + 0x10], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x101624b6
xor ecx, ecx
mov dword [esp + 0xc], ecx
cmp edi, 2
jl 0x10162487
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
nop word [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 [0x10214a50]
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 [0x10214a50]
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 0x10162390
jmp 0x101624b6
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x10
jl 0x10162487
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 0x101624d5
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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.101b6650
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x10162550
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162546
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e23
push ecx
push edx
call fcn.101b5a93
add esp, 8
test esi, esi
je 0x1016277b
movups xmm0, xmmword [str.eCWIJX]
mov al, byte [0x1020cf18]
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x101626b0
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
nop word [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 [0x10214a50]
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 [0x10214a50]
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 0x101625b0
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jge 0x101626df
nop
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jl 0x101626b0
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 0x10162700
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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 0x10162730
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10023010
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1016277b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162771
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e19
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov eax, dword [str.xM__B]
xor ecx, ecx
movq xmm0, qword [0x1020cf34]
mov dword [esp + 0x58], eax
mov al, byte [0x1020cf40]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], al
mov dword [esp + 0xc], ecx
cmp edi, 2
jl 0x101628a5
movaps xmm2, xmmword [0x10214950]
mov ecx, 8
movaps xmm4, xmmword [0x10214d10]
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 [0x10214a90]
movaps xmm0, xmm1
mov dword [esp + 0xc], ecx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10214990]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x1020cf34]
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 [0x102149c0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10214a50]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x54]
xorps xmm1, xmm0
movd dword [esp + 0x54], xmm1
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x50], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0xd
jl 0x101628a5
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 0x101628f3
sub ecx, edx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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.101b6650
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x1016296e
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162964
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e28
push ecx
push edx
call fcn.101b5a93
add esp, 8
test esi, esi
je 0x10162b8b
movups xmm0, xmmword [str.eCWIJX]
mov al, byte [0x1020cf18]
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], ecx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10162ac1
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
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 [0x10214a50]
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 [0x10214a50]
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 0x101629c3
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jge 0x10162af0
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x11
jl 0x10162ac1
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 0x10162b10
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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 0x10162b40
sub edx, edi
mov ecx, 0x1023fc94
push edx
push esi
call fcn.10023010
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10162b8b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162b81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e19
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x10162bc7
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162bbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10162e19
push ecx
push edx
call fcn.101b5a93
add esp, 8
mov eax, dword [0x1023fc7c]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [0x1046850c], xmm0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.101b579a
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [str.eGWMS_E]
mov ax, word [0x1020cf60]
mov word [esp + 0x20], ax
movups xmmword [esp + 0x10], xmm0
test ah, ah
je 0x10162d7f
xor ecx, ecx
cmp dword [0x10240d90], 2
mov dword [esp + 0xc], ecx
jl 0x10162d50
movaps xmm0, xmmword [0x10214a90]
lea esi, [esp + 0x14]
movaps xmm4, xmmword [0x10214950]
movaps xmm3, xmmword [0x10214d10]
movaps xmm5, xmmword [0x102149c0]
movaps xmmword [esp + 0x50], xmm0
mov edx, dword [esp + 0x50]
nop word [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 [0x10214a50]
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 [0x10214a50]
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 0x10162c50
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jge 0x10162d7f
nop
mov eax, 0x4bda12f7
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [esp + 0xc]
movsx eax, al
imul eax, eax, 0x36
add al, cl
xor byte [esp + ecx + 0x10], al
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x12
jl 0x10162d50
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 0x10162da0
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027d90
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 0x10162dd0
sub ecx, esi
push ecx
push edx
mov ecx, 0x1023fc94
call fcn.10023010
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10162bc7
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10162bbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10162bbd
call fcn.101babc6
call fcn.101babc6
call fcn.101babc6
call fcn.101babc6
int3