Function at 0x534cf0
Capabilities:
Connect pipe
Create pipe
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x64a070]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x656c44]
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x534d4b
cmp dword [edi + 0x14], 8
jb 0x534d26
mov eax, dword [edi]
jmp 0x534d28
mov eax, edi
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call ecx
add esp, 0x1c
jmp 0x534d7c
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x534d7c
cmp dword [edi + 0x14], 8
jb 0x534d5f
mov edx, dword [edi]
jmp 0x534d61
mov edx, edi
mov eax, dword [ecx]
push edx
push str.Inside_initCommBridge__creating_pipe__s
push str.CommBridge
push 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 0x450c50
test eax, eax
je 0x534d9c
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], 0x450c50
mov dword [esi + 0x40], eax
cmp byte [esi + 0x39], 0
je 0x534e39
mov eax, dword [0x656c44]
test eax, eax
je 0x534df2
push str.Pipe_already_initialized.
push 0x5f8398
push 0x5f8398
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x534e16
mov eax, dword [ecx]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x5f8398
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [esi + 0x44]
call fcn.00541040
cmp dword [edi + 0x14], 8
jb 0x534e4b
mov eax, dword [edi]
jmp 0x534e4d
mov eax, edi
push 0
push 0x5f8398
push dword [edi + 0x10]
push eax
call fcn.0040ac30
add esp, 0x10
test eax, eax
jne 0x534ebc
mov eax, dword [0x656c44]
test eax, eax
je 0x534e8f
push str.Pipe_name_is_empty.
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x28
call eax
jmp 0x5358ef
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5358f2
mov eax, dword [ecx]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x5f8398
push 0x28
push ecx
call dword [eax + 0x34]
add esp, 0x14
jmp 0x5358f2
push edi
mov edx, str..pipe_
lea ecx, [esp + 0x1c]
call fcn.00422280
add esp, 4
mov ecx, esi
push eax
call fcn.0040d2b0
mov eax, dword [esp + 0x2c]
cmp eax, 8
jb 0x534eee
inc eax
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x1c]
call fcn.00409510
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.0x534f14
jmp dword [eax*4 + 0x535918]
push str._OUT
lea eax, [esp + 0x34]
mov dword [esi + 0x18], 1
push esi
push eax
call fcn.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x534f3d
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.004087d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edx, eax
cmp edi, 0xffffffff
je 0x535231
test edi, edi
je 0x535231
push 0x621fdc
lea eax, [esp + 0x4c]
mov dword [esi + 0x74], edi
push esi
push eax
call fcn.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x534f9c
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.004087d0
call ebx
mov edx, eax
cmp edi, 0xffffffff
je 0x5351b1
test edi, edi
je 0x5351b1
mov eax, dword [0x656c44]
mov dword [esi + 0x70], edi
test eax, eax
je 0x53500b
push edi
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x20
xor edi, edi
jmp 0x535046
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535033
mov eax, dword [ecx]
push edi
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push str.CommBridge
push 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x1c
xor edi, edi
jmp 0x535046
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [esi + 0x70]
inc edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x53505d
mov ebx, 1
jmp 0x535069
call ebx
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x53508b
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x1c20
jl 0x535040
inc edi
push 0
push 0
push 0
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
cmp edi, 0x1c21
jne 0x53512a
mov eax, dword [0x656c44]
test eax, eax
je 0x5350d5
push dword [esp + 0x10]
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x5350fd
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5350fd
push dword [esp + 0x10]
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
mov eax, dword [ecx]
push str.CommBridge
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, esi
call fcn.00535e60
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [esi + 0x74]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x535140
mov ebx, 1
jmp 0x535150
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 0x53572d
mov ecx, dword [0x656c44]
test ecx, ecx
je 0x53518a
push edx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call ecx
jmp 0x535201
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535204
mov eax, dword [ecx]
push edx
push str.Couldnt_connect_to_outPipe__error_code__lu
push str.CommBridge
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
jmp 0x535204
mov eax, dword [0x656c44]
test eax, eax
je 0x5351de
push edx
push edi
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x20
jmp 0x535204
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535204
mov eax, dword [ecx]
push edx
push edi
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x1c
mov ecx, esi
call fcn.00535e60
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x656c44]
test eax, eax
je 0x535282
push edx
push edi
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x5f8398
push 0x5f8398
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5352a8
push edx
push edi
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
mov eax, dword [ecx]
push str.CommBridge
push 0x5f8398
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.005765b2
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.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5352f0
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.004087d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov edx, eax
cmp edi, 0xffffffff
je 0x535435
test edi, edi
je 0x535435
mov eax, dword [0x656c44]
mov dword [esi + 0x74], edi
test eax, eax
je 0x535362
push edi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x1c
xor edi, edi
jmp 0x535396
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535387
mov eax, dword [ecx]
push edi
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
xor edi, edi
jmp 0x535396
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 0x5353ad
mov ebx, 1
jmp 0x5353b9
call ebx
xor ebx, ebx
cmp eax, 0x217
sete bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [esp + 0x10], edx
test ebx, ebx
jne 0x5353e1
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x1c20
jl 0x535390
mov edx, dword [esp + 0x10]
inc edi
cmp edi, 0x1c21
jne 0x53572d
mov eax, dword [0x656c44]
test eax, eax
je 0x53541c
push edx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x5350fd
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5350fd
push edx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
jmp 0x5350e8
mov eax, dword [0x656c44]
test eax, eax
jne 0x53523a
jmp 0x535282
xor edx, edx
mov dword [esi + 0x18], 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea edi, [edx + 1]
nop dword [eax + eax]
mov eax, dword [esi + 0x70]
cmp eax, 0xffffffff
je 0x53546c
test eax, eax
jne 0x5354c1
push str._OUT
lea eax, [esp + 0x7c]
mov dword [esi + 0x70], 0
push esi
push eax
call fcn.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x53548e
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.004087d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov dword [esp + 0x10], eax
jmp 0x5354c7
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x74]
cmp ecx, 0xffffffff
je 0x5354d3
test ecx, ecx
jne 0x535526
push 0x621fdc
lea eax, [esp + 0x94]
mov dword [esi + 0x74], 0
push esi
push eax
call fcn.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x5354f8
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.004087d0
call ebx
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x70]
cmp ecx, 0xffffffff
je 0x53553e
test ecx, ecx
je 0x53553e
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x53553e
test eax, eax
jne 0x53555f
cmp edi, 0x57e40
je 0x5355c6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x57e40
jle 0x535460
mov eax, dword [0x656c44]
test eax, eax
je 0x535593
push dword [esi + 0x70]
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x20
jmp 0x53572d
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x53577c
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 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x1c
jmp 0x53572d
mov eax, dword [0x656c44]
test eax, eax
je 0x53560b
mov edx, dword [esp + 0x14]
push edx
push dword [esi + 0x74]
mov edx, dword [esp + 0x18]
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 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x28
mov ecx, esi
call fcn.00535e60
jmp 0x5352a8
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x53563f
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
push edx
push dword [esi + 0x74]
mov edx, dword [esp + 0x18]
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 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x24
mov ecx, esi
call fcn.00535e60
jmp 0x5352a8
mov dword [esi + 0x18], 3
mov edi, 1
nop word [eax + eax]
push str._OUT
lea eax, [esp + 0xac]
push esi
push eax
call fcn.0041f030
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x53567e
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.004087d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp ebx, 0xffffffff
je 0x5356b6
test ebx, ebx
jne 0x5356d5
cmp edi, 0x57e40
je 0x535857
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x57e40
jle 0x535660
jmp 0x5356d8
mov dword [esi + 0x70], ebx
mov eax, dword [0x656c44]
test eax, eax
je 0x535706
push dword [esi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x1c
jmp 0x53572d
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x53577c
push dword [esi + 0x74]
mov eax, dword [ecx]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov eax, dword [0x656c44]
test eax, eax
je 0x535758
push str.initCommBridge__pipes_successfully_initialized
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0xa
call eax
add esp, 0x18
jmp 0x53577c
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x53577c
mov eax, dword [ecx]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x5f8398
push 0xa
push ecx
call dword [eax + 0x34]
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [esi + 0x39], 1
je 0x535834
lea eax, [esp + 0xc0]
mov byte [esi + 0x38], 1
push eax
push 0
push esi
push 0x534840
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 0x535834
mov ecx, dword [0x656c44]
test ecx, ecx
je 0x5357ff
push edx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call ecx
add esp, 0x1c
mov byte [esi + 0x38], 0
mov ecx, esi
call fcn.00535e60
jmp 0x5352a8
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x535824
mov eax, dword [ecx]
push edx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push str.CommBridge
push 0x5f8398
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov ecx, esi
mov byte [esi + 0x38], 0
call fcn.00535e60
jmp 0x5352a8
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.005765b2
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x656c44]
test eax, eax
je 0x535887
push edx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x20
jmp 0x5352a8
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5352a8
push edx
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
jmp 0x535293
mov eax, dword [0x656c44]
test eax, eax
je 0x5358cd
push edx
push str.Wrong_pipe_context_passed__i.
push 0x5f8398
push 0x5f8398
push str.CommBridge
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
jmp 0x5358f2
mov ecx, dword [0x656c48]
test ecx, ecx
je 0x5358f2
mov eax, dword [ecx]
push edx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
push 0x5f8398
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.005765b2
mov esp, ebp
pop ebp
ret 0x18