Function at 0x434610
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6d1c
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 0x434771
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 0x4346d8
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 0x4346f5
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434722
push 0xf0
call fcn.004a04a5
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 0x434741
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.0049cf67
add esp, 4
jmp 0x4349f8
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 0x434888
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 0x4347ef
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 0x43480c
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434839
push 0xf0
call fcn.004a04a5
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 0x434858
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.0049cf67
add esp, 4
jmp 0x4349f8
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 0x4349bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4349bd
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 0x434927
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 0x434944
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x434971
push 0xf0
call fcn.004a04a5
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 0x434990
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.0049cf67
add esp, 4
jmp 0x4349ef
mov esi, 0x384
mov eax, dword [ebp - 0x2c]
dec esi
cmp byte [eax + 0xc1], 0
jne 0x4349e2
push 0x64
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x434a17
test esi, esi
jne 0x4349c2
test edi, edi
je 0x4349ef
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.004a0475
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 0x434a73
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 0x434a90
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x434ac3
push 0xf0
call fcn.004a04a5
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 0x434b1c
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x434ae9
mov eax, dword [edx]
jmp 0x434aeb
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x434af7
xor ecx, ecx
jmp 0x434b0a
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434b00
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 0x434b31
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.0049cf67
add esp, 4
jmp 0x4349ef