Function at 0x140057e80
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 - 0x1d8]
sub rsp, 0x2d8
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov r12, qword [rbp + 0x240]
mov r13, qword [rbp + 0x248]
lea rdx, str.MBUpdatrService::InstallMbUpdatrService
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x80], xmm1
xor eax, eax
mov word [rsp + 0x70], ax
lea r8d, [rax + 0x12]
lea rdx, str.MBAMUpdaterService
lea rcx, [rsp + 0x70]
call fcn.14000d3a0
nop
lea rcx, [rsp + 0x70]
call fcn.140067060
movzx ebx, al
lea rcx, [rsp + 0x70]
call fcn.14000c340
test bl, bl
je 0x140057f97
lea rdx, str.MBUpdatrService_already_installed.
lea rcx, [0x14047aa00]
call fcn.140036d30
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002c400
movzx edx, al
mov rcx, rbx
call fcn.14003af60
mov rcx, rbx
call fcn.14000bf70
mov al, 1
jmp 0x140058167
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.140286140
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x60], rbx
mov r8d, 0x104
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140058004
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], bl
lea r8d, [rbx + 0x1a]
lea rdx, str.GetModuleFileName_Failed:
lea rcx, [rsp + 0x70]
call fcn.14000bc80
nop
jmp 0x1400580e6
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp - 0x58], rax
test rax, rax
jne 0x140058054
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.OpenSCManager_Failed:
lea rcx, [rsp + 0x70]
call fcn.14000bc80
nop
jmp 0x1400580e6
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 - 0x50]
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 - 0x60], rax
test rax, rax
jne 0x1400580f4
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.CreateService_Failed:
lea rcx, [rsp + 0x70]
call fcn.14000bc80
nop
lea rcx, [rsp + 0x70]
call fcn.14004c820
xor bl, bl
jmp 0x140058151
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
mov r9, r15
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140059b60
test al, al
jne 0x14005814f
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov r8d, 0x48
lea rdx, str.SetRegistryParams_Failed__the_service_will_continue_with_default_params.
lea rcx, [rsp + 0x70]
call fcn.14000bc80
nop
lea rcx, [rsp + 0x70]
call fcn.14004c820
mov bl, 1
lea rcx, [rbp - 0x60]
call fcn.1400baff0
nop
lea rcx, [rbp - 0x58]
call fcn.1400baff0
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret