Function at 0x18006f7c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180207f40]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
lea rax, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 1], r12
mov qword [rbp + 7], rax
mov rsi, qword [rax]
xor rsi, r12
mov qword [rbp - 9], rsi
xor r15d, r15d
mov qword [rax], r15
lea r14, [rbp + 0x5f]
lea r13d, [r15 + 7]
mov edi, dword [0x180207fa0]
movsd xmm0, qword [str.z___WsK_M___C]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x180153e50]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x180153e54]
mov byte [rbp - 0x2d], al
mov r8d, r15d
cmp edi, 2
jl 0x18006f955
movdqa xmm4, xmmword [0x180154c90]
movdqa xmm2, xmmword [0x180120590]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180154c00]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180154c20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [str.z___WsK_M___C]
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x180154bf0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180154c00]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180154c20]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x39]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x18006f960
movups xmm0, xmmword [str.z___WsK_M___]
movups xmmword [rbp - 0x59], xmm0
movzx eax, word [0x180153e40]
mov word [rbp - 0x49], ax
cmp byte [0x180153e41], 0
je 0x18006fb2c
mov ecx, r15d
cmp edi, 2
jl 0x18006faf2
movdqa xmm5, xmmword [0x180120590]
movdqa xmm4, xmmword [0x180154c90]
movdqa xmm6, xmmword [0x180154c00]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x29], xmm0
lea rdx, [rbp - 0x55]
mov r8d, dword [rbp - 0x29]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x180154c20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180154c20]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x18006f9f0
cmp ecx, 0x12
jge 0x18006fb2c
movsxd rax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x18006fb00
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r14
mov rbx, qword [r14]
mov rax, rbx
xor rax, r12
mov qword [rbp - 0x29], rax
mov qword [r14], r15
mov rax, qword [0x180209780]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call rax
nop
mov qword [r14], rbx
mov qword [0x1802096a0], rax
lea rdx, [0x180153e78]
lea rcx, [0x18020a0a0]
test rax, rax
jne 0x18006fc8a
call fcn.180057840
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8d, 1
lea rdx, [0x1801214b0]
lea rcx, [rbp - 0x59]
call fcn.180002510
lea rcx, [rbp - 0x59]
call fcn.180078c60
lea rdx, [0x18011c6bc]
mov rcx, rbx
call fcn.180057840
mov rbx, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.__Waiting_for_overlay
mov rcx, rbx
call fcn.180057840
mov rcx, rax
call fcn.18005b020
lea rdx, [0x18011c768]
lea rcx, [0x18020a0a0]
call fcn.180057840
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8d, 1
lea rdx, [0x1801214b0]
lea rcx, [rbp - 0x59]
call fcn.180002510
lea rcx, [rbp - 0x59]
call fcn.180078c60
lea rdx, [0x18011a7c8]
mov rcx, rbx
call fcn.180057840
mov rbx, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x18011a7c8]
mov rcx, rbx
call fcn.180057840
mov rcx, rax
call fcn.18005b020
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x18006f830
call fcn.180057840
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8d, 2
lea rdx, [0x180121504]
lea rcx, [rbp - 0x59]
call fcn.180002510
lea rcx, [rbp - 0x59]
call fcn.180078c60
lea rdx, [0x18011c6c0]
mov rcx, rbx
call fcn.180057840
mov rbx, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, r13w
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.__Success:_connected_to_overlay
mov rcx, rbx
call fcn.180057840
mov rcx, rax
call fcn.18005b020
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
mov rcx, qword [0x1802096a0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
lea r14, [rbp + 0x5f]
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r14
mov rdi, qword [r14]
mov rdx, rdi
xor rdx, r12
mov qword [rbp - 0x59], rdx
mov qword [r14], r15
mov rax, qword [0x1802097c8]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
call rax
nop
mov qword [r14], rdi
test eax, eax
je 0x18006fe64
mov rcx, qword [0x1802096a0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
lea rbx, [rbp + 0x5f]
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], rbx
mov rax, rdi
xor rax, r12
mov qword [rbp - 0x59], rax
mov qword [rbx], r15
mov rax, qword [0x180209740]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
call rax
nop
mov qword [rbx], rdi
test eax, eax
je 0x18006fe64
mov edx, 0xffffffec
mov rcx, qword [0x1802096a0]
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov r8d, eax
or r8d, 0x20
mov rcx, qword [0x1802096a0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
lea rdi, [rbp + 0x5f]
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], rdi
mov rbx, qword [rdi]
mov rax, rbx
xor rax, r12
mov qword [rbp - 0x59], rax
mov qword [rdi], r15
mov rax, qword [0x180209760]
mov edx, 0xffffffec
call rax
nop
mov qword [rdi], rbx
test eax, eax
je 0x18006fe64
movdqa xmm0, xmmword [0x180154bd0]
movdqu xmmword [rbp + 0xf], xmm0
lea rdx, [rbp + 0xf]
mov rcx, qword [0x1802096a0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
test eax, eax
js 0x18006fe64
mov edx, 5
mov rcx, qword [0x1802096a0]
call fcn.180060870
mov rcx, qword [0x1802096a0]
call fcn.180060a90
xor edx, edx
mov rcx, qword [0x1802096a0]
call fcn.180060870
mov al, 1
jmp 0x18006fe66
xor al, al
xor rsi, r12
lea rcx, [rbp + 0x5f]
mov qword [rcx], rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800e3dd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret