Function at 0x403bf0
Capabilities:
Connect pipe
Enumerate processes
Get file version info
Read pipe
Write pipe

Disassembly:
push 0xffffffffffffffff
push 0x44c51b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x45d600]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d600]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18c]
mov ebp, dword [esp + 0x188]
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
cmp dword [0x469eb4], ebx
jne 0x403daf
push ebx
push 2
mov dword [0x469eb4], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x403e9e
lea edx, [esp + 0x4c]
push edx
push esi
mov dword [esp + 0x54], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x403ca0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403e9e
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea eax, [esp + 0x70]
mov dword [esp + 0x180], ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403cc0
sub eax, edx
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x38]
call fcn.00405160
push 0xa
push str.scboot.exe
lea ecx, [esp + 0x38]
push ecx
call fcn.004018a0
cmp eax, 0xffffffff
je 0x403d7d
push ebx
push str.c:windows_system32_scboot.exe
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x403dee
push esi
call fcn.0043651c
add esp, 4
mov edi, eax
push edi
push esi
push ebx
push str.c:windows_system32_scboot.exe
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x454100
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + 0xa]
cmp ax, 6
jb 0x403d66
jne 0x403d53
cmp word [ecx + 8], 1
jb 0x403d66
cmp ax, 6
jne 0x403d70
cmp word [ecx + 8], 1
jne 0x403d70
cmp word [ecx + 0xe], ax
jae 0x403d70
mov dword [0x469eb8], 1
push edi
call fcn.0043643f
mov esi, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x180], 0xffffffff
cmp dword [esp + 0x48], 0x10
jb 0x403d9c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00435e91
add esp, 4
lea edx, [esp + 0x4c]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403ca0
cmp dword [0x469eb8], ebx
je 0x403dfc
push ebp
push str.Bypass_because_ShadowCube._Command_:__s
xor ecx, ecx
mov eax, 0x45e688
call fcn.00433490
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
push 0xc8
push eax
mov edi, str.SyncRetCode_0_
mov esi, 0x453e64
call fcn.00403910
add esp, 0x10
jmp 0x403e9e
lea ecx, [esp + 0x30]
call fcn.00401710
jmp 0x403e9e
mov edx, dword [str..pipeCubeU]
mov esi, dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0x2710
lea ecx, [esp + 0x20]
push ecx
push 0xa000
push ebp
push 0xa000
push ebp
push edx
call esi
test eax, eax
jne 0x403e84
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CallNamedPipe_fail
call edi
mov ecx, eax
mov eax, 0x45e688
call fcn.00433490
add esp, 4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [str..pipeCubeU]
push 0x2710
lea eax, [esp + 0x20]
push eax
push 0xa000
push ebp
push 0xa000
push ebp
push ecx
call esi
test eax, eax
jne 0x403e9e
push str.CallNamedPipe_Fail_again
call edi
mov ecx, eax
mov eax, 0x45e688
call fcn.00433490
add esp, 4
jmp 0x403e9e
mov edx, dword [esp + 0x1c]
push edx
push ebp
push str.Return_From_CubeU_:__s__dwLen_:__d
xor ecx, ecx
mov eax, 0x45e688
call fcn.00433490
add esp, 0xc
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0043581d
add esp, 0x170
ret