Function at 0x140073540
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 [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x29], edi
lea rdx, str.MBUpdatrService::UninstallMbUpdatrService
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 [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.140031e00
nop
lea rcx, [rbp - 0x21]
call fcn.140081e90
movzx ebx, al
lea rcx, [rbp - 0x21]
call fcn.1400166f0
test bl, bl
jne 0x140073622
lea rdx, str.MBUpdatrService_is_not_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 0x140073935
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 0x140073687
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.1400615f0
nop
lea rcx, [rbp - 0x21]
call fcn.140016400
xor bl, bl
jmp 0x14007391f
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 0x140073837
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
cmp eax, 0x424
jne 0x140073767
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 0x1400736fc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov r8, qword [rbp + 0x3f]
mov rcx, rax
call fcn.140035a10
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
nop
lea rcx, [rbp - 1]
call fcn.140016400
nop
lea rcx, [rbp + 0x2f]
call fcn.140016400
xor bl, bl
jmp 0x14007391f
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 0x140073770
lea r8, [rbp + 0x44]
mov rdx, r9
lea rcx, [rbp - 1]
call fcn.140060870
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.1400614b0
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 0x14007391f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
xorps xmm0, xmm0
mov r8d, reloc.WS2_32.dll_shutdown
test eax, eax
jne 0x140073884
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.1400615f0
nop
lea rcx, [rbp - 0x21]
call fcn.140016400
xor bl, bl
jmp 0x14007391f
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 0x1400738b9
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b5d00]
call fcn.140035a10
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rdx, qword [rbp + 0x2f]
mov r8, qword [rbp + 0x3f]
mov rcx, rax
call fcn.140035a10
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
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.1400e9a10
nop
lea rcx, [rbp + 0x27]
call fcn.1400e9a10
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret