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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401a80c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor ebx, ebx
xor r14b, r14b
mov byte [rbp - 0x49], bl
lea rax, [rbp - 0x49]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x61], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140146e30
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rax], xmm0
mov qword [rbp - 0x41], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000abd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x14000a887
mov byte [rbp - 0x47], 0xff
mov byte [rbp - 0x48], r14b
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x47]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateCursor]
mov r13, rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x41], rax
movss xmm6, dword [0x14018aba4]
mov rbx, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x41]
xor r15b, r15b
nop dword [rax]
mov ecx, dword [0x1402e2788]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx r12d, ax
mov dword [rsp + 0x40], 0x626f5249
mov dword [rsp + 0x44], 0x786f6c
lea rdx, [rsp + 0x41]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rsi
jne 0x14000a690
test r12w, r12w
je 0x14000a84a
cmp byte [0x1402e2717], 0
je 0x14000a84a
xor ecx, ecx
mov qword [rbp - 0x39], rcx
mov dword [rbp], ecx
mov word [rbp + 4], cx
mov byte [rbp + 6], cl
mov dword [rbp - 0x21], 0x85b3e12
mov rax, qword [0x1402e2798]
add rax, 0x110
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], 8
mov eax, dword [0x1402e26bc]
mov dword [rbp - 0x1d], eax
mov byte [rbp - 1], cl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9d, Ordinal_41
lea r8, [rbp - 0x21]
mov edx, 0x2201c4
mov rcx, qword [0x1402e26c0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x1402e26ee], 0
je 0x14000a77a
test r14b, r14b
je 0x14000a77a
test rbx, rbx
je 0x14000a77a
mov qword [0x1402e27c0], rbx
mov rdx, rdi
mov rcx, rbx
mov rax, rbx
jmp 0x14000a794
lea rcx, [rbp - 0x59]
call fcn.1400091f0
mov rcx, qword [rax + 8]
mov qword [0x1402e27c0], rcx
mov rdx, qword [rax]
mov rax, rcx
mov qword [0x1402e27a8], rdx
cmp qword [rbp - 0x39], rcx
je 0x14000a690
test rax, rax
je 0x14000a842
lea rdx, [rbp - 0x69]
lea rcx, [0x1402e27c0]
call fcn.140014db0
movss xmm0, dword [rax + 4]
comiss xmm0, xmm6
jbe 0x14000a842
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a87b
cmp dword [0x1401a819c], 0x7fffffff
je 0x14000a865
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movsd xmm0, qword [rbp - 0x31]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [rbp - 0x29]
mov dword [rbp - 0x71], eax
lea rdx, [rbp - 0x79]
mov rcx, qword [0x1402e27c0]
call fcn.140009960
mov rbx, qword [0x1402e27c0]
mov rdi, qword [0x1402e27a8]
mov r14b, 1
test r15b, r15b
jne 0x14000a690
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCursor]
movzx r15d, r14b
jmp 0x14000a690
xor r14b, r14b
jmp 0x14000a690
xor r14b, r14b
test r15b, r15b
je 0x14000a690
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.USER32.dll_SetCursor]
jmp 0x14000a689
mov dword [0x1401a819c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3