Function at 0x14001a4c8
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140197080]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
lea eax, [r14 + 1]
xchg byte [0x140197130], al
lea rcx, [rbp - 0x39]
mov qword [rbp - 9], rcx
lea rax, [rbp + 0x2f]
mov qword [rbp - 1], rax
lea ecx, [r14 + 0x10]
call fcn.140139c90
movups xmm0, xmmword [rbp - 9]
movdqu xmmword [rax], xmm0
mov qword [rbp - 0x31], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001a8ac]
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 0x14001a7c0
mov al, byte [0x14026c980]
test al, al
jne 0x14001a788
movss xmm6, dword [0x14017cd80]
mov dil, byte [rbp - 0x41]
mov rbx, qword [rbp - 0x31]
jmp 0x14001a765
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a7b4
cmp dword [0x14019718c], 0x7fffffff
je 0x14001a79e
lea rcx, [rbp + 0x27]
call fcn.1400194ec
mov rcx, qword [rax]
mov qword [0x14026c988], rcx
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14026ca16], r14b
je 0x14001a765
cmp byte [0x14026c9fe], r14b
je 0x14001a754
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x14001a61e
sub ecx, 1
je 0x14001a604
cmp ecx, 1
jne 0x14001a63a
mov byte [0x1401f9668], cl
jmp 0x14001a648
mov ecx, dword [0x1401f9658]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401f9668], al
jmp 0x14001a640
mov ecx, dword [0x1401f9658]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14001a63a
cmp byte [0x1401f9668], r14b
sete al
jmp 0x14001a616
mov al, byte [0x1401f9668]
test al, al
je 0x14001a73f
test sil, sil
jne 0x14001a68e
test dil, dil
je 0x14001a670
test rbx, rbx
je 0x14001a670
mov rcx, qword [0x14026ca00]
test rcx, rcx
je 0x14001a670
mov rax, rbx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rcx
jmp 0x14001a692
mov sil, 1
lea rcx, [rbp + 0x17]
call fcn.14001f068
mov rax, qword [rbp + 0x17]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbp - 0x49], rax
jmp 0x14001a692
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14001a73f
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.14001fb1c
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14017c4d8]
jbe 0x14001a73f
cmp byte [0x14026c9fc], r14b
je 0x14001a70a
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.14001fb94
movss xmm0, dword [rbp - 0x29]
andps xmm0, xmm6
movss xmm1, dword [0x140197294]
comiss xmm0, xmm1
ja 0x14001a702
movss xmm0, dword [rbp - 0x25]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14001a702
movss xmm0, dword [rbp - 0x21]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14001a704
mov al, 1
mov byte [0x14026ca33], al
mov rbx, qword [rbp - 0x49]
test sil, sil
je 0x14001a72f
movsd xmm0, qword [rbp + 0x2f]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [rbp + 0x37]
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140019850
mov rax, qword [rbp - 0x39]
mov qword [0x14026ca00], rax
mov dil, 1
jmp 0x14001a754
mov sil, r14b
mov dil, r14b
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x39], r14
mov qword [0x14026ca00], r14
mov qword [rbp - 0x31], 1
lea rcx, [rbp - 0x31]
call fcn.1400195b0
mov al, byte [reloc.WS2_32.dll_accept]
test al, al
jne 0x14001a589
mov eax, 1
xchg byte [0x140197131], al
mov cl, byte [0x14026c980]
test cl, cl
je 0x14001a765
mov eax, r14d
xchg byte [0x140197130], al
cmp dword [rbp + 0xf], r14d
je 0x14001a7d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14019718c], 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], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140139c70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret