Function at 0x140001c10
Capabilities:
Create thread
Enumerate process modules
Enumerate processes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0x440], rax
xor edx, edx
mov qword [rsp + 0x588], rsi
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
lea rsi, str.cs2.exe
mov rcx, r14
lea rdx, [rbp - 0x24]
nop word [rax + rax]
movzx eax, word [rsi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x140001cc3
cmp rcx, 8
jne 0x140001c80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x48]
xor edx, edx
mov r8d, eax
mov qword [0x140006778], rax
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140006758], rax
mov eax, dword [rbp - 0x48]
jmp 0x140001ce0
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001c70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov edx, eax
mov qword [0x140006770], rax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x438
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
lea rsi, str.client.dll
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x20]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
movzx eax, word [rsi + rcx*2 + 2]
cmp ax, word [rdx + rcx*2 + 2]
jne 0x140001d54
add rcx, 2
cmp rcx, 0xb
je 0x140002079
movzx eax, word [rsi + rcx*2]
cmp ax, word [rdx + rcx*2]
je 0x140001d30
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001d20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
mov qword [0x140006750], rax
lea rbx, [0x140004440]
lea rax, [0x140002140]
mov qword [rsp + 0x60], r14
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
xorps xmm1, xmm1
mov qword [rsp + 0x70], r14
lea rcx, [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x60], rbx
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rsi, qword [rsp + 0x588]
test ax, ax
je 0x1400020de
mov qword [rsp + 0x58], r14
mov r9d, 0x90000000
mov qword [rsp + 0x50], rdi
mov r8, rbx
mov qword [rsp + 0x48], r14
mov rdx, rbx
mov qword [rsp + 0x40], r14
mov ecx, 0x80028
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test rbx, rbx
je 0x1400020de
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140006760], rax
mov rcx, rax
test rax, rax
je 0x1400020a9
lea rdx, [0x140006700]
mov qword [rbp + 0x410], r14
mov qword [rsp + 0x30], rdx
mov r9, rbx
lea rdx, [rbp + 0x400]
mov qword [rbp + 0x41c], r14
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rbp + 0x424], r14d
mov qword [rbp + 0x430], 0x50
mov qword [rbp + 0x438], r14
mov dword [rbp + 0x400], 0x780
lea r8d, [rdx + 1]
mov dword [rbp + 0x404], 0x438
mov dword [rbp + 0x40c], 1
mov dword [rbp + 0x408], 0x16
mov dword [rbp + 0x418], 1
mov dword [rbp + 0x428], 1
mov dword [rbp + 0x42c], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
test eax, eax
js 0x1400020a2
mov rcx, qword [0x140006700]
lea rdx, [0x140006768]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
test eax, eax
js 0x1400020a2
mov ecx, 8
call fcn.140002190
lea rcx, [0x1400011b0]
mov r9, rax
lea r8, [0x140002110]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x3f8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x3f0], rax
test rax, rax
je 0x14000208f
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x140002027
movaps xmmword [rsp + 0x550], xmm6
movss xmm6, dword [0x140004450]
cmp byte [0x140006044], r14b
je 0x14000201f
mov rcx, qword [0x140006700]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140006700]
mov rax, qword [rcx]
call qword [rax + 0x148]
call fcn.1400013d0
mov rcx, qword [0x140006700]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140006700]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140001f91
movaps xmm6, xmmword [rsp + 0x550]
mov rcx, qword [0x140006700]
test rcx, rcx
je 0x140002040
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140006700], r14
mov rcx, qword [0x140006760]
test rcx, rcx
je 0x140002059
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140006760], r14
mov rdx, rdi
lea rcx, str.overlay
call qword [sym.imp.USER32.dll_UnregisterClassW]
cmp dword [rbp + 0x3f8], r14d
je 0x14000208b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x38]
jmp 0x140001d71
xor eax, eax
jmp 0x1400020e3
mov ecx, 6
mov dword [rbp + 0x3f8], r14d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, qword [0x140006760]
mov rax, qword [0x140006700]
test rax, rax
je 0x1400020cc
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, qword [0x140006760]
mov qword [0x140006700], r14
test rcx, rcx
je 0x1400020de
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [0x140006760], r14
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140002170
mov rbx, qword [rsp + 0x590]
add rsp, 0x560
pop r14
pop rdi
pop rbp
ret