Function at 0x140153260
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov rbx, rdx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x250]
test al, al
jne 0x1401532bd
mov eax, dword [rbx]
sub eax, 9
cmp eax, 9
ja 0x1401532bd
mov rcx, qword [rdi + 0x60]
mov rdx, rbx
test rcx, rcx
je 0x140153860
mov rax, qword [rcx]
call qword [rax + 0x2b8]
jmp case.0x14015356d.13
mov ecx, dword [rbx]
cmp ecx, 0x15
jne 0x1401532d0
mov byte [rdi + 0x1d5], 1
jmp case.0x14015356d.13
cmp ecx, 0x14
jne 0x1401532e1
mov byte [rdi + 0x1d5], 0
jmp case.0x14015356d.13
cmp ecx, 3
je 0x140153542
lea eax, [rcx - 0xd]
test eax, 0xfffffffd
je 0x140153330
cmp ecx, 0x12
jne case.0x14015356d.14
movzx ecx, word [rbx + 0x20]
test ecx, ecx
je 0x14015331f
cmp ecx, 1
jne case.0x14015356d.14
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x3a8]
jmp case.0x14015356d.13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x3a0]
jmp case.0x14015356d.13
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea rdx, str.AutoTableItem
call qword [rax + 0x28]
mov rsi, rax
test rax, rax
je case.0x14015356d.13
cmp byte [rdi + 0x621], 0
je 0x14015335b
mov rbx, qword [rax]
jmp 0x1401533c8
cmp byte [rdi + 0x620], 0
jne 0x140153369
mov rax, qword [rax]
jmp 0x14015339b
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
test ax, ax
sets bpl
mov ecx, ILClone
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
sets al
test bx, bx
js 0x1401533b2
test al, al
jne 0x1401533b2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov edx, eax
xor r8d, r8d
mov rcx, rdi
call fcn.1401548a0
jmp case.0x14015356d.13
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
test bpl, bpl
je 0x1401533de
mov dword [rdi + 0x624], eax
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x20]
test al, al
sete dl
mov rcx, rsi
call qword [rbx + 0x28]
jmp case.0x14015356d.13
mov ebp, dword [rdi + 0x624]
mov esi, ebp
cmp eax, ebp
cmovl esi, eax
cmovg ebp, eax
lea rdx, [0x1402b83a0]
mov ecx, ILClone
call fcn.140160c1c
mov r14, rax
mov qword [rsp + 0x50], rax
xor ebx, ebx
test rax, rax
je 0x140153422
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov rcx, rax
call fcn.140053440
mov qword [r14], rax
jmp 0x140153425
mov r14, rbx
mov rax, qword [rdi + 0x608]
mov rdx, r14
lea rcx, [rdi + 0x608]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401534b4
mov edx, dword [rbx + 0x1c]
cmp edx, esi
jl 0x14015344f
cmp edx, ebp
jle 0x140153460
mov rax, qword [rdi + 0x608]
lea rcx, [rdi + 0x608]
call qword [rax + ILCombine]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14015348c
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140153487
cmp rbx, qword [rax + 0x10]
jne 0x140153487
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140153474
mov rbx, rax
jmp 0x1401534af
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1401534af
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1401534a0
cmp rbx, qword [r14]
jne 0x140153444
mov rcx, r14
call fcn.1401125b0
mov r8, qword [r14]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140112680
mov edx, 0x20
mov rcx, qword [r14]
call fcn.1401606e8
mov edx, ILClone
mov rcx, r14
call fcn.1401606e8
cmp esi, ebp
jg case.0x14015356d.13
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x648]
add rcx, 0x5c0
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
mov r8, qword [rax]
lea rdx, str.AutoTableItem
mov rcx, rax
call qword [r8 + 0x28]
test rax, rax
je 0x140153537
mov r8, qword [rax]
mov dl, 1
mov rcx, rax
call qword [r8 + 0x28]
inc esi
cmp esi, ebp
jle 0x140153500
jmp case.0x14015356d.13
movzx eax, word [rbx + 0x1c]
add eax, 0xfffffff3
cmp eax, 0x54
ja case.0x14015356d.14
cdqe
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x1538b0]
mov ecx, dword [rdx + rax*4 + 0x153884]
add rcx, rdx
jmp rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x14015356d.13
lea rcx, [rdi + 0x5c0]
mov rax, qword [rcx]
call qword [rax + ILCombine]
cmp eax, 1
jle 0x1401535a2
cmp byte [rdi + 0x620], 0
je case.0x14015356d.13
mov rcx, rdi
call fcn.140154690
jmp case.0x14015356d.13
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
mov ebx, dword [rdi + 0x624]
mov rcx, qword [rdi + 0x648]
call fcn.140137590
cmp ebx, eax
jge 0x1401535e0
mov rcx, qword [rdi + 0x648]
call fcn.140137590
add ebx, eax
mov rcx, qword [rdi + 0x648]
call fcn.140137590
sub ebx, eax
js case.0x14015356d.13
mov rax, qword [rdi + 0x5c0]
mov edx, ebx
lea rcx, [rdi + 0x5c0]
call qword [rax]
test rax, rax
je 0x14015361b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
sub ebx, 1
jmp 0x1401535ee
xor r8d, r8d
mov edx, ebx
mov rcx, rdi
call fcn.1401548a0
mov edx, ebx
mov rcx, rdi
call fcn.140153c50
jmp case.0x14015356d.13
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
mov esi, dword [rdi + 0x624]
mov rcx, qword [rdi + 0x648]
add rcx, 0x5c0
mov rax, qword [rcx]
call qword [rax + ILCombine]
mov ebx, eax
mov rcx, qword [rdi + 0x648]
call fcn.140137590
sub ebx, eax
cmp esi, ebx
jl 0x140153685
mov rcx, qword [rdi + 0x648]
call fcn.140137590
sub esi, eax
mov rcx, qword [rdi + 0x648]
call fcn.140137590
lea ebx, [rsi + rax]
lea rsi, [rdi + 0x5c0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ILCombine]
cmp ebx, eax
jge case.0x14015356d.13
mov rax, qword [rsi]
mov edx, ebx
mov rcx, rsi
call qword [rax]
test rax, rax
je 0x1401536cf
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
inc ebx
jmp 0x14015369b
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
mov eax, dword [rdi + 0x624]
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
lea ebx, [rax - 1]
test ebx, ebx
js case.0x14015356d.13
mov rax, qword [rdi + 0x5c0]
mov edx, ebx
lea rcx, [rdi + 0x5c0]
call qword [rax]
test rax, rax
je 0x140153726
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
sub ebx, 1
jmp 0x1401536f5
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
mov eax, dword [rdi + 0x624]
mov ecx, 0xffffffff
cmp eax, ecx
cmovl eax, ecx
lea ebx, [rax + 1]
lea rsi, [rdi + 0x5c0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ILCombine]
cmp ebx, eax
jge case.0x14015356d.13
mov rax, qword [rsi]
mov edx, ebx
mov rcx, rsi
call qword [rax]
test rax, rax
je 0x140153786
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
inc ebx
jmp 0x140153752
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x3b0]
jmp case.0x14015356d.13
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x3b8]
jmp case.0x14015356d.13
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
xor ebx, ebx
lea rsi, [rdi + 0x5c0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ILCombine]
test eax, eax
jle case.0x14015356d.13
mov rax, qword [rsi]
mov edx, ebx
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
inc ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + ILCombine]
cmp ebx, eax
jl 0x1401537d3
jmp case.0x14015356d.13
cmp byte [rdi + 0x621], 0
jne case.0x14015356d.13
mov rax, qword [rdi + 0x5c0]
lea rcx, [rdi + 0x5c0]
call qword [rax + ILCombine]
mov ebx, eax
sub ebx, 1
js case.0x14015356d.13
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rdi + 0x5c0]
mov edx, ebx
lea rcx, [rdi + 0x5c0]
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x238]
test al, al
jne 0x140153620
sub ebx, 1
jns 0x140153830
jmp case.0x14015356d.13
mov rdx, rbx
mov rcx, rdi
call fcn.1400ffb70
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret