Function at 0x535210
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x6480b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x20], 0
jne 0x53533e
cmp byte [ebx + 0x3c], 0
jne 0x53533e
mov eax, dword [0x6527b0]
test eax, eax
je 0x53525c
lea ecx, [ebp - 0x16c]
push ecx
call eax
cmp word [ebp - 0x16c], 9
jne 0x53525c
mov byte [ebx + 0x3c], 1
cmp byte [ebx + 0x3c], 0
jne 0x53533e
push 0x118
lea eax, [ebp - 0x12c]
push 0
push eax
call fcn.005c9220
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [0x648e54]
cmp dword [ebp - 0x120], 2
jne 0x53533e
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
push 0x5fe510
mov esi, eax
call dword [0x648e68]
push esi
mov dword [ebx + 0x20], eax
call edi
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x53533e
cmp dword [ebp - 0x12c], 5
jbe 0x5352e5
mov esi, dword [0x648e40]
push str.CreateVssBackupComponentsInternal
push eax
call esi
push str.VssFreeSnapshotPropertiesInternal
jmp 0x535309
jne 0x535314
cmp dword [ebp - 0x128], 2
jne 0x535314
cmp byte [ebp - 0x16], 1
je 0x535314
mov esi, dword [0x648e40]
push str._CreateVssBackupComponents__YGJPAPAVIVssBackupComponents___Z
push eax
call esi
push str.VssFreeSnapshotProperties
push dword [ebx + 0x20]
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x24], 0
je 0x535320
cmp dword [ebx + 0x28], 0
jne 0x53533e
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
cmp byte [ebx + 0x3c], 0
mov al, byte [ebp + 0x10]
mov byte [ebx + 0x80], al
je 0x535577
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea ecx, [ebp - 0x148]
push 0
push ecx
lea ecx, [ebp - 0x138]
mov byte [ebp - 0x131], 0
lea eax, [ebx + 0x34]
mov dword [ebp - 0x144], 0
push ecx
push eax
mov dword [ebp - 0x148], 0xc
mov dword [ebp - 0x140], 1
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x5354ea
push 0
lea ecx, [ebp - 0x148]
push ecx
lea eax, [ebx + 0x38]
push eax
lea eax, [ebp - 0x13c]
push eax
call esi
test eax, eax
je 0x5354ea
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebx + 0x34]
call esi
test eax, eax
je 0x5354ea
push 0
push 1
push dword [ebx + 0x38]
call esi
test eax, eax
je 0x5354ea
mov eax, dword [ebp - 0x138]
xorps xmm0, xmm0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x13c]
push 0x208
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x18c], 0x44
movlpd qword [ebp - 0x188], xmm0
movlpd qword [ebp - 0x180], xmm0
movlpd qword [ebp - 0x178], xmm0
movlpd qword [ebp - 0x170], xmm0
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x15c], xmm0
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x160], 0x100
call fcn.00479f2b
mov esi, eax
add esp, 4
test esi, esi
je 0x5354ea
push 0x104
push 0
push esi
call fcn.005c9220
add esp, 0xc
push 0x104
push esi
push 0
call dword [0x648e38]
push esi
call fcn.00504ca0
push str.VSS64.EXE
push 0x104
push esi
call fcn.00504d10
add esp, 0x10
test eax, eax
je 0x5354d6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push esi
call dword [0x648de8]
test eax, eax
je 0x5354d6
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x10]
call edi
mov byte [ebp - 0x131], 1
push 2
push esi
call fcn.0058bb51
add esp, 8
cmp byte [ebp - 0x131], 0
jne 0x5354f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x13c]
cmp eax, 0xffffffff
je 0x535501
push eax
call edi
mov eax, dword [ebp - 0x138]
cmp eax, 0xffffffff
je 0x53550f
push eax
call edi
cmp byte [ebp - 0x131], 0
je 0x535557
mov eax, dword [ebp + 8]
mov ecx, ebx
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0xc], eax
mov al, byte [ebx + 0x80]
push 0
mov byte [ebp - 8], al
lea eax, [ebp - 0x10]
push 0xc
push eax
push 1
call fcn.005365f0
test al, al
je 0x535550
cmp dword [ebx + 0x18], 0
je 0x53563e
mov byte [ebp - 0x131], 0
mov ecx, ebx
call fcn.00536b00
mov al, byte [ebp - 0x131]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x20], 0
jne 0x535599
mov dword [ebx + 0x18], 1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 0xc
mov ecx, ebx
call fcn.00536b00
mov eax, dword [ebx + 0x24]
lea esi, [ebx + 4]
push esi
call eax
mov dword [ebx + 0x18], eax
test eax, eax
jl 0x535584
mov eax, dword [esi]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov dword [ebx + 0x18], eax
test eax, eax
js 0x535584
mov eax, dword [esi]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov dword [ebx + 0x18], eax
test eax, eax
js 0x535584
mov ecx, dword [esi]
movzx eax, byte [ebx + 0x80]
push 0
push dword [ebp + 8]
mov edx, dword [ecx]
push 1
push eax
push ecx
call dword [edx + 0x18]
mov dword [ebx + 0x18], eax
test eax, eax
js 0x535584
cmp byte [ebx + 0x80], 0
jne 0x53563e
mov eax, dword [esi]
lea edx, [ebp - 0x138]
mov dword [ebp - 0x138], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov dword [ebx + 0x18], eax
test eax, eax
js 0x535584
lea eax, [ebp - 0x138]
mov ecx, ebx
push eax
call fcn.00534c10
mov dword [ebx + 0x18], eax
test eax, eax
js 0x535584
mov byte [ebx + 0x2c], 1
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058bb64
mov esp, ebp
pop ebp
ret 0xc