Function at 0x180001920
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
lea rdi, [rcx + 0x18]
call fcn.180001d20
mov rbx, rax
cmp rax, rdi
je 0x180001974
mov qword [rsp + 0x40], rax
mov edx, dword [rdi]
mov dword [rax], edx
lea rcx, [rax + 8]
mov r8, qword [rdi + 8]
mov rdx, qword [r8]
call fcn.180002dd0
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.1800028c0
mov rdx, rax
mov rcx, rbx
call fcn.180002630
nop
call fcn.180009880
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180001c4c
mov ecx, dword [0x180057c0c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
nop dword [rax + rax]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800019c9
cmp byte [rsi + 0x58], 0
sete al
mov byte [rsi + 0x58], al
mov eax, dword [rdi]
cmp dword [0x180057c74], eax
jle 0x180001a00
lea rcx, [0x180057c74]
call fcn.180045cb8
cmp dword [0x180057c74], 0xffffffff
jne 0x180001a00
lea rcx, [0x180047b70]
call fcn.1800460c4
lea rcx, [0x180057c74]
call fcn.180045c4c
mov ecx, dword [0x1800570bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180001a95
mov eax, dword [0x180057c74]
cmp eax, dword [rdi]
jle 0x180001a53
lea rcx, [0x180057c74]
call fcn.180045cb8
mov eax, dword [0x180057c74]
cmp eax, 0xffffffff
jne 0x180001a53
lea rcx, [0x180047b70]
call fcn.1800460c4
lea rcx, [0x180057c74]
call fcn.180045c4c
mov eax, dword [0x180057c74]
xor ebx, ebx
cmp byte [0x1800570a4], bl
sete bl
cmp eax, dword [rdi]
jle 0x180001a8f
lea rcx, [0x180057c74]
call fcn.180045cb8
cmp dword [0x180057c74], 0xffffffff
jne 0x180001a8f
lea rcx, [0x180047b70]
call fcn.1800460c4
lea rcx, [0x180057c74]
call fcn.180045c4c
mov byte [0x1800570a4], bl
mov eax, dword [rdi]
cmp dword [0x180057c8c], eax
jle 0x180001acc
lea rcx, [0x180057c8c]
call fcn.180045cb8
cmp dword [0x180057c8c], 0xffffffff
jne 0x180001acc
lea rcx, [0x180047b00]
call fcn.1800460c4
lea rcx, [0x180057c8c]
call fcn.180045c4c
mov ecx, dword [0x1800570f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180001b61
mov eax, dword [0x180057c8c]
cmp eax, dword [rdi]
jle 0x180001b1f
lea rcx, [0x180057c8c]
call fcn.180045cb8
mov eax, dword [0x180057c8c]
cmp eax, 0xffffffff
jne 0x180001b1f
lea rcx, [0x180047b00]
call fcn.1800460c4
lea rcx, [0x180057c8c]
call fcn.180045c4c
mov eax, dword [0x180057c8c]
xor ebx, ebx
cmp byte [0x1800570e8], bl
sete bl
cmp eax, dword [rdi]
jle 0x180001b5b
lea rcx, [0x180057c8c]
call fcn.180045cb8
cmp dword [0x180057c8c], 0xffffffff
jne 0x180001b5b
lea rcx, [0x180047b00]
call fcn.1800460c4
lea rcx, [0x180057c8c]
call fcn.180045c4c
mov byte [0x1800570e8], bl
mov eax, dword [rdi]
cmp dword [0x180057c70], eax
jle 0x180001b98
lea rcx, [0x180057c70]
call fcn.180045cb8
cmp dword [0x180057c70], 0xffffffff
jne 0x180001b98
lea rcx, [0x180047af0]
call fcn.1800460c4
lea rcx, [0x180057c70]
call fcn.180045c4c
mov ecx, dword [0x180057118]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180001c2d
mov eax, dword [0x180057c70]
cmp eax, dword [rdi]
jle 0x180001beb
lea rcx, [0x180057c70]
call fcn.180045cb8
mov eax, dword [0x180057c70]
cmp eax, 0xffffffff
jne 0x180001beb
lea rcx, [0x180047af0]
call fcn.1800460c4
lea rcx, [0x180057c70]
call fcn.180045c4c
mov eax, dword [0x180057c70]
xor ebx, ebx
cmp byte [0x180057108], bl
sete bl
cmp eax, dword [rdi]
jle 0x180001c27
lea rcx, [0x180057c70]
call fcn.180045cb8
cmp dword [0x180057c70], 0xffffffff
jne 0x180001c27
lea rcx, [0x180047af0]
call fcn.1800460c4
lea rcx, [0x180057c70]
call fcn.180045c4c
mov byte [0x180057108], bl
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800019b0
mov byte [rsi + 0x59], 1
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [0x180057d80]
mov rdi, qword [0x180057d88]
cmp rbx, rdi
je 0x180001cad
nop
cmp dword [rbx + 8], 0
je 0x180001ca4
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x180001d11
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x180001d05
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x180001c70
mov rdi, qword [0x180057da0]
mov rbx, qword [0x180057d98]
cmp rbx, rdi
je 0x180001cf5
mov rcx, qword [rbx]
test rcx, rcx
je 0x180001cd2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x180001cc0
mov rdi, qword [0x180057da0]
mov rbx, qword [0x180057d98]
cmp rbx, rdi
je 0x180001cf5
mov qword [0x180057da0], rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov ecx, 2
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_]
int3