Function at 0x5b08a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0xe0
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
call sub.user32.dll_GetMessagePos
movzx eax, ax
mov dword [rbp + 0x68], eax
call sub.user32.dll_GetMessagePos
shr eax, 0x10
movzx eax, ax
mov dword [rbp + 0x6c], eax
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x68]
call fcn.004a54f0
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x38]
cmp qword [rax + 8], 0
je 0x5b08f7
mov rax, qword [rbp + 0x38]
mov rbx, qword [rax + 8]
jmp 0x5b0912
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
lea rdx, [rbp + 0x90]
call sub.user32.dll_BeginPaint
mov rbx, rax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x30]
mov rsi, qword [rax]
call qword [rsi + 0xc0]
mov rcx, rbx
lea rdx, [rbp + 0x50]
mov r8d, 2
xor r9, r9
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x20], rax
call sub.uxtheme.dll_BeginBufferedPaint
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rax]
call qword [rbx + 0xc0]
mov rax, qword [rbp + 0x30]
mov ecx, dword [rax + 0xb8]
call fcn.00481480
mov rcx, qword [rbp + 0xd8]
lea rdx, [rbp + 0x50]
mov r8d, eax
call fcn.005af690
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
lea rdx, [0x005b0c58]
mov rax, qword [0x0060f938]
call qword [rax]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x30]
mov rax, qword [rax + 0xa8]
mov ecx, dword [rax + 0x28]
call fcn.00481480
mov r13d, eax
mov rax, qword [rbp + 0x30]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0xd0]
test al, al
jne 0x5b09dc
mov ecx, 0x11
call sub.user32.dll_GetSysColor
mov r13d, eax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov rax, qword [rbp + 0x30]
mov rbx, qword [rax]
call qword [rbx + 0xc0]
mov ecx, 4
mov eax, dword [rbp + 0x5c]
cdq
idiv ecx
mov rbx, rax
mov rcx, qword [rbp + 0x30]
lea rdx, [rbp + 0x80]
mov rax, qword [rbp + 0x30]
mov rsi, qword [rax]
call qword [rsi + 0xc0]
lea rdi, [rbp + 0x70]
lea rsi, [rbp + 0x80]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
mov ecx, 2
mov eax, dword [rbp + 0x8c]
cdq
idiv ecx
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x8c]
mov dword [rbp + 0x74], eax
mov esi, 1
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x68]
call fcn.00412260
test al, al
je 0x5b0a7b
mov esi, 2
mov ecx, 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b0a7b
mov esi, 3
mov ecx, 0x26
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b0abb
call sub.user32.dll_GetFocus
mov rdi, rax
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
mov edx, 0x46a
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
cmp rdi, rax
jne 0x5b0abb
mov esi, 3
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x5b0ad6
mov esi, 4
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0xd8]
mov r8d, 5
mov r9d, esi
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov rax, qword [0x0060fbf0]
call qword [rax]
mov rcx, qword [rbp + 0xd8]
lea rdx, [rbp + 0x80]
mov r8d, r13d
mov r9d, ebx
mov word [rsp + 0x20], 0xeddb
mov byte [rsp + 0x28], 0
call fcn.005af870
mov esi, 1
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
call fcn.00412260
test al, al
je 0x5b0b61
mov esi, 2
mov ecx, 1
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b0b61
mov esi, 3
mov ecx, 0x28
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5b0ba1
call sub.user32.dll_GetFocus
mov rdi, rax
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
mov edx, 0x46a
xor r8, r8
xor r9, r9
call sub.user32.dll_SendMessageW
cmp rdi, rax
jne 0x5b0ba1
mov esi, 3
mov rax, qword [rbp + 0x30]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0xd0]
test al, al
jne 0x5b0bbb
mov esi, 4
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0xd8]
mov r8d, 5
mov r9d, esi
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov rax, qword [0x0060fbf0]
call qword [rax]
mov rcx, qword [rbp + 0xd8]
lea rdx, [rbp + 0x70]
mov r8d, r13d
mov r9d, ebx
mov word [rsp + 0x20], 0xeddc
mov byte [rsp + 0x28], 0
call fcn.005af870
mov rcx, qword [rbp + 0x48]
mov rax, qword [0x0060fc20]
call qword [rax]
mov rcx, qword [rbp + 0x40]
or edx, 0xffffffff
call sub.uxtheme.dll_EndBufferedPaint
mov rax, qword [rbp + 0x38]
cmp qword [rax + 8], 0
je 0x5b0c49
mov rcx, qword [rbp + 0x30]
call fcn.004b3a10
mov rcx, rax
lea rdx, [rbp + 0x90]
call sub.user32.dll_EndPaint
lea rsp, [rbp + 0xe0]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret