Function at 0x4167c0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4de080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
jne 0x41689b
lea ecx, [ebp - 0x50]
call fcn.00467c30
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x416811
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x147
mov ecx, eax
call fcn.0040f7e0
mov edx, str.:_Error___empty_service_path
mov ecx, eax
call fcn.00411040
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 7
jbe 0x416894
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41688a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c08
push ecx
push edx
call fcn.0048355d
add esp, 8
xor al, al
jmp 0x416beb
push 0x60000000
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 1
test esi, esi
jne 0x416932
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.00467c30
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x4168d9
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x14f
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Error_opening_SCM:
mov ecx, eax
call fcn.00411040
push esi
mov ecx, eax
call fcn.0041b4e0
jmp 0x416851
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
mov eax, edi
mov ecx, dword [edi + 0x14]
cmp ecx, 7
jbe 0x41695d
mov eax, dword [edi]
cmp word [eax], 0x22
jne 0x416980
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4169a5
mov eax, dword [edi + 0x10]
cmp ecx, 7
jbe 0x416974
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040db20
jmp 0x4169a5
push 1
push 0x4c1c98
lea ecx, [ebp - 0x28]
call fcn.0040db20
push edi
lea ecx, [ebp - 0x28]
call fcn.0040dab0
push 0x4c1c98
lea ecx, [ebp - 0x28]
call fcn.0040d6d0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0x4c0c34
cmova eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x10
push 0xf01ff
push 0x4c1c9c
push str.MBAMInstallerService
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
test edi, edi
jne 0x416ace
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
mov dword [ebp - 0x38], eax
call edi
lea ecx, [ebp - 0x50]
call fcn.00467c30
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x416a14
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x173
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Error_creating
mov ecx, eax
call fcn.00411040
mov edx, str.MBAMInstallerService
mov ecx, eax
call fcn.0041b8f0
mov edx, str.__status:
mov ecx, eax
call fcn.00411040
push dword [ebp - 0x38]
mov ecx, eax
call fcn.0041b4e0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 7
jbe 0x416ac5
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416abb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c08
push ecx
push edx
call fcn.0048355d
add esp, 8
mov byte [ebp - 0x31], 0
jmp 0x416b9b
lea ecx, [ebp - 0x68]
call fcn.00467c30
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x416ae5
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e14e8
call fcn.00412510
add esp, 4
mov edx, 0x4c17e8
mov ecx, eax
call fcn.00411040
mov edx, 0x4c14f8
mov ecx, eax
call fcn.00411040
push 0x178
mov ecx, eax
call fcn.0040f7e0
mov edx, 0x4c1738
mov ecx, eax
call fcn.00411040
mov edx, str.Created_service
mov ecx, eax
call fcn.00411040
mov edx, str.MBAMInstallerService
mov ecx, eax
call fcn.0041b8f0
push eax
call fcn.004113c0
mov ecx, dword [ebp - 0x54]
add esp, 4
cmp ecx, 7
jbe 0x416b80
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416b76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c08
push ecx
push edx
call fcn.0048355d
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 0x31], 1
call edi
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x416bd1
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416bc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c08
push ecx
push edx
call fcn.0048355d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call edi
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483226
mov esp, ebp
pop ebp
ret 4
call fcn.0048878f
int3