Function at 0x41cbd0
Capabilities:
Connect pipe
Read pipe
Write pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af85d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x858
mov eax, dword [0x4e506c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], ecx
mov dword [ebp - 0x81c], 0
mov dword [ebp - 4], 0
xor edi, edi
nop word [eax + eax]
lea eax, [ebp - 0x81c]
push eax
push 0x4b85b0
push 0
push 4
push 0x4c9cd8
call dword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
js 0x41cc5d
mov ecx, dword [ebp - 0x81c]
test ecx, ecx
jne 0x41cda6
xorps xmm0, xmm0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 2
call fcn.0045dd60
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41cca9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbamservice.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0xb3
mov ecx, eax
call fcn.0040dd30
mov edx, 0x4c832c
mov ecx, eax
call fcn.0040f730
mov edx, str.CoGetClassObject_failed:
mov ecx, eax
call fcn.0040f730
lea ecx, [ebp - 0x830]
mov esi, eax
call fcn.0041c280
mov edx, eax
mov ecx, esi
call fcn.004189b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x41cd58
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cd4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2bd
push edx
push ecx
call fcn.0046da67
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x828]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
test ecx, ecx
je 0x41cd82
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x41cd93
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x81c]
test ecx, ecx
jne 0x41cda6
cmp edi, 5
jb 0x41cc30
cmp edi, 5
jne 0x41cdbf
mov dword [ebp - 4], edi
test ecx, ecx
je 0x41cdb8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor al, al
jmp 0x41d29f
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov byte [ebp - 4], 6
xor edi, edi
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.00485bb0
add esp, 0xc
mov dword [ebp - 0x820], 0
lea eax, [ebp - 0x820]
push 0x3e8
push eax
push 0x800
lea eax, [ebp - 0x818]
push eax
push 0x10
push str.NeedAKey
push str..pipeMBLG
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
test eax, eax
jne 0x41cef1
lea ecx, [ebp - 0x868]
call fcn.0045dd60
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41ce4e
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbamservice.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0xc9
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_CallNamedPipeW_failed:
mov ecx, eax
call fcn.0040f730
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00418620
push eax
call fcn.0040faa0
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x41cf42
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cee5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2bd
push edx
push ecx
call fcn.0046da67
add esp, 8
jmp 0x41cf42
mov eax, dword [ebp - 0x820]
cmp eax, 0x400
je 0x41cf42
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x41d2c2
xor ecx, ecx
mov word [ebp + eax - 0x818], cx
lea eax, [ebp - 0x818]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41cf20
sub eax, edx
lea ecx, [ebp - 0x848]
sar eax, 1
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.00407920
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp dword [ebp - 0x838], 0
jne 0x41cf60
cmp edi, 5
jb 0x41cde2
cmp edi, 5
jne 0x41cfec
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x41cfad
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cfa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2bd
push edx
push ecx
call fcn.0046da67
add esp, 8
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x41cdb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x41d29f
xor edi, edi
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 8
cmovae eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov eax, dword [ebp - 0x84c]
add eax, 0x38
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x820], eax
mov ecx, dword [ebp - 0x81c]
push eax
push esi
push 0x4c9cf8
mov edx, dword [ecx]
push 0
push 0
push ecx
call dword [edx + 0x1c]
test eax, eax
js 0x41d04c
mov ecx, dword [ebp - 0x84c]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
jne 0x41d1a7
xorps xmm0, xmm0
movups xmmword [ebp - 0x830], xmm0
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
mov dword [ebp - 0x82c], eax
mov dword [ebp - 0x828], 0
mov dword [ebp - 0x824], 0
lea ecx, [ebp - 0x868]
mov byte [ebp - 4], 0xa
call fcn.0045dd60
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41d098
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e94d8
call fcn.00410550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_a_mb5_mbsetup_srcmbsetupmbamservice.cpp
mov ecx, eax
call fcn.0040f730
mov edx, 0x4c8104
mov ecx, eax
call fcn.0040f730
push 0xe0
mov ecx, eax
call fcn.0040dd30
mov edx, str.:_CreateLicenseLic_failed:
mov ecx, eax
call fcn.0040f730
lea ecx, [ebp - 0x830]
mov esi, eax
call fcn.0041c280
mov edx, eax
mov ecx, esi
call fcn.004189b0
push eax
call fcn.0040faa0
mov byte [ebp - 4], 0xa
add esp, 4
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x41d13b
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d131
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2bd
push edx
push ecx
call fcn.0046da67
add esp, 8
xor eax, eax
mov dword [ebp - 0x858], 0
push 0x3e8
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x828]
mov dword [ebp - method._com_error.virtual_0], vtable._com_error.0
test ecx, ecx
je 0x41d182
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x41d193
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x850]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax]
jmp 0x41d1ad
mov eax, dword [ebp - 0x820]
test ecx, ecx
jne 0x41d1ba
cmp edi, 5
jb 0x41d020
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x834]
cmp edi, 5
jne 0x41d233
cmp edx, 8
jb 0x41d20a
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d200
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2c7
push edx
push ecx
call fcn.0046da67
add esp, 8
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov dword [ebp - 4], 0xd
jmp 0x41cfd1
cmp edx, 8
jb 0x41d269
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d25f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d2cc
push edx
push ecx
call fcn.0046da67
add esp, 8
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x41d29d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046d546
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004889bc
call fcn.0046dbd4
call fcn.004889bc
call fcn.004889bc
int3