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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x8200]
mov eax, 0x8300
call fcn.140070d90
sub rsp, rax
mov rax, qword [0x1400e00c0]
xor rax, rsp
mov qword [rbp + 0x81f0], rax
mov r14, rdx
mov qword [rbp - 0x68], rdx
cmp qword [rdx + 0x18], 8
jb 0x14002b45b
mov rdx, qword [rdx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14002b49a
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r14
call fcn.140028700
xor al, al
jmp 0x14002b7d2
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.140072740
mov dword [rsp + 0x74], 0x104
xor r15d, r15d
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0x60], 0x3fff
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x74]
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x14002b7bc
mov esi, r15d
nop word [rax + rax]
mov dword [rsp + 0x60], 0x3fff
mov word [rbp + 0x1f0], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x1f0]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002b7b0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r15w
xor r8d, r8d
lea rdx, [0x1400bc2c0]
lea rcx, [rbp - 0x60]
call fcn.1400027d0
nop
lea rax, [rbp + 0x1f0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002b5c0
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp - 0x60]
call fcn.140014b80
lea rdx, [rbp - 0x60]
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x48]
cmp r9, 8
cmovae rdx, r8
mov r10, qword [rbp - 0x50]
test r10, r10
je 0x14002b62b
lea rcx, [r10 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x5c
je 0x14002b623
cmp rax, rdx
je 0x14002b62b
sub rax, 2
cmp word [rax], 0x5c
jne 0x14002b614
sub rax, rdx
sar rax, 1
jmp 0x14002b632
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x14002b779
lea rcx, [rax + 1]
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
cmp r10, rcx
jb 0x14002b7fe
mov rax, r10
sub rax, rcx
cmp rax, r10
cmovb r10, rax
lea rax, [rbp - 0x60]
cmp r9, 8
cmovae rax, r8
lea rdx, [rax + rcx*2]
mov r8, r10
lea rcx, [rbp - 0x40]
call fcn.1400027d0
nop
lea rcx, [r14 + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x14002b696
mov rcx, qword [rcx]
mov r11, qword [r14 + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rcx + rdx*2], 0
jne 0x14002b6a1
cmp qword [rbp - 0x30], r11
cmovb r11, qword [rbp - 0x30]
lea r10, [rbp - 0x40]
mov rbx, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x28]
cmp rdi, 8
cmovae r10, rbx
mov r9, r11
cmp rdx, r11
cmovb r9, rdx
test r9, r9
je 0x14002b70c
movzx eax, word [r10]
movzx r8d, word [rcx]
cmp ax, r8w
jb 0x14002b736
sub r10, rcx
cmp ax, r8w
ja 0x14002b736
cmp r9, 1
je 0x14002b70c
dec r9
add rcx, 2
movzx eax, word [rcx + r10]
movzx r8d, word [rcx]
cmp ax, r8w
jae 0x14002b6ec
jmp 0x14002b736
cmp r11, rdx
jb 0x14002b736
ja 0x14002b736
lea rdx, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14002b736
lea rcx, str.RegDeleteKey_error_n
call fcn.140002b70
nop
cmp rdi, 8
jb 0x14002b771
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002b769
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b80a
mov rcx, rbx
call fcn.140070654
mov r8, qword [rbp - 0x60]
mov r9, qword [rbp - 0x48]
cmp r9, 8
jb 0x14002b7b0
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14002b7a8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b804
mov rcx, r8
call fcn.140070654
inc esi
cmp esi, dword [rsp + 0x64]
jb 0x14002b540
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, r14
call fcn.140028700
mov al, 1
mov rcx, qword [rbp + 0x81f0]
xor rcx, rsp
call fcn.140070140
lea r11, [rsp + 0x8300]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140015b70
nop
call fcn.14007d0fc
nop
call fcn.14007d0fc
int3