Function at 0x1800c85e0
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 [0x1802ccbe2], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c8ca1
mov byte [0x1802ccbe5], bpl
mov byte [0x1802ccbe4], bpl
mov byte [0x1802ccbe6], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802d00d0]
sub rax, rcx
movsxd rcx, dword [0x1802adcd8]
cmp rax, rcx
jbe 0x1800c8c95
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802adcc8]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c86b2
cmp byte [0x1802ccbe2], bpl
jne 0x1800c86b2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c86b2
call fcn.1800c9690
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d00d0], eax
mov esi, dword [0x1802adccc]
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 0x1800c86ef
cmp byte [0x1802ccbe2], bpl
jne 0x1800c86ef
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c87d9
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802d02c0], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov dword [0x1802c77d8], edi
call fcn.180103c10
cmp dword [rax], ebp
jne 0x1800c899b
mov eax, dword [0x1802adcd0]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c899b
mov eax, dword [0x1802adcd4]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c899b
cmp dword [0x1802ccbec], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov byte [0x1802ccbe9], dil
mov qword [0x1802d02c0], r12
mov dword [0x1802c77e8], ebp
mov qword [0x1802c78c0], r15
mov qword [0x1802c78c8], rbp
mov dword [0x1802c77d8], 4
jne 0x1800c8909
lea rax, [0x18025d430]
mov qword [0x1802c78b8], rax
call fcn.180103c10
mov rdx, qword [0x1802ccbf0]
test rdx, rdx
je 0x1800c88a7
cmp byte [0x1802add1c], bpl
je 0x1800c88a7
movsxd rcx, dword [0x1802ccbec]
lea r8, [0x180000000]
mov rax, qword [0x1802cfaf8]
mov qword [0x1802cfaf8], rdx
mov qword [r8 + rcx*8 + 0x2cdbb0], rax
mov eax, dword [0x1802ccc04]
mov dword [r8 + rcx*4 + 0x2ccc10], eax
mov eax, dword [0x1802ccbf8]
mov dword [0x1802ccbec], eax
mov eax, dword [0x1802ccc08]
mov dword [0x1802ccc04], eax
jmp 0x1800c88ee
movsxd rdx, dword [0x1802ccbec]
lea r8, [0x180000000]
mov rax, qword [0x1802cfaf8]
mov qword [r8 + rdx*8 + 0x2cdbb0], rax
mov eax, dword [0x1802ccc04]
mov dword [r8 + rdx*4 + 0x2ccc10], eax
inc edx
lea rax, [0x1800d5770]
mov dword [0x1802ccbec], edx
mov qword [0x1802cfaf8], rax
mov dword [0x1802ccc04], edi
cmp byte [0x1802ccbe8], bpl
jne 0x1800c8c81
movzx ecx, dil
call fcn.1800cd0f0
jmp 0x1800c8c81
lea rax, [0x18025d44c]
mov qword [0x1802c78b8], rax
call fcn.180103c10
cmp byte [0x1802ccbe8], bpl
jne 0x1800c8931
xor ecx, ecx
call fcn.1800cd0f0
jmp 0x1800c8c81
cmp byte [0x1802ccbe3], bpl
mov rax, qword [0x1802cfaf8]
mov qword [0x1802ccbf0], rax
mov eax, dword [0x1802ccbec]
mov dword [0x1802ccbf8], eax
mov eax, dword [0x1802ccc04]
mov dword [0x1802ccc08], eax
mov rax, qword [0x1802cdbb0]
mov qword [0x1802cfaf8], rax
mov eax, dword [0x1802ccc10]
mov dword [0x1802ccc04], eax
mov dword [0x1802ccbec], ebp
je 0x1800c8c81
cmp byte [0x1802ccbe1], bpl
je 0x1800c8c81
call fcn.1800c9690
jmp 0x1800c8c81
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8a23
cmp dword [0x1802ccbec], ebp
jle 0x1800c8c81
call fcn.1800ca5b0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
lea rax, str.BACK
jmp 0x1800c8c50
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8ac0
mov eax, dword [0x1802ccc04]
cmp eax, edi
jle 0x1800c8a7a
dec eax
jmp 0x1800c8a80
mov eax, dword [0x1802ccc00]
mov dword [0x1802ccc04], eax
cmp dword [0x1802ccbec], ebp
jle 0x1800c8c81
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov qword [0x1802c78b8], r13
jmp 0x1800c8c57
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8b25
mov eax, dword [0x1802ccc04]
cmp eax, dword [0x1802ccc00]
jge 0x1800c8b1e
inc eax
jmp 0x1800c8a80
mov eax, edi
jmp 0x1800c8a80
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8b7a
mov byte [0x1802ccbe4], dil
jmp 0x1800c8a86
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8bcf
mov byte [0x1802ccbe6], dil
jmp 0x1800c8a86
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8c8d
cmp dword [0x1802ccbec], ebp
mov byte [0x1802ccbe5], dil
jle 0x1800c8c81
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
lea rax, str.SELECT
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r12
mov qword [0x1802c78c0], r15
mov qword [0x1802c78c8], rbp
mov dword [0x1802c77d8], 4
call fcn.180103c10
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d00d0], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802ccc00], ebp
mov dword [0x1802ccc0c], ebp
cmp byte [0x1802ccbe1], bpl
je 0x1800c930b
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802c77d8], ebp
mov qword [0x1802d02c0], rax
mov dword [0x1802c77e8], ebp
call fcn.180103c10
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], rbx
mov dword [0x1802c77d8], edi
call fcn.180103c10
cmp dword [0x1802ccbec], ebp
jle 0x1800c930b
movss xmm0, dword [0x1802adcfc]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1802adcf8]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x180265fb8]
movss xmm8, dword [0x1802add14]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x180266010]
movss xmm9, dword [0x1802adcf4]
call fcn.1800c95b0
mulss xmm9, dword [0x180266050]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c8ed1
call fcn.1800c95b0
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c8ed1
call fcn.1800c95b0
mulss xmm7, dword [0x180266050]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c8ed1
call fcn.1800c95b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c8ed1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], rbx
mov dword [0x1802c77d8], edi
call fcn.180103c10
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c8ed1
call fcn.1800c95b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802add14], xmm0
call fcn.1800c95b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180266018]
movss dword [0x1802adcf8], xmm0
movss xmm7, dword [0x1802add10]
movss xmm6, dword [0x1802adcdc]
call fcn.1800c95b0
movss xmm8, dword [0x180265fdc]
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 0x1800c9043
call fcn.1800c95b0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c9043
call fcn.1800c95b0
movss xmm7, dword [0x180265fb0]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c9043
call fcn.1800c95b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c9043
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], rbx
mov dword [0x1802c77d8], edi
call fcn.180103c10
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c9043
call fcn.1800c95b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802add10], xmm0
call fcn.1800c95b0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802adcdc], xmm0
movss xmm7, dword [0x1802add14]
movss xmm6, dword [0x1802adcf8]
subss xmm7, dword [0x180265fd0]
subss xmm6, dword [0x180265fe8]
call fcn.1800c95b0
movss xmm8, dword [0x180265fa0]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c9192
call fcn.1800c95b0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c9192
call fcn.1800c95b0
movss xmm7, dword [0x180265f80]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c9192
call fcn.1800c95b0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c9192
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], rbx
mov dword [0x1802c77d8], edi
call fcn.180103c10
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802d02c0], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c9192
call fcn.1800ca5b0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c9258
mov eax, dword [0x1802ccc04]
cmp eax, edi
jle 0x1800c91f9
dec eax
jmp 0x1800c91ff
mov eax, dword [0x1802ccbfc]
mov qword [rsp + 0x90], rbp
mov dword [0x1802ccc04], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r12
mov qword [0x1802c78b8], r13
mov qword [0x1802c78c0], r15
mov qword [0x1802c78c8], rbp
mov dword [0x1802c77d8], 4
call fcn.180103c10
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b8], rax
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r14
mov qword [0x1802c78b0], rbp
mov dword [0x1802c77d8], 2
call fcn.180103c10
cmp dword [rax], ebp
je 0x1800c930b
mov eax, dword [0x1802ccc04]
cmp dword [0x1802ccbfc], eax
jle 0x1800c92b2
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c78b0], rax
mov dword [0x1802ccc04], edi
mov dword [0x1802c77e8], ebp
mov qword [0x1802d02c0], r12
mov qword [0x1802c78b8], r13
mov qword [0x1802c78c0], r15
mov qword [0x1802c78c8], rbp
mov dword [0x1802c77d8], 4
call fcn.180103c10
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