Function at 0x1800a7c00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x168
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, r9
mov rdi, r8
mov r14, rdx
mov r12, rcx
mov rsi, qword [rsp + 0x1d0]
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a7c71
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7c6a
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
mov dword [rax + 0x38], 1
mov rcx, r14
call fcn.1800abdd0
call fcn.18009ccd0
mov rbx, rax
lea r15, [r12 - 0x18]
mov qword [rax + 0x20], r15
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x18], 6
mov rax, qword [0x18027b390]
test rax, rax
jne 0x1800a7cd1
mov ecx, pe_nt_image_headers64
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7cca
mov rcx, rax
call fcn.1800b0b90
nop
mov qword [0x18027b390], rax
cmp byte [rax + 0x111], 0
je 0x1800a7e48
mov rcx, r15
call fcn.1800a89e0
mov rcx, qword [0x180278788]
test rcx, rcx
jne 0x1800a7d19
mov ecx, 8
call fcn.1800b543c
mov rcx, rax
test rax, rax
je 0x1800a7d10
lea rax, vtable.CShareConfigManager.0
mov qword [rcx], rax
jmp 0x1800a7d12
xor ecx, ecx
mov qword [0x180278788], rcx
mov rax, qword [rcx]
mov edx, 0xe4
call qword [rax]
cmp al, 1
je 0x1800a7e48
mov byte [rsp + 0x50], 0
xor edx, edx
mov r8d, 0xff
lea rcx, [rsp + 0x51]
call fcn.1800be330
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a7d7b
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7d74
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
mov r8, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, r8
movabs rbp, 0x2aaaaaaaaaaaaaab
mov rax, rbp
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800a7e09
cmp dword [r8], edi
jne 0x1800a7e09
cmp dword [r8 + 4], 2
jne 0x1800a7e09
call fcn.18009cd40
mov rbx, rax
mov rcx, rax
call fcn.1800a0cc0
test eax, eax
je 0x1800a7e2a
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r8
mov rax, rbp
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800a7e2a
cmp dword [r8], edi
jne 0x1800a7e2a
cmp dword [r8 + 4], 2
jne 0x1800a7e2a
cmp dword [r8 + 8], 0
jne 0x1800a7e2a
mov dword [rsi], 0
call fcn.18009cd40
xor r9d, r9d
jmp 0x1800a802a
call fcn.18009eca0
mov rcx, rax
lea r9, [rsp + 0x50]
mov r8, r13
mov edx, edi
call fcn.1800b1500
mov dword [rsi], eax
test eax, eax
je 0x1800a803a
call fcn.18009eca0
mov rcx, rax
lea r9, [rsp + 0x50]
mov r8d, r13d
mov edx, edi
call fcn.1800b16a0
mov dword [rsi], eax
jmp 0x1800a803a
mov r9, qword [0x18027b380]
test r9, r9
jne 0x1800a7e7e
lea ecx, [r9 + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7e74
mov rcx, rax
call fcn.1800a07f0
mov r9, rax
jmp 0x1800a7e77
xor r9d, r9d
mov qword [0x18027b380], r9
mov dword [r9 + 0x30], 1
mov r8, qword [r9]
mov rcx, qword [r9 + 8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800a7f09
cmp dword [r8], edi
jne 0x1800a7f09
cmp dword [r8 + 4], 2
jne 0x1800a7f09
mov r8d, 2
mov edx, edi
mov rcx, r9
call fcn.1800a0d80
test eax, eax
jne 0x1800a7f5d
mov dword [rsi], eax
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a8027
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7efd
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
jmp 0x1800a8027
mov rax, qword [r12]
mov qword [rsp + 0x20], rsi
mov r9, r13
mov r8, rdi
mov rdx, r14
mov rcx, r12
call qword [rax + 0x20]
cmp dword [rsi], 0
jne 0x1800a7f5d
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a8027
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7f51
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
jmp 0x1800a8027
mov ecx, 0x30
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800a7fb3
lea rax, vtable.CBaseEditSession.0
mov qword [rbx], rax
mov dword [rbx + 0x18], 1
mov qword [rbx + 8], r14
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
mov qword [rbx + 0x10], r15
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
lea rax, vtable.CKeyHandlerEditSession.0
mov qword [rbx], rax
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], r13
jmp 0x1800a7fb5
xor ebx, ebx
test rbx, rbx
je 0x1800a7fec
mov dword [rsp + 0x30], 0
mov rax, qword [r14]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
mov r9d, 6
mov r8, rbx
mov edx, dword [r12 + 0x40]
mov rcx, r14
call qword [rax + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov dword [rsi], 1
mov rax, qword [0x18027b380]
test rax, rax
jne 0x1800a8020
lea ecx, [rax + 0x40]
call fcn.1800b543c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1800a8019
mov rcx, rax
call fcn.1800a07f0
nop
mov qword [0x18027b380], rax
mov dword [rax + 0x30], 0
mov r9d, dword [rsi]
mov r8d, 1
mov edx, edi
mov rcx, rax
call fcn.1800a0bc0
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800b5370
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret