Function at 0x14009b8f0
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 - 0x118]
sub rsp, 0x1f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x1400ff040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r15d, r15d
xor r14b, r14b
xor eax, eax
mov qword [rbp + 0x50], rax
mov dword [rbp + 0x58], eax
mov eax, 1
xchg byte [0x1400ff0c9], al
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x60], rcx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x68], rax
mov ecx, 0x10
call fcn.1400c92d0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14009c3b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14009bf85
mov ecx, 8
call fcn.1400c92d0
lea rcx, [rbp]
mov qword [rax], rcx
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14009c560]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x14009bf75
movzx eax, byte [0x140174429]
test al, al
jne 0x14009beee
movabs r12, 0x7ffffffffff0bdbf
movabs r13, 0x7fffffffffffffff
movss xmm8, dword [0x1400e9f30]
movss xmm9, dword [0x1400e929c]
movzx edi, byte [rsp + 0x38]
movsd xmm7, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x20]
movups xmm6, xmmword [rbp - 0x20]
nop word [rax + rax]
movzx eax, byte [0x1400ff0ca]
test al, al
je 0x14009bed4
nop
lea rcx, [0x1400ff0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14009beff
cmp dword [0x1400ff11c], 0x7fffffff
je 0x14009bf0b
lea rcx, [rbp - 0x40]
call fcn.1400032a0
mov rcx, qword [rax]
mov qword [0x1401744b0], rcx
lea rcx, [0x1400ff0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14017455e], 0
je 0x14009bec5
cmp byte [0x14017453d], 0
je 0x14009be78
mov ecx, dword [0x1401017f4]
test ecx, ecx
je 0x14009bae3
sub ecx, 1
je 0x14009bacb
cmp ecx, 1
jne 0x14009bb01
mov byte [0x140101800], cl
jmp 0x14009bb01
mov ecx, dword [0x1401017f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x140101800]
jmp 0x14009bb01
mov ecx, dword [0x1401017f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14009bb01
cmp byte [0x140101800], 0
sete byte [0x140101800]
cmp byte [0x14017457c], 0
je 0x14009bb60
mov dword [rsp + 0x30], 0x626f5230
mov dword [rsp + 0x34], 0x786f6c
lea rdx, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14009bec5
mov eax, dword [0x140174558]
test eax, eax
jne 0x14009bb4a
mov ecx, 1
jmp 0x14009bb5a
cmp eax, 1
je 0x14009bb58
cmp byte [0x14017457c], 1
jne 0x14009bb60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x140101800], 0
je 0x14009be22
test r14b, r14b
jne 0x14009bbe2
test dil, dil
je 0x14009bba9
test rsi, rsi
je 0x14009bba9
cmp qword [0x140174598], 0
je 0x14009bba9
movups xmmword [rbp], xmm6
movsd qword [rbp + 0x10], xmm7
movups xmm0, xmmword [0x140174598]
movups xmmword [rbp + 0x38], xmm0
movsd xmm1, qword [0x1401745a8]
movsd qword [rbp + 0x48], xmm1
jmp 0x14009bbe2
mov r14b, 1
lea rcx, [rbp + 0x70]
call fcn.14009e180
movups xmm0, xmmword [rbp + 0x70]
movups xmmword [rbp + 0x38], xmm0
movsd xmm1, qword [rbp + 0x80]
movsd qword [rbp + 0x48], xmm1
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [rbp], xmm0
movsd xmm1, qword [rbp + 0x98]
movsd qword [rbp + 0x10], xmm1
mov rcx, qword [rbp]
test rcx, rcx
je 0x14009be22
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x78], ebx
add rcx, 0x160
call fcn.14009fc00
test rax, rax
jne 0x14009bc13
movsd xmm0, qword [rbp - 0x80]
mov dword [rbp - 0x68], ebx
jmp 0x14009bc4a
xor ecx, ecx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], ecx
lea rcx, [rax + 0x140]
mov r8d, 0xc
lea rdx, [rsp + 0x70]
call fcn.14009c7d0
movsd xmm0, qword [rsp + 0x70]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rsp + 0x78]
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x68], eax
movsd qword [rbp - 0x70], xmm0
movss xmm0, dword [rbp - 0x6c]
comiss xmm0, xmm9
jbe 0x14009be22
cmp byte [0x140174535], bl
je 0x14009bced
mov rcx, qword [rbp]
add rcx, 0x160
call fcn.14009fc00
test rax, rax
jne 0x14009bc8a
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x14009bcbe
xor ecx, ecx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], ecx
lea rcx, [rax + 0x14c]
mov r8d, 0xc
lea rdx, [rsp + 0x48]
call fcn.14009c7d0
movss xmm2, dword [rsp + 0x48]
movss xmm1, dword [rsp + 0x4c]
movss xmm0, dword [rsp + 0x50]
andps xmm2, xmm8
movss xmm3, dword [0x1400ff248]
comiss xmm2, xmm3
ja 0x14009bce5
andps xmm1, xmm8
comiss xmm1, xmm3
ja 0x14009bce5
andps xmm0, xmm8
comiss xmm0, xmm3
ja 0x14009bce5
xor al, al
jmp 0x14009bce7
mov al, 1
mov byte [0x14017457f], al
mov rcx, qword [0x140174598]
test rcx, rcx
je 0x14009bdc0
cmp byte [0x14017455c], bl
je 0x14009bd5a
movups xmm0, xmmword [0x140174598]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [0x1401745a8]
movsd qword [rbp - 0x10], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov r8d, 8
lea rdx, str.Humanoid
lea rcx, [rbp - 0x60]
call fcn.1400033c0
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14009f310
mov rcx, qword [0x140174598]
test rcx, rcx
je 0x14009bdc0
cmp byte [0x14017453f], bl
je 0x14009bdc0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
add rcx, 0x2a0
mov r8d, 0x18
lea rdx, [rbp - 0x20]
call fcn.14009c7d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov r8d, 8
lea rdx, str.Humanoid
lea rcx, [rbp - 0x60]
call fcn.1400033c0
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14009f310
test r14b, r14b
je 0x14009bdf7
movsd xmm0, qword [rbp + 0x50]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x68], eax
movups xmm0, xmmword [rbp]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp - 0x10], xmm1
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14009a610
movups xmm6, xmmword [rbp]
movsd xmm7, qword [rbp + 0x10]
movups xmm0, xmmword [rbp + 0x38]
movups xmmword [0x140174598], xmm0
movsd xmm1, qword [rbp + 0x48]
movsd qword [0x1401745a8], xmm1
mov dil, 1
movq rsi, xmm6
jmp 0x14009be78
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [0x140174598], xmm0
mov qword [rbp - 0x10], rax
movsd xmm0, qword [rbp - 0x10]
movsd qword [0x1401745a8], xmm0
mov qword [rbp - 0x10], rax
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp + 0x48], xmm0
mov qword [rbp - 0x10], rax
xorps xmm1, xmm1
xor dil, dil
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rbp - 0x20], xmm1
xor r14b, r14b
movsd qword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp + 0x38], xmm1
cmp byte [0x14017457c], 0
jne 0x14009bec5
lea rcx, [rbp + 0x30]
call fcn.1400032a0
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x40], rax
cmp rax, r12
je 0x14009beb6
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14009beb6
add rax, 0xf4240
mov qword [rsp + 0x40], rax
jmp 0x14009bebb
mov qword [rsp + 0x40], r13
lea rcx, [rsp + 0x40]
call fcn.140003f70
movzx eax, byte [0x1400ff0ca]
test al, al
jne 0x14009ba50
mov eax, 1
xchg byte [0x1400ff0ca], al
movzx ecx, byte [0x140174429]
test cl, cl
je 0x14009ba40
cmp dword [rbp + 0x28], 0
je 0x14009bf54
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x28], eax
jne 0x14009bf21
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov dword [0x1400ff11c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14009bf48
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x20], xmm0
xchg byte [0x1400ff0c9], r15b
cmp dword [rbp + 0x28], 0
je 0x14009bf68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x68], 0
je 0x14009bf95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x28], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x68], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400c92b0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret