Function at 0x14006a970
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x14029f200]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov eax, dword [0x140080ae8]
movsd xmm0, qword [str.RXVtJXLS_8B]
mov qword [r11 + 8], rbx
xor ebx, ebx
mov qword [r11 - 8], rdi
mov r8d, ebx
mov edi, dword [0x14029f258]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x140080aec]
mov byte [rsp + 0x54], al
movaps xmmword [r11 - 0x18], xmm6
movsd qword [rsp + 0x48], xmm0
cmp edi, 2
jl 0x14006aacc
movdqa xmm2, xmmword [0x14007e3e0]
mov r8d, 8
movdqa xmm4, xmmword [0x140081000]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140080e80]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140080e90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.RXVtJXLS_8B]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140080f70]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x48], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140080e90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x4c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140080f70]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x48]
add r9, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xd
jl 0x14006aae0
cmp byte [0x140080ad9], bl
movups xmm0, xmmword [str.RXVtJXLS_8]
movzx eax, word [0x140080ad8]
mov word [rsp + 0x68], ax
movups xmmword [rsp + 0x58], xmm0
je 0x14006acc3
mov r8d, ebx
cmp edi, 2
jl 0x14006ac79
movdqa xmm0, xmmword [0x140080f70]
lea rcx, [rsp + 0x5c]
movdqa xmm5, xmmword [0x14007e3e0]
movdqa xmm4, xmmword [0x140081000]
movdqa xmm6, xmmword [0x140080e90]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14006ab72
cmp r8d, 0x12
jge 0x14006acc3
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x12
jl 0x14006ac90
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [0x14029f830]
mov qword [0x14029f740], rax
test rax, rax
jne 0x14006af77
cmp byte [0x140080b03], bl
mov eax, dword [0x140080b00]
mov dword [rsp + 0x40], eax
je 0x14006adc3
cmp edi, 2
jl 0x14006ad7c
movdqa xmm3, xmmword [0x14007e3e0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140081000]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140081000]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140080e90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140080f70]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
jmp 0x14006adc3
lea r9, [rsp + 0x40]
mov r8d, ebx
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 4
jl 0x14006ad90
movups xmm0, xmmword [str.RXVerRJ]
movups xmmword [rsp + 0x48], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14006af5f
cmp edi, 2
jl 0x14006af1f
movdqa xmm0, xmmword [0x140080f70]
lea rcx, [rsp + 0x4c]
movdqa xmm5, xmmword [0x14007e3e0]
movdqa xmm4, xmmword [0x140081000]
movdqa xmm6, xmmword [0x140080e90]
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140080ef0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x14006ae20
jmp 0x14006af5f
lea r8, [rsp + 0x48]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x10
jl 0x14006af30
mov r9d, 0x40
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r10, qword [0x14029f878]
xor r9d, r9d
mov rcx, qword [0x14029f740]
xor r8d, r8d
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], eax
lea rdx, [r9 - 1]
mov dword [rsp + 0x20], ebx
call r10
movaps xmm6, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xc0]
test eax, eax
je 0x14006b09e
mov rax, qword [0x14029f7f0]
mov r9d, 2
mov rcx, qword [0x14029f740]
mov r8b, 0xff
xor edx, edx
call rax
test eax, eax
je 0x14006b09e
mov rcx, qword [0x14029f740]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r9, qword [0x14029f810]
mov edx, 0xffffffec
mov rcx, qword [0x14029f740]
or eax, 0x20
mov r8d, eax
call r9
test eax, eax
je 0x14006b09e
movdqa xmm0, xmmword [0x140080e50]
lea rdx, [rsp + 0x80]
mov rcx, qword [0x14029f740]
movdqu xmmword [rsp + 0x80], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x14006b09e
mov rcx, qword [0x14029f740]
mov edx, 5
call qword [0x14029f880]
mov rcx, qword [0x14029f740]
call qword [0x14029f898]
mov rcx, qword [0x14029f740]
xor edx, edx
call qword [0x14029f880]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140074e80
add rsp, 0xb8
ret
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140074e80
add rsp, 0xb8
ret