Function at 0x14001ae20
Capabilities:
Create process on windows
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rdx, [0x14002c2e8]
lea rcx, [rsp + 0xc0]
call fcn.14000cf70
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x40]
call fcn.14000cf70
mov rcx, rax
call fcn.1400025a0
mov rdi, rax
lea rdx, [0x1400254b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000df30
lea rdx, [0x14002c2c8]
cmp qword [0x14002c2e0], 0x10
cmovae rdx, qword [0x14002c2c8]
mov r8, qword [0x14002c2d8]
mov rcx, rax
call fcn.14000f160
lea rdx, [0x1400254b0]
mov rcx, rax
call fcn.14000df30
mov rcx, rax
lea rdx, [0x140001af0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, str.Shell
lea rcx, [rsp + 0x60]
call fcn.1400019d0
mov rbx, rax
lea rdx, str.HKCUSOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea rcx, [rsp + 0x80]
call fcn.1400019d0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140008770
nop
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 0x10
cmovae rcx, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xb0]
cmp r8, 3
jne 0x14001b014
lea rdx, [0x1400238ec]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001b014
lea rcx, [0x14002c268]
cmp qword [0x14002c280], 0x10
cmovae rcx, qword [0x14002c268]
mov r8, qword [0x14002c278]
cmp r8, 2
jne 0x14001b014
lea rdx, [0x140023ae4]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001b014
lea rcx, [0x14002c328]
cmp qword [0x14002c340], 0x10
cmovae rcx, qword [0x14002c328]
mov r8, qword [0x14002c338]
cmp r8, 6
jne 0x14001b014
lea rdx, str.NORMAL
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001b014
lea rdx, [0x14002c1a8]
cmp qword [0x14002c1c0], 0x10
cmovae rdx, qword [0x14002c1a8]
lea rcx, [0x14002c228]
cmp qword [0x14002c240], 0x10
cmovae rcx, qword [0x14002c228]
mov r8, qword [0x14002c238]
cmp r8, qword [0x14002c1b8]
jne 0x14001b007
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001b014
lea rcx, str.shutdown__r__t_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x28], 1
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rdx, [0x14002c288]
lea rcx, [rsp + 0x40]
call fcn.14000cf70
mov rcx, rax
call fcn.1400040c0
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x14001b098
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b093
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], 0xf
mov byte [rsp + 0xa0], 0
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0x10
jb 0x14001b0fa
inc rdx
mov rcx, qword [rsp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b0f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b0f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001f0bc
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14001f060
mov rbx, qword [rsp + 0x100]
add rsp, 0xf0
pop rdi
ret