Function at 0x140098b60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov r15, rcx
lea rbx, [rcx - 0x5c0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x220]
test al, al
je 0x1400991cd
mov eax, dword [r14 + 8]
cmp eax, 0x101
jne 0x140098bd0
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.140092dc0
mov eax, dword [r14 + 8]
cmp eax, 0x100
jne 0x140098be9
mov r8b, 1
mov rdx, r14
mov rcx, rbx
call fcn.140092dc0
mov eax, dword [r14 + 8]
cmp eax, 0x104
jne 0x140098c0b
mov ecx, reloc.SHELL32.dll_ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140098c0b
mov rdx, r14
mov rcx, rbx
call fcn.140092be0
mov eax, dword [r14 + 8]
cmp eax, 0x20c
jne 0x140098cdf
movzx eax, word [r14 + 0x12]
cmp ax, 1
jne 0x140098c77
xor edx, edx
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140098cd8
xor esi, esi
mov eax, dword [rbx + 0x6a8]
test eax, eax
jle 0x140098c57
dec eax
mov dword [rbx + 0x6a8], eax
mov esi, eax
mov dword [rbx + 0x6ac], eax
movsxd rax, esi
mov rdx, qword [rbx + 0x680]
mov rdx, qword [rdx + rax*8]
xor r8d, r8d
mov rcx, rbx
call fcn.140093a80
xor eax, eax
jmp 0x1400991d2
cmp ax, 2
jne 0x140098cd8
mov edx, 1
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140098cd8
xor esi, esi
mov rcx, qword [rbx + 0x680]
mov edx, dword [rbx + 0x6a8]
mov rax, qword [rbx + 0x688]
sub rax, rcx
sar rax, 3
dec eax
cmp edx, eax
jge 0x140098cc6
lea eax, [rdx + 1]
mov dword [rbx + 0x6a8], eax
mov esi, eax
mov dword [rbx + 0x6ac], eax
movsxd rdx, esi
mov rdx, qword [rcx + rdx*8]
xor r8d, r8d
mov rcx, rbx
call fcn.140093a80
xor eax, eax
jmp 0x1400991d2
cmp eax, 0x207
jne 0x140098d17
mov rdi, qword [r14 + 0x18]
mov rsi, qword [r14 + 0x10]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
mov rcx, rax
call fcn.1400592e0
mov r9, rdi
mov r8, rsi
mov edx, 0x455
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [r14 + 8]
xor esi, esi
cmp eax, 0x202
jne 0x140098d97
lea rcx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rbp + 0x1f]
mov rcx, qword [r15 + 0x48]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rbp + 0x17]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140098d97
mov qword [rbp - 0x39], rsi
mov dword [rbp - 0x41], esi
lea rdx, [rbp - 0x51]
mov rcx, rbx
call fcn.140094bb0
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x69], rcx
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x61], rcx
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.1400910d0
cmp dword [rbp - 0x41], esi
jne 0x140098d87
mov rcx, rbx
call fcn.1400985a0
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140098d97
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
cmp dword [r14 + 8], 0x100
jne 0x140098f6d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140098e5f
mov ecx, ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140098e5f
cmp qword [r14 + 0x10], 0x4e
jne 0x140098e5f
mov rcx, qword [r15 + 0x20]
test rcx, rcx
jne 0x140098dee
mov ecx, 0x80004001
movsxd rax, ecx
jmp 0x1400991d2
mov qword [rbp - 0x39], rsi
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
lea rdx, [0x14020e2d8]
call qword [rax]
mov ebx, eax
test eax, eax
je 0x140098e15
mov ecx, 1
movsxd rax, ecx
jmp 0x1400991d2
xor eax, eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x29]
call fcn.140026c60
nop
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.1400276c0
mov ecx, 1
test al, al
cmove ebx, ecx
lea rcx, [rbp - 0x29]
call fcn.14000a910
mov ecx, ebx
movsxd rax, ebx
jmp 0x1400991d2
cmp dword [r14 + 8], 0x100
jne 0x140098f6d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140098e8c
cmp qword [r14 + 0x10], 0x44
jne 0x140098e8c
mov rcx, rbx
call fcn.1400985a0
cmp dword [r14 + 8], 0x100
jne 0x140098f6d
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140098f0f
cmp qword [r14 + 0x10], 0x56
jne 0x140098f0f
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rdi
jne 0x140098f0f
mov rcx, rbx
call fcn.1400985a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0xa2
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x56
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x56
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0xa2
call qword [sym.imp.USER32.dll_keybd_event]
cmp dword [r14 + 8], 0x100
jne 0x140098f6d
cmp qword [r14 + 0x10], 0x5a
jne 0x140098f6d
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rdi
jne 0x140098f6d
mov rcx, rbx
call fcn.1400985a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0xa2
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x5a
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 0x5a
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [r14 + 8]
cmp ecx, 0x100
jne 0x140098fa4
cmp qword [r14 + 0x10], 0x2e
jne 0x140098f94
mov rcx, rbx
call fcn.1400985a0
mov ecx, dword [r14 + 8]
cmp ecx, 0x100
jne 0x140098fa4
mov ecx, 0x100
cmp qword [r14 + 0x10], 0x20
je 0x140098cd8
cmp byte [r15 + 0x114], 0
je 0x140099000
mov rdx, qword [r14 + 0x10]
cmp rdx, 0x28
ja 0x140099000
movabs rax, 0x14008002000
bt rax, rdx
jae 0x140099000
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x39], rdx
mov dword [rbp - 0x41], ecx
mov rcx, qword [r15 + 0x150]
test rcx, rcx
je 0x1400993db
mov rax, qword [rcx]
lea r9, [rbp + 0x17]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x41]
call qword [rax + ILClone]
xor eax, eax
jmp 0x1400991d2
cmp ecx, 0x100
jne 0x140099060
cmp qword [r14 + 0x10], 0x74
jne 0x1400991f5
call fcn.14007f800
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_eba7954aacb5d91293e4f46a95be6d6e___void___.0
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x29]
mov qword [rbp + 0xf], rcx
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140046e40
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140098cd8
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor eax, eax
jmp 0x1400991d2
cmp ecx, 0x20a
jne 0x1400991f5
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400991f5
mov eax, 0xff00
mov rcx, rbx
test word [r14 + 0x12], ax
jbe 0x14009912c
call fcn.140094f60
mov edi, eax
mov ecx, esi
mov r9, qword [r15 + 0x188]
mov r8, qword [r15 + 0x190]
sub r8, r9
sar r8, 2
test r8, r8
je 0x1400990e5
mov rdx, r9
nop dword [rax]
cmp dword [rdx], edi
je 0x1400990d4
inc ecx
add rdx, 4
movsxd rax, ecx
cmp rax, r8
jb 0x1400990c0
jmp 0x1400990e5
movsxd rdx, ecx
lea rax, [r8 - 1]
cmp rdx, rax
jae 0x1400990e5
mov edi, dword [r9 + rdx*4 + 4]
call fcn.14007f800
lea rcx, [0x1400986a0]
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x61], esi
lea rcx, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void_____thiscall_DuiLib::CExplorerBrowserUI::__unsigned_int___class_DuiLib::CExplorerBrowserUI____ptr64__int____ptr64___void___.0
mov qword [rbp - 0x29], rcx
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x21], xmm0
mov dword [rbp - 0x11], edi
mov qword [rbp - 9], rbx
lea rcx, [rbp - 0x29]
mov qword [rbp + 0xf], rcx
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140046e40
nop
jmp 0x1400991b4
call fcn.140094f60
mov edi, eax
mov ecx, esi
mov r9, qword [r15 + 0x188]
mov r8, qword [r15 + 0x190]
sub r8, r9
sar r8, 2
test r8, r8
je 0x140099172
mov rdx, r9
cmp dword [rdx], edi
je 0x140099166
inc ecx
add rdx, 4
movsxd rax, ecx
cmp rax, r8
jb 0x140099152
jmp 0x140099172
test ecx, ecx
jle 0x140099172
movsxd rax, ecx
mov edi, dword [r9 + rax*4 - 4]
call fcn.14007f800
lea rcx, [0x1400986a0]
mov qword [rbp - 0x69], rcx
mov dword [rbp - 0x61], esi
lea rcx, vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__void_____thiscall_DuiLib::CExplorerBrowserUI::__unsigned_int___class_DuiLib::CExplorerBrowserUI____ptr64__int____ptr64___void___.0
mov qword [rbp - 0x29], rcx
movups xmm0, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x21], xmm0
mov dword [rbp - 0x11], edi
mov qword [rbp - 9], rbx
lea rcx, [rbp - 0x29]
mov qword [rbp + 0xf], rcx
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140046e40
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400991cd
lea rdx, [rbp - 0x29]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov eax, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp qword [r15 + 0x20], 0
je 0x1400991cd
cmp qword [r15 + 0x40], 0
je 0x1400991cd
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
je 0x1400991cd
nop
cmp rax, qword [r15 + 0x40]
je 0x140099226
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
jne 0x140099210
jmp 0x1400991cd
cmp dword [r14 + 8], 0x100
jne 0x140099297
cmp qword [r14 + 0x10], 8
jne 0x140099297
mov rax, qword [r15 + 0xb8]
mov rcx, qword [rax + 0x6c0]
mov rax, qword [rcx]
call qword [rax + 0x220]
test al, al
jne 0x140099297
xor edx, edx
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140099297
mov eax, esi
mov ecx, dword [rbx + 0x6a8]
test ecx, ecx
jle 0x14009927f
lea eax, [rcx - 1]
mov dword [rbx + 0x6a8], eax
mov dword [rbx + 0x6ac], eax
cdqe
mov rdx, qword [rbx + 0x680]
xor r8d, r8d
mov rdx, qword [rdx + rax*8]
mov rcx, rbx
call fcn.140093a80
cmp dword [r14 + 8], 0x104
jne 0x1400991cd
mov ecx, reloc.SHELL32.dll_ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400992f1
cmp qword [r14 + 0x10], 0x26
jne 0x1400992f1
mov edx, 2
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140098cd8
mov rdx, qword [rbx + 0x680]
mov r8b, 1
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.140093a80
xor eax, eax
jmp 0x1400991d2
mov ecx, reloc.SHELL32.dll_ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140099358
cmp qword [r14 + 0x10], 0x25
jne 0x140099358
xor edx, edx
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140098cd8
mov eax, dword [rbx + 0x6a8]
test eax, eax
jle 0x140099338
dec eax
mov dword [rbx + 0x6a8], eax
mov esi, eax
mov dword [rbx + 0x6ac], eax
movsxd rax, esi
mov rdx, qword [rbx + 0x680]
xor r8d, r8d
mov rdx, qword [rdx + rax*8]
mov rcx, rbx
call fcn.140093a80
xor eax, eax
jmp 0x1400991d2
mov ecx, reloc.SHELL32.dll_ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400991cd
cmp qword [r14 + 0x10], 0x27
jne 0x1400991cd
mov edx, 1
mov rcx, qword [r15 + 0xb8]
call fcn.14004a5a0
test al, al
je 0x140098cd8
mov rcx, qword [rbx + 0x680]
mov edx, dword [rbx + 0x6a8]
mov rax, qword [rbx + 0x688]
sub rax, rcx
sar rax, 3
dec eax
cmp edx, eax
jge 0x1400993c2
lea eax, [rdx + 1]
mov dword [rbx + 0x6a8], eax
mov esi, eax
mov dword [rbx + 0x6ac], eax
movsxd rdx, esi
xor r8d, r8d
mov rdx, qword [rcx + rdx*8]
mov rcx, rbx
call fcn.140093a80
xor eax, eax
jmp 0x1400991d2
call fcn.1400b4d90
int3