Function at 0x140014224
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 [0x14003d0f8]
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]
nop dword [rax + rax]
test eax, eax
je 0x14001ec84
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]
nop dword [rax + rax]
test eax, eax
je 0x14001eca0
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]
nop dword [rax + rax]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rax
lea rcx, str.COPYCMD
call fcn.140013a90
lea rcx, [0x140034760]
test rax, rax
cmovne rcx, rax
call fcn.14000b900
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140014638
cmp dword [0x140045b28], r12d
je 0x140014649
test rdi, rdi
je 0x140014415
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140014415
lea rdx, str.XCOPY.EXE
mov rcx, rax
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x140014668
call fcn.140015a68
mov rax, qword [0x140045b10]
test rax, rax
jne 0x140014589
mov rax, qword [0x140058458]
lea r12, [0x140058250]
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]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140014672
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]
nop dword [rax + rax]
mov rdx, r15
lea rcx, str.COPYCMD
call fcn.14001498c
test esi, esi
je 0x14001468d
mov rcx, qword [rsp + 0x60]
mov esi, ecx
and esi, ebx
mov rax, rcx
mov r12d, 2
and rax, r12
test rcx, rcx
je 0x1400147a3
cmp dword [0x140045b28], 0
je 0x1400145ff
xor edi, edi
mov dword [rsp + 0x68], edi
mov dword [0x140041920], ebx
test r14d, r14d
jne 0x140014612
mov rcx, qword [rsp + 0x60]
call fcn.140015cb4
mov edi, eax
mov dword [0x14004598c], 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.1400133f0
lea rdx, [rsp + 0x1d8]
lea rcx, str.ExitCode
call fcn.14001498c
lea eax, [rdi - 0x20]
cmp eax, 0x5e
jbe 0x1400147ae
lea rdx, [0x140034788]
lea rcx, str.ExitCodeAscii
call fcn.14001498c
test esi, esi
je 0x1400147f2
call fcn.14002a8e0
jmp 0x1400147f2
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14001442a
mov rax, qword [0x140058458]
lea r12, [0x140058250]
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]
nop dword [rax + rax]
jmp 0x14001448b
cmp qword [0x140045b10], 0
jne 0x1400144f8
jmp 0x14001476c
cmp r14d, 4
je 0x1400147d7
mov rax, qword [0x140045998]
cmp r14d, r12d
cmove rax, qword [rsp + 0x60]
mov qword [0x140045998], rax
jmp 0x1400147f2
lea rdx, [0x14001ecd5]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp dword [0x1400586f8], r12d
jne 0x1400143d9
cmp qword [0x140045b10], r12
je 0x140014415
jmp 0x1400143d9
call fcn.140029004
jmp 0x140014415
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x68], eax
mov dword [0x140045ba8], eax
jmp 0x1400144b6
cmp byte [0x140045b25], 0
je 0x1400146a2
cmp dword [0x140045ba8], 0xc1
je 0x1400146ae
cmp dword [0x140045ba8], 0x2e4
jne 0x140014705
call fcn.1400197cc
test al, al
je 0x140014703
mov rax, qword [0x140058458]
test rax, rax
cmovne r12, rax
movzx eax, word [rsp + 0xf0]
lea rcx, [0x140045ba8]
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]
nop dword [rax + rax]
mov esi, eax
jmp 0x140014705
xor esi, esi
test esi, esi
jne 0x1400144cd
mov esi, 0x7fe7
mov qword [rsp + 0xa0], rsi
mov ecx, 0xffce
call fcn.14000cd90
mov rbx, rax
test rax, rax
jne 0x14001473d
lea rdx, [0x14001ecdf]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400113e0
mov rcx, rbx
call fcn.140029eac
mov rcx, rbx
call fcn.14000ff70
lea rdx, [0x14001ece9]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp byte [0x140045b25], 0
je 0x1400144f8
cmp dword [0x1400586f8], 0
jne 0x1400144f8
test r14d, r14d
jne 0x1400144f8
test rax, rax
jne 0x1400147a3
call fcn.14002a210
cmp r12w, ax
jne 0x1400144f8
mov r14d, 4
jmp 0x1400144f8
mov r9d, edi
lea r8, [0x140036170]
mov edx, 0xc
lea rcx, [rsp + 0x1c0]
call fcn.1400133f0
lea rdx, [rsp + 0x1c0]
jmp 0x14001456b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400147f2
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
and qword [rsp + 0x60], rdi
mov rcx, r15
call fcn.14000ff70
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140018f90
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]
nop dword [rax + rax]
mov dword [0x140045ba8], eax
mov rcx, rdi
call fcn.140029eac
jmp 0x14001ecce
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x140045ba8], eax
mov rcx, rdi
call fcn.140029eac
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
nop dword [rax + rax]
mov eax, ebx
jmp 0x140014810