Function at 0x14008f1f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r12d, r12d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14008f233
mov rcx, qword [rdx]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, str.namespaceRootId
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], send
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.140252094
nop
lea rax, str.Unregistering_OneDrive_namespace_root
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x25
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, str.NamespaceRootUtil::UnregisterOneDriveNamespaceRoot
mov r8d, 0x157
lea rdx, str.D:dbs_shodct0811_230641cmd_fclientonedriveProductCommonCommonUtilNamespaceRootUtil.cpp
mov cl, 0xa
call fcn.140087784
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14008f2f2
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008f2ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008f639
call fcn.1400b4f0c
mov dword [rbp - 0x79], 1
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008f306
mov rdx, qword [rbx]
mov qword [rbp - 0x49], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14008f319
lea rcx, [rbp - 0x49]
call fcn.14000b890
nop
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call fcn.14008f640
mov r14d, eax
lea rcx, [rbp - 0x49]
call fcn.14000a1f8
lea rax, [0x1402d6410]
mov r13d, 2
test r14d, r14d
jns 0x14008f3b3
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], r14d
lea rax, str.Failed_to_remove_32_bit_namespace_root_CLSID
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x2c
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, str.NamespaceRootUtil::UnregisterOneDriveNamespaceRoot
mov r8d, 0x15b
lea rdx, str.D:dbs_shodct0811_230641cmd_fclientonedriveProductCommonCommonUtilNamespaceRootUtil.cpp
mov cl, setsockopt
call fcn.14008cee8
mov dword [rbp - 0x79], r13d
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008f3c4
mov rdx, qword [rbx]
mov qword [rbp - 0x49], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14008f3d3
lea rcx, [rbp - 0x49]
call fcn.14000b890
nop
mov r9, r15
mov r8, rsi
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call fcn.14008f640
mov esi, eax
lea rcx, [rbp - 0x49]
call fcn.14000a1f8
test esi, esi
jns 0x14008f464
lea rax, [0x1402d6410]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], esi
lea rax, str.Failed_to_remove_64_bit_namespace_root_CLSID
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x2c
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, str.NamespaceRootUtil::UnregisterOneDriveNamespaceRoot
mov r8d, 0x15e
lea rdx, str.D:dbs_shodct0811_230641cmd_fclientonedriveProductCommonCommonUtilNamespaceRootUtil.cpp
mov cl, setsockopt
call fcn.14008cee8
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_]
mov qword [rbp - 9], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
inc rdi
cmp word [rdx + rdi*2], r12w
jne 0x14008f477
mov r8, rdi
lea rcx, [rbp - 9]
call fcn.14000b890
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14008f49b
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 9]
call fcn.14000a25c
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
xor r9d, r9d
mov edi, 0x1010b
mov r8d, edi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x14008f537
lea rax, [0x1402d6410]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], esi
lea rax, str.Failed_to_remove_explorer_NameSpace
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x23
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, str.NamespaceRootUtil::UnregisterOneDriveNamespaceRoot
mov r8d, 0x166
lea rdx, str.D:dbs_shodct0811_230641cmd_fclientonedriveProductCommonCommonUtilNamespaceRootUtil.cpp
mov cl, setsockopt
call fcn.14008cee8
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, edi
xor r8d, r8d
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx edi, ax
mov r15d, 0x80070000
or edi, r15d
test eax, eax
cmovle edi, eax
test edi, edi
js 0x14008f59b
cmp qword [rbx + 0x18], 8
jb 0x14008f575
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movzx edi, ax
or edi, r15d
test eax, eax
cmovle edi, eax
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jns 0x14008f5f6
lea rax, [0x1402d6410]
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], edi
lea rax, str.Failed_to_remove_NewStartPanel
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], 0x1e
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
lea r9, str.NamespaceRootUtil::UnregisterOneDriveNamespaceRoot
mov r8d, 0x16f
lea rdx, str.D:dbs_shodct0811_230641cmd_fclientonedriveProductCommonCommonUtilNamespaceRootUtil.cpp
mov cl, setsockopt
call fcn.14008cee8
call fcn.14008f6fc
test esi, esi
cmovne edi, esi
test r14d, r14d
cmovne edi, r14d
lea rcx, [rbp - 9]
call fcn.14000a1f8
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c9a68
int3