Function at 0x1000fcb18
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 [0x100152198]
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, [0x100027490]
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.1000f1d78
cmp eax, esi
jge 0x1000fcbff
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 1
je 0x1000fce72
lea edx, [rsi + 0x1a]
jmp 0x1000fce5f
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 0x1000fcc8c
cmp eax, 2
jne 0x1000fcc61
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 4
je 0x1000fce72
lea edx, [rax + 0x19]
jmp 0x1000fcd5e
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 1
je 0x1000fce72
mov edx, 0x1c
jmp 0x1000fce5f
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.KERNEL32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x1000fccfb
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 1
je 0x1000fce72
mov edx, 0x1d
jmp 0x1000fce5f
cmp dword [rsp + 0x60], esi
jne 0x1000fcd29
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 4
je 0x1000fce72
mov edx, 0x1e
jmp 0x1000fcd5e
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtQuerySystemTime]
cmp eax, esi
jge 0x1000fcd73
mov rcx, qword [0x100153eb8]
lea rbx, [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 1
je 0x1000fce72
mov edx, 0x1f
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dbd8]
call fcn.100034784
jmp 0x1000fce72
mov edi, dword [rsp + 0x60]
dec edi
cmp edi, esi
jl 0x1000fce72
lea rbx, [0x100153eb8]
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.KERNEL32.dll_RegEnumValueW]
cmp eax, esi
jne 0x1000fce48
cmp dword [rsp + 0x64], 8
jne 0x1000fce16
cmp dword [rsp + 0x70], 0xb
jne 0x1000fce16
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x80], rax
jg 0x1000fce3d
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1000fce3d
mov rcx, qword [0x100153eb8]
cmp rcx, rbx
je 0x1000fce3d
test byte [rcx + 0x1c], 2
je 0x1000fce3d
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dbd8]
mov edx, 0x21
call fcn.100034784
sub edi, 1
jns 0x1000fcd88
jmp 0x1000fce72
mov rcx, qword [0x100153eb8]
cmp rcx, rbx
je 0x1000fce72
test byte [rcx + 0x1c], 1
je 0x1000fce72
mov edx, 0x20
mov rcx, qword [rcx + 0x10]
lea r8, [0x10001dbd8]
mov r9d, eax
call fcn.100036510
mov rcx, qword [rsp + 0x68]
cmp rcx, rsi
je 0x1000fce82
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.10011be80
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret