Function at 0x1800c5840
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
xor ebp, ebp
lea r15, str.HUD_FRONTEND_DEFAULT_SOUNDSET
cmp byte [0x1802cfd76], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c5f01
mov byte [0x1802cfd74], bpl
mov byte [0x1802cfd66], bpl
mov byte [0x1802cfd67], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802d3260]
sub rax, rcx
movsxd rcx, dword [0x1802b0ca4]
cmp rax, rcx
jbe 0x1800c5ef5
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802b0cb4]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c5912
cmp byte [0x1802cfd76], bpl
jne 0x1800c5912
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c5912
call fcn.1800c6890
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d3260], eax
mov esi, dword [0x1802b0cb8]
lea rcx, str.grcWindow
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c594f
cmp byte [0x1802cfd76], bpl
jne 0x1800c594f
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c5a39
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802d33c8], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov dword [0x1802ca7b8], edi
call fcn.1800fdc70
cmp dword [rax], ebp
jne 0x1800c5bfb
mov eax, dword [0x1802b0ca8]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5bfb
mov eax, dword [0x1802b0cac]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5bfb
cmp dword [0x1802d2c74], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov byte [0x1802d2c83], dil
mov qword [0x1802d33c8], r12
mov dword [0x1802ca7c8], ebp
mov qword [0x1802ca8a0], r15
mov qword [0x1802ca8a8], rbp
mov dword [0x1802ca7b8], 4
jne 0x1800c5b69
lea rax, [0x18025ede0]
mov qword [0x1802ca898], rax
call fcn.1800fdc70
mov rdx, qword [0x1802d2c88]
test rdx, rdx
je 0x1800c5b07
cmp byte [0x1802b0c9a], bpl
je 0x1800c5b07
movsxd rcx, dword [0x1802d2c74]
lea r8, [0x180000000]
mov rax, qword [0x1802d2c78]
mov qword [0x1802d2c78], rdx
mov qword [r8 + rcx*8 + 0x2d0d30], rax
mov eax, dword [0x1802cfd80]
mov dword [r8 + rcx*4 + 0x2cfd90], eax
mov eax, dword [0x1802cfd7c]
mov dword [0x1802d2c74], eax
mov eax, dword [0x1802cfd88]
mov dword [0x1802cfd80], eax
jmp 0x1800c5b4e
movsxd rdx, dword [0x1802d2c74]
lea r8, [0x180000000]
mov rax, qword [0x1802d2c78]
mov qword [r8 + rdx*8 + 0x2d0d30], rax
mov eax, dword [0x1802cfd80]
mov dword [r8 + rdx*4 + 0x2cfd90], eax
inc edx
lea rax, [0x1800d29e0]
mov dword [0x1802d2c74], edx
mov qword [0x1802d2c78], rax
mov dword [0x1802cfd80], edi
cmp byte [0x1802d2c80], bpl
jne 0x1800c5ee1
movzx ecx, dil
call fcn.1800ca190
jmp 0x1800c5ee1
lea rax, [0x18025edfc]
mov qword [0x1802ca898], rax
call fcn.1800fdc70
cmp byte [0x1802d2c80], bpl
jne 0x1800c5b91
xor ecx, ecx
call fcn.1800ca190
jmp 0x1800c5ee1
cmp byte [0x1802cfd65], bpl
mov rax, qword [0x1802d2c78]
mov qword [0x1802d2c88], rax
mov eax, dword [0x1802d2c74]
mov dword [0x1802cfd7c], eax
mov eax, dword [0x1802cfd80]
mov dword [0x1802cfd88], eax
mov rax, qword [0x1802d0d30]
mov qword [0x1802d2c78], rax
mov eax, dword [0x1802cfd90]
mov dword [0x1802cfd80], eax
mov dword [0x1802d2c74], ebp
je 0x1800c5ee1
cmp byte [0x1802cfd77], bpl
je 0x1800c5ee1
call fcn.1800c6890
jmp 0x1800c5ee1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5c83
cmp dword [0x1802d2c74], ebp
jle 0x1800c5ee1
call fcn.1800c75e0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
lea rax, str.BACK
jmp 0x1800c5eb0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5d20
mov eax, dword [0x1802cfd80]
cmp eax, edi
jle 0x1800c5cda
dec eax
jmp 0x1800c5ce0
mov eax, dword [0x1802cfd84]
mov dword [0x1802cfd80], eax
cmp dword [0x1802d2c74], ebp
jle 0x1800c5ee1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov qword [0x1802ca898], r13
jmp 0x1800c5eb7
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5d85
mov eax, dword [0x1802cfd80]
cmp eax, dword [0x1802cfd84]
jge 0x1800c5d7e
inc eax
jmp 0x1800c5ce0
mov eax, edi
jmp 0x1800c5ce0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5dda
mov byte [0x1802cfd66], dil
jmp 0x1800c5ce6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5e2f
mov byte [0x1802cfd67], dil
jmp 0x1800c5ce6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c5eed
cmp dword [0x1802d2c74], ebp
mov byte [0x1802cfd74], dil
jle 0x1800c5ee1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
lea rax, str.SELECT
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r12
mov qword [0x1802ca8a0], r15
mov qword [0x1802ca8a8], rbp
mov dword [0x1802ca7b8], 4
call fcn.1800fdc70
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d3260], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802cfd84], ebp
mov dword [0x1802cfd8c], ebp
cmp byte [0x1802cfd77], bpl
je 0x1800c656b
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802ca7b8], ebp
mov qword [0x1802d33c8], rax
mov dword [0x1802ca7c8], ebp
call fcn.1800fdc70
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], rbx
mov dword [0x1802ca7b8], edi
call fcn.1800fdc70
cmp dword [0x1802d2c74], ebp
jle 0x1800c656b
movss xmm0, dword [0x1802b0cfc]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1802b0cf8]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x180267c08]
movss xmm8, dword [0x1802b0d0c]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x180267c64]
movss xmm9, dword [0x1802b0cf4]
call fcn.1800c67b0
mulss xmm9, dword [0x180267ca4]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c6131
call fcn.1800c67b0
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c6131
call fcn.1800c67b0
mulss xmm7, dword [0x180267ca4]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c6131
call fcn.1800c67b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c6131
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], rbx
mov dword [0x1802ca7b8], edi
call fcn.1800fdc70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c6131
call fcn.1800c67b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802b0d0c], xmm0
call fcn.1800c67b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180267c6c]
movss dword [0x1802b0cf8], xmm0
movss xmm7, dword [0x1802b0d08]
movss xmm6, dword [0x1802b0d00]
call fcn.1800c67b0
movss xmm8, dword [0x180267c2c]
movaps xmm1, xmm7
movaps xmm9, xmmword [rsp + 0x20]
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c62a3
call fcn.1800c67b0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c62a3
call fcn.1800c67b0
movss xmm7, dword [0x180267c00]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c62a3
call fcn.1800c67b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c62a3
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], rbx
mov dword [0x1802ca7b8], edi
call fcn.1800fdc70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c62a3
call fcn.1800c67b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802b0d08], xmm0
call fcn.1800c67b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802b0d00], xmm0
movss xmm7, dword [0x1802b0d0c]
movss xmm6, dword [0x1802b0cf8]
subss xmm7, dword [0x180267c20]
subss xmm6, dword [0x180267c3c]
call fcn.1800c67b0
movss xmm8, dword [0x180267bf0]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c63f2
call fcn.1800c67b0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c63f2
call fcn.1800c67b0
movss xmm7, dword [0x180267bd0]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c63f2
call fcn.1800c67b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c63f2
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], rbx
mov dword [0x1802ca7b8], edi
call fcn.1800fdc70
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802d33c8], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c63f2
call fcn.1800c75e0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c64b8
mov eax, dword [0x1802cfd80]
cmp eax, edi
jle 0x1800c6459
dec eax
jmp 0x1800c645f
mov eax, dword [0x1802cfd78]
mov qword [rsp + 0x90], rbp
mov dword [0x1802cfd80], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r12
mov qword [0x1802ca898], r13
mov qword [0x1802ca8a0], r15
mov qword [0x1802ca8a8], rbp
mov dword [0x1802ca7b8], 4
call fcn.1800fdc70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca898], rax
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r14
mov qword [0x1802ca890], rbp
mov dword [0x1802ca7b8], 2
call fcn.1800fdc70
cmp dword [rax], ebp
je 0x1800c656b
mov eax, dword [0x1802cfd80]
cmp dword [0x1802cfd78], eax
jle 0x1800c6512
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca890], rax
mov dword [0x1802cfd80], edi
mov dword [0x1802ca7c8], ebp
mov qword [0x1802d33c8], r12
mov qword [0x1802ca898], r13
mov qword [0x1802ca8a0], r15
mov qword [0x1802ca8a8], rbp
mov dword [0x1802ca7b8], 4
call fcn.1800fdc70
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret