Function at 0x1801366d0
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 edi, edx
mov rsi, rcx
mov rax, qword [0x180345018]
test rax, rax
jne 0x180136719
mov ecx, 0x1a8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.180137570
nop
mov qword [0x180345018], rax
mov ebx, dword [rax + 0x158]
test edi, edi
je 0x180136971
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
cmp al, 1
jne 0x18013676b
mov rax, qword [0x180344ae0]
test rax, rax
jne 0x180136761
mov ecx, 0x1f8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18011a420
nop
mov qword [0x180344ae0], rax
mov rcx, rax
call fcn.180125c50
jmp 0x1801367a2
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x73]
mov rcx, rax
call qword [r9 + 0x10]
cmp eax, 1
jne 0x180136795
call fcn.180074980
mov rcx, rax
call fcn.180125800
jmp 0x1801367a2
call fcn.180074980
mov rcx, rax
call fcn.1801253b0
test ebx, ebx
je 0x1801367ab
call fcn.180130210
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov edx, 0x52
call qword [rax]
test eax, eax
je 0x1801367f2
mov rax, qword [0x180344ae0]
test rax, rax
jne 0x1801367e8
mov ecx, 0x1f8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18011a420
nop
mov qword [0x180344ae0], rax
mov rcx, rax
call fcn.180126600
jmp 0x180136829
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x73]
mov rcx, rax
call qword [r9 + 0x10]
cmp eax, 1
jne 0x18013681c
call fcn.180074980
mov rcx, rax
call fcn.180126600
jmp 0x180136829
call fcn.180074980
mov rcx, rax
call fcn.1801260a0
test ebx, ebx
je 0x180136832
call fcn.180130210
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x75]
mov rcx, rax
call qword [r9 + 0x10]
cmp eax, 1
mov rax, qword [0x180344ae0]
jne 0x180136882
test rax, rax
jne 0x180136878
mov ecx, 0x1f8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18011a420
nop
mov qword [0x180344ae0], rax
mov rcx, rax
call fcn.1801270b0
jmp 0x1801368ae
test rax, rax
jne 0x1801368a6
mov ecx, 0x1f8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18011a420
nop
mov qword [0x180344ae0], rax
mov rcx, rax
call fcn.180126b60
test ebx, ebx
je 0x1801368b7
call fcn.180130210
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x74]
mov rcx, rax
call qword [r9 + 0x10]
cmp eax, 1
jne 0x180136918
mov rax, qword [0x180344ae0]
test rax, rax
jne 0x1801368fd
mov ecx, 0x1f8
call fcn.1802037c4
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18011a420
nop
mov qword [0x180344ae0], rax
mov rcx, rax
call fcn.180127b50
test ebx, ebx
je 0x180136971
call fcn.180130210
mov rcx, rax
call fcn.18013d240
jmp 0x180136971
call fcn.180211b44
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 0x74]
mov rcx, rax
call qword [r9 + 0x10]
cmp eax, 2
jne 0x180136953
call fcn.180074980
mov rcx, rax
call fcn.180128090
test ebx, ebx
je 0x180136971
call fcn.180130210
mov rcx, rax
call fcn.18013ca90
jmp 0x180136971
call fcn.180074980
mov rcx, rax
call fcn.180127610
test ebx, ebx
je 0x180136971
call fcn.180130210
mov rcx, rax
call fcn.18013cf60
call fcn.180211d54
mov r9, qword [rax]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rax
call qword [r9 + 0x28]
mov dword [rsi + 0x10], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret