Function at 0x1800853e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, qword [rdx]
cmp rax, qword [0x180333460]
jne 0x1800853fd
mov rax, qword [rdx + 8]
cmp rax, qword [0x180333468]
je 0x180085640
mov rax, qword [rdx]
cmp rax, qword [0x1803336f0]
jne 0x18008541a
mov rax, qword [rdx + 8]
cmp rax, qword [0x1803336f8]
je 0x1800859c0
xor eax, eax
ret
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r14, rcx
xor ebp, ebp
mov rcx, qword [0x18048a410]
test rcx, rcx
jne 0x180085692
lea eax, [rbp + 1]
jmp 0x18008598f
mov qword [rsp + 0x78], rbp
call fcn.180045b10
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1800856b2
mov rax, qword [rax]
mov rcx, rsi
call qword [rax]
nop
test rsi, rsi
je 0x18008597a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x18008597a
mov rcx, qword [0x18048a410]
call fcn.180045750
mov rdi, rax
test rax, rax
je 0x18008597a
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.18006a330
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18008593d
mov rax, qword [rcx]
call qword [rax]
mov r13, rax
test rax, rax
je 0x18008593d
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18008593d
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r15, rax
test rax, rax
je 0x18008593d
mov qword [rsp + 0x58], rbp
mov rdi, qword [rdi + 0x20]
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x18008576f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
nop
test rdi, rdi
je 0x180085928
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x180085928
mov rcx, qword [0x18048a410]
call fcn.180045ed0
mov r12, rax
test rax, rax
je 0x180085928
lea rdx, [0x180333460]
mov rcx, r14
call fcn.180085b80
mov ebx, eax
test eax, eax
setne byte [rsp + 0x30]
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov word [rsp + 0x32], ax
test ebx, ebx
je 0x180085848
cmp byte [r14 + 0x34], 0
je 0x1800857f1
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
sete r8b
jmp 0x18008580c
cmp byte [r14 + 0x35], 0
jne 0x180085809
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0xc0]
test al, al
jne 0x180085817
mov r8b, 1
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x70]
mov rax, qword [rdi]
movzx r8d, byte [rsp + 0x32]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r13]
xor edx, edx
mov rcx, r13
call qword [rax]
jmp 0x180085909
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x28]
test al, al
je 0x18008585e
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x68]
mov byte [r14 + 0x35], al
mov rax, qword [rdi]
mov dl, 1
mov rcx, rdi
call qword [rax + 0xa8]
mov rax, qword [rdi]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x70]
mov rax, qword [rdi]
movzx r8d, byte [rsp + 0x32]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x70]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x20]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x70]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x10]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x90]
test al, al
jne 0x180085909
call fcn.180037770
test rax, rax
je 0x180085909
mov rbx, qword [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov qword [rsp + 0x20], r12
mov r9, rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.180036a30
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x180085921
cmp qword [rax + 0x50], 0
je 0x180085921
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x78], cl
mov byte [r14 + 0x34], 0
jmp 0x18008592d
mov ebp, 1
test rdi, rdi
je 0x180085942
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x180085942
mov ebp, 1
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x18008597f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18008597f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18008597f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x18008597f
mov ebp, 1
test rsi, rsi
je 0x18008598d
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1802994c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rbp, rcx
xor ebx, ebx
mov rcx, qword [0x18048a410]
test rcx, rcx
jne 0x1800859fd
mov eax, 1
jmp 0x180085b62
call fcn.180045750
mov rsi, rax
test rax, rax
je 0x1800859f3
mov qword [rsp + 0x68], rbx
mov rdi, qword [rax + 0x20]
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x180085a26
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
nop
test rdi, rdi
jne 0x180085a33
lea ebx, [rdi + 1]
jmp 0x180085b52
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18006a330
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180085b16
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, rax
test rax, rax
je 0x180085b16
mov rcx, qword [0x18048a410]
call fcn.180045b10
mov r15, rax
test rax, rax
je 0x180085b16
lea rdx, [0x1803336f0]
mov rcx, rbp
call fcn.180085b80
mov esi, eax
movzx r8d, al
and r8b, 1
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x70]
mov r8d, esi
shr r8d, 0xa
and r8b, 1
mov rax, qword [rdi]
mov edx, 3
mov rcx, rdi
call qword [rax + 0x70]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x58]
mov rcx, rax
test rax, rax
je 0x180085af6
mov rax, qword [rax]
call qword [rax + 0x60]
test al, 0x10
je 0x180085af6
shr esi, 3
and sil, 1
mov rax, qword [rdi]
movzx r8d, sil
mov edx, 2
mov rcx, rdi
call qword [rax + 0x70]
lea rdx, [0x180333460]
mov rcx, rbp
call fcn.180085b80
mov r8, qword [r14]
test eax, eax
sete dl
mov rcx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x180085b1b
mov ebx, 1
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x180085b52
mov ebp, 0xffffffff
mov eax, ebp
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180085b52
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebp
cmp ebp, 1
jne 0x180085b52
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
test rdi, rdi
je 0x180085b60
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret