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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x7e500c]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x8076a4]
push edi
mov edi, ecx
test esi, esi
je 0x5f6ab1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x5f6a86
mov eax, dword [ebx]
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f6ae9
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f6ae9
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x5f6ac4
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 0x71a27c
push 0xa
push eax
call dword [0x707770]
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 0x5f6bae
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6b5a
push str.Pipe_already_initialized.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f6b87
mov esi, dword [eax]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x707770]
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.00650ddc
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 0x5f6bf5
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.00427170
mov ecx, dword [edi + 0x54]
sub ecx, 1
mov dword [edi + 0x54], ecx
jne 0x5f6beb
mov dword [edi + 0x50], 0
xor eax, eax
jmp 0x5f6bf1
inc dword [edi + 0x50]
mov eax, dword [edi + 0x50]
test ecx, ecx
jne 0x5f6bc1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x5f6c06
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push 0
push 0x71a27c
call fcn.0042fde0
add esp, 8
test eax, eax
jne 0x5f6c7c
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6c46
push str.Pipe_name_is_empty.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x28
jmp 0x5f7808
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7815
mov esi, dword [eax]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x707770]
call esi
add esp, 0x14
jmp 0x5f7815
push ebx
mov edx, str..pipe_
lea ecx, [esp + 0x1c]
call fcn.00431170
mov esi, eax
add esp, 4
cmp edi, esi
je 0x5f6cbe
mov ecx, edi
call fcn.00427170
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.00427170
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x5f6cd6
jmp dword [eax*4 + 0x5f783c]
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x34]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f6cff
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.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x5f6ff5
test ebx, ebx
je 0x5f6ff5
push 0x791e34
mov edx, edi
mov dword [edi + 0x74], ebx
lea ecx, [esp + 0x4c]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f6d5c
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.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x5f6f83
test eax, eax
je 0x5f6f83
mov esi, dword [0x8076a4]
mov dword [edi + 0x70], eax
test esi, esi
je 0x5f6ddc
push eax
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5f6e0e
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5f6e0e
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 0x71a27c
push 0xa
push ecx
mov ecx, esi
call dword [0x707770]
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 0x5f6e6f
push 0
push dword [edi + 0x70]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x5f6e3c
mov ebx, 1
jmp 0x5f6e4c
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 0x5f6e72
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x14]
jl 0x5f6e25
mov ebx, dword [esp + 0x10]
inc esi
jmp 0x5f6e76
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 0x5f6ede
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6ec6
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f720d
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f720d
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
jmp 0x5f71ee
push 0
push dword [edi + 0x74]
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x5f6ef4
mov ebx, 1
jmp 0x5f6f04
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 0x5f7673
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6f4c
push ecx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f744b
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f744b
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 0x71a27c
push 0x32
push eax
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5f744b
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f6fbc
push ebx
push eax
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5f744b
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5f744b
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 0x71a27c
push 0x32
push ecx
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f744b
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f7050
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7618
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
jmp 0x5f75f9
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x64]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f708b
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.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
cmp ebx, 0xffffffff
je 0x5f723a
test ebx, ebx
je 0x5f723a
mov esi, dword [0x8076a4]
mov dword [edi + 0x74], ebx
test esi, esi
je 0x5f7104
push ebx
push str.Pipe_initialization_complete_with_outPipe___p
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f7132
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7132
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 0x71a27c
push 0xa
push eax
call dword [0x707770]
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 0x5f7198
nop dword [eax]
push 0
push dword [edi + 0x74]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x5f7167
mov ebx, 1
jmp 0x5f7177
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 0x5f719d
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x10]
jl 0x5f7150
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
jne 0x5f7673
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f71df
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f720d
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f720d
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
mov esi, dword [eax]
push str.CommBridge
push 0x71a27c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x707770]
call esi
add esp, 0x18
mov ecx, edi
call fcn.005f7e10
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f724a
push eax
jmp 0x5f7000
mov ecx, dword [0x8076a8]
test ecx, ecx
je 0x5f7618
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 0x71a27c
push 0x32
push ecx
jmp 0x5f7608
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 0x5f738d
nop dword [eax]
mov eax, dword [edi + 0x70]
cmp eax, 0xffffffff
je 0x5f72ac
test eax, eax
jne 0x5f72fd
push str._OUT
mov edx, edi
mov dword [edi + 0x70], 0
lea ecx, [esp + 0x7c]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f72ce
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0x78]
mov dword [edi + 0x70], eax
call fcn.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x74]
cmp ecx, 0xffffffff
je 0x5f7309
test ecx, ecx
jne 0x5f7360
push 0x791e34
mov edx, edi
mov dword [edi + 0x74], 0
lea ecx, [esp + 0x94]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f732e
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.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x70]
cmp ecx, 0xffffffff
je 0x5f7378
test ecx, ecx
je 0x5f7378
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x5f7378
test eax, eax
jne 0x5f738d
cmp esi, ebx
je 0x5f73ce
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, ebx
jle 0x5f72a0
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f7478
push dword [edi + 0x70]
mov ecx, esi
push dword [edi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x707770]
call esi
add esp, 0x20
jmp 0x5f7673
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f7410
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 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x28
jmp 0x5f744b
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f744b
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 0x71a27c
push 0x32
push eax
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x24
mov ecx, edi
call fcn.005f7e10
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f76d4
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 0x71a27c
push 0xa
push eax
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f7673
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 0x5f754b
nop word [eax + eax]
push str._OUT
mov edx, edi
lea ecx, [esp + 0xac]
call fcn.00431250
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5f74fe
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0xa8]
mov ebx, eax
call fcn.00427170
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x5f7536
test ebx, ebx
jne 0x5f7589
cmp esi, dword [esp + 0x14]
je 0x5f758e
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, dword [esp + 0x14]
jle 0x5f74e0
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f763f
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f7673
mov dword [edi + 0x70], ebx
jmp 0x5f754b
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f75e9
push ecx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7618
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 0x71a27c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f76d4
push dword [edi + 0x74]
mov esi, dword [eax]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x707770]
call esi
add esp, 0x18
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f76a7
push str.initCommBridge__pipes_successfully_initialized
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x18
jmp 0x5f76d4
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f76d4
mov esi, dword [eax]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x71a27c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x707770]
call esi
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [edi + 0x39], 1
je 0x5f778f
lea eax, [esp + 0xc0]
mov byte [edi + 0x38], 1
push eax
push 0
push edi
push 0x5f6520
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 0x5f778f
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f7758
push ecx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
mov byte [edi + 0x38], 0
jmp 0x5f744b
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7786
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 0x71a27c
push 0x32
push eax
call dword [0x707770]
call esi
add esp, 0x18
mov byte [edi + 0x38], 0
jmp 0x5f744b
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x8076a4]
test esi, esi
je 0x5f77e7
push ecx
push str.Wrong_pipe_context_passed__i.
push 0x71a27c
push 0x71a27c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x707770]
call esi
add esp, 0x1c
jmp 0x5f7815
mov eax, dword [0x8076a8]
test eax, eax
je 0x5f7815
mov esi, dword [eax]
push ecx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
mov esi, dword [esi + 0x34]
push 0x71a27c
push 0x32
push eax
mov ecx, esi
call dword [0x707770]
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.00650ddc
mov esp, ebp
pop ebp
ret 0x18