Function at 0x180116720
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov ecx, dword [0x18024256c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
xor r14d, r14d
mov eax, dword [rdx + rax]
cmp dword [0x180253b30], eax
jle 0x1801167c7
lea rcx, [0x180253b30]
call fcn.1801905cc
cmp dword [0x180253b30], 0xffffffff
jne 0x1801167c7
mov qword [0x180253ae0], r14
mov qword [0x180253ae8], r14
mov ecx, 0x20
call fcn.180190644
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x180253ae0], rax
lea rcx, [0x1801a0440]
call fcn.180190a0c
nop
lea rcx, [0x180253b30]
call fcn.180190560
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov ecx, 0x20
call fcn.180190644
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x60], rax
movzx ebx, r14w
movzx eax, r14w
movabs r12, 0x7ffffffffffffff
mov r15d, 0xff
movsx ecx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx edi, ax
shr edi, 0xf
and dil, 1
mov rsi, qword [rbp - 0x60]
mov rcx, qword [rsi + 8]
mov qword [rbp - 0x40], rcx
mov dword [rbp - 0x38], r14d
mov rax, rsi
cmp byte [rcx + 0x19], 0
jne 0x180116859
mov qword [rbp - 0x40], rcx
cmp word [rcx + 0x1a], bx
jge 0x180116846
mov dword [rbp - 0x38], r14d
mov rcx, qword [rcx + 0x10]
jmp 0x180116853
mov dword [rbp - 0x38], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180116832
cmp byte [rax + 0x19], 0
jne 0x180116865
cmp bx, word [rax + 0x1a]
jge 0x1801168bd
cmp qword [rbp - 0x58], r12
je 0x180116b71
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r14
mov ecx, 0x20
call fcn.180190644
nop
mov word [rax + 0x1a], bx
mov byte [rax + 0x1c], 0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov word [rax + 0x18], 0
mov qword [rbp - 0x48], r14
vmovups xmm0, xmmword [rbp - 0x40]
vmovups xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.18009da30
mov byte [rax + 0x1c], dil
inc bx
movzx eax, bx
cmp bx, r15w
jl 0x180116806
mov word [0x180242b3c], r14w
mov rbx, qword [rbp - 0x60]
mov rbx, qword [rbx]
lea rsi, [0x180253ae0]
mov rdi, qword [0x180253ae0]
cmp byte [rbx + 0x19], 0
jne 0x180116a66
nop dword [rax + rax]
cmp byte [rbx + 0x1c], 0
je 0x180116a03
mov rax, qword [rdi + 8]
mov rdx, rdi
cmp byte [rax + 0x19], 0
jne 0x180116939
movzx r8d, word [rbx + 0x1a]
mov rcx, rax
nop
cmp word [rcx + 0x1a], r8w
jge 0x18011692d
mov rcx, qword [rcx + 0x10]
jmp 0x180116933
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x180116920
cmp byte [rdx + 0x19], 0
jne 0x180116a5b
movzx r8d, word [rbx + 0x1a]
cmp r8w, word [rdx + 0x1a]
jl 0x180116a5b
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], r14d
mov rcx, rdi
cmp byte [rax + 0x19], 0
jne 0x18011698c
mov qword [rbp - 0x20], rax
cmp word [rax + 0x1a], r8w
jge 0x180116979
mov dword [rbp - 0x18], r14d
mov rax, qword [rax + 0x10]
jmp 0x180116986
mov dword [rbp - 0x18], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180116964
cmp byte [rcx + 0x19], 0
jne 0x180116999
cmp r8w, word [rcx + 0x1a]
jge 0x1801169fd
cmp qword [0x180253ae8], r12
je 0x180116b6b
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r14
mov ecx, 0x20
call fcn.180190644
nop
movzx ecx, word [rbx + 0x1a]
mov word [rax + 0x1a], cx
mov byte [rax + 0x1c], 0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
mov qword [rbp - 0x48], r14
vmovups xmm0, xmmword [rbp - 0x20]
vmovups xmmword [rbp - 0x40], xmm0
mov r8, rax
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.18009da30
mov rcx, rax
mov rdi, qword [0x180253ae0]
cmp byte [rcx + 0x1c], 0
je 0x180116a5b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180116a2f
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180116a2a
cmp rbx, qword [rax + 0x10]
jne 0x180116a2a
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180116a17
mov rbx, rax
jmp 0x180116a4f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180116a4f
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180116a40
cmp byte [rbx + 0x19], 0
je 0x180116900
jmp 0x180116a66
movzx eax, word [rbx + 0x1a]
mov word [0x180242b3c], ax
mov rbx, qword [rdi + 8]
cmp byte [rbx + 0x19], 0
jne 0x180116a95
mov r8, qword [rbx + 0x10]
mov rdx, rsi
mov rcx, rsi
call fcn.1801338e0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.18019051c
cmp byte [rbx + 0x19], 0
je 0x180116a70
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x180253ae8], r14
mov r8, qword [0x180253ae0]
mov rdx, qword [rbp - 0x60]
mov rdx, qword [rdx + 8]
call fcn.180138050
mov rcx, qword [0x180253ae0]
mov qword [rcx + 8], rax
mov rax, qword [rbp - 0x58]
mov qword [0x180253ae8], rax
mov r8, qword [0x180253ae0]
mov rdx, qword [r8 + 8]
cmp byte [rdx + 0x19], 0
jne 0x180116b33
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], 0
jne 0x180116aff
nop dword [rax + rax]
mov rdx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180116af0
mov qword [r8], rdx
mov rdx, qword [0x180253ae0]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x180116b2d
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x180116b20
mov qword [rdx + 0x10], rcx
jmp 0x180116b41
mov qword [r8], r8
mov rax, qword [0x180253ae0]
mov qword [rax + 0x10], rax
lea rcx, [rbp - 0x60]
call fcn.18012e5c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18008d950
nop
call fcn.18008d950
int3