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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
mov rsi, rcx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401d6c97
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1401d6c8d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], r15
mov ebx, r15d
cmp dword [rbp - 0x74], r15d
jbe 0x1401d6b92
nop dword [rax + rax]
mov dword [rbp - 0x78], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401d6b87
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401d6af0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1400739a0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, qword [rbp - 0x58]
je 0x1401d6b37
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov eax, 7
mov word [rsp + 0x60], r15w
add qword [rbp - 0x60], 0x20
jmp 0x1401d6b4a
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140079680
mov rax, qword [rsp + 0x78]
cmp rax, 8
jb 0x1401d6b87
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d6b82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d6d2d
call fcn.140359090
inc ebx
cmp ebx, dword [rbp - 0x74]
jb 0x1401d6a90
mov rbx, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1401d6bcd
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d6bad
mov rdx, qword [rbx]
mov r8d, 0x100
mov rcx, qword [rbp - 0x80]
call fcn.1401d69d0
test eax, eax
jne 0x1401d6c2c
add rbx, 0x20
cmp rbx, rdi
jne 0x1401d6ba0
mov rbx, qword [rbp - 0x68]
mov edi, r15d
cmp dword [rbp - 0x70], r15d
jbe 0x1401d6c30
nop word [rax + rax]
mov dword [rbp - 0x78], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x50]
mov edx, edi
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1401d6c25
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1401d6c2c
inc edi
cmp edi, dword [rbp - 0x70]
jb 0x1401d6be0
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x1401d6c8d
mov rdi, qword [rbp - 0x60]
cmp rbx, rdi
je 0x1401d6c55
nop
mov rcx, rbx
call fcn.140073b90
add rbx, 0x20
cmp rbx, rdi
jne 0x1401d6c40
mov rbx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x58]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401d6c85
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401d6d33
mov rcx, rbx
call fcn.140359090
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x14068a740]
test rax, rax
jne 0x1401d6cf2
call fcn.1401d3600
cmp eax, 9
jne 0x1401d6cd8
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1401d6cd8
lea rdx, [0x1405f52a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14068a740], rax
jmp 0x1401d6cdf
mov rax, qword [0x14068a740]
test rax, rax
jne 0x1401d6cf2
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1401d6d07
xor r9d, r9d
mov r8d, 0x100
mov rdx, r14
mov rcx, rsi
call qword [case.0x1401cd220.0]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
int3