Function at 0x14000efb4
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, 0x200
mov rax, qword [0x14002f008]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x70], rsp
mov rdi, r9
mov r14d, edx
mov r13, rcx
mov rsi, qword [rsp + 0x250]
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x78], r15
mov qword [r11 - 0x1a8], 0x30
lea r9, [r11 - 0x1a8]
xor r8d, r8d
lea ebx, [r15 + 1]
mov edx, ebx
lea rcx, [r11 - 0xa8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14001aa06
mov dword [rsp + 0x6c], ebx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 4
lea r9, [rsp + 0x6c]
xor edx, edx
mov r8d, 0x60001
lea rcx, [rsp + 0x180]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14001aa1c
lea r15d, [rbx + 0x6f]
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x180]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0xa0], r15d
mov rax, qword [rsp + 0x258]
mov qword [rsp + 0xb8], rax
xor r15d, r15d
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0xc4], ebx
lea eax, [rbx + 0x63]
mov dword [rsp + 0xc8], eax
mov dword [rsp + 0xcc], eax
mov dword [rsp + 0xdc], r15d
mov word [rsp + 0xe0], bx
xor edx, edx
lea r8d, [rbx + 0x5f]
lea rcx, [rsp + 0x118]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x110], 0x68
lea rcx, [rsp + 0x110]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xb0], rax
lea rcx, str.COPYCMD
call fcn.140010700
lea rcx, [0x140028958]
test rax, rax
cmovne rcx, rax
call fcn.140008660
mov r12, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000f3a7
cmp dword [0x140046d3c], r15d
je 0x14000f3b8
mov edx, 0x5c
mov rcx, rsi
call fcn.14000e3dc
test rax, rax
je 0x14000f182
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 0x14000f3d7
call fcn.14001193c
mov rax, qword [0x140046d30]
test rax, rax
jne 0x14000f2d5
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea r15, [0x140032600]
mov qword [rsp + 0x38], r15
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateProcessW]
mov edi, eax
test eax, eax
je 0x14000f320
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, r12
lea rcx, str.COPYCMD
call fcn.14000e278
test edi, edi
je 0x14000f335
mov rcx, qword [rsp + 0x60]
movzx esi, cl
and esi, ebx
movzx eax, cl
shr eax, 1
and eax, ebx
test rcx, rcx
je 0x14000f4dd
cmp dword [0x140046d3c], 0
je 0x14000f2e7
mov ecx, 2
xor edi, edi
mov dword [rsp + 0x68], edi
mov dword [0x14003a820], ebx
test r14d, r14d
jne 0x14000f2fa
mov rcx, qword [rsp + 0x60]
call fcn.140011b20
mov edi, eax
mov dword [0x1400428d0], 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 + 0x1c8]
call fcn.140011b7c
lea rdx, [rsp + 0x1c8]
lea rcx, str.ExitCode
call fcn.14000e278
lea eax, [rdi - 0x20]
cmp eax, 0x5e
jbe 0x14000f4ed
lea rdx, [0x1400289c0]
lea rcx, str.ExitCodeAscii
call fcn.14000e278
test esi, esi
jne 0x14000f516
jmp 0x14000f532
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14000f197
jmp 0x14000f3e1
cmp qword [0x140046d30], 0
jne 0x14000f244
jmp 0x14000f4a3
cmp r14d, 4
je 0x14000f51d
mov rax, qword [0x140030320]
cmp r14d, ecx
cmove rax, qword [rsp + 0x60]
mov qword [0x140030320], rax
jmp 0x14000f532
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov dword [0x140046d88], eax
jmp 0x14000f206
cmp byte [0x140046d39], 0
je 0x14000f433
cmp dword [0x140046d88], 0xc1
jne 0x14000f433
call fcn.1400158e4
test al, al
je 0x14000f448
call fcn.14001193c
movzx eax, word [rsp + 0xe0]
lea rcx, [0x140046d88]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
mov r9, r15
mov r8, qword [r13 + 0x78]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ext_ms_win_cmd_util_l1_1_0.dll_ShellExecuteWorker]
mov edi, eax
test edi, edi
jne 0x14000f21d
jmp 0x14000f44f
lea rdx, [0x14001aa45]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp dword [0x14004b0b0], r15d
jne 0x14000f158
cmp qword [0x140046d30], r15
je 0x14000f182
jmp 0x14000f158
call fcn.14001fddc
jmp 0x14000f182
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea r15, [0x140032600]
mov qword [rsp + 0x40], r15
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, rdi
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_CreateProcessAsUserW]
jmp 0x14000f1e1
cmp dword [0x140046d88], 0x2e4
jne 0x14000f39a
jmp 0x14000f352
xor edi, edi
jmp 0x14000f39a
mov ecx, 0x208
call fcn.14000b530
mov rbx, rax
test rax, rax
jne 0x14000f472
lea rdx, [0x14001aa4f]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
mov r8, rsi
mov edx, 0x104
mov rcx, rax
call fcn.14000dc10
mov rcx, rbx
call fcn.140020ae8
mov rcx, rbx
call fcn.14000b4a0
lea rdx, [0x14001aa59]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp byte [0x140046d39], 0
je 0x14000f244
cmp dword [0x14004b0b0], 0
jne 0x14000f244
test r14d, r14d
jne 0x14000f244
test eax, eax
jne 0x14000f4dd
call fcn.140020e54
lea ecx, [r14 + 2]
cmp cx, ax
je 0x14000f4e2
jmp 0x14000f249
mov ecx, 2
mov r14d, 4
jmp 0x14000f249
mov r9d, edi
lea r8, [0x140029428]
mov edx, 0xc
lea rcx, [rsp + 0x1b0]
call fcn.140011b7c
lea rdx, [rsp + 0x1b0]
jmp 0x14000f2bc
call fcn.140021414
jmp 0x14000f532
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000f532
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and qword [rsp + 0x60], rdi
mov rcx, r12
call fcn.14000b4a0
lea rcx, [rsp + 0x180]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_DeleteProcThreadAttributeList]
mov eax, edi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400151c0
lea r11, [rsp + 0x200]
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_1.dll_GetLastError]
mov dword [0x140046d88], eax
mov rcx, rsi
call fcn.140020ae8
jmp 0x14001aa3e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [0x140046d88], eax
mov rcx, rsi
call fcn.140020ae8
lea rcx, [rsp + 0x180]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_DeleteProcThreadAttributeList]
mov eax, ebx
jmp 0x14000f54a