Function at 0x1800696a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1e8], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov qword [rbp + 0x60], r9
mov qword [rbp - 0x28], r8
mov r15, rcx
mov r13, qword [rbp + 0x100]
mov qword [rbp + 0x70], r13
mov rcx, qword [rbp + 0x108]
mov qword [rbp - 0x40], rcx
mov r9, qword [rbp + 0x110]
mov qword [rbp - 0x30], r9
mov rax, qword [rbp + 0x118]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0x48], rax
mov rsi, qword [rbp + 0x128]
mov qword [rbp - 0x20], rsi
mov qword [rbp + 0x78], rsi
mov rdi, qword [rbp + 0x130]
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x80], rdi
mov r12, qword [rbp + 0x138]
mov qword [rbp + 0x88], r12
mov rax, qword [0x18048a418]
mov qword [rbp + 0x50], rax
cmp byte [r15 + 0x58], 0
jne 0x180069f2d
mov byte [r15 + 0x58], 1
mov qword [r15 + 0x28], rcx
lea rdx, [0x180488a90]
mov ecx, 0xc0
call fcn.180299940
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180069794
mov rcx, rax
call fcn.1800caa50
mov rbx, rax
jmp 0x180069796
xor ebx, ebx
mov rcx, qword [r15 + 0x20]
cmp rcx, rbx
je 0x1800697c2
test rbx, rbx
je 0x1800697b0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [r15 + 0x20]
test rcx, rcx
je 0x1800697bb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [r15 + 0x20], rbx
mov rcx, rbx
test rcx, rcx
je 0x180069f2d
cmp qword [r15 + 0x28], 0
je 0x180069f2d
mov ecx, 0xdf50
call fcn.1802994e4
mov rbx, rax
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0xdf50
mov rcx, rax
call fcn.18029c350
mov rcx, rbx
call fcn.180079580
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.18006a3a0
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [r15]
mov qword [rsp + 0x70], rax
mov qword [r15], rcx
mov rax, qword [rsp + 0x78]
mov rbx, qword [r15 + 8]
mov qword [rsp + 0x78], rbx
mov qword [r15 + 8], rax
mov r14d, 0xffffffff
test rbx, rbx
je 0x180069874
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069874
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069874
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [r15], 0
je 0x180069917
lea rax, [rbp - 0x18]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1800698a9
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 8]
mov rax, qword [rsi]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rcx
movdqu xmmword [rbp - 8], xmm0
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1800698ca
lock inc dword [rcx + 8]
mov rcx, qword [r13 + 8]
mov rax, qword [r13]
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov r9, qword [r15 + 0x20]
mov rcx, qword [r15]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.180079a20
lea rdx, [0x180488a90]
mov ecx, 0xa0
call fcn.180299940
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18006999f
lea rax, vtable.RC::IWebBusinessAgent.0
mov qword [rbx], rax
lea rax, vtable.RC::RCWebBusinessAgent.0
mov qword [rbx], rax
mov ecx, 0x28
call fcn.1802994e4
mov qword [rbx + 8], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rcx, [rbx + 0x10]
lea rax, [fcn.1800337e0]
mov qword [rsp + 0x20], rax
lea r9, [fcn.180037940]
mov edx, 0x10
lea r8d, [rdx - 8]
call fcn.180299ccc
nop
mov qword [rbx + 0x90], 0
mov qword [rbx + 0x98], 0
jmp 0x1800699a1
xor ebx, ebx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18006a410
nop
mov rcx, qword [rbp - 0x80]
mov rax, qword [r15 + 0x48]
mov qword [rbp - 0x80], rax
mov qword [r15 + 0x48], rcx
mov rax, qword [rbp - 0x78]
mov rbx, qword [r15 + 0x50]
mov qword [rbp - 0x78], rbx
mov qword [r15 + 0x50], rax
test rbx, rbx
je 0x180069a08
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069a08
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069a08
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x180069f0d
lea rax, [rbp + 8]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov rdx, qword [r12 + 8]
test rdx, rdx
je 0x180069a39
lock inc dword [rdx + 0xc]
mov rdx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rdx
mov rax, qword [rcx]
lea rdx, [rbp + 8]
call qword [rax]
test al, al
je 0x180069f0d
mov ecx, 0x38
call fcn.1802994e4
mov rbx, rax
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
lea rax, vtable.RC::IRefCount.0
mov qword [rbx], rax
lea rax, vtable.RC::IInputNotify.0
mov qword [rbx], rax
lea rax, vtable.RC::RCRefCounted.0
mov qword [rbx + 8], rax
xor ecx, ecx
mov dword [rbx + 0x10], ecx
lea rax, vtable.RC::RCRefCountImpl1_class_RC::IInputNotify_.0
mov qword [rbx], rax
lea rax, vtable.RC::RCRefCountImpl1_class_RC::IInputNotify_.1.0
mov qword [rbx + 8], rax
lea rax, vtable.RC::RCInputNotify.1.0
mov qword [rbx], rax
lea rax, vtable.RC::RCInputNotify.0
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov qword [rbx + 0x30], rcx
cmp qword [r15 + 0x30], rbx
je 0x180069b01
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [r15 + 0x30]
test rcx, rcx
je 0x180069afd
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [r15 + 0x30], rbx
cmp qword [r15 + 0x30], 0
je 0x180069bbc
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x180069b2e
lock inc dword [rcx + 8]
mov rcx, qword [r15 + 8]
mov rax, qword [r15]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
mov rdi, qword [r15 + 0x20]
mov rbx, qword [r15 + 0x30]
mov rcx, qword [rbx + 0x18]
cmp rcx, rdi
je 0x180069b73
test rdi, rdi
je 0x180069b64
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180069b6f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x18], rdi
lea rcx, [rbx + 0x20]
lea rdx, [rbp - 0x60]
call fcn.180039210
mov rax, qword [rbp - 0x40]
mov qword [rbx + 0x30], rax
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x180069bbc
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069bbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069bbc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 0x30
call fcn.1802994e4
mov rbx, rax
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
lea rax, vtable.RC::IRefCount.0
mov qword [rbx], rax
lea rax, vtable.RC::ICloudProcessor.0
mov qword [rbx], rax
lea rax, vtable.RC::RCRefCounted.0
mov qword [rbx + 8], rax
xor ecx, ecx
mov dword [rbx + 0x10], ecx
lea rax, vtable.RC::RCRefCountImpl1_class_RC::ICloudProcessor_.1.0
mov qword [rbx], rax
lea rax, vtable.RC::RCRefCountImpl1_class_RC::ICloudProcessor_.0
mov qword [rbx + 8], rax
lea rax, vtable.RC::RCCloudProcessor.0
mov qword [rbx], rax
lea rax, vtable.RC::RCCloudProcessor.1.0
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp qword [r15 + 0x38], rbx
je 0x180069c5f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180069c5b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [r15 + 0x38], rbx
cmp qword [r15 + 0x38], 0
je 0x180069d13
lea rax, [rbp - 0x50]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x180069c8c
lock inc dword [rcx + 8]
mov rcx, qword [r15 + 8]
mov rax, qword [r15]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
mov rbx, qword [r15 + 0x20]
mov rdi, qword [r15 + 0x38]
mov rcx, qword [rdi + 0x18]
cmp rcx, rbx
je 0x180069cd1
test rbx, rbx
je 0x180069cc2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180069ccd
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rdi + 0x18], rbx
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x50]
call fcn.180039210
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x180069d13
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069d13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069d13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x180069d48
mov rdx, rax
lea rcx, [r15 + 0x40]
call fcn.1800394c0
mov rsi, qword [r15 + 0x40]
mov rbx, qword [r15 + 0x38]
mov rdi, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov r8, rbx
mov rcx, rsi
call qword [rdi + 0x38]
mov rsi, qword [rbp - 0x20]
mov rcx, qword [r15 + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x78]
mov byte [rbp + 0x90], al
mov ecx, 0x18
call fcn.1802994e4
mov qword [rsp + 0x60], rax
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
lea rcx, vtable.RC::IMouseHook.0
mov qword [rax], rcx
lea rcx, vtable.RC::RCMouseHook.0
mov qword [rax], rcx
mov qword [rax + 0x10], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18006a480
nop
mov rcx, qword [rbp - 0x70]
mov rax, qword [r15 + 0x10]
mov qword [rbp - 0x70], rax
mov qword [r15 + 0x10], rcx
mov rax, qword [rbp - 0x68]
mov rbx, qword [r15 + 0x18]
mov qword [rbp - 0x68], rbx
mov qword [r15 + 0x18], rax
test rbx, rbx
je 0x180069df4
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069df4
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069df4
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [r15 + 0x10], 0
je 0x180069e25
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x180069e1b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x180069e25
mov rcx, qword [r15 + 0x10]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x68], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x20], rax
mov rbx, qword [r15 + 0x20]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x180069e5e
lock inc dword [rcx + 0xc]
mov rcx, qword [r12 + 8]
mov rax, qword [r12]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rcx
movdqu xmmword [rbp + 0x28], xmm0
mov rcx, qword [r15 + 0x50]
test rcx, rcx
je 0x180069e80
lock inc dword [rcx + 0xc]
mov rcx, qword [r15 + 0x50]
mov rax, qword [r15 + 0x48]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rcx
movdqu xmmword [rbp + 0x38], xmm0
mov rdi, qword [rbp + 0x58]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180069ea6
lock inc dword [rcx + 0xc]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rcx
mov rax, qword [r15 + 0x10]
mov r10, qword [r15 + 0x30]
mov r11, qword [rbx]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r10
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x30]
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call qword [r11 + 0x20]
test al, al
jne 0x180069f0f
jmp 0x180069f33
mov rcx, qword [r15 + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
je 0x180069f0d
mov rcx, qword [r15 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0xd8]
nop
jmp 0x180069f33
mov r14d, 0xffffffff
mov rbx, qword [r13 + 8]
test rbx, rbx
je 0x180069f68
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069f68
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069f68
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x180069f9d
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180069f9d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180069f9d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180069fba
mov eax, r14d
lock xadd dword [rcx + 0xc], eax
cmp eax, 1
jne 0x180069fba
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x180069fd6
lock xadd dword [rcx + 0xc], r14d
cmp r14d, 1
jne 0x180069fd6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret