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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], eax
lea eax, [r14 + 1]
xchg byte [0x140112130], al
lea rcx, [rbp + 0x6f]
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea ecx, [r14 + 0x10]
call fcn.1400d6210
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rax], xmm0
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001b414]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14001b30f
mov al, byte [0x1401c0010]
test al, al
jne 0x14001b2d7
movss xmm6, dword [0x1400ff090]
mov bl, byte [rbp + 0x67]
mov rdi, qword [rbp + 0x67]
jmp 0x14001b2b4
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001b303
cmp dword [0x14011218c], 0x7fffffff
je 0x14001b2ed
lea rcx, [rbp + 0x7f]
call fcn.140019d34
mov rcx, qword [rax]
mov qword [0x1401c0018], rcx
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1401c00be], r14b
je 0x14001b2b4
cmp byte [0x1401c00ae], r14b
je 0x14001b2a3
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x14001b120
sub ecx, 1
je 0x14001b106
cmp ecx, 1
jne 0x14001b13c
mov byte [0x14014cad0], cl
jmp 0x14001b14a
mov ecx, dword [0x14014cac0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x14014cad0], al
jmp 0x14001b142
mov ecx, dword [0x14014cac0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001b13c
cmp byte [0x14014cad0], r14b
sete al
jmp 0x14001b118
mov al, byte [0x14014cad0]
test al, al
je 0x14001b28e
test sil, sil
jne 0x14001b18f
test bl, bl
je 0x14001b171
test rdi, rdi
je 0x14001b171
mov rax, qword [0x1401c00e0]
test rax, rax
je 0x14001b171
mov rbx, rdi
mov qword [rbp + 0x67], rbx
mov qword [rbp + 0x6f], rax
jmp 0x14001b193
mov sil, 1
lea rcx, [rbp + 7]
call fcn.14001eed8
mov rax, qword [rbp + 7]
mov qword [rbp + 0x6f], rax
mov rbx, qword [rbp + 0xf]
mov qword [rbp + 0x67], rbx
jmp 0x14001b193
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x14001b28e
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.14001fafc
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1400fe5b8]
jbe 0x14001b28e
cmp byte [0x1401c00ac], r14b
je 0x14001b20b
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x67]
call fcn.14001fc40
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x140112298]
comiss xmm0, xmm1
ja 0x14001b203
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14001b203
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14001b205
mov al, 1
mov byte [0x1401c00eb], al
mov rax, qword [0x1401c00e0]
test rax, rax
je 0x14001b25b
cmp byte [0x1401c00bd], r14b
je 0x14001b25b
mov qword [rbp + 0x77], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], 8
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x11], r14b
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x77]
call fcn.14001f84c
test sil, sil
je 0x14001b27c
movsd xmm0, qword [rbp - 0x69]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [rbp - 0x61]
mov dword [rbp - 0x41], eax
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14001a0c0
mov rdi, rbx
mov rax, qword [rbp + 0x6f]
mov qword [0x1401c00e0], rax
mov bl, 1
jmp 0x14001b2a3
mov sil, r14b
mov bl, r14b
mov qword [rbp + 0x67], r14
mov qword [rbp + 0x6f], r14
mov qword [0x1401c00e0], r14
mov qword [rbp + 0x77], 1
lea rcx, [rbp + 0x77]
call fcn.140019df8
mov al, byte [reloc.WS2_32.dll_accept]
test al, al
jne 0x14001b08b
mov eax, 1
xchg byte [0x140112131], al
mov cl, byte [0x1401c0010]
test cl, cl
je 0x14001b2b4
mov eax, r14d
xchg byte [0x140112130], al
cmp dword [rbp - 0x21], r14d
je 0x14001b31f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14011218c], 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 - 0x21], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret