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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x615408]
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x51d32b
cmp dword [edi + 0x14], 8
jb 0x51d306
mov eax, dword [edi]
jmp 0x51d308
mov eax, edi
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call ecx
add esp, 0x1c
jmp 0x51d35c
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d35c
cmp dword [edi + 0x14], 8
jb 0x51d33f
mov edx, dword [edi]
jmp 0x51d341
mov edx, edi
mov eax, dword [ecx]
push edx
push str.Inside_initCommBridge__creating_pipe__s
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
lea ebx, [esi + 0x20]
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [esi + 0x39], 0
je 0x51d407
mov eax, dword [0x615408]
test eax, eax
je 0x51d3c0
push str.Pipe_already_initialized.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x1e
call eax
add esp, 0x18
push ebx
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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d3e4
mov eax, dword [ecx]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x5c0ec0
push 0x1e
push ecx
call dword [eax + 0x34]
add esp, 0x14
push ebx
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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [esi + 0x44]
call fcn.00528710
cmp dword [edi + 0x14], 8
jb 0x51d419
mov eax, dword [edi]
jmp 0x51d41b
mov eax, edi
push 0
push 0x5c0ec0
push dword [edi + 0x10]
push eax
call fcn.0041dd20
add esp, 0x10
test eax, eax
jne 0x51d48a
mov eax, dword [0x615408]
test eax, eax
je 0x51d45d
push str.Pipe_name_is_empty.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
jmp 0x51df48
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51df4b
mov eax, dword [ecx]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x5c0ec0
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x14
jmp 0x51df4b
push edi
mov edx, str..pipe_
lea ecx, [esp + 0x1c]
call fcn.00432b80
add esp, 4
mov ecx, esi
push eax
call fcn.00413810
mov eax, dword [esp + 0x2c]
cmp eax, 8
jb 0x51d4bc
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.00414580
mov edx, dword [ebp + 8]
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
lea eax, [edx - 1]
cmp eax, 3
ja case.default.0x51d4e2
jmp dword [eax*4 + 0x51df70]
push str._OUT
lea eax, [esp + 0x34]
mov dword [esi + 0x18], 1
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51d50b
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 edi, eax
call fcn.004137d0
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
mov edx, eax
cmp edi, 0xffffffff
je 0x51d804
test edi, edi
je 0x51d804
push 0x5e7260
lea eax, [esp + 0x4c]
mov dword [esi + 0x74], edi
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51d56a
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 edi, eax
call fcn.004137d0
call ebx
mov ebx, eax
cmp edi, 0xffffffff
je 0x51d784
test edi, edi
je 0x51d784
mov eax, dword [0x615408]
mov dword [esi + 0x70], edi
test eax, eax
je 0x51d5d7
push edi
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x20
jmp 0x51d5ff
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d5ff
mov eax, dword [ecx]
push edi
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov eax, 0x10624dd3
xor edi, edi
mul dword [ebp + 0x14]
mov eax, edx
shr eax, 5
mov dword [esp + 0x10], eax
test eax, eax
jle 0x51d660
push 0
push dword [esi + 0x70]
inc edi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x51d62d
mov ebx, 1
jmp 0x51d63d
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 + 0xc], eax
test ebx, ebx
jne 0x51d663
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp edi, dword [esp + 0x10]
jl 0x51d616
mov ebx, dword [esp + 0xc]
inc edi
jmp 0x51d667
mov ebx, dword [esp + 0xc]
push 0
push 0
push 0
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.DLL_SetNamedPipeHandleState]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
jne 0x51d6fd
mov eax, dword [0x615408]
test eax, eax
je 0x51d6ab
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x51d6d0
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d6d0
push ebx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
mov eax, dword [ecx]
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, esi
call fcn.0051e4a0
lea eax, [esi + 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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x51d713
mov ebx, 1
jmp 0x51d723
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
test ebx, ebx
jne 0x51ddcf
mov ecx, dword [0x615408]
test ecx, ecx
je 0x51d75d
push edx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call ecx
jmp 0x51d7d4
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d7d7
mov eax, dword [ecx]
push edx
push str.Couldnt_connect_to_outPipe__error_code__lu
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
jmp 0x51d7d7
mov eax, dword [0x615408]
test eax, eax
je 0x51d7b1
push ebx
push edi
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x20
jmp 0x51d7d7
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d7d7
mov eax, dword [ecx]
push ebx
push edi
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov ecx, esi
call fcn.0051e4a0
lea eax, [esi + 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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x615408]
test eax, eax
je 0x51d855
push edx
push edi
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x20
lea eax, [esi + 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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d87b
mov eax, dword [ecx]
push edx
push edi
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x1c
lea eax, [esi + 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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
push str._OUT
lea eax, [esp + 0x64]
mov dword [esi + 0x18], 1
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51d8c3
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 edi, eax
call fcn.004137d0
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
mov ecx, eax
mov dword [esp + 0xc], ecx
cmp edi, 0xffffffff
je 0x51da25
test edi, edi
je 0x51da25
mov ecx, dword [0x615408]
mov dword [esi + 0x74], edi
test ecx, ecx
je 0x51d938
push edi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call ecx
add esp, 0x1c
jmp 0x51d95d
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d95d
mov eax, dword [ecx]
push edi
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov eax, 0x10624dd3
xor edi, edi
mul dword [ebp + 0x14]
mov eax, edx
shr eax, 5
mov dword [esp + 0x10], eax
test eax, eax
jle 0x51d9ca
jmp 0x51d986
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push dword [esi + 0x74]
inc edi
call dword [sym.imp.KERNEL32.DLL_ConnectNamedPipe]
test eax, eax
je 0x51d99d
mov ebx, 1
jmp 0x51d9a9
call ebx
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
mov dword [esp + 0xc], edx
test ebx, ebx
jne 0x51d9cf
push 0x1f4
call dword [sym.imp.KERNEL32.DLL_Sleep]
cmp edi, dword [esp + 0x10]
jl 0x51d980
mov edx, dword [esp + 0xc]
inc edi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
jne 0x51ddcf
mov ecx, dword [0x615408]
test ecx, ecx
je 0x51da0c
push edx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
jmp 0x51d6d0
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51d6d0
push edx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
jmp 0x51d6bb
mov eax, dword [0x615408]
test eax, eax
je 0x51da34
push ecx
jmp 0x51d80e
mov edx, dword [0x61540c]
test edx, edx
je 0x51d87b
mov eax, dword [edx]
push ecx
push edi
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x5c0ec0
push 0x32
push edx
jmp 0x51d875
mov eax, 0xcccccccd
mov dword [esi + 0x18], 3
mul dword [ebp + 0x14]
mov ebx, edx
xor edx, edx
shr ebx, 3
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
lea edi, [edx + 1]
mov dword [esp + 0xc], edx
cmp ebx, edi
jl 0x51db87
nop word [eax + eax]
mov eax, dword [esi + 0x70]
cmp eax, 0xffffffff
je 0x51da9c
test eax, eax
jne 0x51daf1
push str._OUT
lea eax, [esp + 0x7c]
mov dword [esi + 0x70], 0
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51dabe
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0x78]
mov dword [esi + 0x70], eax
call fcn.004137d0
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
mov dword [esp + 0xc], eax
jmp 0x51daf7
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [esi + 0x74]
cmp ecx, 0xffffffff
je 0x51db03
test ecx, ecx
jne 0x51db56
push 0x5e7260
lea eax, [esp + 0x94]
mov dword [esi + 0x74], 0
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51db28
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 [esi + 0x74], eax
call fcn.004137d0
call ebx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x70]
cmp ecx, 0xffffffff
je 0x51db6e
test ecx, ecx
je 0x51db6e
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x51db6e
test eax, eax
jne 0x51db87
mov ebx, dword [esp + 0x14]
cmp edi, ebx
je 0x51dbbf
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, ebx
jle 0x51da90
mov eax, dword [0x615408]
test eax, eax
je 0x51dc42
push dword [esi + 0x70]
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x20
jmp 0x51ddcf
mov eax, dword [0x615408]
test eax, eax
je 0x51dc02
mov edx, dword [esp + 0x10]
push edx
push dword [esi + 0x74]
mov edx, dword [esp + 0x14]
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 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x28
mov ecx, esi
call fcn.0051e4a0
jmp 0x51d87b
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51dc36
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
push edx
push dword [esi + 0x74]
mov edx, dword [esp + 0x14]
push edx
push dword [esi + 0x70]
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 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x24
mov ecx, esi
call fcn.0051e4a0
jmp 0x51d87b
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51de1f
push dword [esi + 0x70]
mov eax, dword [ecx]
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x1c
jmp 0x51ddcf
mov eax, 0xcccccccd
mov dword [esi + 0x18], 3
mul dword [ebp + 0x14]
mov edi, 1
mov eax, edx
shr eax, 3
mov dword [esp + 0xc], eax
cmp eax, edi
jl 0x51dd0b
nop word [eax + eax]
push str._OUT
lea eax, [esp + 0xac]
push esi
push eax
call fcn.004146b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x51dcbe
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
lea ecx, [esp + 0xa8]
mov ebx, eax
call fcn.004137d0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
cmp ebx, 0xffffffff
je 0x51dcf6
test ebx, ebx
jne 0x51dd40
cmp edi, dword [esp + 0xc]
je 0x51dd45
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, dword [esp + 0xc]
jle 0x51dca0
mov eax, dword [0x615408]
test eax, eax
je 0x51dda8
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x1c
jmp 0x51ddcf
mov dword [esi + 0x70], ebx
jmp 0x51dd0b
mov eax, dword [0x615408]
test eax, eax
je 0x51dd79
push edx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
mov eax, dword [esp + 0x34]
add esp, 0x20
jmp 0x51d87e
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51dd9f
mov eax, dword [ecx]
push edx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov eax, dword [esp + 0x14]
jmp 0x51d87e
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51de1f
push dword [esi + 0x74]
mov eax, dword [ecx]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, dword [0x615408]
test ecx, ecx
je 0x51ddfb
push str.initCommBridge__pipes_successfully_initialized
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0xa
call ecx
add esp, 0x18
jmp 0x51de1f
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51de1f
mov eax, dword [ecx]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x5c0ec0
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [esi + 0x39], 1
je 0x51ded7
lea eax, [esp + 0xc0]
mov byte [esi + 0x38], 1
push eax
push 0
push esi
push 0x51ce20
push 0
push 0
mov dword [esp + 0xd8], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [esi + 0x1c], 0
mov edx, eax
jne 0x51ded7
mov ecx, dword [0x615408]
test ecx, ecx
je 0x51dea2
push edx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
mov byte [esi + 0x38], 0
mov ecx, esi
call fcn.0051e4a0
jmp 0x51d87b
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51dec7
mov eax, dword [ecx]
push edx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, esi
mov byte [esi + 0x38], 0
call fcn.0051e4a0
jmp 0x51d87b
lea eax, [esi + 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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x615408]
test eax, eax
je 0x51df26
push edx
push str.Wrong_pipe_context_passed__i.
push 0x5c0ec0
push 0x5c0ec0
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x51df4b
mov ecx, dword [0x61540c]
test ecx, ecx
je 0x51df4b
mov eax, dword [ecx]
push edx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
push 0x5c0ec0
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
push ebx
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.0055eeb4
mov esp, ebp
pop ebp
ret 0x18