Function at 0x1800c8670
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 [0x1802cdbe2], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c8d31
mov byte [0x1802cdbe7], bpl
mov byte [0x1802cdbe3], bpl
mov byte [0x1802cdbe6], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802d10d0]
sub rax, rcx
movsxd rcx, dword [0x1802aecd0]
cmp rax, rcx
jbe 0x1800c8d25
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802aecc8]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c8742
cmp byte [0x1802cdbe2], bpl
jne 0x1800c8742
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c8742
call fcn.1800c9720
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d10d0], eax
mov esi, dword [0x1802aeccc]
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 0x1800c877f
cmp byte [0x1802cdbe2], bpl
jne 0x1800c877f
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c8869
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802d12c0], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov dword [0x1802c87d8], edi
call fcn.180103f50
cmp dword [rax], ebp
jne 0x1800c8a2b
mov eax, dword [0x1802aecd8]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8a2b
mov eax, dword [0x1802aecdc]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8a2b
cmp dword [0x1802cdbec], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov byte [0x1802cdbe9], dil
mov qword [0x1802d12c0], r12
mov dword [0x1802c87e8], ebp
mov qword [0x1802c88c0], r15
mov qword [0x1802c88c8], rbp
mov dword [0x1802c87d8], 4
jne 0x1800c8999
lea rax, [0x18025e430]
mov qword [0x1802c88b8], rax
call fcn.180103f50
mov rdx, qword [0x1802cdbf0]
test rdx, rdx
je 0x1800c8937
cmp byte [0x1802aecd4], bpl
je 0x1800c8937
movsxd rcx, dword [0x1802cdbec]
lea r8, [0x180000000]
mov rax, qword [0x1802cebb8]
mov qword [0x1802cebb8], rdx
mov qword [r8 + rcx*8 + 0x2cebc0], rax
mov eax, dword [0x1802cdc08]
mov dword [r8 + rcx*4 + 0x2cdc10], eax
mov eax, dword [0x1802cdc00]
mov dword [0x1802cdbec], eax
mov eax, dword [0x1802cdc04]
mov dword [0x1802cdc08], eax
jmp 0x1800c897e
movsxd rdx, dword [0x1802cdbec]
lea r8, [0x180000000]
mov rax, qword [0x1802cebb8]
mov qword [r8 + rdx*8 + 0x2cebc0], rax
mov eax, dword [0x1802cdc08]
mov dword [r8 + rdx*4 + 0x2cdc10], eax
inc edx
lea rax, [0x1800d5820]
mov dword [0x1802cdbec], edx
mov qword [0x1802cebb8], rax
mov dword [0x1802cdc08], edi
cmp byte [0x1802cdbe8], bpl
jne 0x1800c8d11
movzx ecx, dil
call fcn.1800cd180
jmp 0x1800c8d11
lea rax, [0x18025e434]
mov qword [0x1802c88b8], rax
call fcn.180103f50
cmp byte [0x1802cdbe8], bpl
jne 0x1800c89c1
xor ecx, ecx
call fcn.1800cd180
jmp 0x1800c8d11
cmp byte [0x1802cdbe5], bpl
mov rax, qword [0x1802cebb8]
mov qword [0x1802cdbf0], rax
mov eax, dword [0x1802cdbec]
mov dword [0x1802cdc00], eax
mov eax, dword [0x1802cdc08]
mov dword [0x1802cdc04], eax
mov rax, qword [0x1802cebc0]
mov qword [0x1802cebb8], rax
mov eax, dword [0x1802cdc10]
mov dword [0x1802cdc08], eax
mov dword [0x1802cdbec], ebp
je 0x1800c8d11
cmp byte [0x1802cdbe1], bpl
je 0x1800c8d11
call fcn.1800c9720
jmp 0x1800c8d11
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8ab3
cmp dword [0x1802cdbec], ebp
jle 0x1800c8d11
call fcn.1800ca640
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
lea rax, str.BACK
jmp 0x1800c8ce0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8b50
mov eax, dword [0x1802cdc08]
cmp eax, edi
jle 0x1800c8b0a
dec eax
jmp 0x1800c8b10
mov eax, dword [0x1802cdbfc]
mov dword [0x1802cdc08], eax
cmp dword [0x1802cdbec], ebp
jle 0x1800c8d11
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov qword [0x1802c88b8], r13
jmp 0x1800c8ce7
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8bb5
mov eax, dword [0x1802cdc08]
cmp eax, dword [0x1802cdbfc]
jge 0x1800c8bae
inc eax
jmp 0x1800c8b10
mov eax, edi
jmp 0x1800c8b10
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8c0a
mov byte [0x1802cdbe3], dil
jmp 0x1800c8b16
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8c5f
mov byte [0x1802cdbe6], dil
jmp 0x1800c8b16
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8d1d
cmp dword [0x1802cdbec], ebp
mov byte [0x1802cdbe7], dil
jle 0x1800c8d11
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
lea rax, str.SELECT
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r12
mov qword [0x1802c88c0], r15
mov qword [0x1802c88c8], rbp
mov dword [0x1802c87d8], 4
call fcn.180103f50
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d10d0], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802cdbfc], ebp
mov dword [0x1802cdc0c], ebp
cmp byte [0x1802cdbe1], bpl
je 0x1800c939b
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802c87d8], ebp
mov qword [0x1802d12c0], rax
mov dword [0x1802c87e8], ebp
call fcn.180103f50
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], rbx
mov dword [0x1802c87d8], edi
call fcn.180103f50
cmp dword [0x1802cdbec], ebp
jle 0x1800c939b
movss xmm0, dword [0x1802aecfc]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1802aecf8]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x180267078]
movss xmm8, dword [0x1802aed08]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x1802670d0]
movss xmm9, dword [0x1802aecf4]
call fcn.1800c9640
mulss xmm9, dword [0x180267110]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c8f61
call fcn.1800c9640
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c8f61
call fcn.1800c9640
mulss xmm7, dword [0x180267110]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c8f61
call fcn.1800c9640
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c8f61
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], rbx
mov dword [0x1802c87d8], edi
call fcn.180103f50
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c8f61
call fcn.1800c9640
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802aed08], xmm0
call fcn.1800c9640
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x1802670d8]
movss dword [0x1802aecf8], xmm0
movss xmm7, dword [0x1802aed04]
movss xmm6, dword [0x1802aed00]
call fcn.1800c9640
movss xmm8, dword [0x18026709c]
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 0x1800c90d3
call fcn.1800c9640
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c90d3
call fcn.1800c9640
movss xmm7, dword [0x180267070]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c90d3
call fcn.1800c9640
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c90d3
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], rbx
mov dword [0x1802c87d8], edi
call fcn.180103f50
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c90d3
call fcn.1800c9640
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802aed04], xmm0
call fcn.1800c9640
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802aed00], xmm0
movss xmm7, dword [0x1802aed08]
movss xmm6, dword [0x1802aecf8]
subss xmm7, dword [0x180267090]
subss xmm6, dword [0x1802670a8]
call fcn.1800c9640
movss xmm8, dword [0x180267060]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c9222
call fcn.1800c9640
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c9222
call fcn.1800c9640
movss xmm7, dword [0x180267040]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c9222
call fcn.1800c9640
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c9222
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], rbx
mov dword [0x1802c87d8], edi
call fcn.180103f50
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802d12c0], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c9222
call fcn.1800ca640
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c92e8
mov eax, dword [0x1802cdc08]
cmp eax, edi
jle 0x1800c9289
dec eax
jmp 0x1800c928f
mov eax, dword [0x1802cdbf8]
mov qword [rsp + 0x90], rbp
mov dword [0x1802cdc08], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r12
mov qword [0x1802c88b8], r13
mov qword [0x1802c88c0], r15
mov qword [0x1802c88c8], rbp
mov dword [0x1802c87d8], 4
call fcn.180103f50
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b8], rax
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r14
mov qword [0x1802c88b0], rbp
mov dword [0x1802c87d8], 2
call fcn.180103f50
cmp dword [rax], ebp
je 0x1800c939b
mov eax, dword [0x1802cdc08]
cmp dword [0x1802cdbf8], eax
jle 0x1800c9342
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c88b0], rax
mov dword [0x1802cdc08], edi
mov dword [0x1802c87e8], ebp
mov qword [0x1802d12c0], r12
mov qword [0x1802c88b8], r13
mov qword [0x1802c88c0], r15
mov qword [0x1802c88c8], rbp
mov dword [0x1802c87d8], 4
call fcn.180103f50
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