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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463948
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x483068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x60000000
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
test esi, esi
jne 0x40315e
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0041f060
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4030c0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4858e0
call fcn.00408830
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupinstallerservicefactory.cpp
mov ecx, eax
call fcn.004073d0
mov edx, 0x476f7c
mov ecx, eax
call fcn.004073d0
push 0xb7
mov ecx, eax
call fcn.00405950
mov edx, 0x4778b4
mov ecx, eax
call fcn.004073d0
mov edx, str.Error_opening_SCM:
mov ecx, eax
call fcn.004073d0
push esi
mov ecx, eax
call fcn.00405610
push eax
call fcn.00407a20
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x403157
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40314d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032d5
push edx
push ecx
call fcn.004290dc
add esp, 8
xor bl, bl
jmp 0x403280
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x476f08
cmovae eax, dword [ebp + 8]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push 0x10
push 0xf01ff
push str.Malwarebytes_Installer_Service
push str.MBAMInstallerService
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x403270
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.0041f060
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4031c1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4858e0
call fcn.00408830
add esp, 4
mov edx, str.d:jenkinsworkspace_a_mb4_mbsetup_srcmbsetupinstallerservicefactory.cpp
mov ecx, eax
call fcn.004073d0
mov edx, 0x476f7c
mov ecx, eax
call fcn.004073d0
push 0xcb
mov ecx, eax
call fcn.00405950
mov edx, 0x4778b4
mov ecx, eax
call fcn.004073d0
mov edx, str.Error_creating
mov ecx, eax
call fcn.004073d0
mov edx, str.MBAMInstallerService
mov ecx, eax
call fcn.00407760
mov edx, str.__status:
mov ecx, eax
call fcn.004073d0
push ebx
mov ecx, eax
call fcn.00405610
push eax
call fcn.00407a20
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 8
jb 0x40326c
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403262
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032da
push edx
push ecx
call fcn.004290dc
add esp, 8
xor bl, bl
jmp 0x403279
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4032b6
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032df
push edx
push ecx
call fcn.004290dc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004290a8
mov esp, ebp
pop ebp
ret 0x18
call fcn.00443bfc
call fcn.00443bfc
call fcn.00443bfc
int3