Function at 0x1400fa7a0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
xor edx, edx
xor ecx, ecx
call fcn.1401d3b80
mov rdi, rax
mov qword [rbp + 0x17], rax
xor esi, esi
mov qword [rbp + 0x1f], rsi
movdqa xmm0, xmmword [0x14060af30]
movdqu xmmword [rbp + 0x2f], xmm0
mov word [rbp + 0x1f], si
mov dword [rbp + 0x3f], 2
mov rcx, rax
call fcn.140109c20
test eax, eax
jne 0x1400fa9de
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
call fcn.1401d3600
mov ebx, 0x200
mov ecx, 0x100
cmp eax, 0xc
cmove ebx, ecx
or ebx, 0xf003f
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], si
lea r8d, [rsi + 0x41]
lea rdx, str.SOFTWARESophosRemote_Management_SystemManagementAgentAdapters
lea rcx, [rbp - 0x59]
call fcn.1400739a0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x14060af30]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], si
mov dword [rbp + 0xf], 2
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.1400739a0
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rdx, qword [rbp - 0x59]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x1400fa910
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fa90b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400faa24
call fcn.140359090
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], si
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400fa9c5
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 7
mov r8d, 4
lea rdx, [0x1405f5f58]
lea rcx, [rbp - 0x39]
call fcn.1400739a0
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rdx, qword [rbp - 0x39]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x1400fa9ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fa9a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400faa1e
call fcn.140359090
test bl, bl
je 0x1400fa9c1
lea rdx, str._Settings__Successfully_unregistered_legacy_HMPA_adapter.
mov ecx, 1
call fcn.140109e80
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1400fa9d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x19], rsi
lea rcx, [rbp - 0x11]
call fcn.140073b90
nop
test rdi, rdi
je 0x1400fa9f0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x17], rsi
lea rcx, [rbp + 0x1f]
call fcn.140073b90
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
int3