Function at 0x140022750
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.140022b00
mov rcx, rax
call fcn.140050a40
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
movzx edx, byte [rsp + 0x29]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x1400227ae
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xa0]
call fcn.14005a2d0
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400590b0
nop
lea rcx, [rsp + 0xa0]
call fcn.140057fd0
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140022838
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002281b
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x21]
call fcn.140022ca0
mov rcx, rax
call fcn.1400509b0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
cmp eax, 1
je 0x140022aef
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.140022da0
mov rcx, rax
call fcn.140050920
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
movzx edx, byte [rsp + 0x2a]
mov rcx, rax
call fcn.140059fc0
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
cmp byte [rax + rcx], 0
jne 0x1400228c0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.14005a2d0
nop
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400590b0
nop
lea rcx, [rsp + 0xc0]
call fcn.140057fd0
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x23]
call fcn.140022f80
mov rcx, rax
call fcn.140050890
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400577c0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400590b0
nop
lea rcx, [rsp + 0xe0]
call fcn.140057fd0
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x24]
call fcn.1400231b0
mov rcx, rax
call fcn.140050800
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x25]
call fcn.140023330
mov rcx, rax
call fcn.140050770
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
mov ecx, 0x61a8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x26]
call fcn.1400234b0
mov rcx, rax
call fcn.1400506e0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
mov ecx, 0x1b58
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x27]
call fcn.140023610
mov rcx, rax
call fcn.140050650
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call fcn.1400237a0
mov rcx, rax
call fcn.1400505c0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
mov ecx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14006d64c]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400594f0
jmp 0x140022864
add rsp, 0x100
pop rdi
ret