Function at 0x1800c9dc0
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 [0x1802cfbe8], bpl
lea r13, str.NAV_UP_DOWN
movabs r14, 0xe2587f8cbbd87b1d
movabs r12, 0x67c540aa08e4a6f5
lea edi, [rbp + 1]
jne 0x1800ca481
mov byte [0x1802cfbeb], bpl
mov byte [0x1802cfbe9], bpl
mov byte [0x1802cfbec], bpl
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
movsxd rcx, dword [0x1802d3118]
sub rax, rcx
movsxd rcx, dword [0x1802b0cd0]
cmp rax, rcx
jbe 0x1800ca475
mov qword [rsp + 0x98], rsi
lea rcx, str.grcWindow
mov esi, dword [0x1802b0cc8]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x1800c9e92
cmp byte [0x1802cfbe8], bpl
jne 0x1800c9e92
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
je 0x1800c9e92
call fcn.1800cae70
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d3118], eax
mov esi, dword [0x1802b0ccc]
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 0x1800c9ecf
cmp byte [0x1802cfbe8], bpl
jne 0x1800c9ecf
mov ecx, esi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test dil, al
jne 0x1800c9fb9
movabs rax, 0xa571d46727e2b718
mov qword [rsp + 0x90], rbp
mov qword [0x1802d3278], rax
mov dword [rsp + 0x90], 2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov dword [0x1802ca7d8], edi
call fcn.180106160
cmp dword [rax], ebp
jne 0x1800ca17b
mov eax, dword [0x1802b0cd8]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca17b
mov eax, dword [0x1802b0cdc]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca17b
cmp dword [0x1802cfbf0], ebp
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov byte [0x1802cfbef], dil
mov qword [0x1802d3278], r12
mov dword [0x1802ca7e8], ebp
mov qword [0x1802ca8c0], r15
mov qword [0x1802ca8c8], rbp
mov dword [0x1802ca7d8], 4
jne 0x1800ca0e9
lea rax, [0x180260800]
mov qword [0x1802ca8b8], rax
call fcn.180106160
mov rdx, qword [0x1802cfbf8]
test rdx, rdx
je 0x1800ca087
cmp byte [0x1802b0cd4], bpl
je 0x1800ca087
movsxd rcx, dword [0x1802cfbf0]
lea r8, [0x180000000]
mov rax, qword [0x1802d0bc0]
mov qword [0x1802d0bc0], rdx
mov qword [r8 + rcx*8 + 0x2d0bd0], rax
mov eax, dword [0x1802cfc10]
mov dword [r8 + rcx*4 + 0x2cfc20], eax
mov eax, dword [0x1802cfc00]
mov dword [0x1802cfbf0], eax
mov eax, dword [0x1802cfc08]
mov dword [0x1802cfc10], eax
jmp 0x1800ca0ce
movsxd rdx, dword [0x1802cfbf0]
lea r8, [0x180000000]
mov rax, qword [0x1802d0bc0]
mov qword [r8 + rdx*8 + 0x2d0bd0], rax
mov eax, dword [0x1802cfc10]
mov dword [r8 + rdx*4 + 0x2cfc20], eax
inc edx
lea rax, [0x1800d6fb0]
mov dword [0x1802cfbf0], edx
mov qword [0x1802d0bc0], rax
mov dword [0x1802cfc10], edi
cmp byte [0x1802cfbee], bpl
jne 0x1800ca461
movzx ecx, dil
call fcn.1800ce880
jmp 0x1800ca461
lea rax, [0x180260804]
mov qword [0x1802ca8b8], rax
call fcn.180106160
cmp byte [0x1802cfbee], bpl
jne 0x1800ca111
xor ecx, ecx
call fcn.1800ce880
jmp 0x1800ca461
cmp byte [0x1802cfbea], bpl
mov rax, qword [0x1802d0bc0]
mov qword [0x1802cfbf8], rax
mov eax, dword [0x1802cfbf0]
mov dword [0x1802cfc00], eax
mov eax, dword [0x1802cfc10]
mov dword [0x1802cfc08], eax
mov rax, qword [0x1802d0bd0]
mov qword [0x1802d0bc0], rax
mov eax, dword [0x1802cfc20]
mov dword [0x1802cfc10], eax
mov dword [0x1802cfbf0], ebp
je 0x1800ca461
cmp byte [0x1802cfbd7], bpl
je 0x1800ca461
call fcn.1800cae70
jmp 0x1800ca461
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xca
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca203
cmp dword [0x1802cfbf0], ebp
jle 0x1800ca461
call fcn.1800cbd40
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
lea rax, str.BACK
jmp 0x1800ca430
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbc
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca2a0
mov eax, dword [0x1802cfc10]
cmp eax, edi
jle 0x1800ca25a
dec eax
jmp 0x1800ca260
mov eax, dword [0x1802cfc0c]
mov dword [0x1802cfc10], eax
cmp dword [0x1802cfbf0], ebp
jle 0x1800ca461
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov qword [0x1802ca8b8], r13
jmp 0x1800ca437
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbb
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca305
mov eax, dword [0x1802cfc10]
cmp eax, dword [0x1802cfc0c]
jge 0x1800ca2fe
inc eax
jmp 0x1800ca260
mov eax, edi
jmp 0x1800ca260
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbe
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca35a
mov byte [0x1802cfbe9], dil
jmp 0x1800ca266
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xbd
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca3af
mov byte [0x1802cfbec], dil
jmp 0x1800ca266
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xc9
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca46d
cmp dword [0x1802cfbf0], ebp
mov byte [0x1802cfbeb], dil
jle 0x1800ca461
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
lea rax, str.SELECT
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r12
mov qword [0x1802ca8c0], r15
mov qword [0x1802ca8c8], rbp
mov dword [0x1802ca7d8], 4
call fcn.180106160
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [0x1802d3118], eax
mov rsi, qword [rsp + 0x98]
mov dword [0x1802cfc0c], ebp
mov dword [0x1802cfc14], ebp
cmp byte [0x1802cfbd7], bpl
je 0x1800caaeb
movabs rax, 0xaae7ce1d63167423
mov dword [0x1802ca7d8], ebp
mov qword [0x1802d3278], rax
mov dword [0x1802ca7e8], ebp
call fcn.180106160
mov qword [rsp + 0x90], rbp
movabs rbx, 0x8db8cffd58b62552
mov dword [rsp + 0x90], edi
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], rbx
mov dword [0x1802ca7d8], edi
call fcn.180106160
cmp dword [0x1802cfbf0], ebp
jle 0x1800caaeb
movss xmm0, dword [0x1802b0ce0]
movaps xmmword [rsp + 0x50], xmm6
movss xmm6, dword [0x1802b0d04]
movaps xmmword [rsp + 0x40], xmm7
subss xmm6, xmm0
movaps xmmword [rsp + 0x30], xmm8
movaps xmm7, xmm0
addss xmm7, dword [0x1802695c8]
movss xmm8, dword [0x1802b0d08]
movaps xmmword [rsp + 0x20], xmm9
subss xmm6, dword [0x180269620]
movss xmm9, dword [0x1802b0d00]
call fcn.1800cad90
mulss xmm9, dword [0x180269660]
movaps xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
subss xmm1, xmm9
comiss xmm0, xmm1
jb 0x1800ca6b1
call fcn.1800cad90
addss xmm8, xmm9
mov qword [rsp + 0x90], rax
comiss xmm8, dword [rsp + 0x90]
jb 0x1800ca6b1
call fcn.1800cad90
mulss xmm7, dword [0x180269660]
movaps xmm1, xmm6
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
subss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1800ca6b1
call fcn.1800cad90
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800ca6b1
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], rbx
mov dword [0x1802ca7d8], edi
call fcn.180106160
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca6b1
call fcn.1800cad90
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802b0d08], xmm0
call fcn.1800cad90
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
addss xmm0, dword [0x180269628]
movss dword [0x1802b0d04], xmm0
movss xmm7, dword [0x1802b0cfc]
movss xmm6, dword [0x1802b0ce4]
call fcn.1800cad90
movss xmm8, dword [0x1802695ec]
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 0x1800ca823
call fcn.1800cad90
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800ca823
call fcn.1800cad90
movss xmm7, dword [0x1802695c0]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800ca823
call fcn.1800cad90
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800ca823
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], rbx
mov dword [0x1802ca7d8], edi
call fcn.180106160
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca823
call fcn.1800cad90
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
movss dword [0x1802b0cfc], xmm0
call fcn.1800cad90
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
movss dword [0x1802b0ce4], xmm0
movss xmm7, dword [0x1802b0d08]
movss xmm6, dword [0x1802b0d04]
subss xmm7, dword [0x1802695e0]
subss xmm6, dword [0x1802695f8]
call fcn.1800cad90
movss xmm8, dword [0x1802695b0]
movaps xmm1, xmm7
subss xmm1, xmm8
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x90]
comiss xmm0, xmm1
jb 0x1800ca972
call fcn.1800cad90
addss xmm7, xmm8
mov qword [rsp + 0x90], rax
comiss xmm7, dword [rsp + 0x90]
jb 0x1800ca972
call fcn.1800cad90
movss xmm7, dword [0x180269590]
movaps xmm1, xmm6
subss xmm1, xmm7
mov qword [rsp + 0x90], rax
movss xmm0, dword [rsp + 0x94]
comiss xmm0, xmm1
jbe 0x1800ca972
call fcn.1800cad90
addss xmm6, xmm7
mov qword [rsp + 0x90], rax
comiss xmm6, dword [rsp + 0x94]
jbe 0x1800ca972
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 3
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], rbx
mov dword [0x1802ca7d8], edi
call fcn.180106160
movabs rax, 0x305c8dcd79da8b0f
mov qword [rsp + 0x90], rbp
mov qword [0x1802d3278], rax
mov dword [rsp + 0x90], 0xed
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800ca972
call fcn.1800cbd40
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf1
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
cmp dword [rax], ebp
je 0x1800caa38
mov eax, dword [0x1802cfc10]
cmp eax, edi
jle 0x1800ca9d9
dec eax
jmp 0x1800ca9df
mov eax, dword [0x1802cfc04]
mov qword [rsp + 0x90], rbp
mov dword [0x1802cfc10], eax
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r12
mov qword [0x1802ca8b8], r13
mov qword [0x1802ca8c0], r15
mov qword [0x1802ca8c8], rbp
mov dword [0x1802ca7d8], 4
call fcn.180106160
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xf2
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b8], rax
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r14
mov qword [0x1802ca8b0], rbp
mov dword [0x1802ca7d8], 2
call fcn.180106160
cmp dword [rax], ebp
je 0x1800caaeb
mov eax, dword [0x1802cfc10]
cmp dword [0x1802cfc04], eax
jle 0x1800caa92
lea edi, [rax + 1]
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x90], 0xffffffff
mov rax, qword [rsp + 0x90]
mov qword [0x1802ca8b0], rax
mov dword [0x1802cfc10], edi
mov dword [0x1802ca7e8], ebp
mov qword [0x1802d3278], r12
mov qword [0x1802ca8b8], r13
mov qword [0x1802ca8c0], r15
mov qword [0x1802ca8c8], rbp
mov dword [0x1802ca7d8], 4
call fcn.180106160
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