Function at 0x140001630
Capabilities:
Get hostname
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov dword [rsp + 0x38], 0x100
xor r15d, r15d
mov word [rsp + 0x4e], r15w
mov ebx, 0xe
mov qword [rsp + 0x50], rbx
mov r13d, 0xf
mov qword [rsp + 0x58], r13
movsd xmm0, qword [str.Theo_Tegenmark]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140004458]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14000445c]
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], r15b
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1400019e5
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400016d6
lea rcx, [rsp + 0x40]
cmp rbx, rax
jne 0x1400019dc
mov r8, rbx
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400019dc
lea rdx, str.Authorized_PC._Setting_up_memory_class.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a90
mov ecx, 0x18
call fcn.1400022d0
mov rsi, rax
mov qword [rax + 0x10], r15
mov qword [rax], r15
mov qword [rax + 8], r15
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140001781
mov qword [rsp + 0x30], 0x9c4
nop word [rax + rax]
lea rdx, str.Waiting_for_CS2_to_start..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a90
lea rcx, [rsp + 0x30]
call fcn.1400010e0
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140001750
lea rdx, str.Beginning_attach_process..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a90
mov rcx, rsi
call fcn.140002050
test eax, eax
jne 0x1400017ac
lea rdx, str._nFailed_to_attach__n
jmp 0x1400019ec
mov ecx, 0x28
call fcn.1400022d0
mov rbx, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
mov rdx, qword [rsi]
add rdx, 0x181a998
mov qword [rsp + 0x20], r15
lea r9d, [rax + 8]
lea r8, [rsp + 0x30]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [rsp + 0x30]
test eax, eax
cmove rcx, r15
mov qword [rbx + 0x10], 0x64
mov qword [rbx + 0x18], r15
mov qword [rbx + 8], rsi
mov qword [rbx], rcx
nop
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rdi
jne 0x1400019b8
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14000198e
mov rcx, qword [rbx + 8]
mov rdx, qword [rbx]
add rdx, 0x3cc
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x3c]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14000187a
mov dword [rbx + 0x18], r15d
jmp 0x1400019b8
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 0x18], eax
test al, 1
je 0x1400019b8
mov dword [rsp + 0x30], 0x10001
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
add rdx, 0x1813610
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x30], 0x10001
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
add rdx, 0x1813610
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.1400010e0
mov dword [rsp + 0x30], 0x100
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
add rdx, 0x1813610
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x30], 0x100
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
add rdx, 0x1813610
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x30], 0x100
mov rcx, qword [rbx + 8]
mov rdx, qword [rcx]
add rdx, 0x1813610
mov qword [rsp + 0x20], r15
mov r9d, 4
lea r8, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x1400019b8
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400019a8
mov rcx, rbx
call fcn.140001250
jmp 0x1400019b8
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400019d0
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.1400010e0
jmp 0x140001810
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400019f9
lea rdx, str.Unauthorized_PC._Exiting..._n
jmp 0x1400019ec
lea rdx, str.Failed_to_get_PC_name._Exiting..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001a90
nop
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400022b0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret