Function at 0x43ae40
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 [0x4ad014]
xor eax, ebp
mov dword [esp + 0x128], eax
cmp byte [edx + 0x11], 0
je 0x43aec3
movzx eax, byte [edx]
mov dword [esp + 0xc], eax
movzx ebx, byte [edx + 0x10]
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x43ae84
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea esi, [esp + 0x70]
push eax
push ecx
push esi
call fcn.004335e0
add esp, 0xc
mov ecx, edi
mov edx, esi
push dword [esp + 0xc]
push ebx
call fcn.0043aa60
add esp, 8
mov ecx, esi
call fcn.004332e0
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.00470273
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x4aebb4]
xor ebx, ebx
mov byte [esp + 0xc], al
test al, 0x19
jne 0x43b540
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.00443930
add esp, 0x10
lea ecx, [esp + 0xc0]
push 0x4b2640
push esi
call fcn.00443970
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.00443dc0
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x43af8d
call fcn.004446a0
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 0x43afb4
lea ecx, [esp + 0x70]
push eax
call fcn.00443e20
mov ecx, 0x80000
test al, al
jne 0x43afb6
jmp 0x43b122
xor ecx, ecx
mov dword [esp + 8], ecx
cmp byte [esi + 0x3e], 0
je 0x43aff2
call fcn.004446a0
cmp eax, 0x10
jl 0x43aff2
or byte [esp + 0x11b], 0x20
lea eax, [esp + 0x110]
lea ecx, [esp + 0x70]
push 0x10
push eax
push 0x20007
call fcn.00443ed0
test al, al
je 0x43b122
cmp dword [esi + 0x14], 1
mov ebx, dword [esi + 0x18]
sete cl
mov edi, dword [esi + 0x1c]
cmp ebx, edi
je 0x43b082
cmp edi, ebx
js 0x43b11f
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 0x43b035
add ebx, 4
cmp ebx, edi
jne 0x43b020
jmp 0x43b057
push 0x13f
push str....._baseprocesslaunch_win.cc
lea eax, [esp + 0x74]
push eax
call fcn.00444700
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.00444770
jmp 0x43b02c
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
je 0x43b599
lea ecx, [esp + 0x70]
push edx
push eax
push 0x20002
call fcn.00443ed0
mov cl, 1
test al, al
je 0x43b11f
cmp byte [esi + 0x12], 0
je 0x43b090
or byte [esp + 0xa0], 0x80
mov byte [esp + 7], cl
cmp byte [esi + 0x28], 0
je 0x43b0a2
mov dword [esp + 0x7c], 0x4a22e0
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 0x43b0d9
test edx, edx
jne 0x43b0d9
test esi, esi
je 0x43b0fa
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 0x43b130
call fcn.004446a0
mov edx, dword [esp + 8]
lea ecx, [edx + 0x1000000]
cmp eax, 5
cmovl edx, ecx
mov eax, edx
mov edx, dword [ebp + 0xc]
jmp 0x43b137
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.0043b650
jmp 0x43b4ca
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 0x43b168
lea ecx, [esi + 4]
xor edi, edi
test al, al
cmovne edi, ecx
mov dword [esp + 8], edi
jmp 0x43b176
mov eax, dword [esi + 8]
test eax, eax
je 0x43b172
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.00433d40
mov eax, dword [esi + 0x24]
test eax, eax
je 0x43b229
mov dword [esp + 0xd0], 0
lea ecx, [esp + 0xd0]
push 0
push eax
push ecx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x43b218
or ebx, 0x400
mov ecx, dword [esp + 0xd0]
movzx eax, byte [esp + 7]
cmp byte [esp + 0x4f], 0
jns 0x43b1e1
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 0x43b302
mov edi, dword [ebp + 8]
mov ecx, edi
push 0
call fcn.0043b650
jmp 0x43b4b7
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 0
cmp byte [esi + 0x4c], 0
je 0x43b3ea
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push 0x4a22e2
push ecx
call fcn.004447a0
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 0x43b29c
mov eax, dword [esp + 0xd0]
jmp 0x43b2a3
lea eax, [esp + 0xd0]
mov edi, dword [ebp + 8]
or ebx, 0x400
movzx ecx, cl
cmp byte [esp + 0x4f], 0
jns 0x43b2bc
mov edx, dword [esp + 0x44]
jmp 0x43b2c0
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 0x43b43c
cmp byte [esp + 0xdb], 0
jns 0x43b2ff
push dword [esp + 0xd0]
call fcn.0046f880
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.00444c00
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x43b334
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x43b460
cmp byte [esi + 0x3d], 0
je 0x43b34d
push dword [esp + 0x30]
call fcn.00444e30
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [esi], 0
je 0x43b3ba
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.00443930
add esp, 0x10
lea edi, [esp + 0xd0]
mov ecx, edi
push 0
push esi
call fcn.00444e60
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.00444ee0
mov eax, dword [esp + 0x38]
mov ecx, dword [0x4b264c]
test ecx, ecx
je 0x43b3d1
push dword [ebp + 0xc]
push eax
call fcn.0043fe40
lea ecx, [esp + 0x30]
call fcn.00444df0
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.0043b650
jmp 0x43b4ae
cmp dword [esi + 0x48], 0
je 0x43b531
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x43b218
mov edi, eax
lea eax, [esi + 0x40]
lea ecx, [esp + 0x30]
push eax
push edi
push ecx
call fcn.004447a0
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 0x43b284
mov ecx, edi
push 0
call fcn.0043b650
cmp byte [esp + 0xdb], 0
jns 0x43b4b7
push dword [esp + 0xd0]
call fcn.0046f880
add esp, 4
jmp 0x43b4b7
mov dword [esp + 0xd4], 0xffffffff
mov dword [esp + 0xd0], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00444df0
lea edi, [esp + 0xd0]
mov ecx, edi
push eax
call fcn.0043b650
mov ecx, edi
push 1
push 1
call fcn.0043b710
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
call fcn.0043b650
mov ecx, edi
mov edi, esi
call fcn.0043b6c0
lea ecx, [esp + 0x30]
call fcn.00444d50
cmp byte [esp + 0x4f], 0
jns 0x43b4ca
push dword [esp + 0x44]
call fcn.0046f880
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00443df0
lea ecx, [esp + 0xc0]
call fcn.00443a90
test byte [esp + 0xc], 0x19
mov ecx, dword [esp + 0x1c]
je 0x43aeab
cmp byte [ecx], 0
je 0x43aeab
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.00449c40
add esp, 0x10
jmp 0x43aeab
xor eax, eax
mov edi, dword [ebp + 8]
movzx ecx, byte [esp + 7]
jmp 0x43b2ac
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], 0x4aebb4
mov dword [esp], 0x58
mov dword [esp + 0x3c], str.LaunchProcess
mov dword [esp + 0x40], 0x4aebb4
call fcn.0043b5c0
add esp, 0x24
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x43aef8
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.00413750
int3