Function at 0x18008d960
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x40], esi
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x18008d9a0
lea rcx, str.Unknown_
call fcn.1800e8b00
jmp 0x18008df4f
xorps xmm6, xmm6
mov qword [rbp + 0x40], rsi
add rcx, 0x28
cmp qword [rcx + 0x18], 0xf
jbe 0x18008d9b5
mov rcx, qword [rcx]
xor r8d, r8d
lea rdx, [rbp + 0x40]
call fcn.1800e98a0
test al, al
je 0x18008da3b
lea rax, vtable.std::_Func_impl_no_alloc_class__public_virtual:_void___cdecl_YimMenu::CommandItem::Draw_void____ptr64::_8::_lambda_1___void___.0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdi
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x40], rax
call fcn.18001abd0
mov rbx, rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x68], rsi
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18008da14
mov rdx, qword [rcx]
mov r8, qword [rdx]
lea rdx, [rsp + 0x60]
call r8
mov qword [rbp - 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18006b370
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18008da3b
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rax, qword [rdi + 8]
lea rbx, str._Hotkey
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 9
lea rcx, [rax + 0x28]
cmp qword [rax + 0x40], 0xf
jbe 0x18008da63
mov rcx, qword [rax + 0x28]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x18], xmm0
movabs r14, 0xc000000000000000
mov qword [rbp - 0x20], r14
mov qword [rsp + 0x30], 1
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov dword [rbp + 0x40], 2
lea rdx, [rax + 9]
cmp rdx, 0xf
jbe 0x18008dad5
lea rcx, [rsp + 0x40]
call fcn.18001c4a0
mov qword [rsp + 0x50], rsi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm1
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x48]
call fcn.180037790
nop
mov rcx, qword [0x1801fbf58]
mov r9, qword [rcx + 0x3ea0]
cmp byte [rcx + 0x40f3], 0
je 0x18008db50
cmp byte [rcx + 0x40f2], 0
jne 0x18008db50
test byte [rcx + 0x3f70], 4
jne 0x18008dd7c
mov eax, dword [rcx + 0x40b8]
cmp eax, dword [rcx + 0x3f6c]
jne 0x18008dd7c
test eax, eax
jne 0x18008dc28
jmp 0x18008dd7c
mov eax, dword [rcx + 0x3f74]
test al, 1
je 0x18008dd7c
cmp qword [rcx + 0x3ea8], r9
je 0x18008db6f
test al, al
jns 0x18008dd7c
mov eax, dword [rcx + 0x3eec]
test eax, eax
je 0x18008db94
cmp eax, dword [rcx + 0x3f6c]
je 0x18008db94
cmp byte [rcx + 0x3ef9], 0
jne 0x18008db94
cmp eax, dword [r9 + 0x5c]
jne 0x18008dd7c
mov rdx, qword [rcx + 0x40b0]
test rdx, rdx
je 0x18008dc01
mov rdx, qword [rdx + 0x358]
test rdx, rdx
je 0x18008dc01
cmp byte [rdx + 0x97], 0
je 0x18008dc01
mov rax, qword [r9 + 0x358]
cmp rdx, rax
je 0x18008dc01
mov r8d, dword [rdx + 0xc]
bt r8d, 0x1b
jb 0x18008dbd3
bt r8d, 0x1a
jae 0x18008dc01
cmp qword [rax + 0x358], rdx
je 0x18008dc01
nop dword [rax]
cmp rax, rdx
je 0x18008dc01
mov rax, qword [rax + 0x350]
test rax, rax
jne 0x18008dbe0
test dword [rcx + 0x3f70], 0x100
je 0x18008dd7c
test byte [rcx + 0x3f70], 4
jne 0x18008dd7c
mov eax, dword [r9 + 0x5c]
cmp dword [rcx + 0x3f6c], eax
jne 0x18008dc28
cmp byte [r9 + 0x98], 0
jne 0x18008dd7c
mov rcx, qword [rdi + 8]
add rcx, 0x48
cmp qword [rcx + 0x18], 0xf
jbe 0x18008dc3a
mov rcx, qword [rcx]
call fcn.1800df2e0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18008dd75
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 9
lea rcx, [rax + 0x28]
cmp qword [rax + 0x40], 0xf
jbe 0x18008dc74
mov rcx, qword [rax + 0x28]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp], xmm0
mov qword [rbp - 8], r14
mov qword [rsp + 0x20], 1
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov dword [rbp + 0x40], 9
lea rdx, [rax + 9]
cmp rdx, 0xf
jbe 0x18008dcdc
lea rcx, [rsp + 0x60]
call fcn.18001c4a0
mov qword [rsp + 0x70], rsi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x48]
call fcn.180037790
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call fcn.1800df380
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18008dd62
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dd5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008dd5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rcx, qword [0x1801fbf58]
or dword [rcx + 0x3fa8], 2
mov dword [rcx + 0x3fc8], 0x43fa0000
mov dword [rcx + 0x3fcc], 0x42f00000
mov dword [rcx + 0x3fb0], 1
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
mov r8d, 0xa
call fcn.1800dfa10
test al, al
je 0x18008df0f
lea rcx, str.Hold_the_command_name_clicked_to_change_its_hotkey
call fcn.1800e8dc0
lea rcx, str.Press_any_registered_key_to_remove
call fcn.1800e8dc0
mov rax, qword [0x1801fbf58]
mov rax, qword [rax + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x18008de06
mov eax, dword [rax + 0x194]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.1800eb470
mov rax, qword [rdi + 8]
mov ecx, dword [rax + 0x68]
lea rax, vtable.YimMenu::HotkeySetter.0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x20]
call fcn.18008e1b0
mov rcx, qword [0x1801fbf58]
mov rax, qword [rcx + 0x3ea0]
mov byte [rax + 0x98], 1
mov rax, qword [rcx + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x18008de65
mov qword [rbp + 0x40], 0
movss xmm1, dword [0x1801961d0]
lea rcx, [rbp + 0x40]
call fcn.1800ddea0
mov qword [rbp + 0x40], 0
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea rcx, str.Close
call fcn.1800e98a0
test al, al
jne 0x18008debe
call fcn.1800dca20
test al, al
jne 0x18008dec3
mov rax, qword [0x1801fbf58]
cmp dword [rax + 0x3ed8], 0
jne 0x18008dec3
cmp dword [rax + 0x3edc], 0
jne 0x18008dec3
cmp byte [rax + 0xe04], 0
je 0x18008dec3
movss xmm0, dword [rax + 0x3768]
ucomiss xmm0, xmm6
jp 0x18008dec3
jne 0x18008dec3
call fcn.1800df870
mov rbx, qword [0x1801fbf58]
mov rax, qword [rbx + 0x3ea0]
cmp qword [rbx + 0x40b0], rax
jne 0x18008def3
cmp byte [rbx + 0x410d], 0
je 0x18008def3
cmp dword [rbx + 0x40ec], 0
jne 0x18008def3
or dword [rbx + 0x4110], 2
test dword [rax + 0xc], 0x1000000
je 0x18008df03
mov byte [rbx + 0x3e2e], 1
call fcn.1800dbea0
mov byte [rbx + 0x3e2e], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18008df4f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008df4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008df4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180111228
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret