Function at 0x434670
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6dcc
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.004039f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4347d1
sub esp, 8
lea ecx, [ebp - 0xf8]
call fcn.00404d30
push ecx
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0041fba0
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.004060e0
mov edx, esi
mov ecx, eax
call fcn.00406390
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434738
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 0x10
jb 0x434755
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434782
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00404270
mov byte [ebp - 4], 2
mov dword [0x52e1c0], eax
push esi
push 1
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4347a1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x90]
call fcn.00404c40
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x90], vtable.std::ios_base.0
call fcn.0049d017
add esp, 4
jmp 0x434a58
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 0x4348e8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.00404d30
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 5
call fcn.0041fba0
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.004060e0
mov edx, esi
mov ecx, eax
call fcn.00406390
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43484f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 0x10
jb 0x43486c
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434899
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00404270
mov byte [ebp - 4], 7
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4348b8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x140]
call fcn.00404c40
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.0049d017
add esp, 4
jmp 0x434a58
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 0x434a1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x434a1d
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.00404d30
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xa
call fcn.0041fba0
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.004060e0
mov edx, esi
mov ecx, eax
call fcn.00406390
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434987
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x258]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4349a4
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x4349d1
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.00404270
mov byte [ebp - 4], 0xc
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4349f0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x1f0]
call fcn.00404c40
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.0049d017
add esp, 4
jmp 0x434a4f
mov esi, 0x384
mov eax, dword [ebp - 0x2c]
dec esi
cmp byte [eax + 0xc1], 0
jne 0x434a42
push 0x64
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x434a77
test esi, esi
jne 0x434a22
test edi, edi
je 0x434a4f
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.004a0525
mov esp, ebp
pop ebp
ret 8
sub esp, 8
lea ecx, [ebp - 0x308]
call fcn.00404d30
mov edx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xf
call fcn.0041fba0
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.004060e0
mov edx, esi
mov ecx, eax
call fcn.00406390
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434ad3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x308]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 0x10
jb 0x434af0
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x434b23
push 0xf0
call fcn.004a0555
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00404270
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x30], eax
mov dword [0x52e1c0], eax
cmp dword [eax + 0xb8], 1
jg 0x434b7c
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x434b49
mov eax, dword [edx]
jmp 0x434b4b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x434b57
xor ecx, ecx
jmp 0x434b6a
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434b60
sub ecx, dword [ebp - 0x2c]
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434b91
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x2a0]
call fcn.00404c40
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.0049d017
add esp, 4
jmp 0x434a4f