Function at 0x18007d870
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1802b0058]
xor rax, rsp
mov qword [rbp + 8], rax
movzx r14d, r8b
mov r15, rdx
mov rdi, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x40], rdx
xor esi, esi
mov byte [0x1802d2c82], r8b
mov r12d, dword [str.ts]
xor edx, edx
lea rcx, str.grcWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x18007dba1
cmp byte [0x1802cfd76], sil
jne 0x18007dba1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18007dba1
test r14b, r14b
je 0x18007dba1
lea rax, [rbp - 0x18]
mov qword [rsp + 0x78], rax
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.1800770a0
mov r14, rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x78], rax
mov rdx, qword [0x1802ca700]
movabs r12, 0x7fffffffffffffff
mov rcx, r12
sub rcx, rdx
cmp rcx, 8
jb 0x18007dbe9
lea rax, [0x1802ca6f0]
cmp qword [0x1802ca708], 0x10
cmovae rax, qword [0x1802ca6f0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 8
lea r9, str.submenu_
lea rcx, [rsp + 0x58]
call fcn.18007f0e0
nop
lea rax, [rbp - 0x38]
mov qword [rbp - 0x70], rax
lea rdx, [0x1802d2f58]
lea rcx, [rbp - 0x38]
call fcn.1800770a0
mov rbx, rax
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.1800770a0
nop
mov r9, r14
lea r8, [rsp + 0x58]
mov rdx, rbx
mov rcx, rax
call fcn.1800909c0
mov rcx, qword [rdi + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 0xb
jb 0x18007dbef
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18007d9e7
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xb
lea r9, str.Selectable
lea rcx, [rbp - 0x38]
call fcn.18007f0e0
nop
mov r8d, 6
lea rdx, str._saved
lea rcx, [rbp - 0x38]
call fcn.180077690
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x18], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm7
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x38]
call fcn.1800774b0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
lea r12, [rbp - 0x18]
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
mov qword [rsp + 0x78], rax
cmp rax, 0x10
setae byte [rsp + 0x50]
movq r14, xmm6
cmovae r12, r14
movq r13, xmm7
cmp r13, 0x10
jae 0x18007daa8
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], 0xf
lea rcx, [rsp + 0x58]
jmp 0x18007db2e
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x18007daf9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18007dbf5
mov rcx, rax
call fcn.18010fae8
test rax, rax
je 0x18007dbfb
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x18007db06
test rcx, rcx
je 0x18007db06
call fcn.18010fae8
mov rsi, rax
mov qword [rsp + 0x58], rsi
lea r8, [r13 + 1]
mov rdx, r12
mov rcx, rsi
call fcn.180112380
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x58]
cmp rbx, 0x10
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], r13
call fcn.180116dcc
mov rbx, rax
lea rcx, [rsp + 0x58]
call fcn.1800774b0
movss xmm0, dword [0x180267ca4]
movss dword [rsp + 0x38], xmm0
lea rax, str.Config
mov qword [rsp + 0x28], rax
mov rcx, rbx
call fcn.1800ad570
nop
cmp byte [rsp + 0x50], 0
je 0x18007dba1
mov rdx, qword [rsp + 0x78]
inc rdx
mov rax, r14
cmp rdx, 0x1000
jb 0x18007db98
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007dbe3
mov rcx, r14
call fcn.18010fae0
nop
mov rcx, rdi
call fcn.1800774b0
nop
mov rcx, r15
call fcn.1800774b0
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.18010fac0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180118504
nop
call fcn.1800755a0
nop
call fcn.1800755a0
nop
call fcn.180075500
int3
call fcn.180118504
int3