Function at 0x14000b404
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 [0x1400390f8]
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 0x14001a76c
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 0x14001a782
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 eax, [rbx + 0x63]
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0xdc], eax
mov dword [rsp + 0xec], r12d
mov word [rsp + 0xf0], bx
lea r15d, [r12 + 0x68]
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x120], r15d
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.14000c450
lea rcx, [0x14003009c]
test rax, rax
cmovne rcx, rax
call fcn.14000d340
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000b7e9
cmp dword [0x1400502bc], r12d
je 0x14000b7fa
test rdi, rdi
je 0x14000b5d8
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsrchr]
test rax, rax
je 0x14000b5d8
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 0x14000b819
call fcn.14000aa0c
mov rax, qword [0x1400502b0]
test rax, rax
jne 0x14000b740
mov rax, qword [0x140050298]
lea r12, [0x140050090]
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 0x14000b823
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.14000b9d8
test esi, esi
je 0x14000b838
mov rcx, qword [rsp + 0x60]
mov esi, ecx
and esi, ebx
mov rax, rcx
mov r12d, 2
and rax, r12
test rcx, rcx
je 0x14000b948
cmp dword [0x1400502bc], 0
je 0x14000b7b0
xor edi, edi
mov dword [rsp + 0x68], edi
mov dword [0x14003fba0], ebx
test r14d, r14d
jne 0x14000b7c3
mov rcx, qword [rsp + 0x60]
call fcn.14000a9b8
mov edi, eax
mov dword [0x140047c4c], 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.140012610
lea rdx, [rsp + 0x1d8]
lea rcx, str.ExitCode
call fcn.14000b9d8
lea eax, [rdi - 0x20]
cmp eax, 0x5e
jbe 0x14000b953
lea rdx, [0x140030054]
lea rcx, str.ExitCodeAscii
call fcn.14000b9d8
test esi, esi
je 0x14000b991
call fcn.140026bd4
jmp 0x14000b991
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14000b5ed
mov rax, qword [0x140050298]
lea r12, [0x140050090]
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 0x14000b648
cmp qword [0x1400502b0], 0
jne 0x14000b6af
jmp 0x14000b911
cmp r14d, 4
je 0x14000b97c
mov rax, qword [0x140039840]
cmp r14d, r12d
cmove rax, qword [rsp + 0x60]
mov qword [0x140039840], rax
jmp 0x14000b991
lea rdx, [0x14001a7ab]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp dword [0x140054690], r12d
jne 0x14000b5a8
cmp qword [0x1400502b0], r12
je 0x14000b5d8
jmp 0x14000b5a8
call fcn.1400254d0
jmp 0x14000b5d8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov dword [0x1400502f8], eax
jmp 0x14000b66d
cmp byte [0x1400502b9], 0
je 0x14000b84d
cmp dword [0x1400502f8], 0xc1
je 0x14000b859
cmp dword [0x1400502f8], 0x2e4
jne 0x14000b8aa
call fcn.140017b2c
test al, al
je 0x14000b8a8
mov rax, qword [0x140050298]
test rax, rax
cmovne r12, rax
movzx eax, word [rsp + 0xf0]
lea rcx, [0x1400502f8]
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 0x14000b8aa
xor esi, esi
test esi, esi
jne 0x14000b684
mov esi, 0x7fe7
mov qword [rsp + 0xa0], rsi
mov ecx, 0xffce
call fcn.14000fe10
mov rbx, rax
test rax, rax
jne 0x14000b8e2
lea rdx, [0x14001a7b5]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140011620
mov rcx, rbx
call fcn.14002627c
mov rcx, rbx
call fcn.14000f250
lea rdx, [0x14001a7bf]
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll__local_unwind
cmp byte [0x1400502b9], 0
je 0x14000b6af
cmp dword [0x140054690], 0
jne 0x14000b6af
test r14d, r14d
jne 0x14000b6af
test rax, rax
jne 0x14000b948
call fcn.1400265c8
cmp r12w, ax
jne 0x14000b6af
mov r14d, 4
jmp 0x14000b6af
mov r9d, edi
lea r8, [0x140031e10]
mov edx, 0xc
lea rcx, [rsp + 0x1c0]
call fcn.140012610
lea rdx, [rsp + 0x1c0]
jmp 0x14000b722
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000b991
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
and qword [rsp + 0x60], rdi
mov rcx, r15
call fcn.14000f250
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.1400173b0
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 [0x1400502f8], eax
mov rcx, rdi
call fcn.14002627c
jmp 0x14001a7a4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [0x1400502f8], eax
mov rcx, rdi
call fcn.14002627c
lea rcx, [rsp + 0x190]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
mov eax, ebx
jmp 0x14000b9a9