Function at 0x600450
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x7ca00c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x7eb9f0]
push edi
mov edi, ecx
test esi, esi
je 0x6004b1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x600486
mov eax, dword [ebx]
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x6004e9
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x6004e9
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x6004c4
mov ecx, dword [ebx]
mov esi, dword [eax]
push ecx
push str.Inside_initCommBridge__creating_pipe__s
push str.CommBridge
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x701e7c
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
lea eax, [edi + 0x20]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [edi + 0x39], 0
je 0x6005ae
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x60055a
push str.Pipe_already_initialized.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x1e
mov ecx, esi
call dword [0x6ef350]
call esi
mov eax, dword [esp + 0x28]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600587
mov esi, dword [eax]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x701e7c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x6ef350]
call esi
add esp, 0x14
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
lea esi, [edi + 0x58]
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [edi + 0x54], 0
je 0x6005f5
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x4c]
dec ecx
and ecx, eax
mov eax, dword [edi + 0x48]
mov ecx, dword [eax + ecx*4]
lea ecx, [ecx + 0xc]
call fcn.00428770
mov ecx, dword [edi + 0x54]
sub ecx, 1
mov dword [edi + 0x54], ecx
jne 0x6005eb
mov dword [edi + 0x50], 0
xor eax, eax
jmp 0x6005f1
inc dword [edi + 0x50]
mov eax, dword [edi + 0x50]
test ecx, ecx
jne 0x6005c1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x600606
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push 0
push 0x701e7c
call fcn.00431350
add esp, 8
test eax, eax
jne 0x60067c
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600646
push str.Pipe_name_is_empty.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x28
jmp 0x601208
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x601215
mov esi, dword [eax]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x701e7c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x6ef350]
call esi
add esp, 0x14
jmp 0x601215
push ebx
mov edx, str..pipe_
lea ecx, [esp + 0x1c]
call fcn.004326c0
mov esi, eax
add esp, 4
cmp edi, esi
je 0x6006be
mov ecx, edi
call fcn.00428770
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [esp + 0x18]
call fcn.00428770
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x6006d6
jmp dword [eax*4 + 0x60123c]
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x34]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x6006ff
mov eax, dword [eax]
push 0
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x6009f5
test ebx, ebx
je 0x6009f5
push 0x77a5b4
mov edx, edi
mov dword [edi + 0x74], ebx
lea ecx, [esp + 0x4c]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x60075c
mov eax, dword [eax]
push 0
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x600983
test eax, eax
je 0x600983
mov esi, dword [0x7eb9f0]
mov dword [edi + 0x70], eax
test esi, esi
je 0x6007dc
push eax
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x60080e
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x60080e
mov esi, dword [ecx]
push eax
push dword [edi + 0x74]
mov esi, dword [esi + 0x34]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push str.CommBridge
push 0x701e7c
push 0xa
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
mov eax, 0x10624dd3
xor esi, esi
mul dword [ebp + 0x14]
mov eax, edx
shr eax, 5
mov dword [esp + 0x14], eax
test eax, eax
jle 0x60086f
push 0
push dword [edi + 0x70]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x60083c
mov ebx, 1
jmp 0x60084c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x600872
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x14]
jl 0x600825
mov ebx, dword [esp + 0x10]
inc esi
jmp 0x600876
mov ebx, dword [esp + 0x10]
push 0
push 0
push 0
push dword [edi + 0x70]
call dword [sym.imp.KERNEL32.DLL_SetNamedPipeHandleState]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, esi
jne 0x6008de
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x6008c6
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x600c0d
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600c0d
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
jmp 0x600bee
push 0
push dword [edi + 0x74]
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x6008f4
mov ebx, 1
jmp 0x600904
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
test ebx, ebx
jne 0x601073
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x60094c
push ecx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x600e4b
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600e4b
mov esi, dword [eax]
push ecx
push str.Couldnt_connect_to_outPipe__error_code__lu
push str.CommBridge
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x701e7c
push 0x32
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
jmp 0x600e4b
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x6009bc
push ebx
push eax
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x600e4b
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x600e4b
mov esi, dword [ecx]
push ebx
push eax
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
mov esi, dword [esi + 0x34]
push str.CommBridge
push 0x701e7c
push 0x32
push ecx
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x600e4b
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600a50
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
mov eax, dword [esp + 0x30]
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x601018
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
jmp 0x600ff9
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x64]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x600a8b
mov eax, dword [eax]
push 0
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
lea ecx, [esp + 0x60]
mov ebx, eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
cmp ebx, 0xffffffff
je 0x600c3a
test ebx, ebx
je 0x600c3a
mov esi, dword [0x7eb9f0]
mov dword [edi + 0x74], ebx
test esi, esi
je 0x600b04
push ebx
push str.Pipe_initialization_complete_with_outPipe___p
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x600b32
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600b32
mov esi, dword [eax]
push ebx
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x701e7c
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
mov eax, 0x10624dd3
xor esi, esi
mul dword [ebp + 0x14]
mov eax, edx
shr eax, 5
mov dword [esp + 0x10], eax
test eax, eax
jle 0x600b98
nop dword [eax]
push 0
push dword [edi + 0x74]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x600b67
mov ebx, 1
jmp 0x600b77
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x600b9d
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x10]
jl 0x600b50
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
jne 0x601073
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600bdf
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x600c0d
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600c0d
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
mov esi, dword [eax]
push str.CommBridge
push 0x701e7c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
mov ecx, edi
call fcn.00601810
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600c4a
push eax
jmp 0x600a00
mov ecx, dword [0x7eb9f4]
test ecx, ecx
je 0x601018
mov esi, dword [ecx]
push eax
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x701e7c
push 0x32
push ecx
jmp 0x601008
mov eax, 0xcccccccd
mov dword [edi + 0x18], 3
mul dword [ebp + 0x14]
mov ebx, edx
xor edx, edx
shr ebx, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea esi, [edx + 1]
cmp ebx, esi
jl 0x600d8d
nop dword [eax]
mov eax, dword [edi + 0x70]
cmp eax, 0xffffffff
je 0x600cac
test eax, eax
jne 0x600cfd
push str._OUT
mov edx, edi
mov dword [edi + 0x70], 0
lea ecx, [esp + 0x7c]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x600cce
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0x78]
mov dword [edi + 0x70], eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x74]
cmp ecx, 0xffffffff
je 0x600d09
test ecx, ecx
jne 0x600d60
push 0x77a5b4
mov edx, edi
mov dword [edi + 0x74], 0
lea ecx, [esp + 0x94]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x600d2e
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0x90]
mov dword [edi + 0x74], eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x70]
cmp ecx, 0xffffffff
je 0x600d78
test ecx, ecx
je 0x600d78
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x600d78
test eax, eax
jne 0x600d8d
cmp esi, ebx
je 0x600dce
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, ebx
jle 0x600ca0
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600e78
push dword [edi + 0x70]
mov ecx, esi
push dword [edi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
call dword [0x6ef350]
call esi
add esp, 0x20
jmp 0x601073
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600e10
mov edx, dword [esp + 0x14]
push edx
push dword [edi + 0x74]
mov edx, dword [esp + 0x18]
push edx
push ecx
push str.Number_of_retries_to_create_pipe_exhausted_with_latest_inPipe_handle___p__err_code___lu_and_outPipe_handle___p__err_code___lu.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x28
jmp 0x600e4b
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x600e4b
mov edx, dword [esp + 0x14]
mov esi, dword [eax]
push edx
push dword [edi + 0x74]
mov edx, dword [esp + 0x18]
mov esi, dword [esi + 0x34]
push edx
push ecx
push str.Number_of_retries_to_create_pipe_exhausted_with_latest_inPipe_handle___p__err_code___lu_and_outPipe_handle___p__err_code___lu.
push str.CommBridge
push 0x701e7c
push 0x32
push eax
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x24
mov ecx, edi
call fcn.00601810
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x6010d4
push dword [edi + 0x70]
mov esi, dword [eax]
push dword [edi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
mov esi, dword [esi + 0x34]
mov ecx, esi
push str.CommBridge
push 0x701e7c
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x601073
mov eax, 0xcccccccd
mov dword [edi + 0x18], 3
mul dword [ebp + 0x14]
mov esi, 1
mov eax, edx
shr eax, 3
mov dword [esp + 0x14], eax
cmp eax, esi
jl 0x600f4b
nop word [eax + eax]
push str._OUT
mov edx, edi
lea ecx, [esp + 0xac]
call fcn.004327a0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x600efe
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0xa8]
mov ebx, eax
call fcn.00428770
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x600f36
test ebx, ebx
jne 0x600f89
cmp esi, dword [esp + 0x14]
je 0x600f8e
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, dword [esp + 0x14]
jle 0x600ee0
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x60103f
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x601073
mov dword [edi + 0x70], ebx
jmp 0x600f4b
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x600fe9
push ecx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
mov eax, dword [esp + 0x30]
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x601018
push ecx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
mov esi, dword [eax]
push str.CommBridge
push 0x701e7c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x6010d4
push dword [edi + 0x74]
mov esi, dword [eax]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x701e7c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x6010a7
push str.initCommBridge__pipes_successfully_initialized
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0xa
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
jmp 0x6010d4
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x6010d4
mov esi, dword [eax]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x701e7c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x6ef350]
call esi
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [edi + 0x39], 1
je 0x60118f
lea eax, [esp + 0xc0]
mov byte [edi + 0x38], 1
push eax
push 0
push edi
push 0x5fff00
push 0
push 0
mov dword [esp + 0xd8], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [edi + 0x1c], 0
mov ecx, eax
jne 0x60118f
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x601158
push ecx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
mov byte [edi + 0x38], 0
jmp 0x600e4b
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x601186
mov esi, dword [eax]
push ecx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push str.CommBridge
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x701e7c
push 0x32
push eax
call dword [0x6ef350]
call esi
add esp, 0x18
mov byte [edi + 0x38], 0
jmp 0x600e4b
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x7eb9f0]
test esi, esi
je 0x6011e7
push ecx
push str.Wrong_pipe_context_passed__i.
push 0x701e7c
push 0x701e7c
push str.CommBridge
push 0x7721a4
push 0x32
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x1c
jmp 0x601215
mov eax, dword [0x7eb9f4]
test eax, eax
je 0x601215
mov esi, dword [eax]
push ecx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
mov esi, dword [esi + 0x34]
push 0x701e7c
push 0x32
push eax
mov ecx, esi
call dword [0x6ef350]
call esi
add esp, 0x18
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esp + 0xc4]
mov eax, 0xfffffff9
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0063de71
mov esp, ebp
pop ebp
ret 0x18