Function at 0x4490f0
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, 0x130
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x533014]
xor eax, ebp
mov dword [esp + 0x128], eax
cmp byte [edx + 0x11], 0
je 0x449173
movzx eax, byte [edx]
mov dword [esp + 0xc], eax
movzx ebx, byte [edx + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x449134
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea esi, [esp + 0x70]
push eax
push ecx
push esi
call fcn.0043ceb0
add esp, 0xc
mov ecx, edi
mov edx, esi
push dword [esp + 0xc]
push ebx
call fcn.00448d10
add esp, 8
mov ecx, esi
call fcn.0043cbb0
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.004e3343
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x534ca4]
xor ebx, ebx
mov byte [esp + 0xc], al
test al, 0x19
jne 0x4497f0
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
lea esi, [esp + 0x70]
push 0x104
push str....._baseprocesslaunch_win.cc
push str.LaunchProcess
push esi
call fcn.004418f0
add esp, 0x10
lea ecx, [esp + 0xc0]
push 0x5388f8
push esi
call fcn.00458180
pxor xmm0, xmm0
movdqa xmmword [esp + 0x110], xmm0
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0xac], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
lea ecx, [esp + 0x70]
call fcn.004583f0
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x44923d
call fcn.00458cd0
xor ebx, ebx
cmp eax, 0x10
setge bl
mov ecx, dword [esi + 0x18]
xor eax, eax
cmp ecx, dword [esi + 0x1c]
setne al
add eax, ebx
je 0x449264
lea ecx, [esp + 0x70]
push eax
call fcn.00458450
mov ecx, 0x80000
test al, al
jne 0x449266
jmp 0x4493d2
xor ecx, ecx
mov dword [esp + 8], ecx
cmp byte [esi + 0x3e], 0
je 0x4492a2
call fcn.00458cd0
cmp eax, 0x10
jl 0x4492a2
or byte [esp + 0x11b], 0x20
lea eax, [esp + 0x110]
lea ecx, [esp + 0x70]
push 0x10
push eax
push 0x20007
call fcn.00458500
test al, al
je 0x4493d2
cmp dword [esi + 0x14], 1
mov ebx, dword [esi + 0x18]
sete cl
mov edi, dword [esi + 0x1c]
cmp ebx, edi
je 0x449332
cmp edi, ebx
js 0x4493cf
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop word cs:[eax + eax]
push 1
push 1
push dword [ebx]
call esi
test eax, eax
je 0x4492e5
add ebx, 4
cmp ebx, edi
jne 0x4492d0
jmp 0x449307
push 0x13f
push str....._baseprocesslaunch_win.cc
lea eax, [esp + 0x74]
push eax
call fcn.00458d30
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00458da0
jmp 0x4492dc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
je 0x449849
lea ecx, [esp + 0x70]
push edx
push eax
push 0x20002
call fcn.00458500
mov cl, 1
test al, al
je 0x4493cf
cmp byte [esi + 0x12], 0
je 0x449340
or byte [esp + 0xa0], 0x80
mov byte [esp + 7], cl
cmp byte [esi + 0x28], 0
je 0x449352
mov dword [esp + 0x7c], 0x51a95a
mov eax, dword [esp + 0xa0]
mov ecx, eax
or ecx, 1
mov dword [esp + 0xa0], ecx
movzx ecx, byte [esi + 0x10]
xor ecx, 1
mov word [esp + 0xa4], cx
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
test ecx, ecx
jne 0x449389
test edx, edx
jne 0x449389
test esi, esi
je 0x4493aa
or eax, 0x101
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x2c], 0
je 0x4493e0
call fcn.00458cd0
mov edx, dword [esp + 8]
lea ecx, [edx + 0x1000000]
cmp eax, 5
cmovl edx, ecx
mov eax, edx
mov edx, dword [ebp + 0xc]
jmp 0x4493e7
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00449970
jmp 0x44977a
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov ebx, eax
or ebx, 0x1000000
cmp byte [esi + 0x3c], 0
cmove ebx, eax
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx eax, byte [esi + 0xf]
test al, al
js 0x449418
lea ecx, [esi + 4]
xor edi, edi
test al, al
cmovne edi, ecx
mov dword [esp + 8], edi
jmp 0x449426
mov eax, dword [esi + 8]
test eax, eax
je 0x449422
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
lea edi, [esp + 0x44]
mov ecx, edi
push edx
call fcn.0043d610
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4494d9
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x4494c8
or ebx, 0x400
mov ecx, dword [esp + 0xd0]
movzx eax, byte [esp + 7]
cmp byte [esp + 0x4f], 0
jns 0x449491
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x78]
push edx
push dword [esp + 0x10]
push ecx
push ebx
push eax
push 0
push 0
push edi
push 0
push dword [esi + 0x24]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
push dword [esp + 0xd0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
jne 0x4495b2
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.00449970
jmp 0x449767
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
cmp byte [esi + 0x4c], 0
je 0x44969a
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push 0x51ecf4
push ecx
call fcn.00458dd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xd0], xmm0
cmp byte [esp + 0xdb], 0
movzx ecx, byte [esp + 7]
jns 0x44954c
mov eax, dword [esp + 0xd0]
jmp 0x449553
lea eax, [esp + 0xd0]
mov edi, dword [ebp + 8]
or ebx, 0x400
movzx ecx, cl
cmp byte [esp + 0x4f], 0
jns 0x44956c
mov edx, dword [esp + 0x44]
jmp 0x449570
lea edx, [esp + 0x44]
lea esi, [esp + 0x50]
push esi
lea esi, [esp + 0x78]
push esi
push dword [esp + 0x10]
push eax
push ebx
push ecx
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4496ec
cmp byte [esp + 0xdb], 0
jns 0x4495af
push dword [esp + 0xd0]
call fcn.004e28b6
add esp, 4
mov esi, dword [ebp + 0x10]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x30]
push eax
call fcn.00459230
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4495e4
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x449710
cmp byte [esi + 0x3d], 0
je 0x4495fd
push dword [esp + 0x30]
call fcn.00457200
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
je 0x44966a
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
lea esi, [esp + 0x20]
push 0x1bc
push str....._baseprocesslaunch_win.cc
push str.LaunchProcess
push esi
call fcn.004418f0
add esp, 0x10
lea edi, [esp + 0xd0]
mov ecx, edi
push 0
push esi
call fcn.00455f50
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.00455fd0
mov eax, dword [esp + 0x38]
mov ecx, dword [0x54313c]
test ecx, ecx
je 0x449681
push dword [ebp + 0xc]
push eax
call fcn.00453230
lea ecx, [esp + 0x30]
call fcn.00459420
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00449970
jmp 0x44975e
cmp dword [esi + 0x48], 0
je 0x4497e1
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4494c8
mov edi, eax
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push edi
push ecx
call fcn.00458dd0
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xd0], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x449534
mov ecx, edi
push 0
call fcn.00449970
cmp byte [esp + 0xdb], 0
jns 0x449767
push dword [esp + 0xd0]
call fcn.004e28b6
add esp, 4
jmp 0x449767
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00459420
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
call fcn.00449970
mov ecx, edi
push 1
push 1
call fcn.00449b30
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
call fcn.00449970
mov ecx, edi
mov edi, esi
call fcn.004142f0
lea ecx, [esp + 0x30]
call fcn.00459380
cmp byte [esp + 0x4f], 0
jns 0x44977a
push dword [esp + 0x44]
call fcn.004e28b6
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00458420
lea ecx, [esp + 0xc0]
call fcn.004582a0
test byte [esp + 0xc], 0x19
mov ecx, dword [esp + 0x1c]
je 0x44915b
cmp byte [ecx], 0
je 0x44915b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0045d230
add esp, 0x10
jmp 0x44915b
xor eax, eax
mov edi, dword [ebp + 8]
movzx ecx, byte [esp + 7]
jmp 0x44955c
sub esp, 0x24
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LaunchProcess
mov dword [esp + 4], 0x534ca4
mov dword [esp], 0x58
mov dword [esp + 0x3c], str.LaunchProcess
mov dword [esp + 0x40], 0x534ca4
call fcn.00449870
add esp, 0x24
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x4491a8
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x591
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.00418f58
int3