Function at 0x140034bac
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x140096008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x19], rcx
mov r12, rdx
mov rcx, rdx
mov qword [rbp + 7], rdx
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
mov rcx, qword [rax + 0x1fa]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov rcx, qword [rax + 0x54]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rbx + 0x60]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, qword [rbx + 0x40]
mov r13, rax
mov qword [rbp - 1], rax
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [rbx + 0x40]
lea rdx, [rbp + 0xf]
mov rdi, rax
mov qword [rbp - 0x31], rax
call qword [sym.imp.USER32.dll_GetClientRect]
lea r8d, [r15 + 2]
mov rcx, rdi
lea rdx, [rbp + 0xf]
call qword [sym.imp.GDI32.dll_LPtoDP]
lea ecx, [r15 + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
and dword [rbp - 0x39], r15d
shr rax, 8
cmp dword [r13 + 0x10], r15d
jle 0x140034db1
movzx eax, al
mov qword [rbp - 0x11], rax
lea rax, [r13 + 0x14]
mov qword [rbp - 9], rax
movsxd r12, dword [rax]
mov rcx, qword [rbp - 0x19]
imul rdi, r12, 0xd4
mov eax, dword [r14 + rdi + 0x20]
mov r13d, dword [rdi + r14 + 0x8c]
mov dword [rbp - 0x29], eax
and r13d, 0x20
mov eax, dword [rdi + r14 + 0x24]
mov dword [rbp - 0x25], eax
mov eax, dword [rdi + r14 + 0x28]
mov rdx, qword [rbp - 0x29]
mov dword [rbp - 0x21], eax
mov eax, dword [rdi + r14 + 0x2c]
mov dword [rbp - 0x1d], eax
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140034d40
mov rdx, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x140034d40
test r13d, r13d
jne 0x140034d40
mov eax, dword [rdi + r14 + 0x8c]
mov r13d, 1
mov ecx, eax
and ecx, r13d
cmp qword [rbp - 0x11], 0
je 0x140034d2b
xor edx, edx
mov dword [rsp + 0x28], r12d
test ecx, ecx
mov dword [rsp + 0x20], r13d
mov rcx, qword [rbp - 0x31]
lea r9, [rbp + 0xf]
je 0x140034d1a
xor eax, r13d
mov dword [rdi + r14 + 0x8c], eax
dec dword [rbx + 0x6c]
jmp 0x140034d7c
or eax, r13d
mov dword [rdi + r14 + 0x8c], eax
add dword [rbx + 0x6c], r13d
jmp 0x140034d7c
test ecx, ecx
jne 0x140034d8b
or eax, r13d
mov dword [rdi + r14 + 0x8c], eax
add dword [rbx + 0x6c], r13d
jmp 0x140034d68
cmp qword [rbp - 0x11], 0
mov r13d, 1
jne 0x140034d8b
mov eax, dword [rdi + r14 + 0x8c]
test r13b, al
je 0x140034d8b
xor eax, r13d
mov dword [rdi + r14 + 0x8c], eax
dec dword [rbx + 0x6c]
mov rcx, qword [rbp - 0x31]
lea r9, [rbp + 0xf]
mov dword [rsp + 0x28], r12d
xor edx, edx
mov dword [rsp + 0x20], r13d
mov r8, qword [rsi + 0x1fa]
call fcn.140036538
mov r15d, r13d
mov ecx, dword [rbp - 0x39]
mov rax, qword [rbp - 9]
add ecx, r13d
mov rdx, qword [rbp - 1]
add rax, 4
mov dword [rbp - 0x39], ecx
mov qword [rbp - 9], rax
cmp ecx, dword [rdx + 0x10]
jl 0x140034c79
mov r12, qword [rbp + 7]
cmp dword [rbx + 0x6c], 0
jge 0x140034dbb
and dword [rbx + 0x6c], 0
test r15d, r15d
je 0x140034dd4
mov rcx, qword [rbx + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
bts dword [rsi + 0x22], 0xe
mov rcx, qword [rbx + 0x54]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsi + 0x1fa]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14008a940
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret