Function at 0x1800c8800
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 [0x1802ceba9], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800c8ec1
mov byte [0x1802cebac], bpl
mov byte [0x1802cebaa], bpl
mov byte [0x1802cebad], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802d20a8]
sub rax, rcx
movsxd rcx, dword [0x1802afd30]
cmp rax, rcx
jbe 0x1800c8eb5
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802afd28]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c88d2
cmp byte [0x1802ceba9], bpl
jne 0x1800c88d2
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c88d2
call fcn.1800c98b0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d20a8], eax
mov esi, dword [0x1802afd2c]
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 0x1800c890f
cmp byte [0x1802ceba9], bpl
jne 0x1800c890f
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c89f9
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802d2208], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov dword [0x1802c9838], edi
call fcn.1801038c0
cmp dword [rax], ebp
jne 0x1800c8bbb
mov eax, dword [0x1802afd38]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8bbb
mov eax, dword [0x1802afd3c]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8bbb
cmp dword [0x1802cebb0], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov byte [0x1802cebb4], dil
mov qword [0x1802d2208], r12
mov dword [0x1802c9848], ebp
mov qword [0x1802c9920], r15
mov qword [0x1802c9928], rbp
mov dword [0x1802c9838], 4
jne 0x1800c8b29
lea rax, [0x18025e430]
mov qword [0x1802c9918], rax
call fcn.1801038c0
mov rdx, qword [0x1802cebb8]
test rdx, rdx
je 0x1800c8ac7
cmp byte [0x1802afd34], bpl
je 0x1800c8ac7
movsxd rcx, dword [0x1802cebb0]
lea r8, [0x180000000]
mov rax, qword [0x1802d1ac8]
mov qword [0x1802d1ac8], rdx
mov qword [r8 + rcx*8 + 0x2cfb80], rax
mov eax, dword [0x1802cebcc]
mov dword [r8 + rcx*4 + 0x2cebe0], eax
mov eax, dword [0x1802cebc0]
mov dword [0x1802cebb0], eax
mov eax, dword [0x1802cebd0]
mov dword [0x1802cebcc], eax
jmp 0x1800c8b0e
movsxd rdx, dword [0x1802cebb0]
lea r8, [0x180000000]
mov rax, qword [0x1802d1ac8]
mov qword [r8 + rdx*8 + 0x2cfb80], rax
mov eax, dword [0x1802cebcc]
mov dword [r8 + rdx*4 + 0x2cebe0], eax
inc edx
lea rax, [0x1800d58c0]
mov dword [0x1802cebb0], edx
mov qword [0x1802d1ac8], rax
mov dword [0x1802cebcc], edi
cmp byte [0x1802cebaf], bpl
jne 0x1800c8ea1
movzx ecx, dil
call fcn.1800cd290
jmp 0x1800c8ea1
lea rax, [0x18025e44c]
mov qword [0x1802c9918], rax
call fcn.1801038c0
cmp byte [0x1802cebaf], bpl
jne 0x1800c8b51
xor ecx, ecx
call fcn.1800cd290
jmp 0x1800c8ea1
cmp byte [0x1802cebab], bpl
mov rax, qword [0x1802d1ac8]
mov qword [0x1802cebb8], rax
mov eax, dword [0x1802cebb0]
mov dword [0x1802cebc0], eax
mov eax, dword [0x1802cebcc]
mov dword [0x1802cebd0], eax
mov rax, qword [0x1802cfb80]
mov qword [0x1802d1ac8], rax
mov eax, dword [0x1802cebe0]
mov dword [0x1802cebcc], eax
mov dword [0x1802cebb0], ebp
je 0x1800c8ea1
cmp byte [0x1802ceba8], bpl
je 0x1800c8ea1
call fcn.1800c98b0
jmp 0x1800c8ea1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8c43
cmp dword [0x1802cebb0], ebp
jle 0x1800c8ea1
call fcn.1800ca860
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
lea rax, str.BACK
jmp 0x1800c8e70
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8ce0
mov eax, dword [0x1802cebcc]
cmp eax, edi
jle 0x1800c8c9a
dec eax
jmp 0x1800c8ca0
mov eax, dword [0x1802cebc8]
mov dword [0x1802cebcc], eax
cmp dword [0x1802cebb0], ebp
jle 0x1800c8ea1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov qword [0x1802c9918], r13
jmp 0x1800c8e77
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8d45
mov eax, dword [0x1802cebcc]
cmp eax, dword [0x1802cebc8]
jge 0x1800c8d3e
inc eax
jmp 0x1800c8ca0
mov eax, edi
jmp 0x1800c8ca0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8d9a
mov byte [0x1802cebaa], dil
jmp 0x1800c8ca6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8def
mov byte [0x1802cebad], dil
jmp 0x1800c8ca6
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c8ead
cmp dword [0x1802cebb0], ebp
mov byte [0x1802cebac], dil
jle 0x1800c8ea1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
lea rax, str.SELECT
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r12
mov qword [0x1802c9920], r15
mov qword [0x1802c9928], rbp
mov dword [0x1802c9838], 4
call fcn.1801038c0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d20a8], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802cebc8], ebp
mov dword [0x1802cebd4], ebp
cmp byte [0x1802ceba8], bpl
je 0x1800c952b
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802c9838], ebp
mov qword [0x1802d2208], rax
mov dword [0x1802c9848], ebp
call fcn.1801038c0
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], rbx
mov dword [0x1802c9838], edi
call fcn.1801038c0
cmp dword [0x1802cebb0], ebp
jle 0x1800c952b
movss xmm0, dword [0x1802afd5c]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1802afd58]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x180267a28]
movss xmm8, dword [0x1802afd68]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x180267a80]
movss xmm9, dword [0x1802afd54]
call fcn.1800c97d0
mulss xmm9, dword [0x180267ac0]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800c90f1
call fcn.1800c97d0
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800c90f1
call fcn.1800c97d0
mulss xmm7, dword [0x180267ac0]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800c90f1
call fcn.1800c97d0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c90f1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], rbx
mov dword [0x1802c9838], edi
call fcn.1801038c0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c90f1
call fcn.1800c97d0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802afd68], xmm0
call fcn.1800c97d0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180267a88]
movss dword [0x1802afd58], xmm0
movss xmm7, dword [0x1802afd64]
movss xmm6, dword [0x1802afd60]
call fcn.1800c97d0
movss xmm8, dword [0x180267a4c]
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 0x1800c9263
call fcn.1800c97d0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c9263
call fcn.1800c97d0
movss xmm7, dword [0x180267a20]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c9263
call fcn.1800c97d0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c9263
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], rbx
mov dword [0x1802c9838], edi
call fcn.1801038c0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c9263
call fcn.1800c97d0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802afd64], xmm0
call fcn.1800c97d0
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802afd60], xmm0
movss xmm7, dword [0x1802afd68]
movss xmm6, dword [0x1802afd58]
subss xmm7, dword [0x180267a40]
subss xmm6, dword [0x180267a58]
call fcn.1800c97d0
movss xmm8, dword [0x180267a10]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800c93b2
call fcn.1800c97d0
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800c93b2
call fcn.1800c97d0
movss xmm7, dword [0x1802679f0]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800c93b2
call fcn.1800c97d0
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800c93b2
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], rbx
mov dword [0x1802c9838], edi
call fcn.1801038c0
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802d2208], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c93b2
call fcn.1800ca860
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800c9478
mov eax, dword [0x1802cebcc]
cmp eax, edi
jle 0x1800c9419
dec eax
jmp 0x1800c941f
mov eax, dword [0x1802cebc4]
mov qword [rsp + 0x90], rbp
mov dword [0x1802cebcc], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r12
mov qword [0x1802c9918], r13
mov qword [0x1802c9920], r15
mov qword [0x1802c9928], rbp
mov dword [0x1802c9838], 4
call fcn.1801038c0
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9918], rax
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r14
mov qword [0x1802c9910], rbp
mov dword [0x1802c9838], 2
call fcn.1801038c0
cmp dword [rax], ebp
je 0x1800c952b
mov eax, dword [0x1802cebcc]
cmp dword [0x1802cebc4], eax
jle 0x1800c94d2
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802c9910], rax
mov dword [0x1802cebcc], edi
mov dword [0x1802c9848], ebp
mov qword [0x1802d2208], r12
mov qword [0x1802c9918], r13
mov qword [0x1802c9920], r15
mov qword [0x1802c9928], rbp
mov dword [0x1802c9838], 4
call fcn.1801038c0
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