Function at 0x1800a78e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r14, r9
mov rbp, r8
mov rsi, rcx
mov rdi, qword [rsp + 0x290]
mov rcx, rdx
call fcn.1800abdd0
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a7950
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7949
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
mov dword [rax + 0x38], 0
call fcn.18009ccd0
mov rbx, rax
lea rcx, [rsi - 0x18]
mov qword [rax + 0x20], rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x18], 5
mov rax, qword [0x18027b390]
test rax, rax
jne 0x1800a79a7
mov ecx, pe_nt_image_headers64
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a79a0
mov rcx, rax
call fcn.1800b0b90
nop
mov qword [0x18027b390], rax
cmp byte [rax + 0x111], 0
je 0x1800a7a8f
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x1800a79e7
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x1800a79de
lea rax, vtable.CShareConfigManager.0
mov qword [rcx], rax
jmp 0x1800a79e0
xor ecx, ecx
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0xe4
call qword [rax]
cmp al, 1
je 0x1800a7a8f
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x31]
call fcn.1800be330
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov rax, qword [0x18027b390]
test rax, rax
jne 0x1800a7a4b
mov ecx, pe_nt_image_headers64
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7a44
mov rcx, rax
call fcn.1800b0b90
nop
mov qword [0x18027b390], rax
lea r9, [rsp + 0x30]
mov r8, r14
mov edx, ebp
mov rcx, rax
call fcn.1800b1500
mov dword [rdi], eax
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a7bca
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7a8a
mov rcx, rax
call fcn.1800a07f0
nop
jmp 0x1800a7bc3
test rdi, rdi
jne 0x1800a7a9e
mov eax, 0x80070057
jmp 0x1800a7bdf
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx esi, ax
mov byte [rsp + 0x130], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x131]
call fcn.1800be330
lea rcx, [rsp + 0x130]
call qword [sym.imp.USER32.dll_GetKeyboardState]
cmp qword [0x180278750], 0
jne 0x1800a7af2
mov ecx, 1
call fcn.1800b543c
mov qword [0x180278750], rax
mov rax, qword [0x18027b278]
test rax, rax
jne 0x1800a7b22
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7b1b
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
lea r9, [rsp + 0x130]
mov r8, r14
mov edx, ebp
mov rcx, rax
call fcn.18003b560
mov ebx, eax
cmp qword [0x180278750], 0
jne 0x1800a7b54
mov ecx, 1
call fcn.1800b543c
mov qword [0x180278750], rax
mov rax, qword [0x18027b278]
test rax, rax
jne 0x1800a7b84
mov ecx, 0x358
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7b7d
mov rcx, rax
call fcn.18003a340
nop
mov qword [0x18027b278], rax
mov dword [rax + 0x1e8], 0
xor eax, eax
test si, si
js 0x1800a7b9a
test ebx, ebx
setne al
mov dword [rdi], eax
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a7bca
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1800a7bc3
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
mov r9d, dword [rdi]
mov r8d, 3
mov edx, ebp
mov rcx, rax
call fcn.1800a0bc0
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x240
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret