Function at 0x1800c5ac0
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 [0x1802b39d1], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c616a
mov byte [0x1802b39d6], bpl
mov byte [0x1802b39d2], bpl
mov byte [0x1802b39d5], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802b6eb0]
sub rax, rcx
movsxd rcx, dword [0x180294d5c]
cmp rax, rcx
jbe 0x1800c615e
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x180294d54]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c5b92
cmp byte [0x1802b39d1], bpl
jne 0x1800c5b92
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c5b92
call fcn.1800c6b50
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802b6eb0], eax
mov esi, dword [0x180294d58]
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 0x1800c5bcf
cmp byte [0x1802b39d1], bpl
jne 0x1800c5bcf
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c5cb9
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802b70a0], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov dword [0x1802ae868], edi
call fcn.1800fc370
cmp dword [rax], ebp
jne 0x1800c5e64
mov eax, dword [0x180294d60]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c5e64
mov eax, dword [0x180294d64]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c5e64
cmp dword [0x1802b4988], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov byte [0x1802b39d8], dil
mov qword [0x1802b70a0], r12
mov dword [0x1802ae878], ebp
mov qword [0x1802ae950], r15
mov qword [0x1802ae958], rbp
mov dword [0x1802ae868], 4
jne 0x1800c5dd2
lea rax, [0x180247be0]
mov qword [0x1802ae948], rax
call fcn.1800fc370
mov rdx, qword [0x1802b68d0]
lea r8, [0x180000000]
mov rax, qword [0x1802b4980]
test rdx, rdx
je 0x1800c5d7e
movsxd rcx, dword [0x1802b4988]
mov qword [0x1802b4980], rdx
mov qword [r8 + rcx*8 + 0x2b4990], rax
mov eax, dword [0x1802b68e4]
mov dword [r8 + rcx*4 + 0x2b39e0], eax
mov eax, dword [0x1802b68dc]
mov dword [0x1802b4988], eax
mov eax, dword [0x1802b68e0]
mov dword [0x1802b68e4], eax
jmp 0x1800c5db7
movsxd rdx, dword [0x1802b4988]
mov qword [r8 + rdx*8 + 0x2b4990], rax
mov eax, dword [0x1802b68e4]
mov dword [r8 + rdx*4 + 0x2b39e0], eax
inc edx
lea rax, [0x1800d0420]
mov dword [0x1802b4988], edx
mov qword [0x1802b4980], rax
mov dword [0x1802b68e4], edi
cmp byte [0x1802b39d7], bpl
jne 0x1800c614a
movzx ecx, dil
call fcn.1800c85c0
jmp 0x1800c614a
lea rax, [0x180247bfc]
mov qword [0x1802ae948], rax
call fcn.1800fc370
cmp byte [0x1802b39d7], bpl
jne 0x1800c5dfa
xor ecx, ecx
call fcn.1800c85c0
jmp 0x1800c614a
cmp byte [0x1802b39d4], bpl
mov rax, qword [0x1802b4980]
mov qword [0x1802b68d0], rax
mov eax, dword [0x1802b4988]
mov dword [0x1802b68dc], eax
mov eax, dword [0x1802b68e4]
mov dword [0x1802b68e0], eax
mov rax, qword [0x1802b4990]
mov qword [0x1802b4980], rax
mov eax, dword [0x1802b39e0]
mov dword [0x1802b68e4], eax
mov dword [0x1802b4988], ebp
je 0x1800c614a
cmp byte [0x1802b39d0], bpl
je 0x1800c614a
call fcn.1800c6b50
jmp 0x1800c614a
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c5eec
cmp dword [0x1802b4988], ebp
jle 0x1800c614a
call fcn.1800c7ad0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
lea rax, str.BACK
jmp 0x1800c6119
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c5f89
mov eax, dword [0x1802b68e4]
cmp eax, edi
jle 0x1800c5f43
dec eax
jmp 0x1800c5f49
mov eax, dword [0x1802b68d8]
mov dword [0x1802b68e4], eax
cmp dword [0x1802b4988], ebp
jle 0x1800c614a
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov qword [0x1802ae948], r13
jmp 0x1800c6120
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c5fee
mov eax, dword [0x1802b68e4]
cmp eax, dword [0x1802b68d8]
jge 0x1800c5fe7
inc eax
jmp 0x1800c5f49
mov eax, edi
jmp 0x1800c5f49
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c6043
mov byte [0x1802b39d2], dil
jmp 0x1800c5f4f
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c6098
mov byte [0x1802b39d5], dil
jmp 0x1800c5f4f
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c6156
cmp dword [0x1802b4988], ebp
mov byte [0x1802b39d6], dil
jle 0x1800c614a
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
lea rax, str.SELECT
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r12
mov qword [0x1802ae950], r15
mov qword [0x1802ae958], rbp
mov dword [0x1802ae868], 4
call fcn.1800fc370
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802b6eb0], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802b68d8], ebp
mov dword [0x1802b68e8], ebp
cmp byte [0x1802b39d0], bpl
je 0x1800c67d4
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802ae868], ebp
mov qword [0x1802b70a0], rax
mov dword [0x1802ae878], ebp
call fcn.1800fc370
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], rbx
mov dword [0x1802ae868], edi
call fcn.1800fc370
cmp dword [0x1802b4988], ebp
jle 0x1800c67d4
movss xmm0, dword [0x180294d84]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x180294d80]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x18024f69c]
movss xmm8, dword [0x180294d94]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x18024f6d0]
movss xmm9, dword [0x180294d7c]
call fcn.1800c6a70
mulss xmm9, dword [0x18024f6fc]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c639a
call fcn.1800c6a70
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c639a
call fcn.1800c6a70
mulss xmm7, dword [0x18024f6fc]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c639a
call fcn.1800c6a70
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c639a
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], rbx
mov dword [0x1802ae868], edi
call fcn.1800fc370
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c639a
call fcn.1800c6a70
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x180294d94], xmm0
call fcn.1800c6a70
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x18024f6d4]
movss dword [0x180294d80], xmm0
movss xmm7, dword [0x180294d90]
movss xmm6, dword [0x180294d88]
call fcn.1800c6a70
movss xmm8, dword [0x18024f6b0]
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 0x1800c650c
call fcn.1800c6a70
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c650c
call fcn.1800c6a70
movss xmm7, dword [0x18024f698]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c650c
call fcn.1800c6a70
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c650c
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], rbx
mov dword [0x1802ae868], edi
call fcn.1800fc370
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c650c
call fcn.1800c6a70
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x180294d90], xmm0
call fcn.1800c6a70
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x180294d88], xmm0
movss xmm7, dword [0x180294d94]
movss xmm6, dword [0x180294d80]
subss xmm7, dword [0x18024f6ac]
subss xmm6, dword [0x18024f6b4]
call fcn.1800c6a70
movss xmm8, dword [0x18024f68c]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c665b
call fcn.1800c6a70
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c665b
call fcn.1800c6a70
movss xmm7, dword [0x18024f674]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c665b
call fcn.1800c6a70
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c665b
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], rbx
mov dword [0x1802ae868], edi
call fcn.1800fc370
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802b70a0], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c665b
call fcn.1800c7ad0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c6721
mov eax, dword [0x1802b68e4]
cmp eax, edi
jle 0x1800c66c2
dec eax
jmp 0x1800c66c8
mov eax, dword [0x1802b498c]
mov qword [rsp + 0x90], rbp
mov dword [0x1802b68e4], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r12
mov qword [0x1802ae948], r13
mov qword [0x1802ae950], r15
mov qword [0x1802ae958], rbp
mov dword [0x1802ae868], 4
call fcn.1800fc370
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae948], rax
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r14
mov qword [0x1802ae940], rbp
mov dword [0x1802ae868], 2
call fcn.1800fc370
cmp dword [rax], ebp
je 0x1800c67d4
mov eax, dword [0x1802b68e4]
cmp dword [0x1802b498c], eax
jle 0x1800c677b
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ae940], rax
mov dword [0x1802b68e4], edi
mov dword [0x1802ae878], ebp
mov qword [0x1802b70a0], r12
mov qword [0x1802ae948], r13
mov qword [0x1802ae950], r15
mov qword [0x1802ae958], rbp
mov dword [0x1802ae868], 4
call fcn.1800fc370
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