Function at 0x140022760
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.140022b10
mov rcx, rax
call fcn.140050a50
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
movzx edx, byte [rsp + 0x29]
mov rcx, rax
call fcn.140059f40
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 0x1400227be
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.14005a250
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.140059030
nop
lea rcx, [rsp + 0xa0]
call fcn.140057f50
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jne 0x140022848
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002282b
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x21]
call fcn.140022cb0
mov rcx, rax
call fcn.1400509c0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
cmp eax, 1
je 0x140022aff
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.140022db0
mov rcx, rax
call fcn.140050930
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
movzx edx, byte [rsp + 0x2a]
mov rcx, rax
call fcn.140059f40
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 0x1400228d0
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.14005a250
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.140059030
nop
lea rcx, [rsp + 0xc0]
call fcn.140057f50
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.140022f90
mov rcx, rax
call fcn.1400508a0
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140057740
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.140059030
nop
lea rcx, [rsp + 0xe0]
call fcn.140057f50
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.1400231c0
mov rcx, rax
call fcn.140050810
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x25]
call fcn.140023340
mov rcx, rax
call fcn.140050780
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.1400234c0
mov rcx, rax
call fcn.1400506f0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140023620
mov rcx, rax
call fcn.140050660
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call fcn.1400237b0
mov rcx, rax
call fcn.1400505d0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140059470
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.140059470
jmp 0x140022874
add rsp, 0x100
pop rdi
ret