Function at 0x140033c00
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 rdi, r8
mov r14, rdx
mov r12, rcx
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x228], rax
cmp byte [r8 + 0x21], 0
jne 0x1400341ca
movabs r15, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x1400ec140]
xor ebx, ebx
mov byte [rsp + 0x5f], al
test al, 0x19
jne 0x140034221
mov qword [rsp + 0x78], r15
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
lea rsi, [rsp + 0x190]
mov qword [rsi + 0x10], r15
movaps xmm6, xmmword [0x1400d09d0]
movaps xmmword [rsi], 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.14005b2e0
lea r8, [0x1400f1840]
mov rcx, rsi
mov rdx, rbp
call fcn.140037ad0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x210], xmm0
mov qword [rbp + 0x70], r15
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.140037d60
cmp byte [rdi + 0x72], 0
je 0x140033d07
call fcn.14005b480
xor ebx, ebx
cmp eax, 0x10
setge bl
mov qword [rsp + 0x60], r12
mov rax, qword [rdi + 0x28]
xor edx, edx
cmp rax, qword [rdi + 0x30]
setne dl
add edx, ebx
je 0x14003428a
lea rcx, [rsp + 0x100]
call fcn.140037de0
mov r12d, 0x80000
test al, al
je 0x14003410e
cmp byte [rdi + 0x72], 0
je 0x140033d79
call fcn.14005b480
cmp eax, 0x10
jl 0x140033d79
lea r8, [rsp + 0x210]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x100]
mov edx, 0x20007
mov r9d, 0x10
call fcn.140037eb0
test al, al
je 0x14003410e
cmp dword [rdi + 0x24], 1
sete sil
mov rbx, qword [rdi + 0x28]
mov rbp, qword [rdi + 0x30]
cmp rbx, rbp
je 0x140033e05
mov rax, rbp
sub rax, rbx
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x14003410e
mov rsi, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r15, str..._.._base_process_launch_win.cc
lea r13, [rsp + 0x1b0]
mov rcx, qword [rbx]
mov edx, 1
mov r8d, 1
call rsi
test eax, eax
je 0x140034126
add rbx, 8
cmp rbx, rbp
jne 0x140033db8
mov r9d, dword [rdi + 0x30]
mov r8, qword [rdi + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0x100]
mov edx, 0x20002
call fcn.140037eb0
mov sil, 1
test al, al
je 0x14003410e
cmp byte [rdi + 0x22], 0
jne 0x140034292
cmp byte [rdi + 0x48], 0
jne 0x14003429f
mov eax, dword [rsp + 0x144]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x144], ecx
movzx ecx, byte [rdi + 0x20]
xor ecx, 1
mov word [rsp + 0x148], cx
mov rcx, qword [rdi + 0x58]
mov rdx, qword [rdi + 0x60]
mov rbp, qword [rdi + 0x68]
test rcx, rcx
jne 0x14003414c
test rdx, rdx
jne 0x14003414c
test rbp, rbp
jne 0x14003414c
cmp qword [rdi + 0x50], 0
jne 0x140034089
mov r15d, r12d
or r15d, 0x1000000
cmp byte [rdi + 0x70], 0
cmove r15d, r12d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], 0
movzx eax, byte [rdi + 0x1f]
test al, al
jns 0x140033ea8
mov rax, qword [rdi + 0x10]
mov rbp, qword [rdi + 8]
jmp 0x140033eac
lea rbp, [rdi + 8]
test rax, rax
cmove rbp, rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xd0], r12
movaps xmmword [rsp + 0xc0], xmm6
cmp byte [r14 + 0x17], 0
jns 0x1400342b3
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
lea rcx, [rsp + 0xc0]
call fcn.1400523d0
lea r13, [rsp + 0x108]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x1400342d0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1b0], xmm0
mov qword [rsp + 0x1c0], 0
mov al, byte [rdi + 0x90]
test al, al
jne 0x140034175
cmp qword [rdi + 0x88], 0
jne 0x140034175
xor eax, eax
movzx ecx, sil
cmp byte [rsp + 0xd7], 0
jns 0x140033f4e
mov rdx, qword [rsp + 0xc0]
jmp 0x140033f56
lea rdx, [rsp + 0xc0]
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rbp
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 0x14003431d
cmp byte [rsp + 0x1c7], 0
js 0x14003434e
lea rcx, [rsp + 0xa0]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xe0]
call fcn.140038680
mov rcx, qword [rdi + 0x50]
test rcx, rcx
jne 0x1400340a5
cmp byte [rdi + 0x71], 0
jne 0x140034360
cmp byte [rdi], 0
jne 0x14003437a
mov edx, dword [rsp + 0xb0]
mov rcx, qword [0x1400f3808]
test rcx, rcx
mov bl, byte [rsp + 0x5f]
jne 0x1400343eb
lea rcx, [rsp + 0xa0]
call fcn.140038860
mov r12, qword [rsp + 0x60]
mov rcx, r12
mov rdx, rax
call fcn.140055ce0
lea rcx, [rsp + 0xa0]
call fcn.1400387b0
cmp byte [rsp + 0xd7], 0
jns 0x140034037
mov rcx, qword [rsp + 0xc0]
call fcn.1400698a8
lea rcx, [rsp + 0x100]
call fcn.140037da0
lea rcx, [rsp + 0x190]
call fcn.140037c00
test bl, 0x19
jne 0x1400343f8
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14006ac50
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
call fcn.14005b480
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
jmp 0x140033e6d
mov rdx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140033fc8
lea rsi, [rsp + 0x1b0]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xa0]
call fcn.140038860
mov rcx, rsi
mov rdx, rax
call fcn.140055ce0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400b4c40
mov r12, qword [rsp + 0x60]
mov rcx, r12
xor edx, edx
call fcn.140055ce0
mov rcx, rsi
call fcn.140055d60
mov bl, byte [rsp + 0x5f]
jmp 0x140034013
mov r12, qword [rsp + 0x60]
mov rcx, r12
xor edx, edx
call fcn.140055ce0
mov bl, byte [rsp + 0x5f]
jmp 0x140034037
mov rcx, r13
mov rdx, r15
mov r8d, 0x13f
call fcn.1400b84c0
mov rcx, r13
call fcn.1400b83f0
mov rcx, r13
call fcn.1400b8400
jmp 0x140033dd0
or eax, 0x101
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x168], rbp
jmp 0x140033e62
test al, al
je 0x140034433
lea r8, [rdi + 0x78]
lea rdx, [0x1400d3b12]
lea rbx, [rsp + 0x80]
mov rcx, rbx
call fcn.1400b84e0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x1c0], rax
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x1b0], xmm0
cmp byte [rsp + 0x1c7], 0
jns 0x14003441f
mov rax, qword [rsp + 0x1b0]
jmp 0x140034427
mov sil, byte [rdi]
mov dil, byte [rdi + 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 rbx, [rsp + 0x100]
mov rcx, rbx
call fcn.1400b2f70
mov rcx, r12
mov rdx, rbx
mov r8d, edi
mov r9d, esi
call fcn.1400b48f0
mov rcx, rbx
call fcn.14002f3d0
jmp 0x14003405a
call sub.KERNEL32.dll_GetCurrentThreadId
mov esi, eax
lea rbp, [rsp + 0x100]
mov qword [rbp], r15
mov rcx, rbp
call fcn.14005ae00
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x1400ec140]
lea r8, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], r8
xor r9d, r9d
call fcn.14005bf10
mov qword [rsp + 0x70], rax
jmp 0x140033c70
xor r12d, r12d
jmp 0x140033d3c
or byte [rsp + 0x144], 0x80
jmp 0x140033e0f
lea rax, [0x1400d3b10]
mov qword [rsp + 0x118], rax
jmp 0x140033e19
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xc0], xmm0
jmp 0x140033eec
lea rcx, [rsp + 0x1b0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400344e2
or r15d, 0x400
mov rdx, qword [rsp + 0x1b0]
movzx eax, sil
cmp byte [rsp + 0xd7], 0
jns 0x140034486
mov r8, qword [rsp + 0xc0]
jmp 0x14003448e
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.140055ce0
cmp byte [rsp + 0x1c7], 0
jns 0x140034340
mov rcx, qword [rsp + 0x1b0]
call fcn.1400698a8
mov r12, qword [rsp + 0x60]
mov bl, byte [rsp + 0x5f]
jmp 0x140034020
mov rcx, qword [rsp + 0x1b0]
call fcn.1400698a8
jmp 0x140033f9f
mov rcx, qword [rsp + 0xa0]
call fcn.1400388a0
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x140033fd2
lea rsi, [rsp + 0x1b0]
mov qword [rsi + 0x50], r12
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov r9d, 0x1bc
call fcn.14005b2e0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.14005b5f0
mov rcx, qword [rsp + 0xa0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call fcn.14005b650
jmp 0x140033fdb
mov r8, r14
call fcn.1400b6c80
jmp 0x140033ff6
mov rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x14003405a
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
call fcn.14005cab0
jmp 0x14003405a
lea rax, [rsp + 0x1b0]
or r15d, 0x400
jmp 0x140033f36
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400344e2
mov rbx, rax
lea r8, [rdi + 0x78]
lea rcx, [rsp + 0x80]
mov rdx, rax
call fcn.1400b84e0
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, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400341af
lea r8, [rsp + 0xc0]
mov rcx, qword [rdi + 0x40]
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], rbp
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 esi, eax
mov rcx, qword [rsp + 0x1b0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jne 0x140033f9f
mov r12, qword [rsp + 0x60]
mov rcx, r12
xor edx, edx
call fcn.140055ce0
jmp 0x140034345