Function at 0x140005b60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x50
mov rax, qword [0x1401bd3b0]
xor ebp, ebp
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rcx
test rax, rax
je 0x140005b89
mov rcx, qword [rax + 0xa0]
jmp 0x140005b8c
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x140005bad
test rax, rax
je 0x140005bad
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x140005bad
cmp qword [rcx], rbp
je 0x140005bad
call fcn.140031300
call fcn.140031d00
call fcn.14000e900
cmp qword [0x1401bd4c8], rbp
je 0x140005be6
cmp byte [0x14004f0b8], bpl
je 0x140005be6
lea rcx, [0x14004f0b8]
call fcn.1400011d0
test rax, rax
je 0x140005be6
lea rcx, [0x14004f0b8]
call fcn.140001b80
call fcn.140003520
cmp qword [0x1401bd4c8], rbp
je 0x140005c11
mov rcx, rax
call fcn.140003a70
cmp qword [0x1401bd4c8], rbp
je 0x140005c11
lea rcx, [0x14004f0d8]
call fcn.1400057d0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401bd4a8], eax
jle 0x140005c54
lea rcx, [0x1401bd4a8]
call fcn.14003e5b0
cmp dword [0x1401bd4a8], 0xffffffff
jne 0x140005c54
lea rcx, [0x1401bd4a8]
mov dword [0x1401bd4a0], ebp
call fcn.14003e544
mov eax, dword [0x1401bd4a0]
test eax, eax
jne 0x140005c6d
mov dword [0x1401bd4a4], 2
jmp 0x140005d03
cmp eax, 1
jne 0x140005c7d
mov dword [0x1401bd4a4], eax
jmp 0x140005d03
cmp eax, 2
jne 0x140005c8e
mov dword [0x1401bd4a4], 4
jmp 0x140005d03
cmp eax, 3
jne 0x140005c9f
mov dword [0x1401bd4a4], 5
jmp 0x140005d03
cmp eax, 4
jne 0x140005cb0
mov dword [0x1401bd4a4], 8
jmp 0x140005d03
cmp eax, 5
jne 0x140005cc1
mov dword [0x1401bd4a4], 0xd
jmp 0x140005d03
cmp eax, 6
jne 0x140005cd2
mov dword [0x1401bd4a4], 0x10
jmp 0x140005d03
cmp eax, 7
jne 0x140005ce3
mov dword [0x1401bd4a4], 0x11
jmp 0x140005d03
cmp eax, 8
jne 0x140005cf4
mov dword [0x1401bd4a4], 0x12
jmp 0x140005d03
cmp eax, 9
jne 0x140005d03
mov dword [0x1401bd4a4], 0x13
cmp byte [0x14004f0ba], bpl
movss xmm6, dword [0x140047cbc]
mov qword [rsp + 0x70], rdi
je 0x140005df4
mov rax, qword [0x1401bd3b0]
lea r8, str.Foreground
mov edx, 1
mov qword [rsp + 0x68], rsi
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
call fcn.14000d0b0
mov rdi, rax
call fcn.140003520
lea rcx, [rax + 0x38]
call fcn.14000a890
mov ecx, dword [rbx + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x14004f0bc]
xorps xmm1, xmm1
mov esi, eax
cvtdq2ps xmm2, xmm2
cvtsi2ss xmm0, rcx
mov ecx, dword [rbx + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
test eax, 0xff000000
je 0x140005def
movss xmm0, dword [0x140047c84]
comiss xmm0, xmm2
ja 0x140005def
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x140047d68]
lea rdx, [rsp + 0x60]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rdi
call fcn.14002a230
mov r8d, dword [rdi + 0x78]
mov r9d, esi
mov rdx, qword [rdi + 0x80]
mov rcx, rdi
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.140028840
mov dword [rdi + 0x78], ebp
mov rsi, qword [rsp + 0x68]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005e13
cmp byte [rbx + 0x168], bpl
sete al
mov byte [rbx + 0x168], al
cmp byte [rbx + 0x168], bpl
je 0x140005e2c
mov rcx, rbx
call fcn.14003a8e0
mov r8d, 0xa0
jmp 0x140005e32
mov r8d, 0x800a0
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rbx + 0x168]
mov rcx, qword [0x1401bd3b0]
mov byte [rcx + 0x78], al
movzx eax, byte [rbx + 0x168]
mov byte [rcx + 0xd9], al
call fcn.140011170
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rbx + 8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x40]
test eax, eax
js 0x140005f10
call fcn.1400114f0
mov rax, qword [0x1401bd3b0]
mov rcx, qword [rax + 0x4090]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.140030d40
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140005fe5
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140005fe5
mov rdi, qword [0x1401bd3b0]
test rdi, rdi
je 0x140005faf
mov rdi, qword [rdi + 0xa0]
test rdi, rdi
je 0x140005faf
cmp qword [rdi], rbp
je 0x140005faf
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140005f7a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rbp
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140005f8d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rbp
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x140005faf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1401bd3b0]
mov qword [rdi + 0x18], rbp
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rbp
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1401bd3b0]
test rax, rax
je 0x140005fe5
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x140005fe5
cmp qword [rax], rbp
je 0x140005fe5
call fcn.140031300
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret