Function at 0x433db0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e631c
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov esi, dword [ebp + 8]
xor edx, edx
cmp dword [ecx + 4], edx
mov eax, ecx
mov ecx, esi
mov dword [ebp - 0x30], esi
cmove eax, edx
push eax
push edx
push 0x400
push 0x400
push 1
push edx
push 0x40000003
call fcn.004039a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x433f11
sub esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00404ce0
push ecx
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041fa30
add esp, 4
mov esi, eax
mov edx, str.CBufferManager::CreatePipe_Fail_to_Create_PipeName:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call fcn.00406090
mov edx, esi
mov ecx, eax
call fcn.00406340
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x433e78
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x433e95
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x433ec2
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00404220
mov byte [ebp - 4], 2
mov dword [0x52e1c0], eax
push esi
push 1
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x433ee1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x90]
call fcn.00404bf0
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
jmp 0x434198
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
jne 0x434028
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.00404ce0
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.0041fa30
add esp, 4
mov esi, eax
mov edx, str.CBufferManager::CreatePipe_Fail_to_Create_Event:
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x198]
call fcn.00406090
mov edx, esi
mov ecx, eax
call fcn.00406340
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x433f8f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x433fac
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x433fd9
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404220
mov byte [ebp - 4], 7
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x433ff8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x140]
call fcn.00404bf0
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
jmp 0x434198
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x44], xmm0
push edi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x43415d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43415d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 8
lea ecx, [ebp - 0x258]
call fcn.00404ce0
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xa
call fcn.0041fa30
add esp, 4
mov esi, eax
mov edx, str.CBufferManager::CreatePipe_Fail_to_wait_a_client_connect:
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x248]
call fcn.00406090
mov edx, esi
mov ecx, eax
call fcn.00406340
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4340c7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x258]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4340e4
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434111
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00404220
mov byte [ebp - 4], 0xc
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434130
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x1f0]
call fcn.00404bf0
lea eax, [ebp - 0x1f0]
mov dword [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
jmp 0x43418f
mov esi, 0x384
mov eax, dword [ebp - 0x2c]
dec esi
cmp byte [eax + 0xc1], 0
jne 0x434182
push 0x64
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4341b7
test esi, esi
jne 0x434162
test edi, edi
je 0x43418f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.0049fc55
mov esp, ebp
pop ebp
ret 8
sub esp, 8
lea ecx, [ebp - 0x308]
call fcn.00404ce0
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xf
call fcn.0041fa30
add esp, 4
mov esi, eax
mov edx, str.CBufferManager::CreatePipe_success_to_wait_a_client_connect:
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2f8]
call fcn.00406090
mov edx, esi
mov ecx, eax
call fcn.00406340
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434213
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x308]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 0x10
jb 0x434230
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x434263
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00404220
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x30], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x4342bc
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x434289
mov eax, dword [edx]
jmp 0x43428b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x434297
xor ecx, ecx
jmp 0x4342aa
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4342a0
sub ecx, dword [ebp - 0x2c]
push ecx
push esi
mov ecx, edx
call fcn.00409aa0
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.004048d0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4342d1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x2a0]
call fcn.00404bf0
lea eax, [ebp - 0x2a0]
mov dword [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049c747
add esp, 4
jmp 0x43418f