Function at 0x1800571d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov r10d, r9d
mov rsi, rcx
cmp edx, 0xb
ja case.default.0x18005720a
movsxd rax, edx
lea rcx, [0x180000000]
mov edx, dword [rcx + rax*4 + 0x574e8]
add rdx, rcx
jmp rdx
mov r8d, r10d
mov edx, 0x800e
mov rcx, qword [rsi + 0x198]
mov r9d, dword [rcx]
call fcn.18007b2f0
mov rcx, qword [rsi + 0x178]
mov rcx, qword [rcx + 0x38]
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x18005723d
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rsi - 0x48]
lea rdx, [rbp - 0x50]
call fcn.180051ee0
xor eax, eax
jmp 0x1800574d0
mov edx, 0x8004
mov r8d, 0xff55
jmp 0x180057214
mov edx, 0x8004
mov r8d, 0xff56
jmp 0x180057214
mov rcx, qword [rsi + 0x198]
xor r8d, r8d
cmp byte [rsi + 0x1cc], r8b
mov edx, 0x800d
setne r8b
mov r9d, dword [rcx]
add r8d, 0x9c51
call fcn.18007b2f0
cmp byte [rsi + 0x1cc], 0
sete al
mov byte [rsi + 0x1cc], al
lea rbx, [rsi + 0x1a8]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1800520d0
movzx eax, byte [rbx + 0x20]
lea rdx, [rbp - 0x40]
mov byte [rbp - 0x20], al
lea rcx, [rsi - 0x48]
movzx eax, byte [rbx + 0x21]
mov byte [rbp - 0x1f], al
movzx eax, byte [rbx + 0x22]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbx + 0x23]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbx + 0x24]
mov byte [rbp - 0x1c], al
mov eax, dword [rbx + 0x28]
mov dword [rbp - 0x18], eax
mov eax, dword [rbx + 0x2c]
mov dword [rbp - 0x14], eax
mov eax, dword [rbx + 0x30]
mov dword [rbp - 0x10], eax
call fcn.180058c50
xor eax, eax
jmp 0x1800574d0
mov rcx, qword [rsi + 0x198]
xor r8d, r8d
cmp byte [rsi + 0x1cb], r8b
mov edx, 0x800d
setne r8b
mov r9d, dword [rcx]
add r8d, 0x9c4f
call fcn.18007b2f0
cmp byte [rsi + 0x1cb], 0
sete al
mov byte [rsi + 0x1cb], al
jmp 0x1800572a4
mov ecx, 0x14
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x1800574c7
xor r8d, r8d
lea rcx, [rsi - 0x48]
cmp byte [rsi + 0x1c8], r8b
setne r8b
lea edx, [r8 + 0x9c4d]
call fcn.180058f60
xor eax, eax
jmp 0x1800574d0
call fcn.180056840
mov r8d, 0x9c48
jmp 0x1800574b3
mov rbx, qword [rsi + 0x198]
xor r8d, r8d
movsx edx, r10w
mov eax, r10d
shr rax, 0x10
movsx ecx, ax
mov dword [rsi + 0x1d4], ecx
mov dword [rsi + 0x1d0], edx
cmp qword [rbx + 0x58], 0xffffffffffffffff
mov dword [rbp - 0x50], edx
mov dword [rbp - 0x4c], ecx
mov qword [rbp - 0x48], r8
je 0x1800574c7
mov edi, dword [rbx]
test edi, edi
je 0x1800574c7
lea rcx, [rbp - 0x50]
call fcn.18007aaf0
mov r8d, eax
mov r9d, edi
mov edx, 0x800f
mov rcx, rbx
call fcn.18007b2f0
xor eax, eax
jmp 0x1800574d0
mov dl, 1
lea rcx, [rsi - 0x48]
call fcn.180051fb0
mov rcx, qword [rsi + 0x198]
xor r8d, r8d
cmp dword [rsi + 0x1d8], r8d
mov edx, 0x8011
sete r8b
mov dword [rsi + 0x1d8], r8d
mov r9d, dword [rcx]
call fcn.18007b2f0
jmp 0x1800572a4
mov rcx, qword [rsi + 0x198]
mov edx, 0x800d
mov r8d, 0x9c57
mov r9d, dword [rcx]
call fcn.18007b2f0
mov rax, qword [rsi + 0x178]
test rax, rax
je 0x180057456
mov rax, qword [rax + 0x10]
mov byte [rax + 0x198], 0
lea rcx, [rsi - 0x48]
mov edx, 1
call fcn.180058d30
xor eax, eax
jmp 0x1800574d0
mov rcx, qword [rsi + 0x198]
mov edx, 0x800d
mov r8d, 0x9c56
mov r9d, dword [rcx]
call fcn.18007b2f0
mov rax, qword [rsi + 0x178]
test rax, rax
je 0x180057499
mov rax, qword [rax + 0x10]
mov byte [rax + 0x198], 1
lea rcx, [rsi - 0x48]
xor edx, edx
call fcn.180058d30
xor eax, eax
jmp 0x1800574d0
call fcn.180056840
mov r8d, 0x9c55
mov rcx, qword [rsi + 0x198]
mov edx, 0x800d
mov r9d, dword [rcx]
call fcn.18007b2f0
xor eax, eax
jmp 0x1800574d0
mov eax, 0x80004001
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret