Function at 0x140071468
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x2a0
mov rax, qword [0x1404fa650]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov qword [rbp - 0x30], r9
mov rsi, r8
mov rbx, rdx
mov r13, rcx
mov qword [rbp + 0x30], rcx
mov r12, qword [rbp + 0x1e0]
mov qword [rbp + 0xf0], r12
mov r14, qword [rbp + 0x1e8]
mov rax, qword [rbp + 0x200]
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp + 0x208]
xor eax, eax
mov dword [rbp - 0x58], eax
cmp qword [rdi + 0x38], rax
jne 0x1400714e0
mov r15d, eax
jmp 0x1400714ee
lea r15, [rdi + 0x28]
cmp qword [r15 + 0x18], 8
jb 0x1400714ee
mov r15, qword [r15]
mov al, byte [rdi + 0x20]
mov byte [rbp - 0x7c], al
call fcn.1400abd44
mov rcx, rax
cmp dword [rax], 4
jbe 0x140071626
mov al, byte [rdi + 0x78]
mov byte [rbp - 0x7b], al
mov al, byte [rdi + 0x4a]
mov byte [rbp - 0x7a], al
mov al, byte [rdi + 0x49]
mov byte [rbp - 0x79], al
mov al, byte [rdi + 0x48]
mov byte [rbp - 0x78], al
mov qword [rbp - 0x20], r15
mov al, byte [rbp - 0x7c]
mov byte [rbp - 0x77], al
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x140071534
mov rax, qword [rdi]
mov qword [rbp - 0x18], rax
mov al, byte [rbp + 0x1f8]
mov byte [rbp - 0x76], al
mov dword [rbp - 0x60], 1
mov al, byte [r14 + 2]
mov byte [rbp - 0x75], al
mov al, byte [r14 + 1]
mov byte [rbp - 0x74], al
movzx eax, byte [r14]
mov dword [rbp - 0x70], eax
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x14007156a
mov rax, qword [rsi]
mov qword [rbp - 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14007157b
mov rax, qword [rbx]
mov qword [rbp - 0x40], rax
lea rax, str.SafeCreateProcess_about_to_create_process
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x7b]
mov qword [rsp + 0x90], rax
lea rax, [rbp - 0x7a]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x79]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x77]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x76]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x75]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045acdf]
call fcn.1400014d8
xor ecx, ecx
mov dword [rbp - 0x80], ecx
mov qword [rbp + 0x120], rcx
lea eax, [rcx + 7]
mov qword [rbp + 0x128], rax
mov word [rbp + 0x110], cx
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rax
mov word [rbp + 0x130], cx
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rax
mov word [rbp + 0x150], cx
lea rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x110]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.14009e374
call fcn.1400abd44
mov rcx, rax
cmp dword [rax], 4
jbe 0x14007170f
lea rax, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rax, qword [rbp + 0x130]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rax, qword [rbp + 0x110]
mov qword [rbp - 0x40], rax
lea rax, str.SafeCreateProcess_concluded_paths
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ac94]
call fcn.140006ba0
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov r12, qword [r12]
mov dl, byte [r14]
test dl, dl
je 0x140071758
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8b, byte [r14 + 1]
mov dl, byte [r14 + 2]
mov rcx, qword [rbp + 0xf0]
call fcn.1400e29f4
mov dl, byte [r14]
mov rbx, qword [rbp - 0x60]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140071758
mov al, 1
xor r14d, r14d
jmp 0x14007175e
xor r14d, r14d
mov al, r14b
test al, al
cmove rbx, r12
test dl, dl
je 0x140071771
test rbx, rbx
je 0x140071af0
mov qword [rbp - 0x50], r14
lea rax, [rbp - 0x50]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 8], rax
mov byte [rbp], 1
test rbx, rbx
je 0x1400717ad
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14013a2e0
mov dword [rbp - 0x80], eax
test eax, eax
js 0x140071b7f
mov r12d, 0x8080420
jmp 0x1400717b3
mov r12d, 0x8080020
lea rdx, [rdi + 0x68]
lea rcx, [rbp + 0xf0]
call fcn.14006e64c
mov cl, byte [rdi + 0x4c]
mov dl, byte [rdi + 0x4b]
mov r8b, byte [rdi + 0x4a]
mov r10b, byte [rdi + 0x49]
mov r11b, byte [rdi + 0x48]
lea rax, [rdi + 0x50]
lea r9, [rbp + 0xf0]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], cl
mov byte [rsp + 0x38], dl
mov byte [rsp + 0x30], r8b
mov byte [rsp + 0x28], r10b
mov byte [rsp + 0x20], r11b
mov r9b, byte [rbp - 0x7c]
mov r14b, byte [rbp + 0x1f8]
mov r8b, r14b
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.14016d3cc
nop
mov eax, r12d
bts eax, 0x12
test r14b, r14b
cmove eax, r12d
mov r12d, eax
bts r12d, 0x18
cmp byte [rdi + 0x78], 0
cmove r12d, eax
mov rax, qword [rbp - 0x68]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp + 0xa0], xmm0
mov rcx, qword [rbp - 0x28]
call fcn.14014d940
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x140071bfc
lea rcx, [rbp + 0xb0]
call fcn.1400ad8c4
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x110]
call fcn.1400f272c
mov dword [rbp - 0x80], eax
test eax, eax
js 0x140071c8e
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x110]
call fcn.1400f0494
test r14b, r14b
jne 0x1400718ea
mov dl, byte [rdi + 0x79]
lea rcx, [rbp + 0x110]
call fcn.14016d570
lea rcx, [rbp + 0x150]
call fcn.1400b50bc
lea rdx, str.SeAssignPrimaryTokenPrivilege
lea rcx, [rbp + 0xf0]
call fcn.1400d71b0
lea rcx, [rbp + 0xf0]
call fcn.140094c90
lea rcx, [rbp + 0xf0]
call fcn.14007bc80
lea rdx, str.SeIncreaseQuotaPrivilege
lea rcx, [rbp + 0xf0]
call fcn.1400d71b0
lea rcx, [rbp + 0xf0]
call fcn.140094c90
lea rcx, [rbp + 0xf0]
call fcn.14007bc80
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rax
mov dword [rbp - 0x58], 1
xor edi, edi
mov ecx, edi
mov rdx, qword [rbp - 0x30]
mov rax, qword [rdx + 8]
cmp qword [rdx], rax
setne cl
cmp qword [rsi + 0x18], 8
jb 0x14007197d
mov rsi, qword [rsi]
lea rdx, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rdx, qword [rbp + 0x110]
mov qword [rsp + 0x50], r13
lea rax, [rbp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
nop dword [rax + rax]
test eax, eax
je 0x140071a5e
lea rcx, [rbp + 0xb0]
call fcn.1400ae448
nop
lea rcx, [rbp - 0x28]
call fcn.1401548d8
nop
mov byte [rbp], dil
lea rcx, [rbp - 0x10]
call fcn.14016d100
nop
lea rcx, [rbp - 0x60]
call fcn.14011ed2c
nop
lea rcx, [rbp + 0x150]
call fcn.14007bc80
nop
lea rcx, [rbp + 0x130]
call fcn.14007bc80
nop
lea rcx, [rbp + 0x110]
call fcn.14007bc80
mov rax, r13
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140157600
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140071a76
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x80], eax
call fcn.1400abd44
mov r9, rax
cmp dword [rax], 2
jbe 0x140071acd
xor edx, edx
mov rcx, rax
call fcn.140004c20
test al, al
je 0x140071acd
lea rdx, str.Failed_to_create_process
lea rcx, [rbp - 0x68]
call fcn.140004c00
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140004c10
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ae16]
mov rcx, r9
call fcn.140006294
mov r8d, 5
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.14016cfa0
lea rdx, [0x1404c57b8]
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
nop
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140071b08
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x80], eax
call fcn.1400abd44
mov r9, rax
cmp dword [rax], 2
jbe 0x140071b5f
xor edx, edx
mov rcx, rax
call fcn.140004c20
test al, al
je 0x140071b5f
lea rdx, [0x1403dd0c8]
lea rcx, [rbp - 0x68]
call fcn.140004c00
mov r8, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140004c10
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ae16]
mov rcx, r9
call fcn.140006294
xor r8d, r8d
mov edx, dword [rbp - 0x80]
lea rcx, [rbp - 0x10]
call fcn.14016cfa0
lea rdx, [0x1404c57b8]
lea rcx, [rbp - 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
nop
call fcn.1400abd44
mov r10, rax
cmp dword [rax], 2
jbe 0x140071bd3
xor edx, edx
mov rcx, rax
call fcn.140004c20
test al, al
je 0x140071bd3
lea rdx, str.Failed_to_create_environment_block
lea rcx, [rbp - 0x68]
call fcn.140004c00
mov r9, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140004c10
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ae16]
mov rcx, r10
call fcn.140006294
mov r8d, 8
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0xf0]
call fcn.14016cfa0
lea rdx, [0x1404c57b8]
lea rcx, [rbp + 0xf0]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
nop
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140071c14
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x80], eax
call fcn.1400abd44
mov r10, rax
cmp dword [rax], 2
jbe 0x140071c6b
xor edx, edx
mov rcx, rax
call fcn.140004c20
test al, al
je 0x140071c6b
lea rdx, str.Failed_initializing_thread_attribute_list
lea rcx, [rbp - 0x68]
call fcn.140004c00
mov r9, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140004c10
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ae16]
mov rcx, r10
call fcn.140006294
mov r8d, 1
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.14016cfa0
lea rdx, [0x1404c57b8]
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
nop
call fcn.1400abd44
mov r10, rax
cmp dword [rax], 2
jbe 0x140071ce2
xor edx, edx
mov rcx, rax
call fcn.140004c20
test al, al
je 0x140071ce2
lea rdx, str.Failed_to_lock_binary
lea rcx, [rbp - 0x68]
call fcn.140004c00
mov r9, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140004c10
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
lea rdx, [0x14045ae16]
mov rcx, r10
call fcn.140006294
mov r8d, 2
mov edx, dword [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.14016cfa0
lea rdx, [0x1404c57b8]
lea rcx, [rbp + 0x10]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3