Function at 0x1800c7340
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 [0x1802cac52], bpl
lea r13, str.NAV_UP_DOWN
mov edi, 1
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
jne 0x1800c7a03
mov byte [0x1802cac56], bpl
mov byte [0x1802cac54], bpl
mov byte [0x1802cac57], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802ce140]
sub rax, rcx
movsxd rcx, dword [0x1802abd70]
cmp rax, rcx
jbe 0x1800c79f7
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802abd68]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c7414
cmp byte [0x1802cac52], bpl
jne 0x1800c7414
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c7414
call fcn.1800c83f0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802ce140], eax
mov esi, dword [0x1802abd6c]
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 0x1800c7451
cmp byte [0x1802cac52], bpl
jne 0x1800c7451
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c753b
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802ce370], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov dword [0x1802c5838], edi
call fcn.180100f70
cmp dword [rax], ebp
jne 0x1800c76fd
mov eax, dword [0x1802abd78]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c76fd
mov eax, dword [0x1802abd7c]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c76fd
cmp dword [0x1802cac5c], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov byte [0x1802cac59], dil
mov qword [0x1802ce370], r12
mov dword [0x1802c5848], ebp
mov qword [0x1802c5920], r15
mov qword [0x1802c5928], rbp
mov dword [0x1802c5838], 4
jne 0x1800c766b
lea rax, [0x18025b4f0]
mov qword [0x1802c5918], rax
call fcn.180100f70
mov rdx, qword [0x1802cac60]
test rdx, rdx
je 0x1800c7609
cmp byte [0x1802abd74], bpl
je 0x1800c7609
movsxd rcx, dword [0x1802cac5c]
lea r8, [0x180000000]
mov rax, qword [0x1802cdb68]
mov qword [0x1802cdb68], rdx
mov qword [r8 + rcx*8 + 0x2cbc20], rax
mov eax, dword [0x1802cac6c]
mov dword [r8 + rcx*4 + 0x2cac80], eax
mov eax, dword [0x1802cac70]
mov dword [0x1802cac5c], eax
mov eax, dword [0x1802cac7c]
mov dword [0x1802cac6c], eax
jmp 0x1800c7650
movsxd rdx, dword [0x1802cac5c]
lea r8, [0x180000000]
mov rax, qword [0x1802cdb68]
mov qword [r8 + rdx*8 + 0x2cbc20], rax
mov eax, dword [0x1802cac6c]
mov dword [r8 + rdx*4 + 0x2cac80], eax
inc edx
lea rax, [0x1800d42b0]
mov dword [0x1802cac5c], edx
mov qword [0x1802cdb68], rax
mov dword [0x1802cac6c], edi
cmp byte [0x1802cac58], bpl
jne 0x1800c79e3
movzx ecx, dil
call fcn.1800cbe40
jmp 0x1800c79e3
lea rax, [0x18025b4f4]
mov qword [0x1802c5918], rax
call fcn.180100f70
cmp byte [0x1802cac58], bpl
jne 0x1800c7693
xor ecx, ecx
call fcn.1800cbe40
jmp 0x1800c79e3
cmp byte [0x1802cac53], bpl
mov rax, qword [0x1802cdb68]
mov qword [0x1802cac60], rax
mov eax, dword [0x1802cac5c]
mov dword [0x1802cac70], eax
mov eax, dword [0x1802cac6c]
mov dword [0x1802cac7c], eax
mov rax, qword [0x1802cbc20]
mov qword [0x1802cdb68], rax
mov eax, dword [0x1802cac80]
mov dword [0x1802cac6c], eax
mov dword [0x1802cac5c], ebp
je 0x1800c79e3
cmp byte [0x1802cac51], bpl
je 0x1800c79e3
call fcn.1800c83f0
jmp 0x1800c79e3
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7785
cmp dword [0x1802cac5c], ebp
jle 0x1800c79e3
call fcn.1800c9440
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
lea rax, str.BACK
jmp 0x1800c79b2
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7822
mov eax, dword [0x1802cac6c]
cmp eax, edi
jle 0x1800c77dc
dec eax
jmp 0x1800c77e2
mov eax, dword [0x1802cac68]
mov dword [0x1802cac6c], eax
cmp dword [0x1802cac5c], ebp
jle 0x1800c79e3
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov qword [0x1802c5918], r13
jmp 0x1800c79b9
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7887
mov eax, dword [0x1802cac6c]
cmp eax, dword [0x1802cac68]
jge 0x1800c7880
inc eax
jmp 0x1800c77e2
mov eax, edi
jmp 0x1800c77e2
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c78dc
mov byte [0x1802cac54], dil
jmp 0x1800c77e8
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7931
mov byte [0x1802cac57], dil
jmp 0x1800c77e8
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c79ef
cmp dword [0x1802cac5c], ebp
mov byte [0x1802cac56], dil
jle 0x1800c79e3
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
lea rax, str.SELECT
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r12
mov qword [0x1802c5920], r15
mov qword [0x1802c5928], rbp
mov dword [0x1802c5838], 4
call fcn.180100f70
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802ce140], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802cac68], ebp
mov dword [0x1802cac78], ebp
cmp byte [0x1802cac51], bpl
je 0x1800c806e
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802c5838], ebp
mov qword [0x1802ce370], rax
mov dword [0x1802c5848], ebp
call fcn.180100f70
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], rbx
mov dword [0x1802c5838], edi
call fcn.180100f70
cmp dword [0x1802cac5c], ebp
jle 0x1800c806e
movss xmm0, dword [0x1802abda0]
movaps xmmword [rsp + 0x50], xmm6
movaps xmm6, xmm0
addss xmm6, dword [0x1802641b0]
movaps xmmword [rsp + 0x40], xmm7
movss xmm7, dword [0x1802abd84]
movaps xmmword [rsp + 0x30], xmm8
movss xmm8, dword [0x1802abd9c]
subss xmm8, xmm0
movaps xmmword [rsp + 0x20], xmm9
movss xmm9, dword [0x1802abdb8]
subss xmm8, dword [0x180264208]
call fcn.1800c8310
mulss xmm7, dword [0x180264248]
movaps xmm1, xmm9
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm7
comiss xmm0, xmm1
jb 0x1800c7c34
call fcn.1800c8310
addss xmm7, xmm9
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c7c34
call fcn.1800c8310
mulss xmm6, dword [0x180264248]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm6
comiss xmm0, xmm1
jbe 0x1800c7c34
call fcn.1800c8310
addss xmm6, xmm8
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7c34
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], rbx
mov dword [0x1802c5838], edi
call fcn.180100f70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7c34
call fcn.1800c8310
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802abdb8], xmm0
call fcn.1800c8310
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180264210]
movss dword [0x1802abd9c], xmm0
movss xmm7, dword [0x1802abda4]
movss xmm6, dword [0x1802abd80]
call fcn.1800c8310
movss xmm8, dword [0x1802641d4]
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 0x1800c7da6
call fcn.1800c8310
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c7da6
call fcn.1800c8310
movss xmm7, dword [0x1802641a8]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c7da6
call fcn.1800c8310
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7da6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], rbx
mov dword [0x1802c5838], edi
call fcn.180100f70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7da6
call fcn.1800c8310
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802abda4], xmm0
call fcn.1800c8310
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802abd80], xmm0
movss xmm7, dword [0x1802abdb8]
movss xmm6, dword [0x1802abd9c]
subss xmm7, dword [0x1802641c8]
subss xmm6, dword [0x1802641e0]
call fcn.1800c8310
movss xmm8, dword [0x180264198]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c7ef5
call fcn.1800c8310
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c7ef5
call fcn.1800c8310
movss xmm7, dword [0x180264178]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c7ef5
call fcn.1800c8310
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c7ef5
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], rbx
mov dword [0x1802c5838], edi
call fcn.180100f70
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802ce370], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c7ef5
call fcn.1800c9440
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c7fbb
mov eax, dword [0x1802cac6c]
cmp eax, edi
jle 0x1800c7f5c
dec eax
jmp 0x1800c7f62
mov eax, dword [0x1802cac74]
mov qword [rsp + 0x90], rbp
mov dword [0x1802cac6c], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r12
mov qword [0x1802c5918], r13
mov qword [0x1802c5920], r15
mov qword [0x1802c5928], rbp
mov dword [0x1802c5838], 4
call fcn.180100f70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5918], rax
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r14
mov qword [0x1802c5910], rbp
mov dword [0x1802c5838], 2
call fcn.180100f70
cmp dword [rax], ebp
je 0x1800c806e
mov eax, dword [0x1802cac6c]
cmp dword [0x1802cac74], eax
jle 0x1800c8015
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c5910], rax
mov dword [0x1802cac6c], edi
mov dword [0x1802c5848], ebp
mov qword [0x1802ce370], r12
mov qword [0x1802c5918], r13
mov qword [0x1802c5920], r15
mov qword [0x1802c5928], rbp
mov dword [0x1802c5838], 4
call fcn.180100f70
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