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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c8]
sub rsp, 0x2c8
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov r12, qword [rbp + 0x230]
mov r13, qword [rbp + 0x238]
lea rdx, str.MBUpdatrService::InstallMbUpdatrService
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, sendto
lea rdx, str.MBAMUpdaterService
lea rcx, [rsp + 0x70]
call fcn.140030be0
nop
lea rcx, [rsp + 0x70]
call fcn.14007fed0
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.1400166f0
test bl, bl
je 0x140071375
lea rdx, str.MBUpdatrService_already_installed.
lea rcx, [0x1404abb40]
call fcn.1400337c0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140034b90
movzx edx, al
mov rcx, rbx
call fcn.140034620
mov rcx, rbx
call fcn.14002ddd0
mov al, 1
jmp 0x14007155c
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.140306610
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x70], rbx
mov r8d, 0x104
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400713ee
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rbx + 0x1a]
lea rdx, str.GetModuleFileName_Failed:
lea rcx, [rsp + 0x70]
call fcn.140015370
nop
lea rcx, [rsp + 0x70]
call fcn.14005f630
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
jmp 0x140071546
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x140071449
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rax + 0x16]
lea rdx, str.OpenSCManager_Failed:
lea rcx, [rsp + 0x70]
call fcn.140015370
nop
lea rcx, [rsp + 0x70]
call fcn.14005f630
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
xor bl, bl
jmp 0x140071546
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0xf01ff
lea r8, str.Malwarebytes_Updater_Service
lea rdx, str.MBAMUpdaterService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x1400714e8
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rax + 0x16]
lea rdx, str.CreateService_Failed:
lea rcx, [rsp + 0x70]
call fcn.140015370
nop
lea rcx, [rsp + 0x70]
call fcn.14005f630
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
xor bl, bl
jmp 0x140071546
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1400730f0
test al, al
jne 0x140071544
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0x48
lea rdx, str.SetRegistryParams_Failed__the_service_will_continue_with_default_params.
lea rcx, [rsp + 0x70]
call fcn.140015370
nop
lea rcx, [rsp + 0x70]
call fcn.14005f630
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
mov bl, 1
lea rcx, [rbp - 0x70]
call fcn.1400e25a0
nop
lea rcx, [rbp - 0x68]
call fcn.1400e25a0
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret