Function at 0x140033b20
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x140045954], 1
jne 0x140033d31
mov rdx, qword [0x140045940]
add rdx, 0x5afc450
mov qword [rsp + 0x60], rdi
call fcn.140038040
lea rdx, [rax + 0x128]
call fcn.140038040
lea rdx, [rax + 0x10]
call fcn.140038040
mov ecx, dword [0x140045a30]
mov rdx, rax
test ecx, ecx
jne 0x140033bfe
mov byte [0x14004592c], cl
mov rbx, qword [0x1400459b0]
xor ecx, ecx
mov dword [rbp - 0x10], 0xbf800000
mov qword [rbx], rcx
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
lea rax, [rdx + 0x700]
mov qword [rbp - 0x20], rax
mov qword [rbx + 0x10], 0x103
lea rax, [rbp - 0x30]
mov dword [rbx], 5
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 0x20]
mov qword [rbp - 0x18], 4
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x18]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsp + 0x60]
mov byte [0x14004592e], 1
jmp 0x140033dd1
cmp ecx, 1
jne 0x140033c1a
mov byte [0x14004592c], cl
mov ecx, 6
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 2
jne 0x140033c37
mov ecx, 5
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 3
jne 0x140033c54
mov ecx, 0x56
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 4
jne 0x140033c6e
mov ecx, 0x58
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 5
jne 0x140033c88
mov ecx, 0x4a
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 6
jne 0x140033ca2
mov ecx, 0x4b
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 7
jne 0x140033cbc
mov ecx, 0x10
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp ecx, 8
jne 0x140033cd6
mov ecx, 0xc0
mov byte [0x14004592c], 1
mov qword [0x140045938], rcx
jmp 0x140033cea
cmp byte [0x14004592c], 1
jne 0x140033b88
mov rcx, qword [0x140045938]
lea rdi, [rax + 0x700]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [0x1400459b0]
xor ecx, ecx
test ax, ax
je 0x140033d28
mov dword [rbp - 0x10], 0xbf800000
mov qword [rbx], rcx
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdi
jmp 0x140033bb6
mov dword [rbp - 0x10], 0x39a00140
jmp 0x140033d0c
cmp byte [0x14004592e], 1
jne 0x140033dd1
mov rdx, qword [0x140045940]
add rdx, 0x5afc450
call fcn.140038040
lea rdx, [rax + 0x128]
call fcn.140038040
lea rdx, [rax + 0x10]
call fcn.140038040
mov rbx, qword [0x1400459b0]
xor ecx, ecx
add rax, 0x700
mov dword [rbp - 0x10], 0x39a00140
mov qword [rbx], rcx
mov rcx, qword [rbx + 0x28]
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rcx
mov rcx, qword [rbx + 0x20]
mov qword [rbx + 0x10], 0x103
mov qword [rbp - 0x18], 4
mov dword [rbx], 5
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x18]
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [0x14004592e], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140038480
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret