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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ee340]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
xor edi, edi
mov edx, dword [0x1401441f0]
add rdx, qword [rcx + 0x48]
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x14008c4ff
cmp dword [0x1401b9410], edi
je 0x14008c4ff
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
lea r8, [0x1401b7be4]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14008c4ff
mov eax, dword [0x1401b7be4]
cmp eax, 0xffffffff
je 0x14008c4ff
shr eax, 9
lea eax, [rax*8 + 0x10]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], edi
lea ecx, [rdi + 8]
call fcn.1400bc210
mov qword [rsp + 0x50], rax
lea rdx, [rax + 8]
mov qword [rsp + 0x60], rdx
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov qword [rsp + 0x58], rdx
lea r8, [rsp + 0x50]
mov rdx, qword [0x1401b9478]
call fcn.140020e30
mov qword [0x1401b7be8], rax
test rax, rax
je 0x14008c4ff
mov ecx, dword [0x1401b7be4]
and ecx, 0x1ff
imul edx, ecx, 0x78
add rdx, rax
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x14008c4ff
cmp dword [0x1401b9410], edi
je 0x14008c4ff
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 8]
lea r8, [0x1401b7bf0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14008c4ff
lea rdx, [0x1401b7bf0]
lea rcx, [0x140144070]
call fcn.1400210f0
test al, al
je 0x14008c4ff
cmp byte [0x1401b8f81], dil
jne 0x14008c35c
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [rbx + 0x104]
jb 0x14008c4ff
cmp byte [0x1401b8f80], dil
je 0x14008c3a4
mov edx, dword [0x1401441b0]
add rdx, qword [rbx + 0x48]
mov rcx, qword [0x1401b9408]
test rcx, rcx
je 0x14008c399
cmp dword [0x1401b9410], edi
je 0x14008c399
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rsp + 0x30], dil
je 0x14008c4ff
cmp byte [0x1400ee401], dil
je 0x14008c3d8
mov eax, dword [0x140144160]
cmp dword [rbx + 0xf0], eax
je 0x14008c3cc
cmp dword [0x140144150], edi
jle 0x14008c3cc
mov byte [0x1401b7bbe], 1
jmp 0x14008c3ef
mov byte [0x1401b7bbe], dil
jmp 0x14008c4ff
mov eax, dword [0x140144150]
test eax, eax
setg byte [0x1401b7bbe]
test eax, eax
jle 0x14008c4ff
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b96e8], eax
jle 0x14008c438
lea rcx, [0x1401b96e8]
call fcn.1400bc198
cmp dword [0x1401b96e8], 0xffffffff
jne 0x14008c438
lea rcx, [0x1401b96f0]
call fcn.140009670
lea rcx, [0x1401b96e8]
call fcn.1400bc12c
lea rcx, [rsp + 0x40]
call fcn.140009670
movsxd rax, dword [0x1400ee3b4]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
sub rdx, qword [0x1401b96f0]
imul rcx, rax, 0xf4240
cmp rdx, rcx
jl 0x14008c4ff
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr ax, 0xf
test al, al
jne 0x14008c4f8
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 8
call fcn.1400bc210
lea rcx, [0x14008c1d0]
mov qword [rax], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14008c560]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14008c529
cmp dword [rsp + 0x58], 0
je 0x14008c51d
vmovups xmm0, xmmword [rsp + 0x50]
vmovdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14008c51d
mov qword [0x1401b96f0], rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400bc0d0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3