Function at 0x438f50
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c9e4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4825c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x10c], al
mov dword [ebp - 0x114], 0
push dword [ebp - 0x10c]
mov byte [ebp - 0x10e], al
lea eax, [ebp - 0x40]
push eax
call fcn.004376a0
add esp, 8
cmp byte [ebp - 0x10e], 0
mov edx, 0x46edb8
mov eax, 0x46edc4
mov dword [ebp - 4], 0
cmove edx, eax
mov dword [ebp - 0xa8], 0
mov ecx, edx
mov dword [ebp - 0xa4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438fe6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.00401510
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x30]
cmp edi, 7
mov byte [ebp - 4], 1
cmova eax, dword [ebp - 0x40]
test esi, esi
jne 0x439031
push esi
push 0x46e444
push eax
call fcn.00407aa0
add esp, 0xc
test eax, eax
jne 0x439031
xor al, al
jmp 0x439033
mov al, 1
test al, al
je 0x439818
cmp edi, 7
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push esi
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00401510
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0xf0]
mov eax, 0x31
mov byte [ebp - 4], 2
push 0xffffffffffffffff
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push 3
push ecx
push eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xffff
call fcn.00447e41
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x74], eax
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00427d40
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], 0x4821b8
test eax, eax
jne 0x4390dd
test ecx, ecx
jne 0x439937
jmp 0x439184
cmp eax, 1
je 0x439184
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.00401510
cmp dword [ebp - 0x44], 7
lea ecx, [ebp - 0xf0]
mov eax, 0x333
mov dword [ebp - 4], 3
push 0xffffffffffffffff
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push 3
push ecx
push eax
mov dword [ebp - 0x7c], 0
call fcn.00447e41
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x74], eax
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.00427d40
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
test ecx, ecx
je 0x439178
cmp eax, 1
je 0x439178
cmp eax, 9
jne 0x43994c
mov byte [ebp - 0x10d], 0
cmp eax, 3
je 0x43918b
mov byte [ebp - 0x10d], 1
mov eax, dword [ebp - 0x10c]
test al, 2
je 0x4391b2
and eax, 0xfffffffd
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], eax
call fcn.00401940
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 4], 1
test al, 1
je 0x439206
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffffe
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x114], eax
cmp ecx, 7
jbe 0x439206
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4391fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43995b
push ecx
push edx
call fcn.00448427
add esp, 8
cmp byte [ebp - 0x10d], 0
je 0x439260
mov ecx, dword [ebp - 0x30]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x2d
jb 0x439960
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push 0x2d
cmova eax, dword [ebp - 0x40]
push str._nest_pas_en_ligne_ou_nest_pas_un_dossier__
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x114]
lea ecx, [ebp - 0x58]
call fcn.004017a0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call fcn.0043f7d0
add esp, 4
lea ecx, [ebp - 0x58]
jmp 0x43989d
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.:_n_D
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00401510
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
call fcn.0043cb10
add esp, 4
cmp byte [ebp - 0x10e], 0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
je 0x439301
lea eax, [ebp - 0xd0]
push eax
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.004015b0
lea eax, [ebp - 0xe8]
push eax
call fcn.00437b00
add esp, 0x24
mov ecx, eax
mov eax, dword [ebp - 0x10c]
or eax, 4
jmp 0x43931f
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00436d10
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x10c]
or eax, 8
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
xor edx, edx
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov dword [ebp - 4], 9
test al, 8
je 0x43937d
and eax, 0xfffffff7
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
call fcn.00401940
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 0xa
test al, 4
je 0x439390
lea ecx, [ebp - 0xe8]
call fcn.00401940
cmp dword [ebp - 0x60], 0
je 0x439727
push pe_nt_image_headers32
call fcn.004483f7
add esp, 4
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4393c0
mov ecx, eax
call fcn.00436980
mov edi, eax
jmp 0x4393c2
xor edi, edi
push 0x44
lea eax, [edi + 0xb8]
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
push 0
push eax
movups xmmword [edi + 0xa8], xmm0
call fcn.00449d90
add esp, 0xc
mov dword [edi + 0xfc], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0xc
lea eax, [edi + 0xa4]
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x78], 0
push 0x2000
push ecx
push eax
lea eax, [edi + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4396a7
push 0x2000
lea eax, [ebp - 0x7c]
push eax
lea eax, [edi + 0x9c]
push eax
lea esi, [edi + 0x98]
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4396a7
mov eax, 5
mov dword [edi + 0xe4], 0x501
mov word [edi + 0xe8], ax
mov eax, dword [edi + 0xa4]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], eax
mov eax, dword [esi]
mov dword [edi + 0xf0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043cb10
mov esi, eax
add esp, 4
cmp edi, esi
je 0x4394b8
mov ecx, edi
call fcn.00401940
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x28]
call fcn.00401940
cmp dword [edi + 0x14], 7
mov esi, edi
jbe 0x4394ca
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp dword [ebp - 0x5c], 7
lea edx, [edi + 0xa8]
push edx
lea edx, [edi + 0xb8]
push edx
push esi
push eax
push 0x620
push 1
push 0
lea ecx, [ebp - 0x70]
cmova ecx, dword [ebp - 0x70]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4396a7
lea eax, [ebp - 0xa0]
push 0x46e545
push eax
call fcn.0041b670
add esp, 8
test al, al
je 0x4395b6
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404f90
lea eax, [ebp - 0x28]
push 0x46e545
push eax
call fcn.0041b670
add esp, 8
test al, al
je 0x439582
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push dword [edi + 0xb0]
cmova eax, dword [ebp - 0x28]
lea esi, [edi + 0x18]
push eax
push str._s_d
push esi
call fcn.00439c40
push 0x46e5e8
push esi
call fcn.0044d3ef
add esp, 0x18
test eax, eax
je 0x439582
push eax
call fcn.0044d225
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4395b6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4395ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439965
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x4395f0
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4395e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00401940
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x439649
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43963f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 7
jbe 0x4398a4
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439698
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
jmp 0x4398a4
mov ecx, dword [ebp - 0xa8]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x1c
jb 0x43996a
cmp dword [ebp - 0xa4], 7
lea eax, [ebp - 0xb8]
push 0x1c
cmova eax, dword [ebp - 0xb8]
push 0x471154
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x114]
lea ecx, [ebp - 0x28]
call fcn.004017a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040d340
push eax
mov byte [ebp - 4], 0xd
call fcn.0043f7d0
add esp, 0x10
lea ecx, [ebp - 0x88]
call fcn.00401940
lea ecx, [ebp - 0x28]
call fcn.00401940
mov ecx, dword [ebp - 0x5c]
cmp ecx, 7
jbe 0x439761
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439757
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00401940
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x4397ba
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4397b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
cmp ecx, 7
jbe 0x4398a2
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439809
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43996f
push ecx
push edx
call fcn.00448427
add esp, 8
jmp 0x4398a2
mov ecx, dword [ebp - 0xa8]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x10
jb 0x439974
cmp dword [ebp - 0xa4], 7
lea eax, [ebp - 0xb8]
push ecx
cmova eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0xd0]
push eax
push 0x10
push str.La_distribution
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x114]
call fcn.004017a0
push str._na_pas
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00404180
push eax
mov byte [ebp - 4], 0xf
call fcn.0043f7d0
add esp, 0x10
lea ecx, [ebp - 0xe8]
call fcn.00401940
lea ecx, [ebp - 0xd0]
call fcn.00401940
xor edi, edi
mov ecx, dword [ebp - 0xa4]
cmp ecx, 7
jbe 0x4398e4
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4398da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439979
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x43991a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439910
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439979
push ecx
push edx
call fcn.00448427
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448686
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x11c]
push eax
push str.exists
call fcn.00427ed0
lea eax, [ebp - 0x58]
push eax
push ecx
push str.status
call fcn.00427fc0
call fcn.0044d0af
call fcn.00401e50
call fcn.0044d0af
call fcn.00401e50
call fcn.0044d0af
call fcn.00401e50
call fcn.0044d0af
int3