Function at 0x140073230
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 [0x14049f3c0]
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, [0x1404b5d00]
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, socket
lea rdx, str.MBAMUpdaterService
lea rcx, [rsp + 0x70]
call fcn.140031e00
nop
lea rcx, [rsp + 0x70]
call fcn.140081e90
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.1400166f0
test bl, bl
je 0x140073335
lea rdx, str.MBUpdatrService_already_installed.
lea rcx, [0x1404b5d00]
call fcn.140034a00
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140035dd0
movzx edx, al
mov rcx, rbx
call fcn.140035860
mov rcx, rbx
call fcn.14002eff0
mov al, 1
jmp 0x14007351c
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.14030b3a0
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 0x1400733ae
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.1400615f0
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
jmp 0x140073506
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 0x140073409
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.1400615f0
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
xor bl, bl
jmp 0x140073506
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 0x1400734a8
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.1400615f0
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
xor bl, bl
jmp 0x140073506
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.1400750b0
test al, al
jne 0x140073504
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.1400615f0
nop
lea rcx, [rsp + 0x70]
call fcn.140016400
mov bl, 1
lea rcx, [rbp - 0x70]
call fcn.1400e9a10
nop
lea rcx, [rbp - 0x68]
call fcn.1400e9a10
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret