Function at 0x140019ad8
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 [0x1400400b0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x70], rsp
mov rsi, r9
mov r14d, edx
mov r13, rcx
mov rdi, qword [rsp + 0x250]
xor r12d, r12d
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r12
mov qword [r11 - 0x1a8], 0x30
lea r9, [r11 - 0x1a8]
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 0x1400277a8
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 + 0x180]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_UpdateProcThreadAttribute]
nop dword [rax + rax]
test eax, eax
je 0x1400277c4
lea r15d, [r12 + 0x70]
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0xa0]
call sub.api_ms_win_crt_string_l1_1_0.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
mov dword [rsp + 0xc0], r12d
mov dword [rsp + 0xc4], ebx
lea r8d, [r12 + 0x64]
mov dword [rsp + 0xc8], r8d
mov dword [rsp + 0xcc], r8d
mov dword [rsp + 0xdc], r12d
mov word [rsp + 0xe0], bx
xor edx, edx
lea rcx, [rsp + 0x114]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x110], 0x68
lea rcx, [rsp + 0x110]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop dword [rax + rax]
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xb0], rax
lea rcx, str.COPYCMD
call fcn.14000dfe0
lea rcx, [0x140037c38]
test rax, rax
cmovne rcx, rax
call fcn.14000fcb0
mov r15, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x140019ef9
cmp dword [0x14004cbc8], r12d
je 0x140019f0a
test rdi, rdi
je 0x140019cc9
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140019cc9
lea rdx, str.XCOPY.EXE
mov rcx, rax
call qword [sym.imp.api_ms_win_core_misc_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x140019f29
call fcn.14001b6cc
mov rax, qword [0x14004cbb0]
test rax, rax
jne 0x140019e42
mov rcx, qword [0x14005b848]
test rcx, rcx
setne al
lea r12, [0x14005b640]
mov rdx, r12
test al, al
cmovne rdx, rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
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 0x140019f33
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.14001a328
test esi, esi
je 0x140019f4e
mov rcx, qword [rsp + 0x60]
mov esi, ecx
and esi, ebx
mov rax, rcx
mov r12d, 2
and rax, r12
test rcx, rcx
je 0x14001a05e
cmp dword [0x14004cbc8], 0
je 0x140019ec0
xor edi, edi
mov dword [rsp + 0x68], edi
mov dword [0x1400449b0], ebx
test r14d, r14d
jne 0x140019ed3
mov rcx, qword [rsp + 0x60]
call fcn.14001b73c
mov edi, eax
mov dword [0x14004ca24], 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.14000daf0
lea rdx, [rsp + 0x1c8]
lea rcx, str.ExitCode
call fcn.14001a328
lea eax, [rdi - 0x20]
cmp eax, 0x5e
jbe 0x14001a069
lea rdx, [0x140037c88]
lea rcx, str.ExitCodeAscii
call fcn.14001a328
test esi, esi
je 0x14001a0ad
call fcn.14002e9ec
jmp 0x14001a0ad
mov r10, qword [rax + 0x38]
test r10, r10
je 0x140019cde
mov rcx, qword [0x14005b848]
test rcx, rcx
setne al
lea r12, [0x14005b640]
mov rdx, r12
test al, al
cmovne rdx, rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xa0]
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
mov rcx, r10
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
nop dword [rax + rax]
jmp 0x140019d44
cmp qword [0x14004cbb0], 0
jne 0x140019db1
jmp 0x14001a027
cmp r14d, 4
je 0x14001a092
mov rax, qword [0x14004ca30]
cmp r14d, r12d
cmove rax, qword [rsp + 0x60]
mov qword [0x14004ca30], rax
jmp 0x14001a0ad
lea rdx, [0x1400277f9]
mov rcx, qword [rsp + 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__local_unwind
cmp dword [0x14005bc98], r12d
jne 0x140019c8d
cmp qword [0x14004cbb0], r12
je 0x140019cc9
jmp 0x140019c8d
call fcn.14002d0a0
jmp 0x140019cc9
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 [0x14004cc50], eax
jmp 0x140019d6f
cmp byte [0x14004cbc5], 0
je 0x140019f63
cmp dword [0x14004cc50], 0xc1
je 0x140019f6f
cmp dword [0x14004cc50], 0x2e4
jne 0x140019fcb
call fcn.140020bec
test al, al
je 0x140019fc9
movzx edx, word [rsp + 0xe0]
mov rcx, qword [0x14005b848]
test rcx, rcx
setne al
test al, al
cmovne r12, rcx
lea rax, [0x14004cc50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edx
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 0x140019fcb
xor esi, esi
test esi, esi
jne 0x140019d86
mov ecx, 0xffce
call fcn.140011100
mov rbx, rax
test rax, rax
jne 0x140019ff6
lea rdx, [0x140027803]
mov rcx, qword [rsp + 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__local_unwind
mov r8, rdi
mov edx, 0x7fe7
mov rcx, rbx
call fcn.1400158f0
mov rcx, rbx
call fcn.14002dfac
mov rcx, rbx
call fcn.140014240
lea rdx, [0x14002780d]
mov rcx, qword [rsp + 0x70]
call sub.api_ms_win_crt_private_l1_1_0.dll__local_unwind
cmp byte [0x14004cbc5], 0
je 0x140019db1
cmp dword [0x14005bc98], 0
jne 0x140019db1
test r14d, r14d
jne 0x140019db1
test rax, rax
jne 0x14001a05e
call fcn.14002e314
cmp r12w, ax
jne 0x140019db1
mov r14d, 4
jmp 0x140019db1
mov r9d, edi
lea r8, str._01C
mov edx, 0xc
lea rcx, [rsp + 0x1b0]
call fcn.14000daf0
lea rdx, [rsp + 0x1b0]
jmp 0x140019e24
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001a0ad
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.140014240
lea rcx, [rsp + 0x180]
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 + 0x1f0]
xor rcx, rsp
call fcn.14001f920
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_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x14004cc50], eax
mov rcx, rdi
call fcn.14002dfac
jmp 0x1400277f2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [0x14004cc50], eax
mov rcx, rdi
call fcn.14002dfac
lea rcx, [rsp + 0x180]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_DeleteProcThreadAttributeList]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14001a0cb