Function at 0x1400df100
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, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov r13, r8
mov r14, rdx
mov r12, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x228], rax
cmp byte [r8 + 0x21], 0
je 0x1400df1c3
mov bpl, byte [r13]
mov bl, byte [r13 + 0x20]
movzx eax, byte [r14 + 0x17]
test al, al
mov rcx, qword [r14]
cmovns rcx, r14
lea rdx, [rsp + 0x180]
mov qword [rdx], rcx
cmovs rax, qword [r14 + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x100]
mov rcx, rdi
call fcn.1401f4bf0
mov rcx, r12
mov rdx, rdi
mov r8d, ebx
mov r9d, ebp
call fcn.1400dedc0
mov rcx, rdi
call fcn.1400bd020
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1401a4270
mov rax, r12
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov r15b, byte [0x14036a2d0]
xor esi, esi
test r15b, 0x19
jne 0x1400df906
mov qword [rsp + 0x78], rdi
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x190]
mov qword [rbx + 0x10], rdi
movaps xmm6, xmmword [0x140232ef0]
movaps xmmword [rbx], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rbp, [rsp + 0x100]
mov rcx, rbp
mov r9d, 0x104
call fcn.1400c5820
lea r8, [0x140392350]
mov rcx, rbx
mov rdx, rbp
call fcn.140120b80
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
mov qword [rbp + 0x70], rdi
movaps xmmword [rbp + 0x60], xmm6
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rcx, [rsp + 0x100]
call fcn.140121830
cmp byte [r13 + 0x72], 0
je 0x1400df28a
call fcn.14019ff80
xor esi, esi
cmp eax, 0x10
setge sil
mov rax, qword [r13 + 0x28]
xor edx, edx
cmp rax, qword [r13 + 0x30]
setne dl
add edx, esi
je 0x1400df2b6
lea rcx, [rsp + 0x100]
call fcn.1401218b0
mov ebx, 0x80000
test al, al
jne 0x1400df2b8
jmp 0x1400df496
xor ebx, ebx
cmp byte [r13 + 0x72], 0
je 0x1400df2f6
call fcn.14019ff80
cmp eax, 0x10
jl 0x1400df2f6
lea r8, [rsp + 0x210]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x100]
mov edx, 0x20007
mov r9d, reloc.WS2_32.dll_recv
call fcn.140121980
test al, al
je 0x1400df496
cmp dword [r13 + 0x24], 1
sete bpl
mov rsi, qword [r13 + 0x28]
mov rdi, qword [r13 + 0x30]
cmp rsi, rdi
je 0x1400df3b3
mov rax, rdi
sub rax, rsi
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x1400df496
mov ebp, r15d
mov r15, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsi]
mov edx, 1
mov r8d, 1
call r15
test eax, eax
je 0x1400df34e
add rsi, 8
cmp rsi, rdi
jne 0x1400df32e
jmp 0x1400df384
lea rcx, [rsp + 0x1b0]
lea rdx, str..._.._base_process_launch_win.cc
mov r8d, 0x13f
call fcn.1401219f0
lea rcx, [rsp + 0x1b0]
call fcn.1401219c0
lea rcx, [rsp + 0x1b0]
call fcn.1401219d0
jmp 0x1400df343
mov r9d, dword [r13 + 0x30]
mov r8, qword [r13 + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0x100]
mov edx, 0x20002
call fcn.140121980
test al, al
mov r15d, ebp
mov bpl, 1
je 0x1400df496
cmp byte [r13 + 0x22], 0
je 0x1400df3c2
or byte [rsp + 0x144], 0x80
cmp byte [r13 + 0x48], 0
je 0x1400df3d8
lea rax, [0x14023612e]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x144]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x144], ecx
movzx ecx, byte [r13 + 0x20]
xor ecx, 1
mov word [rsp + 0x148], cx
mov rcx, qword [r13 + 0x58]
mov rdx, qword [r13 + 0x60]
mov rdi, qword [r13 + 0x68]
test rcx, rcx
jne 0x1400df416
test rdx, rdx
jne 0x1400df416
test rdi, rdi
je 0x1400df43a
or eax, 0x101
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x168], rdi
cmp qword [r13 + 0x50], 0
mov byte [rsp + 0x67], r15b
je 0x1400df459
call fcn.14019ff80
lea ecx, [rbx + 0x1000000]
cmp eax, 5
cmovge ecx, ebx
mov ebx, ecx
mov r15d, ebx
or r15d, 0x1000000
cmp byte [r13 + 0x70], 0
cmove r15d, ebx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], 0
movzx eax, byte [r13 + 0x1f]
test al, al
jns 0x1400df4aa
mov rax, qword [r13 + 0x10]
mov rbx, qword [r13 + 8]
jmp 0x1400df4ae
mov rcx, r12
xor edx, edx
call fcn.1400dfa30
mov rsi, qword [rsp + 0x68]
jmp 0x1400df8c2
lea rbx, [r13 + 8]
test rax, rax
cmove rbx, rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], rsi
movaps xmmword [rsp + 0xc0], xmm6
cmp byte [r14 + 0x17], 0
js 0x1400df4f0
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xc0], xmm0
jmp 0x1400df504
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
lea rcx, [rsp + 0xc0]
call fcn.1400b96a0
lea rdi, [rsp + 0x108]
mov rdx, qword [r13 + 0x40]
test rdx, rdx
je 0x1400df55b
lea rcx, [rsp + 0x1b0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400df5ee
or r15d, 0x400
mov rdx, qword [rsp + 0x1b0]
movzx eax, bpl
cmp byte [rsp + 0xd7], 0
jns 0x1400df592
mov r8, qword [rsp + 0xc0]
jmp 0x1400df59a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1b0], xmm0
mov qword [rsp + 0x1c0], 0
mov al, byte [r13 + 0x90]
test al, al
jne 0x1400df602
cmp qword [r13 + 0x88], 0
jne 0x1400df602
xor eax, eax
jmp 0x1400df6af
lea r8, [rsp + 0xc0]
mov rcx, qword [r13 + 0x40]
lea rbp, [rsp + 0xe0]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
mov rcx, qword [rsp + 0x1b0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebx, ebx
jne 0x1400df721
mov rcx, r12
xor edx, edx
call fcn.1400dfa30
mov r15b, byte [rsp + 0x67]
jmp 0x1400df8a6
test al, al
je 0x1400df63a
lea r8, [r13 + 0x78]
lea rdx, [0x140240b10]
lea rdi, [rsp + 0x80]
mov rcx, rdi
call fcn.140121a80
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x1c0], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x1b0], xmm0
jmp 0x1400df684
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400df5ee
mov rdi, rax
lea r8, [r13 + 0x78]
lea rcx, [rsp + 0x80]
mov rdx, rax
call fcn.140121a80
lea rcx, [rsp + 0x80]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x1c0], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x1b0], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp byte [rsp + 0x1c7], 0
jns 0x1400df698
mov rax, qword [rsp + 0x1b0]
jmp 0x1400df6a0
lea rax, [rsp + 0x1b0]
lea rdi, [rsp + 0x108]
or r15d, 0x400
movzx ecx, bpl
cmp byte [rsp + 0xd7], 0
jns 0x1400df6c7
mov rdx, qword [rsp + 0xc0]
jmp 0x1400df6cf
lea rdx, [rsp + 0xc0]
lea rbp, [rsp + 0xe0]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
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 0x1400df825
cmp byte [rsp + 0x1c7], 0
jns 0x1400df721
mov rcx, qword [rsp + 0x1b0]
call fcn.1401a2ea8
lea rcx, [rsp + 0xa0]
mov qword [rcx + 0x10], rsi
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xe0]
call fcn.1400e21e0
mov rcx, qword [r13 + 0x50]
test rcx, rcx
je 0x1400df75c
mov rdx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400df84f
cmp byte [r13 + 0x71], 0
mov r15b, byte [rsp + 0x67]
je 0x1400df77d
mov rcx, qword [rsp + 0xa0]
call fcn.1400dfa00
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [r13], 0
je 0x1400df7f0
lea rbx, [rsp + 0x1b0]
mov qword [rbx + 0x50], rsi
movaps xmmword [rbx + 0x40], xmm6
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rbp, [rsp + 0x80]
mov rcx, rbp
mov r9d, 0x1bc
call fcn.1400c5820
mov rcx, rbx
mov rdx, rbp
xor r8d, r8d
call fcn.1400d7780
mov rcx, qword [rsp + 0xa0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call fcn.1400d79e0
mov edx, dword [rsp + 0xb0]
mov rcx, qword [0x140390858]
test rcx, rcx
je 0x1400df80b
mov r8, r14
call fcn.1400c19d0
lea rcx, [rsp + 0xa0]
call fcn.1400e25c0
mov rcx, r12
mov rdx, rax
call fcn.1400dfa30
jmp 0x1400df899
mov rcx, r12
xor edx, edx
call fcn.1400dfa30
cmp byte [rsp + 0x1c7], 0
jns 0x1400df5f8
mov rcx, qword [rsp + 0x1b0]
call fcn.1401a2ea8
jmp 0x1400df5f8
lea rdi, [rsp + 0x1b0]
movaps xmmword [rdi], xmm6
lea rcx, [rsp + 0xa0]
call fcn.1400e25c0
mov rcx, rdi
mov rdx, rax
call fcn.1400dfa30
mov rcx, rdi
mov edx, 1
mov r8b, 1
call fcn.1400dfed0
mov rcx, r12
xor edx, edx
call fcn.1400dfa30
mov rcx, rdi
call fcn.1400c9770
mov r15b, byte [rsp + 0x67]
lea rcx, [rsp + 0xa0]
call fcn.1400e2350
mov rsi, qword [rsp + 0x68]
cmp byte [rsp + 0xd7], 0
jns 0x1400df8c2
mov rcx, qword [rsp + 0xc0]
call fcn.1401a2ea8
lea rcx, [rsp + 0x100]
call fcn.140121870
lea rcx, [rsp + 0x190]
call fcn.140120eb0
test r15b, 0x19
je 0x1400df194
cmp byte [rsi], 0
je 0x1400df194
mov rcx, rsi
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
call fcn.1400ecb40
jmp 0x1400df194
call sub.KERNEL32.dll_GetCurrentThreadId
mov ebx, eax
lea rbp, [rsp + 0x100]
mov qword [rbp], rdi
mov rcx, rbp
call fcn.1401a0500
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14036a2d0]
lea r8, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], r8
xor r9d, r9d
call fcn.1400ec9b0
mov qword [rsp + 0x70], rax
jmp 0x1400df1f1