Function at 0x441b40
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 [0x4b9014]
xor eax, ebp
mov dword [esp + 0x128], eax
cmp byte [edx + 0x11], 0
je 0x441bc3
movzx eax, byte [edx]
mov dword [esp + 0xc], eax
movzx ebx, byte [edx + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x441b84
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea esi, [esp + 0x70]
push eax
push ecx
push esi
call fcn.00435540
add esp, 0xc
mov ecx, edi
mov edx, esi
push dword [esp + 0xc]
push ebx
call fcn.00441760
add esp, 8
mov ecx, esi
call fcn.00435240
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.00473933
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x4babb4]
xor ebx, ebx
mov byte [esp + 0xc], al
test al, 0x19
jne 0x442240
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.00439710
add esp, 0x10
lea ecx, [esp + 0xc0]
push 0x4be6a0
push esi
call fcn.00454ba0
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.00454da0
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x441c8d
call fcn.00455680
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 0x441cb4
lea ecx, [esp + 0x70]
push eax
call fcn.00454e00
mov ecx, 0x80000
test al, al
jne 0x441cb6
jmp 0x441e22
xor ecx, ecx
mov dword [esp + 8], ecx
cmp byte [esi + 0x3e], 0
je 0x441cf2
call fcn.00455680
cmp eax, 0x10
jl 0x441cf2
or byte [esp + 0x11b], 0x20
lea eax, [esp + 0x110]
lea ecx, [esp + 0x70]
push 0x10
push eax
push 0x20007
call fcn.00454eb0
test al, al
je 0x441e22
cmp dword [esi + 0x14], 1
mov ebx, dword [esi + 0x18]
sete cl
mov edi, dword [esi + 0x1c]
cmp ebx, edi
je 0x441d82
cmp edi, ebx
js 0x441e1f
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 0x441d35
add ebx, 4
cmp ebx, edi
jne 0x441d20
jmp 0x441d57
push 0x13f
push str....._baseprocesslaunch_win.cc
lea eax, [esp + 0x74]
push eax
call fcn.004556e0
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00455750
jmp 0x441d2c
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
je 0x442299
lea ecx, [esp + 0x70]
push edx
push eax
push 0x20002
call fcn.00454eb0
mov cl, 1
test al, al
je 0x441e1f
cmp byte [esi + 0x12], 0
je 0x441d90
or byte [esp + 0xa0], 0x80
mov byte [esp + 7], cl
cmp byte [esi + 0x28], 0
je 0x441da2
mov dword [esp + 0x7c], 0x4aa878
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 0x441dd9
test edx, edx
jne 0x441dd9
test esi, esi
je 0x441dfa
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 0x441e30
call fcn.00455680
mov edx, dword [esp + 8]
lea ecx, [edx + 0x1000000]
cmp eax, 5
cmovl edx, ecx
mov eax, edx
mov edx, dword [ebp + 0xc]
jmp 0x441e37
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.004422c0
jmp 0x4421ca
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 0x441e68
lea ecx, [esi + 4]
xor edi, edi
test al, al
cmovne edi, ecx
mov dword [esp + 8], edi
jmp 0x441e76
mov eax, dword [esi + 8]
test eax, eax
je 0x441e72
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.00435ca0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x441f29
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x441f18
or ebx, 0x400
mov ecx, dword [esp + 0xd0]
movzx eax, byte [esp + 7]
cmp byte [esp + 0x4f], 0
jns 0x441ee1
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 0x442002
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.004422c0
jmp 0x4421b7
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
cmp byte [esi + 0x4c], 0
je 0x4420ea
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push 0x4acfa8
push ecx
call fcn.00455780
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 0x441f9c
mov eax, dword [esp + 0xd0]
jmp 0x441fa3
lea eax, [esp + 0xd0]
mov edi, dword [ebp + 8]
or ebx, 0x400
movzx ecx, cl
cmp byte [esp + 0x4f], 0
jns 0x441fbc
mov edx, dword [esp + 0x44]
jmp 0x441fc0
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 0x44213c
cmp byte [esp + 0xdb], 0
jns 0x441fff
push dword [esp + 0xd0]
call fcn.00472a2c
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.00455be0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x442034
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x442160
cmp byte [esi + 0x3d], 0
je 0x44204d
push dword [esp + 0x30]
call fcn.00452890
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
je 0x4420ba
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.00439710
add esp, 0x10
lea edi, [esp + 0xd0]
mov ecx, edi
push 0
push esi
call fcn.004402a0
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.00440320
mov eax, dword [esp + 0x38]
mov ecx, dword [0x4c9130]
test ecx, ecx
je 0x4420d1
push dword [ebp + 0xc]
push eax
call fcn.0044cef0
lea ecx, [esp + 0x30]
call fcn.00455dd0
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.004422c0
jmp 0x4421ae
cmp dword [esi + 0x48], 0
je 0x442231
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x441f18
mov edi, eax
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push edi
push ecx
call fcn.00455780
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 0x441f84
mov ecx, edi
push 0
call fcn.004422c0
cmp byte [esp + 0xdb], 0
jns 0x4421b7
push dword [esp + 0xd0]
call fcn.00472a2c
add esp, 4
jmp 0x4421b7
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00455dd0
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
call fcn.004422c0
mov ecx, edi
push 1
push 1
call fcn.00442380
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
call fcn.004422c0
mov ecx, edi
mov edi, esi
call fcn.00442330
lea ecx, [esp + 0x30]
call fcn.00455d30
cmp byte [esp + 0x4f], 0
jns 0x4421ca
push dword [esp + 0x44]
call fcn.00472a2c
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00454dd0
lea ecx, [esp + 0xc0]
call fcn.00454cc0
test byte [esp + 0xc], 0x19
mov ecx, dword [esp + 0x1c]
je 0x441bab
cmp byte [ecx], 0
je 0x441bab
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.00447990
add esp, 0x10
jmp 0x441bab
xor eax, eax
mov edi, dword [ebp + 8]
movzx ecx, byte [esp + 7]
jmp 0x441fac
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], 0x4babb4
mov dword [esp], 0x58
mov dword [esp + 0x3c], str.LaunchProcess
mov dword [esp + 0x40], 0x4babb4
call fcn.00417f60
add esp, 0x24
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x441bf8
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.00414a00
int3