Function at 0x140032d90
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, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rdi, r8
mov r12, rdx
mov r14, rcx
mov rax, qword [0x140178028]
xor rax, rsp
mov qword [rsp + 0x238], rax
cmp byte [r8 + 0x21], 0
jne 0x140033381
movabs r15, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x14017a080]
xor ebx, ebx
mov byte [rsp + 0x67], al
test al, 0x19
jne 0x1400333e0
mov qword [rsp + 0x88], r15
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r15
lea rsi, [rsp + 0x1a0]
mov qword [rsi + 0x10], r15
movaps xmm6, xmmword [0x140156180]
movaps xmmword [rsi], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbp, [rsp + 0x110]
mov rcx, rbp
mov r9d, 0x104
call fcn.140072b00
lea r8, [0x14018a2ec]
mov rcx, rsi
mov rdx, rbp
call fcn.140039b20
xorps xmm0, xmm0
movaps xmmword [rsp + 0x220], 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 + 0x110]
call fcn.140039d70
cmp byte [rdi + 0x72], 0
je 0x140032e9d
call fcn.14007a9b0
xor ebx, ebx
cmp eax, 0x10
setge bl
mov qword [rsp + 0x70], r12
mov rax, qword [rdi + 0x28]
xor edx, edx
cmp rax, qword [rdi + 0x30]
setne dl
add edx, ebx
je 0x140033449
lea rcx, [rsp + 0x110]
call fcn.140039df0
mov r13d, 0x80000
test al, al
je 0x1400332fc
mov qword [rsp + 0x68], r14
cmp byte [rdi + 0x72], 0
je 0x140032f14
call fcn.14007a9b0
cmp eax, 0x10
jl 0x140032f14
lea r8, [rsp + 0x220]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x110]
mov edx, 0x20007
mov r9d, 0x10
call fcn.140039ec0
test al, al
je 0x1400332f7
cmp dword [rdi + 0x24], 1
sete r14b
mov rbp, qword [rdi + 0x28]
mov rsi, qword [rdi + 0x30]
cmp rbp, rsi
je 0x140032fa1
mov rax, rsi
sub rax, rbp
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x1400332f7
mov rbx, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r15, str....._baseprocesslaunch_win.cc
lea r12, [rsp + 0x1c0]
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call rbx
test eax, eax
je 0x1400332a8
add rbp, 8
cmp rbp, rsi
jne 0x140032f53
mov r9d, dword [rdi + 0x30]
mov r8, qword [rdi + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0x110]
mov edx, 0x20002
call fcn.140039ec0
mov r14b, 1
test al, al
je 0x1400332f7
cmp byte [rdi + 0x22], 0
jne 0x140033451
cmp byte [rdi + 0x48], 0
jne 0x14003345e
mov eax, dword [rsp + 0x154]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x154], ecx
movzx ecx, byte [rdi + 0x20]
xor ecx, 1
mov word [rsp + 0x158], cx
mov rcx, qword [rdi + 0x58]
mov rdx, qword [rdi + 0x60]
mov rbp, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400332ce
test rdx, rdx
jne 0x1400332ce
test rbp, rbp
jne 0x1400332ce
cmp qword [rdi + 0x50], 0
jne 0x14003322d
mov r15d, r13d
or r15d, 0x1000000
cmp byte [rdi + 0x70], 0
cmove r15d, r13d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], 0
movzx eax, byte [rdi + 0x1f]
test al, al
jns 0x140033044
mov rax, qword [rdi + 0x10]
mov r12, qword [rdi + 8]
jmp 0x14003304b
lea r12, [rdi + 8]
and eax, 0x7f
mov rbp, qword [rsp + 0x70]
test rax, rax
cmove r12, rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], r13
movaps xmmword [rsp + 0xd0], xmm6
cmp byte [rbp + 0x17], 0
jns 0x140033472
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
lea rcx, [rsp + 0xd0]
call fcn.140070470
lea rbx, [rsp + 0x118]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x14003348f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], 0
mov al, byte [rdi + 0x90]
test al, al
jne 0x14003330f
cmp qword [rdi + 0x88], 0
jne 0x14003330f
xor eax, eax
movzx ecx, r14b
cmp byte [rsp + 0xe7], 0
jns 0x1400330f2
mov rdx, qword [rsp + 0xd0]
jmp 0x1400330fa
lea rdx, [rsp + 0xd0]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r12
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 0x140033633
cmp byte [rsp + 0x1d7], 0
js 0x1400334dc
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r13
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xf0]
call fcn.14003a6c0
mov rcx, qword [rdi + 0x50]
test rcx, rcx
jne 0x140033248
cmp byte [rdi + 0x71], 0
jne 0x1400334ee
cmp byte [rdi], 0
jne 0x140033508
mov edx, dword [rsp + 0xc0]
mov rcx, qword [0x14018a340]
test rcx, rcx
jne 0x140033579
lea rcx, [rsp + 0xb0]
call fcn.14003a8a0
mov rcx, r14
mov rdx, rax
call fcn.140075330
lea rcx, [rsp + 0xb0]
call fcn.14003a7f0
cmp byte [rsp + 0xe7], 0
jns 0x1400331db
mov rcx, qword [rsp + 0xd0]
call fcn.1400a70a0
lea rcx, [rsp + 0x110]
call fcn.140039db0
lea rcx, [rsp + 0x1a0]
call fcn.140039c30
test bl, 0x19
jne 0x140033586
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1400a8490
mov rax, r14
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14007a9b0
lea ecx, [r13 + 0x1000000]
cmp eax, 5
cmovge ecx, r13d
mov r13d, ecx
jmp 0x140033009
mov rdx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140033175
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xb0]
call fcn.14003a8a0
mov rcx, rsi
mov rdx, rax
call fcn.140075330
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400f4f50
mov rcx, r14
xor edx, edx
call fcn.140075330
mov rcx, rsi
call fcn.1400753b0
jmp 0x1400331b7
mov rcx, r12
mov rdx, r15
mov r8d, 0x13f
call fcn.1400f9a50
mov rcx, r12
call fcn.1400f9a70
mov rcx, r12
call fcn.1400f9a80
jmp 0x140032f6c
or eax, 0x101
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], rbp
jmp 0x140032ffe
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.140075330
mov bl, byte [rsp + 0x67]
jmp 0x1400331db
test al, al
je 0x1400335cc
lea r8, [rdi + 0x78]
lea rdx, [0x140159b9a]
lea rcx, [rsp + 0x90]
call fcn.1400f9aa0
cmp byte [rsp + 0x1d7], 0
jns 0x140033346
mov rcx, qword [rsp + 0x1c0]
call fcn.1400a70a0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1c0], xmm0
cmp byte [rsp + 0x1d7], 0
jns 0x1400335b3
mov rax, qword [rsp + 0x1c0]
jmp 0x1400335bb
mov sil, byte [rdi]
mov dil, byte [rdi + 0x20]
movzx eax, byte [r12 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r12]
cmovns rax, r12
lea rdx, [rsp + 0x190]
mov qword [rdx], rax
cmovs rcx, qword [r12 + 8]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x110]
mov rcx, rbx
call fcn.1400f27f0
mov rcx, r14
mov rdx, rbx
mov r8d, edi
mov r9d, esi
call fcn.1400f4b90
mov rcx, rbx
call fcn.14002c3f0
jmp 0x1400331fe
lea rsi, [rsp + 0x110]
mov rcx, rsi
call fcn.14007a110
call sub.KERNEL32.dll_GetCurrentThreadId
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x14017a080]
lea r8, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x88], r8
xor r9d, r9d
call fcn.14007b270
mov qword [rsp + 0x80], rax
jmp 0x140032e06
xor r13d, r13d
jmp 0x140032ed2
or byte [rsp + 0x154], 0x80
jmp 0x140032fab
lea rax, [0x140156346]
mov qword [rsp + 0x128], rax
jmp 0x140032fb5
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x140033090
lea rcx, [rsp + 0x1c0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400336cf
or r15d, 0x400
mov rdx, qword [rsp + 0x1c0]
movzx eax, r14b
cmp byte [rsp + 0xe7], 0
jns 0x140033664
mov r8, qword [rsp + 0xd0]
jmp 0x14003366c
mov rcx, qword [rsp + 0x1c0]
call fcn.1400a70a0
jmp 0x140033143
mov rcx, qword [rsp + 0xb0]
call fcn.1400395b0
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x14003317f
lea rsi, [rsp + 0x1c0]
mov qword [rsi + 0x50], r13
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....._baseprocesslaunch_win.cc
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov r9d, 0x1bc
call fcn.140072b00
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.140079ca0
mov rcx, qword [rsp + 0xb0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call fcn.140079d00
jmp 0x140033188
mov r8, rbp
call fcn.1400f7de0
jmp 0x14003319f
mov rax, qword [rsp + 0x78]
cmp byte [rax], 0
je 0x1400331fe
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
call fcn.14007bda0
jmp 0x1400331fe
lea rax, [rsp + 0x1c0]
or r15d, 0x400
mov rbp, qword [rsp + 0x70]
jmp 0x1400330da
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140033633
mov rsi, rax
lea r8, [rdi + 0x78]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.1400f9aa0
cmp byte [rsp + 0x1d7], 0
jns 0x140033605
mov rcx, qword [rsp + 0x1c0]
call fcn.1400a70a0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1c0], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140033366
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.140075330
cmp byte [rsp + 0x1d7], 0
jns 0x140033656
mov rcx, qword [rsp + 0x1c0]
call fcn.1400a70a0
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
jmp 0x1400331c4
lea r8, [rsp + 0xd0]
mov rcx, qword [rdi + 0x40]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
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 + 0x1c0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x1400336cf
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
mov rbp, qword [rsp + 0x70]
jmp 0x14003314c
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.140075330
jmp 0x14003365b