Function at 0x4b3f00
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4a24
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
push eax
push ecx
push edx
push esi
push edi
mov edi, dword [ebp - 0x60]
push ebx
mov dword [ebp - 0x64], 0
mov ebx, dword [ebp - 0x5c]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b3f7b
or eax, eax
jmp 0x4b41b0
push 9
xor eax, eax
mov byte [ebp - 0x60], 0
push str._pipe_
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00409db0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push edi
mov dword [ebp - 4], 0
call fcn.0042228c
add esp, 0xc
test eax, eax
jne 0x4b411a
push 0x12
push str.DeviceNamedPipe_
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00409db0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
lea edx, [edi + eax*2]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x68], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4000
sub ecx, dword [ebp - 0x68]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0040f730
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push esi
call fcn.00433a80
add esp, 8
test al, al
je 0x4b407c
cmp dword [ebp - 0x18], 0
je 0x4b407c
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040d741
mov ecx, dword [ebp - 0x60]
add esp, 8
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x4b4095
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x4b40c2
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040a5e0
cmp byte [ebp - 0x60], 0
mov byte [ebp - 4], 0
je 0x4b411a
test bl, 1
mov dword [ebp - 0x5c], 0xffffffff
mov eax, 0x100000
mov ecx, 0x100089
cmove ecx, eax
mov eax, ebx
and eax, 0x80000
or ecx, eax
test bl, 2
je 0x4b40f7
or ecx, 0x112
push 1
push 0
push ecx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4b418f
mov esi, dword [ebp - 0x5c]
jmp 0x4b4192
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x4b4188
push 0
call fcn.00417ff0
add esp, 4
test al, al
je 0x4b4170
push 0
push 0x36
push str.D:BTImportsOpenChromeChrome_src_sandboxwin_src_named_pipe_policy.cc
lea ecx, [ebp - 0x12c]
call fcn.00428080
push edi
add eax, 0x10
mov byte [ebp - 4], 5
push str.SameObject_check_failed:
push eax
mov dword [ebp - 0x64], 1
call fcn.0042c780
add esp, 8
push eax
call fcn.0042cdc0
add esp, 8
test byte [ebp - 0x64], 1
mov dword [ebp - 4], 0
je 0x4b4188
lea ecx, [ebp - 0x12c]
call fcn.0042d0a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 8
cmp ecx, 8
jb 0x4b41ae
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040a5e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret