Function at 0x434a90
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e817c
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x52910c]
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 0x434bf1
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 0x434b58
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 0x434b75
mov esi, dword [esi]
mov eax, dword [0x5311c0]
test eax, eax
jne 0x434ba2
push 0xf0
call fcn.004a1864
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 [0x5311c0], eax
push esi
push 1
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434bc1
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.0049e337
add esp, 4
jmp 0x434e78
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 0x434d08
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 0x434c6f
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 0x434c8c
mov esi, dword [esi]
mov eax, dword [0x5311c0]
test eax, eax
jne 0x434cb9
push 0xf0
call fcn.004a1864
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 [0x5311c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434cd8
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.0049e337
add esp, 4
jmp 0x434e78
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 0x434e3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x434e3d
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 0x434da7
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 0x434dc4
mov esi, dword [esi]
mov eax, dword [0x5311c0]
test eax, eax
jne 0x434df1
push 0xf0
call fcn.004a1864
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 [0x5311c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x434e10
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.0049e337
add esp, 4
jmp 0x434e6f
mov esi, 0x384
mov eax, dword [ebp - 0x2c]
dec esi
cmp byte [eax + 0xc1], 0
jne 0x434e62
push 0x64
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x434e97
test esi, esi
jne 0x434e42
test edi, edi
je 0x434e6f
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.004a1845
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 0x434ef3
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 0x434f10
mov esi, dword [esi]
mov eax, dword [0x5311c0]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x434f43
push 0xf0
call fcn.004a1864
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 [0x5311c0], eax
cmp dword [eax + 0xb8], 1
jg 0x434f9c
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x434f69
mov eax, dword [edx]
jmp 0x434f6b
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x434f77
xor ecx, ecx
jmp 0x434f8a
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434f80
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 0x434fb1
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.0049e337
add esp, 4
jmp 0x434e6f