Function at 0x1400132b8
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x14003b0f8]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x70], rsp
mov rsi, r9
mov r14d, edx
mov r13, rcx
mov rdi, qword [rsp + 0x260]
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r12
mov qword [r11 - 0x1b8], 0x30
lea r9, [r11 - 0x1b8]
xor r8d, r8d
lea ebx, [r12 + 1]
mov edx, ebx
lea rcx, [r11 - 0xa8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14001e316
mov dword [rsp + 0x6c], ebx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 4
lea r9, [rsp + 0x6c]
xor edx, edx
mov r8d, 0x60001
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14001e32c
lea r15d, [r12 + 0x70]
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x190]
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xb0], r15d
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], r12d
mov dword [rsp + 0xd4], ebx
lea r8d, [r12 + 0x64]
mov dword [rsp + 0xd8], r8d
mov dword [rsp + 0xdc], r8d
mov dword [rsp + 0xec], r12d
mov word [rsp + 0xf0], bx
xor edx, edx
lea rcx, [rsp + 0x124]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x120], 0x68
lea rcx, [rsp + 0x120]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rax
lea rcx, str.COPYCMD
call fcn.140012bf0
lea rcx, [0x1400327f0]
test rax, rax
cmovne rcx, rax
call fcn.14000b070
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14001369c
cmp dword [0x140043aa8], r12d
je 0x1400136ad
test rdi, rdi
je 0x14001348b
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsrchr]
test rax, rax
je 0x14001348b
lea rdx, str.XCOPY.EXE
mov rcx, rax
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x1400136cc
call fcn.1400148fc
mov rax, qword [0x140043a90]
test rax, rax
jne 0x1400135f3
mov rax, qword [0x140056668]
lea r12, [0x140056460]
mov rcx, r12
test rax, rax
cmovne rcx, rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
mov esi, eax
test eax, eax
je 0x1400136d6
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rdx, r15
lea rcx, str.COPYCMD
call fcn.1400139b8
test esi, esi
je 0x1400136eb
mov rcx, qword [rsp + 0x60]
mov esi, ecx
and esi, ebx
mov rax, rcx
mov r12d, 2
and rax, r12
test rcx, rcx
je 0x1400137fb
cmp dword [0x140043aa8], 0
je 0x140013663
xor edi, edi
mov dword [rsp + 0x68], edi
mov dword [0x14003f8a0], ebx
test r14d, r14d
jne 0x140013676
mov rcx, qword [rsp + 0x60]
call fcn.140014b18
mov edi, eax
mov dword [0x14004390c], eax
and qword [rsp + 0x60], 0
mov dword [rsp + 0x68], eax
mov r9d, eax
lea r8, str._08X
lea edx, [r14 + 0x14]
lea rcx, [rsp + 0x1d8]
call fcn.140012978
lea rdx, [rsp + 0x1d8]
lea rcx, str.ExitCode
call fcn.1400139b8
lea eax, [rdi - 0x20]
cmp eax, 0x5e
jbe 0x140013806
lea rdx, [0x140032818]
lea rcx, str.ExitCodeAscii
call fcn.1400139b8
test esi, esi
je 0x140013844
call fcn.140028fe4
jmp 0x140013844
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x1400134a0
mov rax, qword [0x140056668]
lea r12, [0x140056460]
mov rdx, r12
test rax, rax
cmovne rdx, rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
and qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x80000
mov dword [rsp + 0x28], ebx
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
jmp 0x1400134fb
cmp qword [0x140043a90], 0
jne 0x140013562
jmp 0x1400137c4
cmp r14d, 4
je 0x14001382f
mov rax, qword [0x140043918]
cmp r14d, r12d
cmove rax, qword [rsp + 0x60]
mov qword [0x140043918], rax
jmp 0x140013844
lea rdx, [0x14001e355]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp dword [0x140056aa0], r12d
jne 0x14001345b
cmp qword [0x140043a90], r12
je 0x14001348b
jmp 0x14001345b
call fcn.140027864
jmp 0x14001348b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov dword [0x140043b28], eax
jmp 0x140013520
cmp byte [0x140043aa5], 0
je 0x140013700
cmp dword [0x140043b28], 0xc1
je 0x14001370c
cmp dword [0x140043b28], 0x2e4
jne 0x14001375d
call fcn.140018b0c
test al, al
je 0x14001375b
mov rax, qword [0x140056668]
test rax, rax
cmovne r12, rax
movzx eax, word [rsp + 0xf0]
lea rcx, [0x140043b28]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, r12
mov r8, qword [r13 + 0x78]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_ShellExecuteWorker]
mov esi, eax
jmp 0x14001375d
xor esi, esi
test esi, esi
jne 0x140013537
mov esi, 0x7fe7
mov qword [rsp + 0xa0], rsi
mov ecx, 0xffce
call fcn.14000c480
mov rbx, rax
test rax, rax
jne 0x140013795
lea rdx, [0x14001e35f]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400106e0
mov rcx, rbx
call fcn.14002864c
mov rcx, rbx
call fcn.14000f5b0
lea rdx, [0x14001e369]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp byte [0x140043aa5], 0
je 0x140013562
cmp dword [0x140056aa0], 0
jne 0x140013562
test r14d, r14d
jne 0x140013562
test rax, rax
jne 0x1400137fb
call fcn.1400289a0
cmp r12w, ax
jne 0x140013562
mov r14d, 4
jmp 0x140013562
mov r9d, edi
lea r8, [0x140034128]
mov edx, 0xc
lea rcx, [rsp + 0x1c0]
call fcn.140012978
lea rdx, [rsp + 0x1c0]
jmp 0x1400135d5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140013844
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and qword [rsp + 0x60], rdi
mov rcx, r15
call fcn.14000f5b0
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
mov eax, edi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.1400182e0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x140043b28], eax
mov rcx, rdi
call fcn.14002864c
jmp 0x14001e34e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x140043b28], eax
mov rcx, rdi
call fcn.14002864c
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
mov eax, ebx
jmp 0x14001385c