Function at 0x41fd90
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 0x4bcf42
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x858
mov eax, dword [0x50c080]
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 0x4c6630
push 0
push 4
push 0x4ee1e0
call dword [sym.imp.ole32.dll_CoGetClassObject]
test eax, eax
js 0x41fe1d
mov ecx, dword [ebp - 0x81c]
test ecx, ecx
jne 0x41ff66
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 - 0x864]
mov byte [ebp - 4], 2
call fcn.00467cf0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x41fe69
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBAMService.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xbb
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4ec7a8
mov ecx, eax
call fcn.00411050
mov edx, str.CoGetClassObject_failed:
mov ecx, eax
call fcn.00411050
lea ecx, [ebp - 0x830]
mov esi, eax
call fcn.0041f410
mov edx, eax
mov ecx, esi
call fcn.0041b9a0
push eax
call fcn.004113d0
mov byte [ebp - 4], 2
add esp, 4
mov ecx, dword [ebp - 0x850]
cmp ecx, 7
jbe 0x41ff18
mov edx, dword [ebp - 0x864]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ff0e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
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 0x41ff42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x41ff53
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x81c]
test ecx, ecx
jne 0x41ff66
cmp edi, 5
jb 0x41fdf0
cmp edi, 5
jne 0x41ff83
mov dword [ebp - 4], edi
test ecx, ecx
je 0x4203ca
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor al, al
jmp 0x42043a
xorps xmm0, xmm0
mov dword [ebp - 0x838], 0
xor eax, eax
mov dword [ebp - 0x834], 7
movups xmmword [ebp - 0x848], xmm0
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.00493220
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 0x4200bf
lea ecx, [ebp - 0x864]
call fcn.00467cf0
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x42001c
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBAMService.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xd1
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_CallNamedPipeW_failed:
mov ecx, eax
call fcn.00411050
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0041b590
push eax
call fcn.004113d0
mov byte [ebp - 4], 6
add esp, 4
mov ecx, dword [ebp - 0x850]
cmp ecx, 7
jbe 0x420112
mov edx, dword [ebp - 0x864]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4200b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
add esp, 8
jmp 0x420112
mov eax, dword [ebp - 0x820]
cmp eax, 0x400
je 0x420112
and eax, 0xfffffffe
cmp eax, 0x800
jae 0x420458
xor ecx, ecx
mov word [ebp + eax - 0x818], cx
lea eax, [ebp - 0x818]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4200f0
sub eax, edx
lea ecx, [ebp - 0x848]
sar eax, 1
push eax
lea eax, [ebp - 0x818]
push eax
call fcn.0040db20
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp dword [ebp - 0x838], 0
jne 0x420130
cmp edi, 5
jb 0x41ffb0
cmp edi, 5
jne 0x4201a2
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x834]
cmp ecx, 7
jbe 0x420179
mov edx, dword [ebp - 0x848]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42016f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
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
jmp 0x4203ba
xor edi, edi
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 7
cmova eax, dword [ebp - 0x848]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, dword [ebp - 0x84c]
add esi, 0x38
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x84c], esi
mov ecx, dword [ebp - 0x81c]
push esi
push eax
push 0x4ee200
mov edx, dword [ecx]
push 0
push 0
push ecx
call dword [edx + 0x1c]
test eax, eax
js 0x4201f8
cmp dword [esi], 0
jne 0x420341
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 - 0x864]
mov byte [ebp - 4], 0xa
call fcn.00467cf0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x420244
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x50f6d0
call fcn.00412550
add esp, 4
mov edx, str.C:JenkinsworkspaceMBAM_WindowsA_MB5_MBSetup_srcMBSetupMBAMService.cpp
mov ecx, eax
call fcn.00411050
mov edx, 0x4ec568
mov ecx, eax
call fcn.00411050
push 0xe8
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_CreateLicenseLic_failed:
mov ecx, eax
call fcn.00411050
lea ecx, [ebp - 0x830]
mov esi, eax
call fcn.0041f410
mov edx, eax
mov ecx, esi
call fcn.0041b9a0
push eax
call fcn.004113d0
mov byte [ebp - 4], 0xa
add esp, 4
mov ecx, dword [ebp - 0x850]
cmp ecx, 7
jbe 0x4202e7
mov edx, dword [ebp - 0x864]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4202dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
add esp, 8
push 0x3e8
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 0x420311
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x824]
test eax, eax
je 0x420322
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x84c]
mov byte [ebp - 4], 6
cmp dword [esi], 0
jne 0x420341
cmp edi, 5
jae 0x420341
mov eax, dword [ebp - 0x820]
jmp 0x4201d4
push dword [ebp - 0x820]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x834]
cmp edi, 5
jne 0x4203ce
cmp ecx, 7
jbe 0x420396
mov edx, dword [ebp - 0x848]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42038c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
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
mov eax, dword [ebp - 0x81c]
test eax, eax
je 0x4203ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x42043a
cmp ecx, 7
jbe 0x420404
mov edx, dword [ebp - 0x848]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4203fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42045d
push ecx
push edx
call fcn.00490f7d
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 0x420438
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.00490c46
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004910bb
call fcn.004961af
int3