Function at 0x1400059f0
Capabilities:
Encode data using xor
Get session user name
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14008a080]
xor rax, rsp
mov qword [rbp + 0x170], rax
call fcn.1400039c0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], 0x101
lea rcx, [rsp + 0x60]
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
nop
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140005a60
cmp byte [0x14007dd2b], bl
mov eax, dword [0x14007dd28]
mov dword [rsp + 0x30], eax
je 0x140005b4f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140005b1b
movdqa xmm3, xmmword [0x14007dd40]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14007de80]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14007de80]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14007dd60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14007dd90]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14007ddd0]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
jmp 0x140005b4f
lea r8, [rsp + 0x30]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor byte [r8 - 1], al
cmp ecx, 4
jl 0x140005b20
mov eax, dword [str.pVNpYD_]
lea rdx, [0x140008c00]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rsp + 0x20], eax
movzx eax, word [0x14007dccc]
xor byte [rsp + 0x21], 0x39
xor byte [rsp + 0x22], 0x3a
xor byte [rsp + 0x23], 0x3b
mov word [rsp + 0x24], ax
movzx eax, byte [0x14007dcce]
xor byte [rsp + 0x24], 0x3c
xor al, 0x3e
xor byte [rsp + 0x25], 0x3d
mov byte [rsp + 0x26], al
mov eax, dword [str.1j_O]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14007dcdc]
xor byte [rsp + 0x29], 0x39
xor byte [rsp + 0x2a], 0x3a
xor byte [rsp + 0x2b], 0x3b
mov word [rsp + 0x2c], ax
xor al, 0x3c
xor byte [rsp + 0x2d], 0x3d
mov byte [rsp + 0x2c], al
mov byte [rsp + 0x20], 0x48
mov byte [rsp + 0x28], 9
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1400089f0
mov rcx, rax
lea rdx, [0x140008c30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400089f0
mov rcx, rax
lea rdx, [0x140008c00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400089f0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [0x140003ec0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov edx, reloc.WLDAP32.dll_Ordinal_200
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Beep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [rsp + 0x38]
movzx edi, bl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005c9f
test bl, bl
sete bl
test dil, dil
jne 0x140005c8a
call fcn.1400054a0
mov ecx, 0x1f4
jmp 0x140005c94
call fcn.1400051b0
mov ecx, reloc.WLDAP32.dll_Ordinal_200
mov edx, Ordinal_301
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140005c63
mov edx, 0x1f4
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Beep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3