Function at 0x10145180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c4
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x54], 0
mov eax, dword [0x1022ccc8]
push ebx
push esi
push edi
cmp dword [eax + 0x3860], 0
mov edi, ecx
je 0x1014665a
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
test ecx, ecx
je 0x1014665a
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1014665a
mov eax, dword [0x1022ccd0]
mov esi, dword [eax + 0x10]
mov eax, dword [0x1022ee74]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x20]
lea ecx, [esp + 0x70]
push ecx
push eax
mov ecx, esi
call edx
movq xmm0, qword [str.YMNZ_V_M_]
or esi, 0xffffffff
test al, al
movq qword [esp + 0x60], xmm0
mov al, byte [0x101f4434]
cmovne esi, dword [esp + 0x100]
xor ebx, ebx
mov byte [esp + 0x68], al
nop dword [eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x60], cl
inc ebx
cmp ebx, 9
jl 0x10145230
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145270
sub ecx, edx
lea eax, [esp + 0x60]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea ecx, [esp + 0x18]
mov eax, dword [edi]
cmova ecx, dword [esp + 0x18]
push 0
push ecx
mov eax, dword [eax + 0x18]
mov ecx, edi
mov dword [esp + 0x68], 1
call eax
cmp eax, esi
jne 0x10145353
mov eax, dword [str.MJ_IUY_]
xor ebx, ebx
mov dword [esp + 0x60], eax
mov ax, word [0x101f4df8]
mov word [esp + 0x64], ax
mov al, byte [0x101f4dfa]
mov byte [esp + 0x66], al
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x60], cl
inc ebx
cmp ebx, 7
jl 0x101452d1
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x44], 0
movups xmmword [esp + 0x30], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145311
sub ecx, edx
lea eax, [esp + 0x60]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10028880
cmp dword [esp + 0x44], 0xf
lea edx, [esp + 0x30]
mov eax, dword [edi]
mov ecx, edi
cmova edx, dword [esp + 0x30]
push 0
push edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x68], 3
call eax
cmp eax, esi
je 0x10145353
xor bl, bl
jmp 0x1014535c
test byte [esp + 0x60], 2
mov bl, 1
je 0x101453a7
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x10145392
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10145388
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014666f
push ecx
push edx
call fcn.101a201e
add esp, 8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
mov byte [esp + 0x30], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x101453dd
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101453d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014666f
push ecx
push edx
call fcn.101a201e
add esp, 8
test bl, bl
jne 0x1014665a
mov eax, dword [0x1022ccc8]
mov ecx, dword [eax + 0x3860]
test ecx, ecx
je 0x1014665a
cmp ecx, 1
jne 0x1014562e
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [0x101f8874]
mov esi, dword [eax + 0x10]
mov ax, word [0x101f8894]
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x50], ax
movups xmm0, xmmword [0x101f8884]
mov al, byte [0x101f8896]
mov byte [esp + 0x52], al
movups xmmword [esp + 0x40], xmm0
jl 0x10145572
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
nop dword [eax]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x20
jl 0x10145470
cmp ebx, 0x23
jge 0x1014559c
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x23
jl 0x10145572
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101455c0
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146674
jmp 0x10146650
cmp ecx, 2
jne 0x1014586e
movups xmm0, xmmword [str.HU_B]
mov eax, dword [0x1022ccd0]
xor ebx, ebx
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x101f9084]
mov esi, dword [eax + 0x10]
mov eax, dword [0x101f909c]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x58], eax
movq xmm0, qword [0x101f9094]
mov ax, word [0x101f90a0]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x5c], ax
cmp dword [0x1022e690], ecx
jl 0x101457b2
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x28
jl 0x101456b0
cmp ebx, 0x2e
jge 0x101457dc
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x2e
jl 0x101457b2
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145800
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146679
jmp 0x10146650
cmp ecx, 3
jne 0x10145a9e
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [0x101f88cc]
mov esi, dword [eax + 0x10]
mov ax, word [0x101f88ec]
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x50], ax
movups xmm0, xmmword [0x101f88dc]
mov al, byte [0x101f88ee]
mov byte [esp + 0x52], al
movups xmmword [esp + 0x40], xmm0
jl 0x101459e5
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x20
jl 0x101458e3
cmp ebx, 0x23
jge 0x10145a0f
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x23
jl 0x101459e5
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145a30
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014667e
jmp 0x10146650
cmp ecx, 4
jne 0x10145cce
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [0x101f8d34]
mov esi, dword [eax + 0x10]
mov al, byte [0x101f8d4c]
movups xmmword [esp + 0x30], xmm0
mov byte [esp + 0x48], al
movq xmm0, qword [0x101f8d44]
movq qword [esp + 0x40], xmm0
jl 0x10145c12
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x10145b10
cmp ebx, 0x19
jge 0x10145c3c
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x19
jl 0x10145c12
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145c60
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146683
jmp 0x10146650
cmp ecx, 5
jne 0x10145efe
movups xmm0, xmmword [0x101f8e90]
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x101f8ea0]
mov esi, dword [eax + 0x10]
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [0x101f8eb0]
movq qword [esp + 0x50], xmm0
jl 0x10145e40
movaps xmm0, xmmword [0x10201560]
lea edi, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
xor ecx, ecx
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov edx, dword [esp + 0x60]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ecx + edi]
xorps xmm1, xmm0
movd dword [ecx + edi], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x10145d40
jmp 0x10145e6a
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x28
jl 0x10145e40
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10145e90
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146688
jmp 0x10146650
cmp dword [eax + 0x3858], 6
jne 0x1014613e
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmm0, xmmword [0x101f8808]
mov esi, dword [eax + 0x10]
mov eax, dword [0x101f8820]
mov dword [esp + 0x48], eax
mov ax, word [0x101f8824]
movups xmmword [esp + 0x30], xmm0
mov word [esp + 0x4c], ax
movq xmm0, qword [0x101f8818]
mov al, byte [0x101f8826]
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x4e], al
jl 0x10146084
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x18
jl 0x10145f82
cmp ebx, 0x1f
jge 0x101460ae
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x1f
jl 0x10146084
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101460d0
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014668d
jmp 0x10146650
cmp ecx, 7
jne 0x1014637e
movups xmm0, xmmword [0x101f89f8]
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x101f8a08]
mov esi, dword [eax + 0x10]
mov al, byte [0x101f8a20]
movups xmmword [esp + 0x40], xmm0
mov byte [esp + 0x58], al
movq xmm0, qword [0x101f8a18]
movq qword [esp + 0x50], xmm0
jl 0x101462c2
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x28
jl 0x101461c0
cmp ebx, 0x29
jge 0x101462ec
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x29
jl 0x101462c2
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10146310
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146692
jmp 0x10146650
cmp ecx, 8
jne 0x101465be
movups xmm0, xmmword [0x101f8d88]
mov eax, dword [0x1022ccd0]
xor ebx, ebx
cmp dword [0x1022e690], 2
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x101f8d98]
mov esi, dword [eax + 0x10]
mov eax, dword [0x101f8db0]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x58], eax
movq xmm0, qword [0x101f8da8]
mov al, byte [0x101f8db4]
movq qword [esp + 0x50], xmm0
mov byte [esp + 0x5c], al
jl 0x10146502
movaps xmm0, xmmword [0x10201560]
lea edx, [esp + 0x34]
movaps xmm4, xmmword [0x10201400]
movaps xmm3, xmmword [0x10201830]
movaps xmm5, xmmword [0x102014a0]
movaps xmmword [esp + 0x60], xmm0
mov ecx, dword [esp + 0x60]
nop
movd xmm0, ebx
lea eax, [ebx + 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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x30]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x30], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x10201520]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebx + edx]
xorps xmm1, xmm0
movd dword [ebx + edx], xmm1
add ebx, 8
cmp ebx, 0x28
jl 0x10146400
cmp ebx, 0x2d
jge 0x1014652c
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x38
xor byte [esp + ebx + 0x30], cl
inc ebx
cmp ebx, 0x2d
jl 0x10146502
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x18], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10146550
sub ecx, edx
lea eax, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10028880
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10146697
jmp 0x10146650
cmp ecx, 9
jne 0x1014665a
mov ecx, dword [0x1022ccd0]
mov edx, dword [eax + 0x3874]
mov esi, dword [ecx + 0x10]
lea ecx, [eax + 0x3864]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, 5
jb 0x1014669c
cmp dword [ecx + 0x14], 0xf
jbe 0x101465f4
mov ecx, dword [ecx]
push edx
push ecx
push 5
push str.play
push ecx
push dword [esp + 0x74]
lea ecx, [esp + 0x30]
call fcn.1002aa60
cmp dword [esp + 0x2c], 0xf
lea edx, [esp + 0x18]
mov eax, dword [esi]
mov ecx, esi
cmova edx, dword [esp + 0x18]
push 0
push edx
mov eax, dword [eax + 0x1c8]
call eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xf
jbe 0x1014665a
mov edx, dword [esp + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10146650
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101466a1
push ecx
push edx
call fcn.101a201e
add esp, 8
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101a1d25
mov esp, ebp
pop ebp
ret
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.101a7156
call fcn.10003660
call fcn.101a7156
int3