Function at 0x140005f30
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, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401170c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r13d, r13d
mov dword [rbp - 0x79], r13d
xor r14b, r14b
mov byte [rbp - 0x39], r14b
lea rax, [rbp - 0x39]
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x29]
mov qword [rbp - 0x61], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400dc274
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rax], xmm0
mov qword [rbp - 0x31], rax
mov r12d, 2
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x1400067e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0xf], rax
test rax, rax
je 0x1400062cb
xor r15b, r15b
movss xmm6, dword [0x140101cd8]
mov rbx, qword [rbp - 0x31]
mov rdi, qword [rbp - 0x31]
mov ecx, dword [reloc.WS2_32.dll_accept]
test ecx, ecx
je 0x140006014
sub ecx, 1
je 0x140005ffc
cmp ecx, 1
jne 0x140006032
mov byte [0x140117258], cl
jmp 0x140006032
mov ecx, dword [0x140117248]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x140117258]
jmp 0x140006032
mov ecx, dword [0x140117248]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140006032
cmp byte [0x140117258], 0
sete byte [0x140117258]
mov dword [rbp - 0x79], 0x626f520e
mov dword [rbp - 0x75], 0x786f6c
lea rdx, [rbp - 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rsi
jne 0x140006244
cmp byte [0x140117258], 0
je 0x140006211
cmp byte [0x14018a167], 0
je 0x140006211
test r15b, r15b
jne 0x14000608f
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
jns 0x140006080
mov r15b, 1
mov qword [rbp - 0x31], r13
mov dword [rbp + 8], r13d
mov word [rbp + 0xc], r13w
mov byte [rbp + 0xe], 0
mov dword [rbp - 0x19], 0x85b3e12
mov rax, qword [0x14018a170]
add rax, 0x100
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 9], rax
mov qword [rbp - 1], 8
mov eax, dword [0x14018a110]
mov dword [rbp - 0x15], eax
mov byte [rbp + 7], 0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, Ordinal_41
lea r8, [rbp - 0x19]
mov edx, 0x2201c4
mov rcx, qword [0x14018a108]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x14018a117], 0
je 0x14000612a
test r14b, r14b
je 0x14000612a
test rbx, rbx
je 0x14000612a
mov qword [0x14018a190], rbx
mov rdx, rdi
mov rcx, rbx
mov rax, rbx
jmp 0x140006144
lea rcx, [rbp - 0x49]
call fcn.1400048f0
mov rcx, qword [rax + 8]
mov qword [0x14018a190], rcx
mov rdx, qword [rax]
mov rax, rcx
mov qword [0x14018a180], rdx
cmp qword [rbp - 0x31], rcx
je 0x140005fe0
test rax, rax
je 0x14000617c
lea rdx, [rbp - 0x59]
lea rcx, [0x14018a190]
call fcn.14000f4f0
or r12d, 1
movss xmm0, dword [rax + 4]
comiss xmm0, xmm6
jbe 0x14000617c
mov al, 1
jmp 0x14000617e
xor al, al
test r12b, 1
je 0x140006197
and r12d, 0xfffffffe
mov qword [rbp - 0x59], 0
mov dword [rbp - 0x51], 0
test al, al
je 0x140006232
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400062bf
cmp dword [0x14011719c], 0x7fffffff
je 0x1400062a9
lea rcx, reloc.WS2_32.dll_bind
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movsd xmm0, qword [rbp - 0x29]
movsd qword [rbp - 0x69], xmm0
mov eax, dword [rbp - 0x21]
mov dword [rbp - 0x61], eax
lea rdx, [rbp - 0x69]
mov rcx, qword [0x14018a190]
call fcn.1400052c0
mov rbx, qword [0x14018a190]
mov rdi, qword [0x14018a180]
mov r14b, 1
lea rcx, [rbp - 0x71]
call fcn.1400045a0
mov rax, qword [rbp - 0x71]
jmp 0x140006255
test r15b, r15b
je 0x140006232
nop word [rax + rax]
mov ecx, 1
call qword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
js 0x140006220
xor r15b, r15b
xor r14b, r14b
lea rcx, [rbp - 0x71]
call fcn.1400045a0
mov rax, qword [rbp - 0x71]
jmp 0x140006255
lea rcx, [rbp - 0x71]
call fcn.1400045a0
mov rax, qword [rbp - 0x71]
mov qword [rbp - 0x31], rax
movabs rsi, 0x7fffffffffb3b4bf
cmp rax, rsi
je 0x14000628d
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14000628d
add rax, 0x4c4b40
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x31]
call fcn.1400066d0
jmp 0x140005fe0
movabs rax, 0x7fffffffffffffff
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x31]
call fcn.1400066d0
jmp 0x140005fe0
mov dword [0x14011719c], 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 + 0x17], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3