Function at 0x52c1b0
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 ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0x128], eax
cmp byte [ecx + 0x11], 0
jne 0x52c703
mov al, byte [0x72bb00]
xor ebx, ebx
mov byte [esp + 0xb], al
test al, 0x19
jne 0x52c57d
xor eax, eax
dec eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0xc0]
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x70]
push 0xfb
push str........._baseprocesslaunch_win.cc
push str.LaunchProcess
push esi
call fcn.0063ced0
add esp, 0x10
mov ecx, edi
push 0x72ff50
push esi
call fcn.005302c0
pxor xmm0, xmm0
movdqa xmmword [esp + 0x110], 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.00558720
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3e], 0
je 0x52c287
call fcn.0052a9b0
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 0x52c745
lea ecx, [esp + 0x70]
push eax
call fcn.00558780
mov ecx, 0x80000
test al, al
je 0x52c639
mov dword [esp + 0xc], ecx
cmp byte [esi + 0x3e], 0
je 0x52c2e9
call fcn.0052a9b0
cmp eax, 0x10
jl 0x52c2e9
lea eax, [esp + 0x110]
or byte [eax + 0xb], 0x20
lea ecx, [esp + 0x70]
push 0x10
push eax
push 0x20007
call fcn.00558830
test al, al
je 0x52c639
cmp dword [esi + 0x14], 1
mov edi, dword [esi + 0x18]
sete cl
mov ebx, dword [esi + 0x1c]
cmp edi, ebx
je 0x52c349
cmp ebx, edi
js 0x52c639
xor esi, esi
inc esi
push esi
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x52c64a
add edi, 4
cmp edi, ebx
jne 0x52c305
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
sub edx, eax
je 0x52c74c
lea ecx, [esp + 0x70]
push edx
push eax
push 0x20002
call fcn.00558830
mov cl, 1
test al, al
je 0x52c639
cmp byte [esi + 0x12], 0
jne 0x52c76a
mov byte [esp + 0xa], cl
cmp byte [esi + 0x28], 0
mov ebx, dword [esp + 0xc]
jne 0x52c777
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 0x52c66f
test edx, edx
jne 0x52c66f
test esi, esi
jne 0x52c66f
lea edi, [ebx + 0x1000000]
mov esi, dword [ebp + 0x10]
cmp byte [esi + 0x3c], 0
cmove edi, ebx
pxor xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movzx eax, byte [esi + 0xf]
test al, al
jns 0x52c3d4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
jmp 0x52c3d7
lea ecx, [esi + 4]
mov edx, dword [ebp + 0xc]
test eax, eax
cmove ecx, eax
mov dword [esp + 0xc], ecx
xor eax, eax
dec eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp byte [edx + 0xb], 0
jns 0x52c784
lea ecx, [esp + 0x40]
push dword [edx + 4]
push dword [edx]
call fcn.005264f0
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x52c79a
xor eax, eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd8], eax
mov cl, byte [esi + 0x4c]
test cl, cl
jne 0x52c695
cmp dword [esi + 0x48], 0
jne 0x52c695
movzx ecx, byte [esp + 0xa]
cmp byte [esp + 0x4b], 0
jns 0x52c455
mov ebx, edi
mov edx, dword [esp + 0x40]
jmp 0x52c45b
mov ebx, edi
lea edx, [esp + 0x40]
lea esi, [esp + 0x50]
xor edi, edi
push esi
lea esi, [esp + 0x78]
push esi
push dword [esp + 0x14]
push eax
push ebx
push ecx
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x52c8dc
cmp byte [esp + 0xdb], 0
mov esi, dword [ebp + 0x10]
js 0x52c7db
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
lea ecx, [esp + 0x30]
movdqa xmmword [ecx], xmm0
lea eax, [esp + 0x50]
push eax
call fcn.005588f0
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x52c529
cmp byte [esi + 0x3d], 0
jne 0x52c7ef
cmp byte [esi], 0
jne 0x52c807
lea ecx, [esp + 0x30]
call fcn.00558aa0
mov ecx, ebx
push eax
call fcn.0052bc60
lea ecx, [esp + 0x30]
call fcn.00558a00
cmp byte [esp + 0x4b], 0
jns 0x52c4f1
push dword [esp + 0x40]
call fcn.0066d8a0
add esp, 4
lea ecx, [esp + 0x70]
call fcn.00558750
lea ecx, [esp + 0xc0]
call fcn.005303f0
test byte [esp + 0xb], 0x19
jne 0x52c5ee
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x52c4b1
lea esi, [esp + 0xd0]
xor eax, eax
dec eax
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x30]
call fcn.00558aa0
mov ecx, esi
push eax
call fcn.0052bc60
xor eax, eax
inc eax
mov ecx, esi
push eax
push eax
call fcn.006b2540
mov ecx, ebx
push 0
call fcn.0052bc60
mov ecx, esi
call fcn.0052bcd0
jmp 0x52c4d5
lea esi, [esp + 0x70]
push esi
call fcn.006339f0
add esp, 4
call fcn.00633d60
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], 0x72bb00
mov dword [esp], 0x58
call fcn.00632440
add esp, 0x30
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], str.LaunchProcess
mov dword [esp + 0x10], 0x72bb00
jmp 0x52c207
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x52c511
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 + 0x20]
mov dword [esp], eax
call fcn.00632c70
add esp, 0x10
jmp 0x52c511
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.0052bc60
jmp 0x52c4f1
push 0x136
push str........._baseprocesslaunch_win.cc
lea eax, [esp + 0x74]
push eax
call fcn.006b6cc0
add esp, 0xc
lea ecx, [esp + 0x6c]
call fcn.006b6ce0
jmp 0x52c317
or eax, 0x101
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
jmp 0x52c3aa
test cl, cl
je 0x52c87c
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x30]
push eax
push 0x70a260
push ecx
call fcn.006cc8e0
add esp, 0xc
cmp byte [esp + 0xdb], 0
jns 0x52c6cf
push dword [esp + 0xd0]
call fcn.0066d8a0
add esp, 4
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
jns 0x52c86a
mov eax, dword [esp + 0xd0]
jmp 0x52c871
movzx esi, byte [ecx]
movzx ebx, byte [ecx + 0x10]
mov ecx, edx
movzx eax, byte [edx + 0xb]
test al, al
jns 0x52c719
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea edi, [esp + 0x70]
push eax
push ecx
push edi
call fcn.006b6780
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, edi
push esi
push ebx
mov ebx, ecx
call fcn.0052bf10
add esp, 8
mov ecx, edi
call fcn.00536df0
jmp 0x52c511
xor ecx, ecx
jmp 0x52c2b1
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x5c0
push str........._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.0069cc70
or byte [esp + 0xa0], 0x80
jmp 0x52c353
mov dword [esp + 0x7c], 0x704564
jmp 0x52c365
mov eax, dword [edx + 8]
mov dword [esp + 0x48], eax
movq xmm0, qword [edx]
movq qword [esp + 0x40], xmm0
jmp 0x52c40a
xor ecx, ecx
lea edx, [esp + 0xd0]
mov dword [edx], ecx
push ecx
push eax
push edx
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x52c94b
or edi, 0x400
mov ecx, dword [esp + 0xd0]
movzx esi, byte [esp + 0xa]
cmp byte [esp + 0x4b], 0
jns 0x52c907
mov edx, dword [esp + 0x40]
jmp 0x52c90b
push dword [esp + 0xd0]
call fcn.0066d8a0
add esp, 4
jmp 0x52c491
push dword [esp + 0x30]
call fcn.0052be00
add esp, 4
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x52c4bb
lea esi, [esp + 0xd0]
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 0x1aa
push str........._baseprocesslaunch_win.cc
push str.LaunchProcess
push eax
call fcn.0063ced0
add esp, 0x10
mov ecx, esi
push 0
lea eax, [esp + 0x24]
push eax
call fcn.00635f30
push edi
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
call fcn.00635fb0
jmp 0x52c4c4
lea eax, [esp + 0xd0]
or edi, 0x400
jmp 0x52c441
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x52c8dc
mov esi, eax
mov eax, dword [ebp + 0x10]
add eax, 0x40
lea ecx, [esp + 0x30]
push eax
push esi
push ecx
call fcn.006cc8e0
add esp, 0xc
cmp byte [esp + 0xdb], 0
jns 0x52c8b6
push dword [esp + 0xd0]
call fcn.0066d8a0
add esp, 4
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
movq xmm0, qword [esp + 0x30]
movq qword [esp + 0xd0], xmm0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x52c6e9
mov ecx, dword [ebp + 8]
push 0
call fcn.0052bc60
cmp byte [esp + 0xdb], 0
jns 0x52c8ff
push dword [esp + 0xd0]
call fcn.0066d8a0
add esp, 4
mov ebx, dword [ebp + 8]
jmp 0x52c4de
lea edx, [esp + 0x40]
lea ebx, [esp + 0x50]
xor eax, eax
push ebx
lea ebx, [esp + 0x78]
push ebx
push dword [esp + 0x14]
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 + 0xd0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebx, ebx
je 0x52c94b
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
jmp 0x52c494
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0
call fcn.0052bc60
jmp 0x52c4de