Function at 0x1400838a0
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 [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x238], rax
cmp byte [r8 + 0x21], 0
jne 0x140083e91
movabs r15, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x1403a2350]
xor ebx, ebx
mov byte [rsp + 0x67], al
test al, 0x19
jne 0x140083ef0
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 [0x14032f5c0]
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.140160630
lea r8, [0x1403b4b1c]
mov rcx, rsi
mov rdx, rbp
call fcn.1400d6e20
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.1400d7080
cmp byte [rdi + 0x72], 0
je 0x1400839ad
call fcn.140177450
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 0x140083f59
lea rcx, [rsp + 0x110]
call fcn.1400d7100
mov r13d, 0x80000
test al, al
je 0x140083e0c
mov qword [rsp + 0x68], r14
cmp byte [rdi + 0x72], 0
je 0x140083a24
call fcn.140177450
cmp eax, 0x10
jl 0x140083a24
lea r8, [rsp + 0x220]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x110]
mov edx, 0x20007
mov r9d, 0x10
call fcn.1400d71d0
test al, al
je 0x140083e07
cmp dword [rdi + 0x24], 1
sete r14b
mov rbp, qword [rdi + 0x28]
mov rsi, qword [rdi + 0x30]
cmp rbp, rsi
je 0x140083ab1
mov rax, rsi
sub rax, rbp
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x140083e07
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 0x140083db8
add rbp, 8
cmp rbp, rsi
jne 0x140083a63
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.1400d71d0
mov r14b, 1
test al, al
je 0x140083e07
cmp byte [rdi + 0x22], 0
jne 0x140083f61
cmp byte [rdi + 0x48], 0
jne 0x140083f6e
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 0x140083dde
test rdx, rdx
jne 0x140083dde
test rbp, rbp
jne 0x140083dde
cmp qword [rdi + 0x50], 0
jne 0x140083d3d
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 0x140083b54
mov rax, qword [rdi + 0x10]
mov r12, qword [rdi + 8]
jmp 0x140083b5b
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 0x140083f82
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
lea rcx, [rsp + 0xd0]
call fcn.14015ca80
lea rbx, [rsp + 0x118]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x140083f9f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], 0
mov al, byte [rdi + 0x90]
test al, al
jne 0x140083e1f
cmp qword [rdi + 0x88], 0
jne 0x140083e1f
xor eax, eax
movzx ecx, r14b
cmp byte [rsp + 0xe7], 0
jns 0x140083c02
mov rdx, qword [rsp + 0xd0]
jmp 0x140083c0a
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 0x140084143
cmp byte [rsp + 0x1d7], 0
js 0x140083fec
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.1400cd480
mov rcx, qword [rdi + 0x50]
test rcx, rcx
jne 0x140083d58
cmp byte [rdi + 0x71], 0
jne 0x140083ffe
cmp byte [rdi], 0
jne 0x140084018
mov edx, dword [rsp + 0xc0]
mov rcx, qword [0x1403baa40]
test rcx, rcx
jne 0x140084089
lea rcx, [rsp + 0xb0]
call fcn.1400cd660
mov rcx, r14
mov rdx, rax
call fcn.14016da20
lea rcx, [rsp + 0xb0]
call fcn.1400cd5b0
cmp byte [rsp + 0xe7], 0
jns 0x140083ceb
mov rcx, qword [rsp + 0xd0]
call fcn.1401b9ce8
lea rcx, [rsp + 0x110]
call fcn.1400d70c0
lea rcx, [rsp + 0x1a0]
call fcn.1400d6f30
test bl, 0x19
jne 0x140084096
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1401bb0d0
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.140177450
lea ecx, [r13 + 0x1000000]
cmp eax, 5
cmovge ecx, r13d
mov r13d, ecx
jmp 0x140083b19
mov rdx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140083c85
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xb0]
call fcn.1400cd660
mov rcx, rsi
mov rdx, rax
call fcn.14016da20
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.14022ade0
mov rcx, r14
xor edx, edx
call fcn.14016da20
mov rcx, rsi
call fcn.14016daa0
jmp 0x140083cc7
mov rcx, r12
mov rdx, r15
mov r8d, 0x13f
call fcn.140291d50
mov rcx, r12
call fcn.140291d70
mov rcx, r12
call fcn.140291d80
jmp 0x140083a7c
or eax, 0x101
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], rbp
jmp 0x140083b0e
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.14016da20
mov bl, byte [rsp + 0x67]
jmp 0x140083ceb
test al, al
je 0x1400840dc
lea r8, [rdi + 0x78]
lea rdx, [0x1403390b6]
lea rcx, [rsp + 0x90]
call fcn.140291da0
cmp byte [rsp + 0x1d7], 0
jns 0x140083e56
mov rcx, qword [rsp + 0x1c0]
call fcn.1401b9ce8
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 0x1400840c3
mov rax, qword [rsp + 0x1c0]
jmp 0x1400840cb
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.140222660
mov rcx, r14
mov rdx, rbx
mov r8d, edi
mov r9d, esi
call fcn.14022a850
mov rcx, rbx
call fcn.140070810
jmp 0x140083d0e
lea rsi, [rsp + 0x110]
mov rcx, rsi
call fcn.14016e2d0
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, [0x1403a2350]
lea r8, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x88], r8
xor r9d, r9d
call fcn.14016f1f0
mov qword [rsp + 0x80], rax
jmp 0x140083916
xor r13d, r13d
jmp 0x1400839e2
or byte [rsp + 0x154], 0x80
jmp 0x140083abb
lea rax, [0x14033127a]
mov qword [rsp + 0x128], rax
jmp 0x140083ac5
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x140083ba0
lea rcx, [rsp + 0x1c0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400841df
or r15d, 0x400
mov rdx, qword [rsp + 0x1c0]
movzx eax, r14b
cmp byte [rsp + 0xe7], 0
jns 0x140084174
mov r8, qword [rsp + 0xd0]
jmp 0x14008417c
mov rcx, qword [rsp + 0x1c0]
call fcn.1401b9ce8
jmp 0x140083c53
mov rcx, qword [rsp + 0xb0]
call fcn.1400d0060
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x140083c8f
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.140160630
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.14016ac30
mov rcx, qword [rsp + 0xb0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call fcn.14016ac90
jmp 0x140083c98
mov r8, rbp
call fcn.14028ca60
jmp 0x140083caf
mov rax, qword [rsp + 0x78]
cmp byte [rax], 0
je 0x140083d0e
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
call fcn.14016fd20
jmp 0x140083d0e
lea rax, [rsp + 0x1c0]
or r15d, 0x400
mov rbp, qword [rsp + 0x70]
jmp 0x140083bea
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x140084143
mov rsi, rax
lea r8, [rdi + 0x78]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.140291da0
cmp byte [rsp + 0x1d7], 0
jns 0x140084115
mov rcx, qword [rsp + 0x1c0]
call fcn.1401b9ce8
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 0x140083e76
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.14016da20
cmp byte [rsp + 0x1d7], 0
jns 0x140084166
mov rcx, qword [rsp + 0x1c0]
call fcn.1401b9ce8
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
jmp 0x140083cd4
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 0x1400841df
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
mov rbp, qword [rsp + 0x70]
jmp 0x140083c5c
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.14016da20
jmp 0x14008416b