Function at 0x1400581a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1406b82c0]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], r14d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1404ff658]
mov qword [rbp - 0x50], rax
lea rax, [0x1404fa900]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x50], 1
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], r14d
lea rdx, str.powershell__command__Expand_Archive__LiteralPath_
lea rcx, [rbp - 0x40]
call fcn.140022c80
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140014920
nop
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
call fcn.140023430
lea rdx, str.__DestinationPath_
mov rcx, rax
call fcn.140022c80
mov rbx, rax
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140014920
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rbx
call fcn.140023430
mov rcx, rax
lea rdx, str.__Force_
call fcn.140022c80
nop
lea rcx, [rsp + 0x58]
call fcn.140015580
nop
lea rcx, [rsp + 0x78]
call fcn.140015580
mov dword [rbp + 0xb0], WSAGetLastError
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0x108], xmm0
mov dword [rbp + 0xec], 1
mov word [rbp + 0xf0], r14w
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov dword [rsp + 0x50], reloc.WS2_32.dll_socket
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14005839c
mov rax, qword [rbp + 8]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005839c
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x30]
cmovb rdx, qword [rbp + 0x30]
jmp 0x1400583bf
test cl, 4
jne 0x1400583fa
mov rax, qword [rbp]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400583fa
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rcx, dword [rax]
lea rdx, [rdx + rcx*2]
sub rdx, r9
mov rax, r9
sar rdx, 1
test rax, rax
je 0x1400583fa
lea rcx, [rsp + 0x58]
cmp rdx, 7
ja 0x1400583f4
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x58], r14w
jmp 0x1400583fa
call fcn.1400232c0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea rcx, [rsp + 0x58]
call fcn.140015580
test ebx, ebx
je 0x14005847a
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rcx, qword [rbp - 0x50]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx - 0x50], r15
mov rcx, qword [rbp - 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx - 0x54], r8d
lea rcx, [rbp - 0x38]
call fcn.1400223e0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14028f2f0
mov rbx, qword [rsp + 0x270]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret