Function at 0x1015ae70
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102cdf50
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb8
mov eax, dword [0x1066bbc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
movq qword [ebp - 0x24], xmm0
xor edi, edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [0x106d5adc], 2
movups xmm0, xmmword [0x10652bb4]
mov eax, dword [0x10652bdc]
mov dword [ebp - 0x54], eax
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [0x10652bc4]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [str.h_0_J]
movq qword [ebp - 0x5c], xmm0
jl 0x1015b014
movaps xmm4, xmmword [0x106544f0]
lea ecx, [ebp - 0x7c]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmm6, xmmword [0x106545e0]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ecx + esi*2]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ecx + esi*2], 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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x74]
xorps xmm1, xmm0
movq qword [ebp + esi*2 - 0x74], xmm1
add esi, 8
cmp esi, 0x10
jl 0x1015af30
cmp esi, 0x16
jge 0x1015b03c
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x7c], ax
inc esi
cmp esi, 0x16
jl 0x1015b014
lea ecx, [ebp - 0x7c]
call fcn.1015adb0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1015b653
movups xmm0, xmmword [0x10652b60]
mov eax, dword [0x10652b88]
xor esi, esi
cmp dword [0x106d5adc], 2
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x54], eax
movups xmm0, xmmword [0x10652b70]
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [str.h_0_JtXSJVS_yPKS_5_1j___HtXSJVS_yPKS_5_1]
movq qword [ebp - 0x5c], xmm0
jl 0x1015b194
movaps xmm4, xmmword [0x106544f0]
lea ecx, [ebp - 0x7c]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmm6, xmmword [0x106545e0]
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ecx + esi*2]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ecx + esi*2], 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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x74]
xorps xmm1, xmm0
movq qword [ebp + esi*2 - 0x74], xmm1
add esi, 8
cmp esi, 0x10
jl 0x1015b0b0
cmp esi, 0x16
jge 0x1015b1bc
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x7c], ax
inc esi
cmp esi, 0x16
jl 0x1015b194
lea ecx, [ebp - 0x7c]
call fcn.1015adb0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1015b653
movups xmm0, xmmword [0x10652b8c]
xor esi, esi
cmp dword [0x106d5adc], 2
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x10652b9c]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [0x10652bac]
movq qword [ebp - 0x58], xmm0
jl 0x1015b304
movaps xmm4, xmmword [0x106544f0]
lea ecx, [ebp - 0x78]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmm6, xmmword [0x106545e0]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ecx + esi*2]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ecx + esi*2], 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
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x70]
xorps xmm1, xmm0
movq qword [ebp + esi*2 - 0x70], xmm1
add esi, 8
cmp esi, 0x10
jl 0x1015b220
cmp esi, 0x14
jge 0x1015b32c
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x78], ax
inc esi
cmp esi, 0x14
jl 0x1015b304
lea ecx, [ebp - 0x78]
call fcn.1015adb0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x1015b653
mov eax, dword [str.pDEWK:]
mov dword [ebp - 0x30], eax
mov ax, word [0x10652b38]
mov word [ebp - 0x2c], ax
test ah, ah
je 0x1015b390
xor edx, edx
mov dword [ebp - 0x18], edx
nop word [eax + eax]
mov eax, 0x3521cfb3
mul edx
mov eax, dword [ebp - 0x18]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x18]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x35
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x30], cl
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 6
jl 0x1015b360
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015b3b4
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10053700
mov byte [ebp - 4], 1
lea esi, [ebp - 0xac]
cmp dword [ebp - 0x98], 0xf
movups xmm0, xmmword [0x10652c28]
mov al, byte [0x10652c40]
mov byte [ebp - 0x38], al
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [str.7___:9jmM]
movq qword [ebp - 0x40], xmm0
jbe 0x1015b406
mov esi, dword [ebp - 0xac]
xor ecx, ecx
cmp dword [0x106d5adc], 2
mov dword [ebp - 0x18], ecx
jl 0x1015b544
movaps xmm0, xmmword [0x10654650]
lea edi, [ebp - 0x4c]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmmword [ebp - 0xc0], xmm0
mov edx, dword [ebp - 0xc0]
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x50], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x1015b444
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
cmp ecx, 0x19
jge 0x1015b571
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x18]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x50], al
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x19
jl 0x1015b544
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x94], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015b592
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.10053700
cmp dword [ebp - 0x80], 0xf
lea eax, [ebp - 0x94]
push 0x10
cmova eax, dword [ebp - 0x94]
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1015b5fb
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015b5f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015b643
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x1015b653
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015b649
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015b649
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
xor esi, esi
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], esi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jne 0x1015b6a9
cmp edi, dword [ebp - 0x34]
je 0x1015b690
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x20], edi
jmp 0x1015b6a9
lea eax, [ebp - 0x30]
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.100f57e0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x1015b655
mov edx, dword [ebp - 0x24]
mov eax, edx
mov dword [ebp - 0x18], edx
cmp eax, edi
je 0x1015bbaa
nop dword [eax]
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
mov edx, eax
mov dword [ebp - 0x30], eax
call fcn.1015ab90
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x1015b6da
mov eax, dword [eax]
push 0xf
push str.TXGuiFoundation
push ecx
mov ecx, eax
call fcn.100f1270
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov esi, eax
cmp ecx, 0xf
jbe 0x1015b722
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015b718
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015b643
push ecx
push edx
call fcn.102c1b57
add esp, 8
cmp esi, 0xffffffff
je 0x1015bb96
cmp byte [0x10652b5f], 0
movups xmm0, xmmword [str.tsY_PTnXP__3]
mov eax, dword [0x10652b5c]
mov dword [ebp - 0x80], eax
movups xmmword [ebp - 0x90], xmm0
je 0x1015b8bc
xor ecx, ecx
cmp dword [0x106d5adc], 2
jl 0x1015b890
movaps xmm0, xmmword [0x10654650]
lea esi, [ebp - 0x8c]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmmword [ebp - 0xc0], xmm0
mov edx, dword [ebp - 0xc0]
nop dword [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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x90]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x90], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1015b790
cmp ecx, 0x14
jge 0x1015b8bc
mov eax, 0x4d4873ed
imul ecx
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
mov al, 1
sub al, dl
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x90], al
inc ecx
cmp ecx, 0x14
jl 0x1015b890
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015b8e0
sub ecx, edx
lea eax, [ebp - 0x90]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10053700
mov byte [ebp - 4], 2
lea esi, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0xf
movups xmm0, xmmword [0x10652c0c]
mov al, byte [0x10652c24]
mov byte [ebp - 0x54], al
movups xmmword [ebp - 0x6c], xmm0
movq xmm0, qword [0x10652c1c]
movq qword [ebp - 0x5c], xmm0
jbe 0x1015b929
mov esi, dword [ebp - 0x50]
xor ecx, ecx
cmp dword [0x106d5adc], 2
mov dword [ebp - 0x28], ecx
jl 0x1015ba70
movaps xmm0, xmmword [0x10654650]
lea edi, [ebp - 0x68]
movaps xmm4, xmmword [0x106544f0]
movaps xmm3, xmmword [0x10654990]
movaps xmm5, xmmword [0x10654550]
movaps xmmword [ebp - 0xc0], xmm0
mov edx, dword [ebp - 0xc0]
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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x6c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x6c], 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 [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x1015b970
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
cmp ecx, 0x19
jge 0x1015ba9d
mov eax, 0x4d4873ed
imul ecx
mov al, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x28]
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0x6c], al
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x19
jl 0x1015ba70
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1015bac1
sub ecx, edx
lea eax, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.10053700
cmp dword [ebp - 0x98], 0xf
lea eax, [ebp - 0xac]
push esi
cmova eax, dword [ebp - 0xac]
push eax
push 0
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [ebp - 0x98]
mov esi, eax
cmp ecx, 0xf
jbe 0x1015bb37
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015bb2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015b643
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
cmp ecx, 0xf
jbe 0x1015bb8a
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015bb80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015b643
push ecx
push edx
call fcn.102c1b57
add esp, 8
test esi, esi
je 0x1015bb96
mov eax, dword [ebp - 0x30]
mov dword [0x106d64b0], eax
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, edi
jne 0x1015b6c0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x1015bbe0
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1015bbd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015bbd6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102c15f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret