Function at 0x14000b830
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rbp + 0x318], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x80], r15d
lea rcx, [rbp + 0x90]
call fcn.14000acd0
mov rcx, rax
call fcn.14000aea0
test al, al
jne 0x14000b88c
lea eax, [r15 - 1]
jmp 0x14000c3c8
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
mov r8d, 6
lea rdx, str.sm.ps1
lea rcx, [rsp + 0x40]
call fcn.14000ef20
nop
lea rcx, [rsp + 0x60]
call fcn.14000acd0
nop
lea r9, [rsp + 0x40]
mov r8, rax
lea rcx, [rbp + 0x2f8]
call fcn.140010b70
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000b91c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000b96f
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b96a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b96a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0x10
cmovae rbx, qword [rbp + 0x2f8]
lea rax, [0x1400186b0]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x270]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp - 0x80], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_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 + 0x1c0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1c0], r12
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
lea rax, [rbp + 0x1d0]
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x1d0], rax
mov byte [rbp + 0x24c], 0
mov byte [rbp + 0x241], 0
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x250], r15
mov rax, qword [0x140020d88]
mov qword [rbp + 0x244], rax
mov qword [rbp + 0x238], r15
mov r8d, 1
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.14000eb20
test rax, rax
jne 0x14000baa5
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1c0]
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]
nop
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1c0], r12
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1bc], edx
mov rax, qword [rbp + 0x1c0]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rbp + rcx + 0x1d0]
lea rcx, [rbp + 0x1c0]
call fcn.14000b520
test bl, 6
je 0x14000bb06
call fcn.14000b5e0
test al, al
jne 0x14000bb06
mov ebx, 0xfffffffe
jmp 0x14000c382
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov r8d, 2
lea rdx, [0x1400183cc]
lea rcx, [rbp + 0x10]
call fcn.14000ef20
nop
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov r8d, 1
lea rdx, [0x1400183b8]
lea rcx, [rsp + 0x60]
call fcn.14000ef20
nop
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov r8d, 2
lea rdx, [0x1400183cc]
lea rcx, [rbp - 0x10]
call fcn.14000ef20
nop
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov r8d, 1
lea rdx, [0x1400183b8]
lea rcx, [rbp - 0x30]
call fcn.14000ef20
nop
mov rdx, r14
lea rcx, [rbp + 0x110]
call fcn.14000e650
lea r9, [rbp + 0x10]
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.14000b390
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp + 0x130]
call fcn.14000e650
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.14000b390
mov rsi, rax
movabs rcx, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x308]
sub rcx, rdx
cmp rcx, 0x1f
jb 0x14000c3e9
lea rax, [rbp + 0x2f8]
cmp qword [rbp + 0x310], 0x10
cmovae rax, qword [rbp + 0x2f8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1f
lea r9, str._ExecutionPolicy_ByPass__File__
lea rcx, [rbp + 0x70]
call fcn.140010d60
nop
mov r8d, 9
lea rdx, str.___Subj__
lea rcx, [rbp + 0x70]
call fcn.14000f080
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rsi
lea r8, [rbp + 0x90]
lea rcx, [rbp + 0x50]
call fcn.140010b70
nop
mov r8d, 9
lea rdx, str.___Body__
lea rcx, [rbp + 0x50]
call fcn.14000f080
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.140010b70
nop
mov r8d, 8
lea rdx, str.___Att__
lea rcx, [rbp + 0x30]
call fcn.14000f080
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000bd48
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14000f080
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1400183b8]
lea rcx, [rbp - 0x50]
call fcn.14000f080
mov qword [rbp + 0x2d8], r15
mov qword [rbp + 0x2e8], r15
mov qword [rbp + 0x2f0], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2d8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2e8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000be0d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000be5d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14000beae
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bea9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14000befd
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bef7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bef7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x14000bf3b
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bf36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x14000bf90
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bf8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bf8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x14000bfd1
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bfcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bfcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x14000c02b
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c026
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0xe0], r15
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x14000c088
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c083
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0x100], r15
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14000c0e0
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c0da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14000c11f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c119
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000c160
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c15a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c15a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14000c19e
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
movups xmmword [rbp + 0x190], xmm0
movups xmmword [rbp + 0x1a0], xmm0
movups xmmword [rbp + 0x1b0], xmm0
mov dword [rbp + 0x150], 0x70
mov dword [rbp + 0x154], 0x40
mov qword [rbp + 0x158], r15
lea rax, str.open
mov qword [rbp + 0x160], rax
lea rax, str.powershell
mov qword [rbp + 0x168], rax
lea rax, [rbp + 0x2d8]
cmp qword [rbp + 0x2f0], 0x10
cmovae rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], r15
mov dword [rbp + 0x180], r15d
mov qword [rbp + 0x188], r15
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14000c255
lea ebx, [rax - 3]
jmp 0x14000c325
mov edx, 0x1b58
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbp + 0x2d0], 0x64
lea rdx, [rbp + 0x2d0]
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea rax, [rbp + 0x150]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x2d0]
mov qword [rbp - 0x68], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_ae91c0871bb1947dd8a684179ba04bcc___void___.0
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x98], xmm0
lea rax, [rbp + 0x90]
mov qword [rbp + 0xc8], rax
lea rdx, [rbp + 0x90]
lea rcx, [0x140020078]
call fcn.14000cd40
nop
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14000c2f5
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
cmp byte [0x140020060], 0
jne 0x14000c313
mov dword [0x140020064], 1
mov qword [0x140020070], 0xa
lea rcx, [0x140020050]
call fcn.14000b2a0
mov ebx, dword [rbp + 0x2d0]
mov rdx, qword [rbp + 0x2f0]
cmp rdx, 0x10
jb 0x14000c369
inc rdx
mov rcx, qword [rbp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c364
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov qword [rbp + 0x2e8], r15
mov qword [rbp + 0x2f0], 0xf
mov byte [rbp + 0x2d8], 0
mov rdx, qword [rbp + 0x310]
cmp rdx, 0x10
jb 0x14000c3c6
inc rdx
mov rcx, qword [rbp + 0x2f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011b8c
mov eax, ebx
mov rcx, qword [rbp + 0x318]
xor rcx, rsp
call fcn.140011810
add rsp, 0x420
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400095b0
nop
int3