Function at 0x18011b930
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, rcx
xor edi, edi
mov dword [rbp - 0x51], edi
mov rcx, qword [rcx + 0xe0]
test rcx, rcx
je 0x18011bdaa
cmp dword [r15 + 0x17c], 3
jne 0x18011b99b
mov rax, qword [rcx]
call qword [rax + 0x50]
test rax, rax
je 0x18011bdaa
mov rcx, qword [r15 + 0x300]
test rcx, rcx
je 0x18011bacc
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
call qword [rax + 0x70]
mov r10, rax
test rax, rax
je 0x18011bacc
mov rax, rdi
mov rcx, qword [r15 + 0x300]
test rcx, rcx
je 0x18011b9da
mov edx, 0x12c
call fcn.18021f800
cmp r10, rax
jne 0x18011bacc
mov dword [rsp + 0x20], edi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, r10
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rbx, rax
test rax, rax
je 0x18011bacc
mov rcx, qword [rbp + 0x77]
mov qword [rbp - 0x59], rcx
lea rdx, [r15 + 0x88]
test r15, r15
cmove rdx, rdi
mov r9d, edi
mov r10d, edi
mov r8, rax
nop word [rax + rax]
cmp r8, rdx
je 0x18011ba46
add r10d, dword [r8 + 0x30]
add r9d, dword [r8 + 0x2c]
mov r8, qword [r8 + 8]
test r8, r8
jne 0x18011ba30
test rdx, rdx
je 0x18011ba6e
test r8, r8
jne 0x18011ba6e
mov qword [rbp - 0x49], rdi
xor r9d, r9d
lea r8, [rbp - 0x49]
mov rcx, rbx
call fcn.18021f470
mov ecx, dword [rbp - 0x55]
sub ecx, dword [rbp - 0x45]
mov eax, dword [rbp - 0x49]
jmp 0x18011bab2
mov eax, dword [rbp + 0x7b]
sub eax, r10d
sub ecx, r9d
mov dword [rbp - 0x59], ecx
mov dword [rbp - 0x55], eax
test rdx, rdx
jne 0x18011bab8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x18011bab8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov r9, qword [rax]
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, rax
call qword [r9 + 0x10]
mov ecx, dword [rbp - 0x55]
sub ecx, dword [rbp - 0xd]
mov eax, dword [rbp - 0x11]
mov dword [rbp - 0x55], ecx
sub dword [rbp - 0x59], eax
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.18014bc10
test al, al
jne 0x18011bdaa
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x18011bb15
cmp dword [r15 + 0x17c], 2
je 0x18011bb15
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0x11be
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x18011bdaa
mov rcx, qword [r15 + 0xd8]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x18011bdaa
cmp byte [r15 + 0x81], dil
jne 0x18011bdaa
mov ecx, dword [r15 + 0x17c]
lea eax, [rcx - 2]
cmp eax, r13d
jbe 0x18011bb4b
cmp ecx, r13d
jne 0x18011bb6e
mov edx, 0x50009
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, qword [r15 + 0x118]
call qword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [r15 + 0x17c]
cmp ecx, 2
je 0x18011bc8e
mov rbx, qword [r15 + 0x2f0]
mov qword [rbp - 0x59], rbx
test rbx, rbx
je 0x18011bb90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
test rbx, rbx
je 0x18011bc7f
mov rax, qword [rbx]
lea rdx, [rbp - 1]
mov rcx, rbx
call qword [rax + 0x68]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
mov r12, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x18011bbc8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx]
nop
test r12, r12
je 0x18011bc1b
mov rax, qword [r12]
xor edx, edx
mov rcx, r12
call qword [rax + pe_nt_image_headers64]
cmp eax, 2
sete r14b
lea rax, [rbp - 0x31]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.180004ad0
mov rsi, rax
mov rdi, qword [r15 + 0xd8]
call fcn.18010e280
mov rcx, rax
movzx r9d, r14b
mov r8, rsi
mov rdx, rdi
call fcn.18025cad0
xor edi, edi
test r12, r12
je 0x18011bc2b
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x18011bc6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18011bc69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18011bc69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], di
test rbx, rbx
je 0x18011bc8e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
xor edx, edx
mov rcx, qword [r15 + 0xd8]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rbx, rax
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x51], r13d
call fcn.180021ef0
mov rcx, rax
mov rdx, rbx
call fcn.1800b7160
and r13d, 0xfffffffe
mov dword [rbp - 0x51], r13d
mov rcx, r15
call fcn.1801261a0
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [r15 + 0x17c], 0
sete bl
call fcn.180021ef0
mov rcx, rax
movzx r8d, bl
mov rdx, qword [r15 + 0xf0]
call fcn.1800b5430
nop
xor edx, edx
mov rcx, qword [r15 + 0xd8]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov rdi, rax
mov qword [rbp - 0x41], rax
or r13d, 2
mov dword [rbp - 0x51], r13d
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
call fcn.180021ef0
mov rcx, rax
mov qword [rsp + 0x28], rbx
mov edx, dword [rbp - 0x45]
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x49]
mov rdx, rdi
call fcn.1800b58f0
mov ebx, eax
and r13d, 0xfffffffd
mov dword [rbp - 0x51], r13d
test eax, eax
je 0x18011bd77
mov edx, ebx
mov rcx, r15
call fcn.180126920
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
mov r8d, ebx
mov edx, VarUI4FromDisp
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [r15 + 0x17c]
dec eax
cmp eax, 2
ja 0x18011bdaa
mov rcx, qword [r15 + 0x118]
call qword [sym.imp.USER32.dll_SetCursor]
xor r9d, r9d
mov edx, 0x50009
mov r8d, 0x1f4
mov rcx, qword [r15 + 8]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret