Function at 0x1400f8c70
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3b8
movaps xmmword [rsp + 0x3a0], xmm6
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x398], rax
lea rdi, [rsp + 0x200]
mov r8d, 0x190
mov rcx, rdi
mov dl, 0xaa
call fcn.1402055c0
cmp byte [r12 + 0x17], 0
mov rdx, r12
jns 0x1400f8ccd
mov rdx, qword [r12]
mov r8d, 0xc8
mov rcx, rdi
call fcn.1401073e0
mov rcx, rdi
call sym.nacl64.exe__ovly_debug_event
cmp byte [r15 + 0x21], 0
je 0x1400f8d7d
movzx ebx, byte [r15]
movzx edi, byte [r15 + 0x20]
movzx eax, byte [r12 + 0x17]
test al, al
mov rcx, qword [r12]
cmovns rcx, r12
mov qword [rsp + 0x170], rcx
cmovs rax, qword [r12 + 8]
mov qword [rsp + 0x178], rax
lea r14, [rsp + 0xf0]
lea rdx, [rsp + 0x170]
mov rcx, r14
call fcn.140124a50
mov rcx, rsi
mov rdx, r14
mov r8d, edi
mov r9d, ebx
call fcn.1400f8980
mov rcx, r14
call fcn.1401246a0
mov rcx, qword [rsp + 0x398]
xor rcx, rsp
call fcn.140203460
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x3a0]
add rsp, 0x3b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
movzx edi, byte [0x1403aecf0]
xor ebx, ebx
test dil, 0x19
jne 0x1400f9518
mov qword [rsp + 0x68], r14
mov rbp, r14
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x190], r14
movaps xmm6, xmmword [0x14026fe30]
movaps xmmword [rsp + 0x180], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea r13, [rsp + 0xf0]
mov rcx, r13
mov r9d, 0x100
call fcn.14011dc70
lea r8, [0x1403e26fc]
lea rcx, [rsp + 0x180]
mov rdx, r13
call fcn.14015f8d0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x160], r14
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
lea rcx, [rsp + 0xf0]
call fcn.140165a20
cmp byte [r15 + 0x72], 0
je 0x1400f8e67
call fcn.1400f33a0
xor ebx, ebx
cmp eax, 0x10
setge bl
mov rax, qword [r15 + 0x28]
xor edx, edx
cmp rax, qword [r15 + 0x30]
setne dl
add edx, ebx
je 0x1400f8e9c
lea rcx, [rsp + 0xf0]
call fcn.140165aa0
mov r13d, 0x80000
test al, al
je 0x1400f8f84
cmp byte [r15 + 0x72], 0
jne 0x1400f8ea6
jmp 0x1400f8ee0
xor r13d, r13d
cmp byte [r15 + 0x72], 0
je 0x1400f8ee0
call fcn.1400f33a0
cmp eax, 0x10
jl 0x1400f8ee0
or byte [rsp + 0x1fb], 0x20
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x1f0]
mov edx, 0x20007
mov r9d, reloc.WS2_32.dll_recv
call fcn.140165b70
test al, al
je 0x1400f8f84
mov qword [rsp + 0x58], rbp
cmp dword [r15 + 0x24], 1
sete bpl
mov rbx, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
cmp rbx, r14
je 0x1400f8fcd
mov rax, r14
sub rax, rbx
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x1400f90b9
mov rbp, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop word [rax + rax]
mov rcx, qword [rbx]
mov edx, 1
mov r8d, 1
call rbp
test eax, eax
je 0x1400f8f3f
add rbx, 8
cmp rbx, r14
jne 0x1400f8f20
jmp 0x1400f8f98
lea rcx, [rsp + 0x1a0]
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
mov r9d, 0x13b
call fcn.14011dc70
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x1a0]
call fcn.140127ca0
lea rcx, [rsp + 0xe8]
call fcn.140127d40
jmp 0x1400f8f34
mov rcx, rsi
xor edx, edx
call fcn.1400f8040
mov rbx, qword [rsp + 0x60]
jmp 0x1400f94cf
mov r8, qword [r15 + 0x28]
mov r9, qword [r15 + 0x30]
cmp r9, r8
je 0x1400f955c
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xf0]
mov edx, 0x20002
call fcn.140165b70
mov bpl, 1
test al, al
je 0x1400f90b9
cmp byte [r15 + 0x22], 0
je 0x1400f8fdc
or byte [rsp + 0x134], 0x80
cmp byte [r15 + 0x48], 0
je 0x1400f8ff2
lea rax, [0x14027b6ea]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x134]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x134], ecx
xor ecx, ecx
cmp byte [r15 + 0x20], 0
sete cl
mov word [rsp + 0x138], cx
mov rcx, qword [r15 + 0x58]
mov rdx, qword [r15 + 0x60]
mov r8, qword [r15 + 0x68]
test rcx, rcx
jne 0x1400f9032
test rdx, rdx
jne 0x1400f9032
test r8, r8
je 0x1400f907b
mov r9, qword [r15 + 0x28]
cmp r9, qword [r15 + 0x30]
jne 0x1400f9057
test rcx, rcx
je 0x1400f9588
test rdx, rdx
je 0x1400f958b
test r8, r8
je 0x1400f958e
or eax, 0x101
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], r8
cmp byte [r15 + 0x70], 0
lea r14d, [r13 + 0x1000000]
cmove r14d, r13d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
movzx eax, byte [r15 + 0x1f]
test al, al
js 0x1400f90d2
lea rcx, [r15 + 8]
xor ebx, ebx
test al, al
cmovne rbx, rcx
jmp 0x1400f90df
mov rcx, rsi
xor edx, edx
call fcn.1400f8040
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400f94cf
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400f90df
mov rbx, qword [r15 + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm6
lea r13, [rsp + 0xb0]
mov rcx, r13
mov rdx, r12
call fcn.1400f6ed0
mov rdx, qword [r15 + 0x40]
test rdx, rdx
je 0x1400f91d5
mov qword [rsp + 0x1a0], 0
lea rcx, [rsp + 0x1a0]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400f91c1
or r14d, 0x400
mov rdx, qword [rsp + 0x1a0]
movzx eax, bpl
cmp byte [rsp + 0xc7], 0
jns 0x1400f9162
mov r13, qword [rsp + 0xb0]
mov rcx, qword [r15 + 0x40]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0xf8]
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor edx, edx
mov r8, r13
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebp, eax
mov rcx, qword [rsp + 0x1a0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebp, ebp
jne 0x1400f932b
mov rcx, rsi
xor edx, edx
call fcn.1400f8040
mov rbp, qword [rsp + 0x58]
jmp 0x1400f94b3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
cmp byte [r15 + 0x90], 0
je 0x1400f923c
lea r8, [r15 + 0x78]
lea rdx, [0x1402875f6]
lea rcx, [rsp + 0x70]
call fcn.140165bb0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm0
cmp byte [rsp + 0x1b7], 0
jns 0x1400f929d
mov rax, qword [rsp + 0x1a0]
jmp 0x1400f92a5
cmp qword [r15 + 0x88], 0
je 0x1400f9511
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400f91c1
mov r12, rax
lea r8, [r15 + 0x78]
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.140165bb0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp byte [rsp + 0x1b7], 0
js 0x1400f9232
lea rax, [rsp + 0x1a0]
or r14d, 0x400
movzx ecx, bpl
cmp byte [rsp + 0xc7], 0
jns 0x1400f92c4
mov rdx, qword [rsp + 0xb0]
jmp 0x1400f92cc
lea rdx, [rsp + 0xb0]
mov rbp, qword [rsp + 0x58]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0xf8]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], ecx
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400f9434
cmp byte [rsp + 0x1b7], 0
jns 0x1400f932b
mov rcx, qword [rsp + 0x1a0]
call fcn.1402021a8
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rbx
movaps xmmword [rsp + 0x90], xmm6
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0xd0]
call fcn.1400f3d90
mov rcx, qword [r15 + 0x50]
test rcx, rcx
je 0x1400f9379
mov rdx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400f9457
cmp byte [r15 + 0x71], 0
mov rbp, qword [rsp + 0x58]
je 0x1400f939a
mov rcx, qword [rsp + 0x90]
call fcn.1400f85a0
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [r15], 0
je 0x1400f941a
mov qword [rsp + 0x1e0], rbx
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea r15, [rsp + 0x70]
mov rcx, r15
mov r9d, 0x1b3
call fcn.14011dc70
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140102730
mov rcx, qword [rsp + 0x90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r12
call fcn.140102790
lea rcx, [rsp + 0x90]
call fcn.1400f4170
mov rcx, rsi
mov rdx, rax
call fcn.1400f8040
jmp 0x1400f94a6
mov rcx, rsi
xor edx, edx
call fcn.1400f8040
cmp byte [rsp + 0x1b7], 0
jns 0x1400f94b3
mov rcx, qword [rsp + 0x1a0]
call fcn.1402021a8
jmp 0x1400f94b3
movaps xmmword [rsp + 0x1a0], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400f4170
lea r15, [rsp + 0x1a0]
mov rcx, r15
mov rdx, rax
call fcn.1400f8040
mov rcx, r15
mov edx, 1
mov r8b, 1
call fcn.1400f84a0
mov rcx, rsi
xor edx, edx
call fcn.1400f8040
mov rcx, r15
call fcn.140055c40
mov rbp, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.1400f3f00
mov rbx, qword [rsp + 0x60]
cmp byte [rsp + 0xc7], 0
jns 0x1400f94cf
mov rcx, qword [rsp + 0xb0]
call fcn.1402021a8
lea rcx, [rsp + 0xf0]
call fcn.140165a60
lea rcx, [rsp + 0x180]
call fcn.14015f9c0
test dil, 0x19
je 0x1400f8d4e
cmp byte [rbx], 0
je 0x1400f8d4e
mov rcx, rbx
mov rdx, rbp
mov r8, qword [rsp + 0x68]
call fcn.1400ef260
jmp 0x1400f8d4e
xor eax, eax
jmp 0x1400f92ac
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1403aecf0]
lea rbp, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x60], rdx
mov r8, rbp
xor r9d, r9d
call fcn.14003b70d
mov qword [rsp + 0x68], rax
jmp 0x1400f8da9
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5bf
call fcn.14004460c
int3
int3
int3