Function at 0x140002060
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
call fcn.1400023a0
mov rcx, rax
mov qword [0x140006780], rax
call fcn.140002490
mov qword [0x140006700], rax
call fcn.1400023a0
mov rcx, rax
mov qword [0x140006778], rax
call fcn.140002490
mov qword [0x140006760], rax
lea r14, str.overlay
lea rax, [0x140002560]
mov qword [rsp + 0x78], rdi
xor esi, esi
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
xorps xmm1, xmm1
mov qword [rsp + 0x70], rsi
lea rcx, [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r14
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140002345
mov qword [rsp + 0x58], rsi
lea r8, str.Overlay
mov qword [rsp + 0x50], rdi
lea rdx, str.Overlay
mov qword [rsp + 0x48], rsi
mov r9d, 0x90000000
mov qword [rsp + 0x40], rsi
mov ecx, 0x80028
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea r9d, [rsi + 2]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea r9d, [rsi + 1]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test rbx, rbx
je 0x140002345
lea ecx, [rsi + 0x20]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov qword [0x140006768], rax
mov rcx, rax
test rax, rax
je 0x140002310
lea rdx, [0x140006710]
mov qword [rbp - 0x40], rsi
mov qword [rsp + 0x30], rdx
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x34], rsi
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [rbp - 0x2c], esi
xor edx, edx
mov qword [rbp - 0x20], 0x50
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x50], 0x780
mov dword [rbp - 0x4c], 0x438
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x48], 0x16
mov dword [rbp - 0x38], 1
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
test eax, eax
js 0x140002309
mov rcx, qword [0x140006710]
lea rdx, [0x140006770]
call qword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
test eax, eax
js 0x140002309
lea ecx, [rsi + 8]
call fcn.1400025a0
lea rcx, [0x1400016d0]
mov r9, rax
lea r8, [0x140002370]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x1400022fa
lea ecx, [rsi + 0x78]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1400022a5
nop dword [rax]
call fcn.140001900
mov ecx, 0x78
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140002290
mov rcx, qword [0x140006710]
test rcx, rcx
je 0x1400022be
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140006710], rsi
mov rcx, qword [0x140006768]
test rcx, rcx
je 0x1400022d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140006768], rsi
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400022e3
call fcn.140001010
jmp 0x1400022e3
mov ecx, 6
mov dword [rbp - 8], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, qword [0x140006768]
mov rdx, qword [0x140006710]
test rdx, rdx
je 0x140002333
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x140006768]
mov qword [0x140006710], rsi
test rcx, rcx
je 0x140002345
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140006768], rsi
mov eax, 0xffffffff
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140002580
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret