Function at 0x14004f410
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rbp + 7], rax
mov r13, r9
mov qword [rsp + 0x48], r9
mov r14, rdx
mov r12, rcx
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x21], rcx
mov dword [rsp + 0x20], 0
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140096060], eax
jle 0x14004f4e2
lea rcx, [0x140096060]
call fcn.14006afac
cmp dword [0x140096060], 0xffffffff
jne 0x14004f4e2
mov qword [0x140096170], 0
mov qword [0x140096178], 0
mov ecx, 0x48
call fcn.14006b2cc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140096170], rax
lea rcx, [0x14006e890]
call fcn.14006b24c
nop
lea rcx, [0x140096060]
call fcn.14006af40
mov rax, qword [0x140096170]
mov qword [rbp - 0x69], rax
mov rbx, qword [rax + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x30], 0
mov r15, rax
mov esi, 1
cmp byte [rbx + 0x19], 0
jne 0x14004f579
mov r12, qword [r14 + 0x10]
mov r13, qword [r14 + 0x18]
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x28], rbx
lea rcx, [rbx + 0x20]
mov rdx, r14
cmp r13, 0xf
jbe 0x14004f535
mov rdx, qword [r14]
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14004f543
mov rcx, qword [rcx]
mov r8, rdi
cmp r12, rdi
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004f670
js 0x14004f679
mov dword [rsp + 0x30], esi
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x14004f520
mov r12, qword [rbp - 0x49]
mov r13, qword [rsp + 0x48]
cmp byte [r15 + 0x19], 0
jne 0x14004f590
lea r8, [r15 + 0x20]
mov rdx, r14
call fcn.140063f30
test al, al
je 0x14004f60e
movabs rax, 0x38e38e38e38e38e
cmp qword [0x140096178], rax
je 0x14004f993
lea r15, [0x140096170]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0
mov ecx, 0x48
call fcn.14006b2cc
mov rdi, rax
mov qword [rsp + 0x50], rax
mov rdx, r14
lea rcx, [rax + 0x20]
call fcn.140044a80
mov byte [rdi + 0x40], 0
mov rax, qword [rbp - 0x69]
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov word [rdi + 0x18], 0
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rbp - 0x69], xmm0
mov r8, rdi
lea rdx, [rbp - 0x69]
mov rcx, r15
call fcn.140063cd0
mov r15, rax
cmp byte [r15 + 0x40], 0
je 0x14004f6a8
mov ebx, esi
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14004f68a
inc ebx
cmp ebx, 0xff
jle 0x14004f620
cmp byte [r15 + 0x40], 0
je 0x14004f6a8
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 0x10
lea rdx, str.Press_any_key...
lea rcx, [rsp + 0x28]
call fcn.1400448f0
lea rax, [rsp + 0x28]
jmp 0x14004f6fc
cmp rdi, r12
jae 0x14004f560
mov dword [rsp + 0x30], 0
mov rbx, qword [rbx + 0x10]
jmp 0x14004f56a
cmp ebx, 0x1b
jne 0x14004f699
mov dword [r13], 0
jmp 0x14004f6a3
cmp dword [r13], ebx
je 0x14004f6a3
mov dword [r13], ebx
mov byte [r15 + 0x40], 0
mov edx, dword [r13]
test edx, edx
jne 0x14004f6c4
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.140044a80
nop
mov esi, 2
jmp 0x14004f6d3
lea rcx, [rsp + 0x48]
call fcn.14004f1c0
mov esi, 4
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp - 0x69]
or esi, 8
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
test sil, 8
je 0x14004f75e
and esi, 0xfffffff7
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x14004f75e
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f7a2
call fcn.14006ae8c
movdqa xmm6, xmmword [0x140078c70]
test sil, 4
je 0x14004f7b9
and esi, 0xfffffffb
mov rdx, qword [rbp - 0x79]
cmp rdx, 0xf
jbe 0x14004f7ae
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f7a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae8c
movdqu xmmword [rsp + 0x58], xmm6
mov byte [rsp + 0x48], 0
test sil, 2
je 0x14004f811
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14004f808
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f7fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae8c
movdqa xmm6, xmmword [0x140078c70]
movdqu xmmword [rbp - 0x31], xmm6
mov byte [rbp - 0x41], 0
test sil, 1
je 0x14004f857
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14004f857
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f852
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f852
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae8c
cmp qword [r14 + 0x18], 0xf
jbe 0x14004f861
mov r14, qword [r14]
mov rcx, r14
call fcn.1400100a0
mov rax, qword [0x140095650]
or dword [rax + 0x4760], 1
mov dword [rax + 0x4764], 0x42f00000
mov qword [rsp + 0x20], 0x42f00000
lea rcx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rcx, qword [rbp - 0x19]
lea rdx, [rsp + 0x20]
call fcn.140031b40
test al, al
je 0x14004f8ab
mov byte [r15 + 0x40], 1
mov rax, qword [0x140095650]
mov rcx, qword [rax + 0x3ed8]
dec dword [rcx + 0xf0]
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14004f8fd
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f8f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f8f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ae8c
movdqa xmm0, xmmword [0x140078c70]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [r12 + 0x18]
cmp rdx, 0xf
jbe 0x14004f946
inc rdx
mov rcx, qword [r12]
cmp rdx, 0x1000
jb 0x14004f941
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004f98c
mov rcx, r8
call fcn.14006ae8c
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14006ac20
mov rbx, qword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140046290
nop
int3