Function at 0x426f00
Capabilities:
Create process on windows
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x2d0
mov edi, dword [ebp + 0xc]
mov eax, dword [0x557008]
xor eax, ebp
mov dword [esp + 0x2c8], eax
lea esi, [esp + 0x138]
push 0x190
push 0xff
push esi
call fcn.004acae0
add esp, 0xc
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x426f44
mov eax, dword [edi]
push 0xc8
push eax
push esi
call fcn.0046cff0
add esp, 0xc
push esi
call fcn.0045bf30
add esp, 4
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x11], 0
mov dword [esp + 0x10], edi
jne 0x427463
mov al, byte [0x559d4c]
xor ebx, ebx
mov byte [esp + 0xc], al
test al, 0x19
jne 0x427327
xor eax, eax
dec eax
mov dword [esp + 8], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0xd0]
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x70]
push 0x100
push str....._baseprocesslaunch_win.cc
push str.LaunchProcess
push esi
call fcn.0046e4d0
add esp, 0x10
mov ecx, edi
push 0x56ad00
push esi
call fcn.00435690
pxor xmm0, xmm0
movdqa xmmword [esp + 0x120], xmm0
pcmpeqd xmm0, xmm0
movdqu xmmword [esi + 0x3c], xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ecx, [esp + 0x70]
call fcn.00435b20
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
jne 0x427137
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, dword [esi + 0x1c]
setne al
add eax, ebx
je 0x4275a2
lea ecx, [esp + 0x70]
push eax
call fcn.00435b80
mov ecx, 0x80000
test al, al
je 0x427398
mov dword [esp + 4], ecx
cmp byte [esi + 0x3e], 0
jne 0x427149
cmp dword [esi + 0x14], 1
mov edi, dword [esi + 0x18]
sete cl
mov ebx, dword [esi + 0x1c]
cmp edi, ebx
je 0x4270a6
cmp ebx, edi
js 0x427398
xor esi, esi
inc esi
push esi
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x427622
add edi, 4
cmp edi, ebx
jne 0x427062
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
sub edx, eax
je 0x427664
lea ecx, [esp + 0x70]
push edx
push eax
push 0x20002
call fcn.00435c30
mov cl, 1
test al, al
je 0x427398
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x12], 0
jne 0x4275a9
mov byte [esp + 3], cl
cmp byte [esi + 0x28], 0
mov edi, dword [ebp + 0xc]
jne 0x4275b6
mov eax, dword [esp + 0xa0]
mov ecx, eax
or ecx, 1
mov dword [esp + 0xa0], ecx
xor ecx, ecx
cmp byte [esi + 0x10], 0
sete cl
mov word [esp + 0xa4], cx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
test ecx, ecx
jne 0x4275c6
test edx, edx
jne 0x4275c6
test esi, esi
jne 0x4275c6
mov eax, dword [esp + 4]
lea esi, [eax + 0x1000000]
mov ecx, dword [ebp + 0x10]
cmp byte [ecx + 0x3c], 0
cmove esi, eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx eax, byte [ecx + 0xf]
test al, al
jns 0x427180
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
jmp 0x427186
call fcn.00472f70
xor ebx, ebx
cmp eax, 0x10
setge bl
jmp 0x42700e
call fcn.00472f70
cmp eax, 0x10
jl 0x427046
lea eax, [esp + 0x120]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x70]
push 0x10
push eax
push 0x20007
call fcn.00435c30
test al, al
jne 0x427046
jmp 0x427398
add ecx, 4
and eax, 0x7f
test eax, eax
cmove ecx, eax
mov dword [esp + 4], ecx
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edi + 0xb], 0
jns 0x42760c
lea ecx, [esp + 0x40]
push dword [edi + 4]
push dword [edi]
call fcn.00425ea0
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x427682
xor eax, eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov cl, byte [edx + 0x4c]
test cl, cl
jne 0x42752d
cmp dword [edx + 0x48], 0
jne 0x42752d
movzx ecx, byte [esp + 3]
cmp byte [esp + 0x4b], 0
js 0x427202
lea edx, [esp + 0x40]
jmp 0x427206
mov edx, dword [esp + 0x40]
lea ebx, [esp + 0x50]
xor edi, edi
push ebx
lea ebx, [esp + 0x78]
push ebx
push dword [esp + 0xc]
push eax
push esi
push ecx
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4273d5
cmp byte [esp + 0xeb], 0
js 0x4273a9
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x30]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x50]
push eax
call fcn.00435cf0
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x42726f
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x427708
cmp byte [esi + 0x3d], 0
jne 0x4273bd
cmp byte [esi], 0
jne 0x427400
lea ecx, [esp + 0x30]
call fcn.00435ea0
mov ecx, ebx
push eax
call fcn.00426cb0
lea ecx, [esp + 0x30]
call fcn.00435e00
cmp byte [esp + 0x4b], 0
jns 0x4272af
push dword [esp + 0x40]
call fcn.004a8b10
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00435b50
lea ecx, [esp + 0xd0]
call fcn.004357c0
test byte [esp + 0xc], 0x19
jne 0x4272e3
mov ecx, dword [esp + 0x2c8]
xor ecx, ebp
call fcn.004a927c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 8]
cmp byte [eax], 0
je 0x4272cb
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004740c0
add esp, 0x10
jmp 0x4272cb
lea esi, [esp + 0x70]
push esi
call fcn.00472170
add esp, 4
call fcn.004731d0
sub esp, 0x30
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.LaunchProcess
mov dword [esp + 4], 0x559d4c
mov dword [esp], 0x58
call fcn.004737d0
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], str.LaunchProcess
mov dword [esp + 8], 0x559d4c
jmp 0x426f97
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.00426cb0
jmp 0x4272af
push dword [esp + 0xe0]
call fcn.004a8b10
add esp, 4
jmp 0x427239
push dword [esp + 0x30]
call fcn.004327d0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x427279
mov ecx, dword [ebp + 8]
push 0
call fcn.00426cb0
cmp byte [esp + 0xeb], 0
jns 0x4273f8
push dword [esp + 0xe0]
call fcn.004a8b10
add esp, 4
mov ebx, dword [ebp + 8]
jmp 0x42729c
lea esi, [esp + 0xe0]
xor edi, edi
dec edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea eax, [esp + 0x20]
push 0x1b3
push str....._baseprocesslaunch_win.cc
push str.LaunchProcess
push eax
call fcn.0046e4d0
add esp, 0x10
mov ecx, esi
push 0
lea eax, [esp + 0x24]
push eax
call fcn.00472710
push edi
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.00472790
jmp 0x427282
movzx ebx, byte [eax]
movzx eax, byte [eax + 0x10]
mov dword [esp + 0xc], eax
movzx eax, byte [edi + 0xb]
test al, al
js 0x42747b
and eax, 0x7f
jmp 0x427487
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
lea esi, [esp + 0xc8]
mov ecx, esi
push eax
push dword [esp + 0x14]
call fcn.004d7dd0
lea edi, [esp + 0x70]
push dword [esi + 4]
push dword [esi]
push edi
call fcn.004ecf50
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, edi
push ebx
mov ebx, ecx
push dword [esp + 0x10]
call fcn.004eb140
add esp, 8
mov ecx, edi
call fcn.0042ce80
jmp 0x4272cb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4273d5
mov edi, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x30]
push eax
push edi
push ecx
call fcn.004f18b0
add esp, 0xc
cmp byte [esp + 0xeb], 0
jns 0x42750a
push dword [esp + 0xe0]
call fcn.004a8b10
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xe0], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x42757d
test cl, cl
je 0x4274cc
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x30]
push eax
push 0x5419f0
push ecx
call fcn.004f18b0
add esp, 0xc
cmp byte [esp + 0xeb], 0
jns 0x427563
push dword [esp + 0xe0]
call fcn.004a8b10
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0xe8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xe0], xmm0
cmp byte [esp + 0xeb], 0
js 0x427590
lea eax, [esp + 0xe0]
jmp 0x427597
mov eax, dword [esp + 0xe0]
or esi, 0x400
jmp 0x4271f0
xor ecx, ecx
jmp 0x427038
or byte [esp + 0xa0], 0x80
jmp 0x4270b3
mov dword [esp + 0x7c], 0x53cc02
jmp 0x4270c4
int3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx + 0x18]
cmp edi, dword [ebx + 0x1c]
jne 0x4275dd
test ecx, ecx
je 0x4275c3
test edx, edx
je 0x427606
test esi, esi
je 0x427609
or eax, 0x101
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov edi, dword [ebp + 0xc]
jmp 0x427109
int3
int3
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [edi]
movq qword [esp + 0x40], xmm0
jmp 0x4271b6
push 0x13b
push str....._baseprocesslaunch_win.cc
push str.LaunchProcess
lea eax, [esp + 0xec]
push eax
call fcn.0046e4d0
add esp, 0x10
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004f1580
add esp, 8
lea ecx, [esp + 0x6c]
call fcn.004f15a0
jmp 0x427074
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x62c
push str....._third_partylibc_srcinclude_vector
push str._s:_d:_assertion__s_failed:__s_n
call fcn.004d6920
mov edi, esi
xor ecx, ecx
lea edx, [esp + 0xe0]
mov dword [edx], ecx
push ecx
push eax
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4276f7
or edi, 0x400
mov ecx, dword [esp + 0xe0]
movzx esi, byte [esp + 3]
cmp byte [esp + 0x4b], 0
jns 0x4276ba
mov edx, dword [esp + 0x40]
jmp 0x4276be
lea edx, [esp + 0x40]
lea ebx, [esp + 0x50]
xor eax, eax
push ebx
lea ebx, [esp + 0x78]
push ebx
push dword [esp + 0xc]
push ecx
push edi
push esi
push eax
push eax
push edx
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
push dword [esp + 0xe0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebx, ebx
jne 0x427239
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.00426cb0
jmp 0x42729c
lea esi, [esp + 0xe0]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x30]
call fcn.00435ea0
mov ecx, esi
push eax
call fcn.00426cb0
xor eax, eax
inc eax
mov ecx, esi
push eax
push eax
call fcn.004eb060
mov ecx, ebx
push 0
call fcn.00426cb0
mov ecx, esi
call fcn.00426d20
jmp 0x427293