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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x82d084]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x853a78]
push edi
mov edi, ecx
test esi, esi
je 0x6361b1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x636186
mov eax, dword [ebx]
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x6361e9
mov eax, dword [0x853a7c]
test eax, eax
je 0x6361e9
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x6361c4
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 0x75b10c
push 0xa
push eax
call dword [0x747368]
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 0x6362ae
mov esi, dword [0x853a78]
test esi, esi
je 0x63625a
push str.Pipe_already_initialized.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x747368]
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x853a7c]
test eax, eax
je 0x636287
mov esi, dword [eax]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x747368]
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.0067ba01
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 0x6362f5
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.0042fd70
mov ecx, dword [edi + 0x54]
sub ecx, 1
mov dword [edi + 0x54], ecx
jne 0x6362eb
mov dword [edi + 0x50], 0
xor eax, eax
jmp 0x6362f1
inc dword [edi + 0x50]
mov eax, dword [edi + 0x50]
test ecx, ecx
jne 0x6362c1
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x636306
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
push 0
push 0x75b10c
call fcn.00438980
add esp, 8
test eax, eax
jne 0x63637c
mov esi, dword [0x853a78]
test esi, esi
je 0x636346
push str.Pipe_name_is_empty.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x28
jmp 0x636f08
mov eax, dword [0x853a7c]
test eax, eax
je 0x636f15
mov esi, dword [eax]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x747368]
call esi
add esp, 0x14
jmp 0x636f15
push ebx
mov edx, str..pipe_
lea ecx, [esp + 0x1c]
call fcn.00439cf0
mov esi, eax
add esp, 4
cmp edi, esi
je 0x6363be
mov ecx, edi
call fcn.0042fd70
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.0042fd70
mov ecx, dword [ebp + 8]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x6363d6
jmp dword [eax*4 + 0x636f3c]
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x34]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x6363ff
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x6366f5
test ebx, ebx
je 0x6366f5
push 0x7d8888
mov edx, edi
mov dword [edi + 0x74], ebx
lea ecx, [esp + 0x4c]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x63645c
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x636683
test eax, eax
je 0x636683
mov esi, dword [0x853a78]
mov dword [edi + 0x70], eax
test esi, esi
je 0x6364dc
push eax
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x63650e
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x63650e
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 0x75b10c
push 0xa
push ecx
mov ecx, esi
call dword [0x747368]
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 0x63656f
push 0
push dword [edi + 0x70]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x63653c
mov ebx, 1
jmp 0x63654c
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 0x636572
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x14]
jl 0x636525
mov ebx, dword [esp + 0x10]
inc esi
jmp 0x636576
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 0x6365de
mov esi, dword [0x853a78]
test esi, esi
je 0x6365c6
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x63690d
mov eax, dword [0x853a7c]
test eax, eax
je 0x63690d
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
jmp 0x6368ee
push 0
push dword [edi + 0x74]
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x6365f4
mov ebx, 1
jmp 0x636604
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 0x636d73
mov esi, dword [0x853a78]
test esi, esi
je 0x63664c
push ecx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636b4b
mov eax, dword [0x853a7c]
test eax, eax
je 0x636b4b
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 0x75b10c
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x636b4b
mov esi, dword [0x853a78]
test esi, esi
je 0x6366bc
push ebx
push eax
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x636b4b
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x636b4b
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 0x75b10c
push 0x32
push ecx
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636b4b
mov esi, dword [0x853a78]
test esi, esi
je 0x636750
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x853a7c]
test eax, eax
je 0x636d18
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
jmp 0x636cf9
push str._OUT
mov edx, edi
mov dword [edi + 0x18], 1
lea ecx, [esp + 0x64]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x63678b
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
cmp ebx, 0xffffffff
je 0x63693a
test ebx, ebx
je 0x63693a
mov esi, dword [0x853a78]
mov dword [edi + 0x74], ebx
test esi, esi
je 0x636804
push ebx
push str.Pipe_initialization_complete_with_outPipe___p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636832
mov eax, dword [0x853a7c]
test eax, eax
je 0x636832
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 0x75b10c
push 0xa
push eax
call dword [0x747368]
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 0x636898
nop dword [eax]
push 0
push dword [edi + 0x74]
inc esi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x636867
mov ebx, 1
jmp 0x636877
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 0x63689d
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp esi, dword [esp + 0x10]
jl 0x636850
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
jne 0x636d73
mov esi, dword [0x853a78]
test esi, esi
je 0x6368df
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x63690d
mov eax, dword [0x853a7c]
test eax, eax
je 0x63690d
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
mov esi, dword [eax]
push str.CommBridge
push 0x75b10c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x747368]
call esi
add esp, 0x18
mov ecx, edi
call fcn.00637530
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x853a78]
test esi, esi
je 0x63694a
push eax
jmp 0x636700
mov ecx, dword [0x853a7c]
test ecx, ecx
je 0x636d18
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 0x75b10c
push 0x32
push ecx
jmp 0x636d08
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 0x636a8d
nop dword [eax]
mov eax, dword [edi + 0x70]
cmp eax, 0xffffffff
je 0x6369ac
test eax, eax
jne 0x6369fd
push str._OUT
mov edx, edi
mov dword [edi + 0x70], 0
lea ecx, [esp + 0x7c]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x6369ce
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0x74]
cmp ecx, 0xffffffff
je 0x636a09
test ecx, ecx
jne 0x636a60
push 0x7d8888
mov edx, edi
mov dword [edi + 0x74], 0
lea ecx, [esp + 0x94]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x636a2e
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x70]
cmp ecx, 0xffffffff
je 0x636a78
test ecx, ecx
je 0x636a78
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x636a78
test eax, eax
jne 0x636a8d
cmp esi, ebx
je 0x636ace
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, ebx
jle 0x6369a0
mov esi, dword [0x853a78]
test esi, esi
je 0x636b78
push dword [edi + 0x70]
mov ecx, esi
push dword [edi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x747368]
call esi
add esp, 0x20
jmp 0x636d73
mov esi, dword [0x853a78]
test esi, esi
je 0x636b10
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 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x28
jmp 0x636b4b
mov eax, dword [0x853a7c]
test eax, eax
je 0x636b4b
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 0x75b10c
push 0x32
push eax
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x24
mov ecx, edi
call fcn.00637530
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x853a7c]
test eax, eax
je 0x636dd4
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 0x75b10c
push 0xa
push eax
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636d73
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 0x636c4b
nop word [eax + eax]
push str._OUT
mov edx, edi
lea ecx, [esp + 0xac]
call fcn.00439dd0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x636bfe
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.0042fd70
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x636c36
test ebx, ebx
jne 0x636c89
cmp esi, dword [esp + 0x14]
je 0x636c8e
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc esi
cmp esi, dword [esp + 0x14]
jle 0x636be0
mov esi, dword [0x853a78]
test esi, esi
je 0x636d3f
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636d73
mov dword [edi + 0x70], ebx
jmp 0x636c4b
mov esi, dword [0x853a78]
test esi, esi
je 0x636ce9
push ecx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x853a7c]
test eax, eax
je 0x636d18
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 0x75b10c
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x747368]
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x853a7c]
test eax, eax
je 0x636dd4
push dword [edi + 0x74]
mov esi, dword [eax]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x747368]
call esi
add esp, 0x18
mov esi, dword [0x853a78]
test esi, esi
je 0x636da7
push str.initCommBridge__pipes_successfully_initialized
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x18
jmp 0x636dd4
mov eax, dword [0x853a7c]
test eax, eax
je 0x636dd4
mov esi, dword [eax]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x75b10c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x747368]
call esi
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [edi + 0x39], 1
je 0x636e8f
lea eax, [esp + 0xc0]
mov byte [edi + 0x38], 1
push eax
push 0
push edi
push 0x635c20
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 0x636e8f
mov esi, dword [0x853a78]
test esi, esi
je 0x636e58
push ecx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
mov byte [edi + 0x38], 0
jmp 0x636b4b
mov eax, dword [0x853a7c]
test eax, eax
je 0x636e86
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 0x75b10c
push 0x32
push eax
call dword [0x747368]
call esi
add esp, 0x18
mov byte [edi + 0x38], 0
jmp 0x636b4b
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [0x853a78]
test esi, esi
je 0x636ee7
push ecx
push str.Wrong_pipe_context_passed__i.
push 0x75b10c
push 0x75b10c
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x747368]
call esi
add esp, 0x1c
jmp 0x636f15
mov eax, dword [0x853a7c]
test eax, eax
je 0x636f15
mov esi, dword [eax]
push ecx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
mov esi, dword [esi + 0x34]
push 0x75b10c
push 0x32
push eax
mov ecx, esi
call dword [0x747368]
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.0067ba01
mov esp, ebp
pop ebp
ret 0x18