Function at 0x41e190
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 [0x4c4014]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [0x4c8c94]
push edi
mov edi, ecx
test esi, esi
je 0x41e1f1
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x41e1c6
mov eax, dword [ebx]
push eax
push str.Inside_initCommBridge__creating_pipe__s
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41e229
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41e229
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x41e204
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 0x4aea60
push 0xa
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
lea eax, [edi + 0x20]
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41e247
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x40], eax
cmp byte [edi + 0x39], 0
je 0x41e2fe
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e2aa
push str.Pipe_already_initialized.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x49e2d4]
call esi
mov eax, dword [esp + 0x24]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41e2d7
mov esi, dword [eax]
push str.Pipe_already_initialized.
push str.CommBridge
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x49e2d4]
call esi
add esp, 0x14
mov eax, dword [esp + 0xc]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x54], 0
je 0x41e379
nop
mov ecx, dword [edi + 0x4c]
mov eax, dword [edi + 0x48]
dec ecx
and ecx, dword [edi + 0x50]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x20]
cmp ecx, 8
jb 0x41e357
mov eax, dword [esi + 0xc]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41e34d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f320
mov eax, edx
push ecx
push eax
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
add dword [edi + 0x54], 0xffffffff
je 0x41e376
inc dword [edi + 0x50]
jmp 0x41e310
mov dword [edi + 0x50], eax
lea eax, [edi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x41e38d
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x10]
mov edx, esi
push 0
push 0x4aea60
call fcn.00403c20
add esp, 8
test eax, eax
jne 0x41e405
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e3cf
push str.Pipe_name_is_empty.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x28
jmp 0x41f2e7
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f2f4
mov esi, dword [eax]
push str.Pipe_name_is_empty.
push str.CommBridge
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x28
push eax
call dword [0x49e2d4]
call esi
add esp, 0x14
jmp 0x41f2f4
mov eax, 0x7ffffffe
sub eax, esi
cmp eax, 9
jb 0x41f31b
cmp dword [ebx + 0x14], 8
jb 0x41e41d
mov ebx, dword [ebx]
push esi
push ebx
push 9
push str..pipe_
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0xc0]
call fcn.004031a0
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
call fcn.00402cf0
mov ecx, dword [esp + 0xbc]
cmp ecx, 8
jb 0x41e48b
mov edx, dword [esp + 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e481
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f320
push ecx
push edx
call fcn.004699d8
add esp, 8
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [esp + 0xa8], ax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 7
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x41e4ba
jmp dword [eax*4 + 0x41f344]
mov esi, 0x7ffffffe
mov dword [edi + 0x18], 1
mov ecx, dword [edi + 0x10]
mov eax, esi
sub eax, ecx
cmp eax, 4
jb 0x41f325
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41e4e7
mov eax, dword [edi]
push 4
push str._OUT
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0x30]
call fcn.004031a0
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push 0
cmovae eax, dword [esp + 0x1c]
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [esp + 0x2c]
mov ebx, eax
cmp ecx, 8
jb 0x41e568
mov edx, dword [esp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e55e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f32a
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ebx, 0xffffffff
je 0x41e8ca
test ebx, ebx
je 0x41e8ca
mov dword [edi + 0x74], ebx
mov ecx, dword [edi + 0x10]
sub esi, ecx
cmp esi, 3
jb 0x41f32f
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41e5b3
mov eax, dword [edi]
push 3
push 0x4b36b8
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0x48]
call fcn.004031a0
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push 0
cmovae eax, dword [esp + 0x34]
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [esp + 0x44]
mov ebx, eax
cmp ecx, 8
jb 0x41e634
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e62a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f334
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
cmp ebx, 0xffffffff
je 0x41e858
test ebx, ebx
je 0x41e858
mov esi, dword [0x4c8c94]
mov dword [edi + 0x70], ebx
test esi, esi
je 0x41e6a1
push ebx
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x41e6d3
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41e6d9
mov esi, dword [ecx]
push ebx
push dword [edi + 0x74]
mov esi, dword [esi + 0x34]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push str.CommBridge
push 0x4aea60
push 0xa
push ecx
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
mov ecx, dword [0x4c8c98]
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 0x41e737
push 0
push dword [edi + 0x70]
inc esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x41e77d
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
mov dword [esp + 0xc], edx
test ebx, ebx
jne 0x41e785
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [esp + 0x10]
jl 0x41e6f0
mov ecx, dword [0x4c8c98]
mov edx, dword [esp + 0xc]
inc esi
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
jne 0x41e7af
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e78d
push edx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41eb61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, dword [0x4c8c98]
jmp 0x41e73c
test ecx, ecx
je 0x41eb61
mov esi, dword [ecx]
push edx
push str.Number_of_retries_to_connect_inPipe_exhausted_with_latest_err___lu.
push str.CommBridge
push 0x4aea60
push 0x32
push ecx
jmp 0x41eb51
push 0
push dword [edi + 0x74]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x41e7c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41f152
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 0x41f152
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e821
push ecx
push str.Couldnt_connect_to_outPipe__error_code__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41ee68
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41ee68
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 0x4aea60
push 0x32
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
jmp 0x41ee68
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e891
push eax
push ebx
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x41ee68
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41ee68
mov esi, dword [ecx]
push eax
push ebx
push str.Creating_in_NamedPipe_returned_invalid_handle__p__with_error_code__lu
mov esi, dword [esi + 0x34]
push str.CommBridge
push 0x4aea60
push 0x32
push ecx
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41ee68
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41e925
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
mov eax, dword [esp + 0x2c]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f0f7
mov esi, dword [eax]
push ecx
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
push str.CommBridge
push 0x4aea60
push 0x32
push eax
jmp 0x41f0e7
mov dword [edi + 0x18], 1
mov eax, 0x7ffffffe
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 4
jb 0x41f339
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41e971
mov eax, dword [edi]
push 4
push str._OUT
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0x60]
call fcn.004031a0
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
push 0
cmovae eax, dword [esp + 0x4c]
push 0
push 0x3e8000
push 0x3e8000
push 1
push 1
push 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [esp + 0x5c]
mov ebx, eax
cmp ecx, 8
jb 0x41e9f2
mov edx, dword [esp + 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e9e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f33e
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 7
mov word [esp + 0x48], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, 0xffffffff
je 0x41eb8e
test ebx, ebx
je 0x41eb8e
mov esi, dword [0x4c8c94]
mov dword [edi + 0x74], ebx
test esi, esi
je 0x41ea5c
push ebx
push str.Pipe_initialization_complete_with_outPipe___p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41ea8a
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41ea8a
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 0x4aea60
push 0xa
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
mov eax, 0x10624dd3
xor esi, esi
mul dword [ebp + 0x14]
mov eax, edx
shr eax, 5
mov dword [esp + 0xc], eax
test eax, eax
jle 0x41eae2
push 0
push dword [edi + 0x74]
inc esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x41eb29
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 + 0x10], ecx
test ebx, ebx
jne 0x41eae7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, dword [esp + 0xc]
jl 0x41eaa1
mov ecx, dword [esp + 0x10]
inc esi
mov eax, dword [esp + 0xc]
inc eax
cmp eax, esi
jne 0x41f152
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41eb33
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41eb61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x41eae7
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41eb61
mov esi, dword [eax]
push ecx
push str.Number_of_retries_to_connect_outPipe_exhausted_with_latest_err___lu.
push str.CommBridge
push 0x4aea60
push 0x32
push eax
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
mov ecx, edi
call fcn.0041fa30
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41eb9e
push eax
jmp 0x41e8d5
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41f0f7
push eax
push ebx
push str.Creating_out_NamedPipe_returned_invalid_handle__p__with_error_code__lu
jmp 0x41f0d8
mov eax, 0xcccccccd
mov dword [edi + 0x18], 3
mul dword [ebp + 0x14]
xor ecx, ecx
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x10], ebx
shr eax, 3
mov dword [esp + 0x14], eax
lea ebx, [ecx + 1]
mov dword [esp + 0xc], ecx
cmp eax, ebx
jl 0x41ee95
lea edx, [edi + 0x10]
mov esi, edx
nop dword [eax]
mov eax, dword [edi + 0x70]
cmp eax, 0xffffffff
je 0x41ec02
mov esi, edx
test eax, eax
jne 0x41ecc9
mov dword [edi + 0x70], 0
mov eax, 0x7ffffffe
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 4
jb 0x41f31b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41ec25
mov eax, dword [edi]
push 4
push str._OUT
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0x78]
call fcn.004031a0
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
push 0
cmovae eax, dword [esp + 0x64]
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0x74]
mov dword [edi + 0x70], eax
cmp ecx, 8
jb 0x41eca5
mov edx, dword [esp + 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ec9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f320
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
lea edx, [edi + 0x10]
mov ecx, dword [edi + 0x74]
cmp ecx, 0xffffffff
je 0x41ece1
test ecx, ecx
je 0x41ece1
mov eax, dword [esp + 0x10]
lea esi, [edi + 0x10]
jmp 0x41edb9
mov dword [edi + 0x74], 0
mov eax, 0x7ffffffe
mov ecx, dword [edx]
mov esi, edx
sub eax, ecx
cmp eax, 3
jb 0x41f31b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41ed06
mov eax, dword [edi]
push 3
push 0x4b36b8
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0x90]
call fcn.004031a0
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
push 0
cmovae eax, dword [esp + 0x7c]
push 0x80
push 3
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0x8c]
mov dword [edi + 0x74], eax
cmp ecx, 8
jb 0x41ed8f
mov edx, dword [esp + 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ed85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f320
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 7
mov word [esp + 0x78], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x70]
cmp edx, 0xffffffff
je 0x41edd2
test edx, edx
je 0x41edd2
cmp ecx, 0xffffffff
je 0x41edd2
test ecx, ecx
jne 0x41ee95
cmp ebx, dword [esp + 0x14]
je 0x41edf3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, dword [esp + 0x14]
jg 0x41ee95
lea edx, [edi + 0x10]
jmp 0x41ebf0
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41ee2f
push eax
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push edx
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 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x28
jmp 0x41ee68
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41ee68
mov ebx, dword [esp + 0x10]
mov esi, dword [eax]
push ebx
push ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x34]
push ecx
push edx
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 0x4aea60
push 0x32
push eax
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x24
mov ecx, edi
call fcn.0041fa30
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41eed2
push dword [edi + 0x70]
mov ecx, esi
push dword [edi + 0x74]
push str.Pipe_initialization_complete_with_outPipe___p__inPipe___p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x41f152
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f1b3
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 0x4aea60
push 0xa
push eax
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41f152
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 0x41f029
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 4
jb 0x41f31b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x41ef50
mov eax, dword [edi]
push 4
push str._OUT
push ecx
push eax
push ecx
push dword [esp + 0xd4]
lea ecx, [esp + 0xa8]
call fcn.004031a0
cmp dword [esp + 0xa4], 8
lea eax, [esp + 0x90]
push 0
cmovae eax, dword [esp + 0x94]
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0xa4]
mov ebx, eax
cmp ecx, 8
jb 0x41efe1
mov edx, dword [esp + 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41efd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41f320
push ecx
push edx
call fcn.004699d8
add esp, 8
xor eax, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 7
mov word [esp + 0x90], ax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x41f010
test ebx, ebx
jne 0x41f067
cmp esi, dword [esp + 0x14]
je 0x41f06c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, dword [esp + 0x14]
jle 0x41ef33
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f11e
push dword [edi + 0x74]
mov ecx, esi
push str.Pipe_initialization_complete_with_outPipe___p
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41f152
mov dword [edi + 0x70], ebx
jmp 0x41f029
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f0c7
push eax
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
mov eax, dword [esp + 0x2c]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [0x4c8c98]
test ecx, ecx
je 0x41f0f7
push eax
push ebx
push str.Number_of_retries_to_create_pipe_exhausted_with_Pipe_handle___p__err_value___lu.
mov esi, dword [ecx]
push str.CommBridge
push 0x4aea60
push 0x32
push ecx
mov esi, dword [esi + 0x34]
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
mov eax, dword [esp + 0xc]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f1b3
push dword [edi + 0x74]
mov esi, dword [eax]
push str.Pipe_initialization_complete_with_outPipe___p
push str.CommBridge
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f186
push str.initCommBridge__pipes_successfully_initialized
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0xa
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
jmp 0x41f1b3
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f1b3
mov esi, dword [eax]
push str.initCommBridge__pipes_successfully_initialized
push str.CommBridge
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0xa
push eax
call dword [0x49e2d4]
call esi
add esp, 0x14
cmp dword [ebp + 8], 2
mov byte [edi + 0x39], 1
je 0x41f26e
lea eax, [esp + 0xc0]
mov byte [edi + 0x38], 1
push eax
push 0
push edi
push 0x41dc10
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 0x41f26e
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f237
push ecx
push str.Thread_creation_for_listener_failed_with_error_code__lu
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
mov byte [edi + 0x38], 0
jmp 0x41ee68
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f265
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 0x4aea60
push 0x32
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
mov byte [edi + 0x38], 0
jmp 0x41ee68
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [0x4c8c94]
test esi, esi
je 0x41f2c6
push ecx
push str.Wrong_pipe_context_passed__i.
push 0x4aea60
push 0x4aea60
push str.CommBridge
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
jmp 0x41f2f4
mov eax, dword [0x4c8c98]
test eax, eax
je 0x41f2f4
mov esi, dword [eax]
push ecx
push str.Wrong_pipe_context_passed__i.
push str.CommBridge
mov esi, dword [esi + 0x34]
push 0x4aea60
push 0x32
push eax
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
mov eax, dword [esp + 0xc]
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.0046999a
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004013e0
call fcn.00479601
call fcn.004013e0
call fcn.00479601
call fcn.004013e0
call fcn.00479601
call fcn.004013e0
call fcn.00479601
nop
shl esp, 0x41
add byte [ebp - 23], cl
inc ecx
add byte [eax + 0xe0041eb], bh
out dx, eax
inc ecx
add ah, cl
int3