Function at 0x140071580
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x29], edi
lea rdx, str.MBUpdatrService::UninstallMbUpdatrService
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 [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea r8d, [rdi + 0x12]
lea rdx, str.MBAMUpdaterService
lea rcx, [rbp - 0x21]
call fcn.140030be0
nop
lea rcx, [rbp - 0x21]
call fcn.14007fed0
movzx ebx, al
lea rcx, [rbp - 0x21]
call fcn.1400166f0
test bl, bl
jne 0x140071662
lea rdx, str.MBUpdatrService_is_not_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 0x140071975
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x1f], rdi
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 0x27], rax
test rax, rax
jne 0x1400716c7
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea r8d, [rax + 0x16]
lea rdx, str.OpenSCManager_Failed:
lea rcx, [rbp - 0x21]
call fcn.140015370
nop
lea rcx, [rbp - 0x21]
call fcn.14005f630
nop
lea rcx, [rbp - 0x21]
call fcn.140016400
xor bl, bl
jmp 0x14007195f
mov r8d, 0x10024
lea rdx, str.MBAMUpdaterService
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x1f], rax
test rax, rax
jne 0x140071877
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
cmp eax, 0x424
jne 0x1400717a7
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], rdi
mov r8d, 0x23
lea rdx, str.OpenService___Service_not_installed
lea rcx, [rbp + 0x2f]
call fcn.140015370
nop
lea rcx, [rbp - 1]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007173c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov r8, qword [rbp + 0x3f]
mov rcx, rax
call fcn.1400347d0
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
nop
lea rcx, [rbp - 1]
call fcn.140016400
nop
lea rcx, [rbp + 0x2f]
call fcn.140016400
xor bl, bl
jmp 0x14007195f
lea r9, [rbp + 0x44]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x1400717b0
lea r8, [rbp + 0x44]
mov rdx, r9
lea rcx, [rbp - 1]
call fcn.14005e8b0
mov ebx, 2
mov dword [rbp - 0x29], ebx
and ebx, 0xfffffffd
mov dword [rbp - 0x29], ebx
or ebx, 1
mov dword [rbp - 0x29], ebx
mov r9d, reloc.WS2_32.dll_sendto
lea r8, str.OpenService_Failed:
xor edx, edx
lea rcx, [rbp - 1]
call fcn.140015db0
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x21], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x11], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 4
mov dword [rbp - 0x29], ebx
lea rcx, [rbp - 0x21]
call fcn.14005f4f0
and ebx, 0xfffffffb
mov dword [rbp - 0x29], ebx
lea rcx, [rbp - 0x21]
call fcn.140016400
and ebx, 0xfffffffe
mov dword [rbp - 0x29], ebx
lea rcx, [rbp - 1]
call fcn.140016400
xor bl, bl
jmp 0x14007195f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
xorps xmm0, xmm0
mov r8d, reloc.WS2_32.dll_shutdown
test eax, eax
jne 0x1400718c4
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rdx, str.DeleteSerivce_Failed:
lea rcx, [rbp - 0x21]
call fcn.140015370
nop
lea rcx, [rbp - 0x21]
call fcn.14005f630
nop
lea rcx, [rbp - 0x21]
call fcn.140016400
xor bl, bl
jmp 0x14007195f
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x47], rdi
lea rdx, str.Updatr_Service_removed
lea rcx, [rbp + 0x2f]
call fcn.140015370
nop
lea rcx, [rbp - 1]
call fcn.1400098d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400718f9
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404abb40]
call fcn.1400347d0
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov r8, qword [rbp + 0x3f]
mov rcx, rax
call fcn.1400347d0
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
nop
lea rcx, [rbp - 1]
call fcn.140016400
nop
lea rcx, [rbp + 0x2f]
call fcn.140016400
mov bl, 1
lea rcx, [rbp + 0x1f]
call fcn.1400e25a0
nop
lea rcx, [rbp + 0x27]
call fcn.1400e25a0
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret