Function at 0x1800869c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov esi, edx
mov rdi, rcx
mov rax, qword [0x18027b330]
test rax, rax
jne 0x180086a0e
mov ecx, 0x120
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086a07
mov rcx, rax
call fcn.180087ab0
nop
mov qword [0x18027b330], rax
mov ebx, dword [rax + 0xd0]
test esi, esi
je 0x180086c57
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
jne 0x180086a65
mov rax, qword [0x1802787a8]
test rax, rax
jne 0x180086a5b
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086a54
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov rcx, rax
call fcn.18007af80
jmp 0x180086a94
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x7d
call qword [rax]
cmp eax, 1
jne 0x180086a87
call fcn.180008ea0
mov rcx, rax
call fcn.18007abe0
jmp 0x180086a94
call fcn.180008ea0
mov rcx, rax
call fcn.18007a840
test ebx, ebx
je 0x180086a9d
call fcn.180081b90
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x5d
call qword [rax]
test eax, eax
je 0x180086ae9
mov rax, qword [0x1802787a8]
test rax, rax
jne 0x180086adf
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086ad8
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov rcx, rax
call fcn.18007b6f0
jmp 0x180086b18
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x7d
call qword [rax]
cmp eax, 1
jne 0x180086b0b
call fcn.180008ea0
mov rcx, rax
call fcn.18007b6f0
jmp 0x180086b18
call fcn.180008ea0
mov rcx, rax
call fcn.18007b320
test ebx, ebx
je 0x180086b21
call fcn.180081b90
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x7f
call qword [rax]
cmp eax, 1
mov rax, qword [0x1802787a8]
jne 0x180086b6e
test rax, rax
jne 0x180086b64
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086b5d
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov rcx, rax
call fcn.18007bea0
jmp 0x180086b9f
test rax, rax
jne 0x180086b97
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086b90
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov rcx, rax
call fcn.18007bad0
test ebx, ebx
je 0x180086ba8
call fcn.180081b90
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x7e
call qword [rax]
cmp eax, 1
jne 0x180086c06
mov rax, qword [0x1802787a8]
test rax, rax
jne 0x180086beb
mov ecx, 0x138
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180086be4
mov rcx, rax
call fcn.180072da0
nop
mov qword [0x1802787a8], rax
mov rcx, rax
call fcn.18007c650
test ebx, ebx
je 0x180086c57
call fcn.180081b90
mov rcx, rax
call fcn.18008cbb0
jmp 0x180086c57
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov edx, 0x7e
call qword [rax]
cmp eax, 2
jne 0x180086c39
call fcn.180008ea0
mov rcx, rax
call fcn.18007ca30
test ebx, ebx
je 0x180086c57
call fcn.180081b90
mov rcx, rax
call fcn.18008c510
jmp 0x180086c57
call fcn.180008ea0
mov rcx, rax
call fcn.18007c280
test ebx, ebx
je 0x180086c57
call fcn.180081b90
mov rcx, rax
call fcn.18008c910
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x84
call qword [rax + 0x90]
mov dword [rdi + 0x10], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret