Function at 0x10146b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [0x10226ca8]
push esi
push edi
cmp byte [eax + 0x365b], 0
je 0x101477e5
mov eax, dword [0x10226ca4]
movss xmm1, dword [0x10450ba4]
addss xmm1, dword [0x101fa9c8]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x101477e5
call fcn.10146940
test al, al
je 0x101477f9
cmp dword [0x10227a1c], 7
lea ecx, [esp + 0x88]
push 0
push 0
push 0x80
push ecx
push 0xffffffffffffffff
mov eax, 0x10227a08
mov dword [esp + 0x74], 0
cmova eax, dword [0x10227a08]
xorps xmm0, xmm0
push eax
push 0
movaps xmmword [esp + 0x6c], xmm0
push 0xfde9
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x10146c31
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x88]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10146c00
sub ecx, edx
lea eax, [esp + 0x88]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.10027a80
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x50], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [esp + 0x60], xmm0
cmp dword [0x10227a1c], 7
mov eax, 0x10227a08
push str.spotify
cmova eax, dword [0x10227a08]
push eax
call fcn.1019cb8b
mov edi, dword [0x10228670]
add esp, 8
test eax, eax
je 0x10146ed8
movups xmm0, xmmword [0x101f32ec]
mov al, byte [0x101f32fc]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x10146db0
movaps xmm0, xmmword [0x101faf50]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop dword [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 [0x101faf00]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x14]
xorps xmm1, xmm0
movd dword [esp + edx + 0x14], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10146cb0
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x10146ddf
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, 0x35
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x10146db0
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 0x10146e00
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027a80
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
cmova edx, dword [esp + 0x30]
mov ecx, edx
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10146e43
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10027a80
lea eax, [esp + 0x10]
mov ecx, 0x10226cbc
push eax
call fcn.10020af0
mov ecx, dword [esp + 0x24]
cmp ecx, 0xf
jbe 0x10146e9c
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146e92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a1e
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10146f45
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146ecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a1e
push ecx
push edx
call fcn.1019bd5d
add esp, 8
jmp 0x10146f45
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x74]
call fcn.10020ca0
push eax
mov ecx, 0x10226cbc
call fcn.10020af0
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x10146f2a
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a1e
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], 0
movups xmm0, xmmword [0x101f3348]
movups xmmword [esp + 0x10], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x101470cf
xor edx, edx
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x101470a0
movaps xmm0, xmmword [0x101faf50]
xor ecx, ecx
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x30], xmm0
mov edx, dword [esp + 0x30]
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 [0x101faf00]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x14]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x14], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x10146fa0
jmp 0x101470cf
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, 0x35
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x10
jl 0x101470a0
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 0x101470f0
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027a80
cmp dword [esp + 0x44], 0xf
lea ecx, [esp + 0x30]
mov eax, 0x10226cbc
cmova ecx, dword [esp + 0x30]
cmp dword [0x10226cd0], 0xf
push ecx
cmova eax, dword [0x10226cbc]
push eax
call fcn.1019c920
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x1014716b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10147161
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a23
push ecx
push edx
call fcn.1019bd5d
add esp, 8
test esi, esi
je 0x1014738b
movups xmm0, xmmword [0x101f32ec]
mov al, byte [0x101f32fc]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x101472c0
movaps xmm0, xmmword [0x101faf50]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop dword [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 [0x101faf00]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x14]
xorps xmm1, xmm0
movd dword [esp + edx + 0x14], xmm1
add edx, 8
cmp edx, 0x10
jl 0x101471c0
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x101472ef
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, 0x35
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x101472c0
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 0x10147310
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027a80
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 0x10147340
sub ecx, esi
push ecx
push edx
mov ecx, 0x10226cbc
call fcn.10022e90
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1014738b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10147381
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a19
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov eax, dword [str.LZ_A]
xor edx, edx
movq xmm0, qword [0x101f3358]
mov dword [esp + 0x38], eax
mov al, byte [0x101f3364]
movq qword [esp + 0x30], xmm0
mov byte [esp + 0x3c], al
mov dword [esp + 0xc], edx
cmp edi, 2
jl 0x101474b5
movaps xmm2, xmmword [0x101fadd0]
mov edx, 8
movaps xmm4, xmmword [0x101faf20]
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 [0x101faf50]
movaps xmm0, xmm1
mov dword [esp + 0xc], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x101fae60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x101fae10]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [0x101f3358]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 0x30], 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 [0x101fae60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [esp + 0x34]
xorps xmm1, xmm0
movd dword [esp + 0x34], 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, 0x35
xor byte [esp + edx + 0x30], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0xd
jl 0x101474b5
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x30]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10147503
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.10027a80
cmp dword [esp + 0x24], 0xf
lea ecx, [esp + 0x10]
mov eax, 0x10226cbc
cmova ecx, dword [esp + 0x10]
cmp dword [0x10226cd0], 0xf
push ecx
cmova eax, dword [0x10226cbc]
push eax
call fcn.1019c920
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
cmp ecx, 0xf
jbe 0x1014757e
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10147574
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a28
push ecx
push edx
call fcn.1019bd5d
add esp, 8
test esi, esi
je 0x1014779b
movups xmm0, xmmword [0x101f32ec]
mov al, byte [0x101f32fc]
xor edx, edx
mov byte [esp + 0x20], al
mov dword [esp + 0xc], edx
movups xmmword [esp + 0x10], xmm0
cmp edi, 2
jl 0x101476d0
movaps xmm0, xmmword [0x101faf50]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
nop
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 [0x101faf00]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x14]
xorps xmm1, xmm0
movd dword [esp + edx + 0x14], xmm1
add edx, 8
cmp edx, 0x10
jl 0x101475d0
mov dword [esp + 0xc], edx
cmp edx, 0x11
jge 0x101476ff
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, 0x35
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x11
jl 0x101476d0
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 0x10147720
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027a80
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 0x10147750
sub edx, edi
mov ecx, 0x10226cbc
push edx
push esi
call fcn.10022e90
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x1014779b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10147791
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a19
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x101477d1
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101477c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10147a19
push ecx
push edx
call fcn.1019bd5d
add esp, 8
mov eax, dword [0x10226ca4]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
movss dword [0x10450ba4], xmm0
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [0x101f33a4]
mov ax, word [0x101f33b4]
mov word [esp + 0x20], ax
movups xmmword [esp + 0x10], xmm0
test ah, ah
je 0x1014797f
xor edx, edx
cmp dword [0x10228670], 2
mov dword [esp + 0xc], edx
jl 0x10147950
movaps xmm0, xmmword [0x101faf50]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101faf20]
movaps xmm5, xmmword [0x101fae60]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x30]
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 [0x101faf00]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + edx + 0x14]
xorps xmm1, xmm0
movd dword [esp + edx + 0x14], xmm1
add edx, 8
cmp edx, 0x10
jl 0x10147850
mov dword [esp + 0xc], edx
cmp edx, 0x12
jge 0x1014797f
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, 0x35
xor byte [esp + edx + 0x10], cl
inc edx
mov dword [esp + 0xc], edx
cmp edx, 0x12
jl 0x10147950
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 0x101479a0
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10027a80
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 0x101479d0
sub ecx, esi
push ecx
push edx
mov ecx, 0x10226cbc
call fcn.10022e90
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x101477d1
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101477c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101477c7
call fcn.101a0e96
call fcn.101a0e96
call fcn.101a0e96
call fcn.101a0e96
int3