Function at 0x1800c7410
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 [0x1802bd979], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c7ad1
mov byte [0x1802bd97d], bpl
mov byte [0x1802bd97a], bpl
mov byte [0x1802bd97e], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802c0e78]
sub rax, rcx
movsxd rcx, dword [0x18029ed30]
cmp rax, rcx
jbe 0x1800c7ac5
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x18029ed28]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c74e2
cmp byte [0x1802bd979], bpl
jne 0x1800c74e2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c74e2
call fcn.1800c84c0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802c0e78], eax
mov esi, dword [0x18029ed2c]
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 0x1800c751f
cmp byte [0x1802bd979], bpl
jne 0x1800c751f
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c7609
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802c1018], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov dword [0x1802b87f8], edi
call fcn.1801022a0
cmp dword [rax], ebp
jne 0x1800c77cb
mov eax, dword [0x18029ed38]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c77cb
mov eax, dword [0x18029ed3c]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c77cb
cmp dword [0x1802bd980], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov byte [0x1802bd984], dil
mov qword [0x1802c1018], r12
mov dword [0x1802b8808], ebp
mov qword [0x1802b88e0], r15
mov qword [0x1802b88e8], rbp
mov dword [0x1802b87f8], 4
jne 0x1800c7739
lea rax, [0x180250060]
mov qword [0x1802b88d8], rax
call fcn.1801022a0
mov rdx, qword [0x1802bd988]
test rdx, rdx
je 0x1800c76d7
cmp byte [0x18029ed34], bpl
je 0x1800c76d7
movsxd rcx, dword [0x1802bd980]
lea r8, [0x180000000]
mov rax, qword [0x1802c0898]
mov qword [0x1802c0898], rdx
mov qword [r8 + rcx*8 + 0x2be950], rax
mov eax, dword [0x1802bd994]
mov dword [r8 + rcx*4 + 0x2bd9b0], eax
mov eax, dword [0x1802bd998]
mov dword [0x1802bd980], eax
mov eax, dword [0x1802bd9a0]
mov dword [0x1802bd994], eax
jmp 0x1800c771e
movsxd rdx, dword [0x1802bd980]
lea r8, [0x180000000]
mov rax, qword [0x1802c0898]
mov qword [r8 + rdx*8 + 0x2be950], rax
mov eax, dword [0x1802bd994]
mov dword [r8 + rdx*4 + 0x2bd9b0], eax
inc edx
lea rax, [0x1800d4410]
mov dword [0x1802bd980], edx
mov qword [0x1802c0898], rax
mov dword [0x1802bd994], edi
cmp byte [0x1802bd97f], bpl
jne 0x1800c7ab1
movzx ecx, dil
call fcn.1800cbeb0
jmp 0x1800c7ab1
lea rax, [0x180250030]
mov qword [0x1802b88d8], rax
call fcn.1801022a0
cmp byte [0x1802bd97f], bpl
jne 0x1800c7761
xor ecx, ecx
call fcn.1800cbeb0
jmp 0x1800c7ab1
cmp byte [0x1802bd97b], bpl
mov rax, qword [0x1802c0898]
mov qword [0x1802bd988], rax
mov eax, dword [0x1802bd980]
mov dword [0x1802bd998], eax
mov eax, dword [0x1802bd994]
mov dword [0x1802bd9a0], eax
mov rax, qword [0x1802be950]
mov qword [0x1802c0898], rax
mov eax, dword [0x1802bd9b0]
mov dword [0x1802bd994], eax
mov dword [0x1802bd980], ebp
je 0x1800c7ab1
cmp byte [0x1802bd978], bpl
je 0x1800c7ab1
call fcn.1800c84c0
jmp 0x1800c7ab1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7853
cmp dword [0x1802bd980], ebp
jle 0x1800c7ab1
call fcn.1800c9470
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
lea rax, str.BACK
jmp 0x1800c7a80
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c78f0
mov eax, dword [0x1802bd994]
cmp eax, edi
jle 0x1800c78aa
dec eax
jmp 0x1800c78b0
mov eax, dword [0x1802bd990]
mov dword [0x1802bd994], eax
cmp dword [0x1802bd980], ebp
jle 0x1800c7ab1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov qword [0x1802b88d8], r13
jmp 0x1800c7a87
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7955
mov eax, dword [0x1802bd994]
cmp eax, dword [0x1802bd990]
jge 0x1800c794e
inc eax
jmp 0x1800c78b0
mov eax, edi
jmp 0x1800c78b0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c79aa
mov byte [0x1802bd97a], dil
jmp 0x1800c78b6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c79ff
mov byte [0x1802bd97e], dil
jmp 0x1800c78b6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7abd
cmp dword [0x1802bd980], ebp
mov byte [0x1802bd97d], dil
jle 0x1800c7ab1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
lea rax, str.SELECT
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r12
mov qword [0x1802b88e0], r15
mov qword [0x1802b88e8], rbp
mov dword [0x1802b87f8], 4
call fcn.1801022a0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802c0e78], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802bd990], ebp
mov dword [0x1802bd9a4], ebp
cmp byte [0x1802bd978], bpl
je 0x1800c813b
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802b87f8], ebp
mov qword [0x1802c1018], rax
mov dword [0x1802b8808], ebp
call fcn.1801022a0
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], rbx
mov dword [0x1802b87f8], edi
call fcn.1801022a0
cmp dword [0x1802bd980], ebp
jle 0x1800c813b
movss xmm0, dword [0x18029ed40]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x18029ed64]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x180258c84]
movss xmm8, dword [0x18029ed68]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x180258cdc]
movss xmm9, dword [0x18029ed60]
call fcn.1800c83e0
mulss xmm9, dword [0x180258d1c]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c7d01
call fcn.1800c83e0
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c7d01
call fcn.1800c83e0
mulss xmm7, dword [0x180258d1c]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c7d01
call fcn.1800c83e0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7d01
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], rbx
mov dword [0x1802b87f8], edi
call fcn.1801022a0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7d01
call fcn.1800c83e0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x18029ed68], xmm0
call fcn.1800c83e0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180258ce4]
movss dword [0x18029ed64], xmm0
movss xmm7, dword [0x18029ed5c]
movss xmm6, dword [0x18029ed44]
call fcn.1800c83e0
movss xmm8, dword [0x180258ca8]
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 0x1800c7e73
call fcn.1800c83e0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c7e73
call fcn.1800c83e0
movss xmm7, dword [0x180258c7c]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c7e73
call fcn.1800c83e0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7e73
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], rbx
mov dword [0x1802b87f8], edi
call fcn.1801022a0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7e73
call fcn.1800c83e0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x18029ed5c], xmm0
call fcn.1800c83e0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x18029ed44], xmm0
movss xmm7, dword [0x18029ed68]
movss xmm6, dword [0x18029ed64]
subss xmm7, dword [0x180258c9c]
subss xmm6, dword [0x180258cb4]
call fcn.1800c83e0
movss xmm8, dword [0x180258c6c]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c7fc2
call fcn.1800c83e0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c7fc2
call fcn.1800c83e0
movss xmm7, dword [0x180258c4c]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c7fc2
call fcn.1800c83e0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7fc2
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], rbx
mov dword [0x1802b87f8], edi
call fcn.1801022a0
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802c1018], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c7fc2
call fcn.1800c9470
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c8088
mov eax, dword [0x1802bd994]
cmp eax, edi
jle 0x1800c8029
dec eax
jmp 0x1800c802f
mov eax, dword [0x1802bd99c]
mov qword [rsp + 0x90], rbp
mov dword [0x1802bd994], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r12
mov qword [0x1802b88d8], r13
mov qword [0x1802b88e0], r15
mov qword [0x1802b88e8], rbp
mov dword [0x1802b87f8], 4
call fcn.1801022a0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d8], rax
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r14
mov qword [0x1802b88d0], rbp
mov dword [0x1802b87f8], 2
call fcn.1801022a0
cmp dword [rax], ebp
je 0x1800c813b
mov eax, dword [0x1802bd994]
cmp dword [0x1802bd99c], eax
jle 0x1800c80e2
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802b88d0], rax
mov dword [0x1802bd994], edi
mov dword [0x1802b8808], ebp
mov qword [0x1802c1018], r12
mov qword [0x1802b88d8], r13
mov qword [0x1802b88e0], r15
mov qword [0x1802b88e8], rbp
mov dword [0x1802b87f8], 4
call fcn.1801022a0
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