Function at 0x10003d994
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x10004a110]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x58]
xor edi, edi
mov esi, 0x2001f
lea rdx, [0x10001edf0]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov r9d, esi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003dc33
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022cf0]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ebp, [rdi + 0x64]
cmp eax, edi
jne 0x10003dabc
mov ebx, edi
xor edx, edx
jmp 0x10003da80
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r9d, esi
xor r8d, r8d
inc ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003da7e
lea rcx, [rsp + 0x60]
call fcn.100046530
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1000204b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
cmp eax, edi
je 0x10003da36
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022d08]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003db72
mov ebx, edi
xor edx, edx
jmp 0x10003db36
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r9d, esi
xor r8d, r8d
inc ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003db34
lea rcx, [rsp + 0x60]
call fcn.100038754
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1000204b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
cmp eax, edi
je 0x10003daec
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100022d20]
mov r9d, esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003dc28
mov ebx, edi
xor edx, edx
jmp 0x10003dbec
lea rax, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r9d, esi
xor r8d, r8d
inc ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003dbea
lea rcx, [rsp + 0x60]
call fcn.1000390fc
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1000204b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, ebx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov rcx, qword [rsp + 0x48]
cmp eax, edi
je 0x10003dba2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, 0xffffffff80000001
lea rdx, [0x100022d30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, edi
je 0x10003dc5d
lea rdx, [0x100022d30]
mov rcx, rbx
call fcn.1000426b0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x3000
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1000475f0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret