Function at 0x1000b2728
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1000de138]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rcx
mov edi, edx
xor esi, esi
lea rcx, [rsp + 0xb2]
xor edx, edx
mov r8d, 0x206
mov qword [rsp + 0x68], rsi
mov word [rsp + 0xb0], si
call sub.msvcrt.dll_memset
xor eax, eax
lea r8, [0x10001aca0]
lea rcx, [rsp + 0xb0]
mov r9, rbx
mov edx, 0x104
mov word [rsp + 0x88], si
mov qword [rsp + 0x8a], rax
mov qword [rsp + 0x92], rax
mov qword [rsp + 0x9a], rax
mov dword [rsp + 0xa2], eax
mov word [rsp + 0xa6], ax
mov dword [rsp + 0x74], esi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], eax
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x70], esi
call fcn.100058674
cmp eax, esi
jge 0x1000b280f
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 1
je 0x1000b2a82
lea edx, [rsi + 0x1a]
jmp 0x1000b2a6f
lea rax, [rsp + 0x68]
neg edi
lea rdx, [rsp + 0xb0]
sbb rcx, rcx
mov r9d, 0x2001b
xor r8d, r8d
neg rcx
mov qword [rsp + 0x20], rax
add rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x1000b289c
cmp eax, 2
jne 0x1000b2871
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 4
je 0x1000b2a82
lea edx, [rax + 0x19]
jmp 0x1000b296e
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 1
je 0x1000b2a82
mov edx, 0x1c
jmp 0x1000b2a6f
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x1000b290b
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 1
je 0x1000b2a82
mov edx, 0x1d
jmp 0x1000b2a6f
cmp dword [rsp + 0x60], esi
jne 0x1000b2939
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 4
je 0x1000b2a82
mov edx, 0x1e
jmp 0x1000b296e
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
cmp eax, esi
jge 0x1000b2983
mov rcx, qword [0x1000dedd8]
lea rbx, [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 1
je 0x1000b2a82
mov edx, 0x1f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fe8]
call fcn.100020584
jmp 0x1000b2a82
mov edi, dword [rsp + 0x60]
dec edi
cmp edi, esi
jl 0x1000b2a82
lea rbx, [0x1000dedd8]
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x64]
lea r9, [rsp + 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov edx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x74], 0x10
mov dword [rsp + 0x64], 8
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x80], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x1000b2a58
cmp dword [rsp + 0x64], 8
jne 0x1000b2a26
cmp dword [rsp + 0x70], 0xb
jne 0x1000b2a26
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x80], rax
jg 0x1000b2a4d
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1000b2a4d
mov rcx, qword [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a4d
test byte [rcx + 0x1c], 2
je 0x1000b2a4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fe8]
mov edx, 0x21
call fcn.100020584
sub edi, 1
jns 0x1000b2998
jmp 0x1000b2a82
mov rcx, qword [0x1000dedd8]
cmp rcx, rbx
je 0x1000b2a82
test byte [rcx + 0x1c], 1
je 0x1000b2a82
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002fe8]
mov r9d, eax
call fcn.100020d8c
mov rcx, qword [rsp + 0x68]
cmp rcx, rsi
je 0x1000b2a92
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1000cd7d0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret