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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8210]
mov eax, 0x8310
call fcn.1401aa6a0
sub rsp, rax
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x8200], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor r13b, r13b
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400a5a46
mov rdx, qword [rcx]
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 0x1400a5a8e
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [r15 + 0x20]
call fcn.1400272a0
mov rcx, r15
call fcn.1400272a0
xor al, al
jmp 0x1400a5e22
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1401d04f0
mov dword [rbp - 0x5c], 0x104
xor r14d, r14d
mov dword [rbp - 0x60], r14d
mov dword [rsp + 0x78], 0x3fff
lea rax, [rbp - 0x20]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x5c]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x7c]
test eax, eax
je 0x1400a5e01
mov r12d, r14d
movzx ebx, byte [rsp + 0x60]
nop dword [rax + rax]
mov dword [rsp + 0x78], 0x3fff
mov word [rbp + 0x200], r14w
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x200]
mov edx, r12d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400a5df3
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
xor r8d, r8d
lea rdx, [0x14022ee70]
lea rcx, [rbp - 0x80]
call fcn.140018360
nop
lea rax, [rbp + 0x200]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400a5bb0
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x68]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400a5bfd
lea rsi, [rcx + rdx]
mov qword [rbp - 0x70], rsi
lea rdi, [rbp - 0x80]
cmp r8, 8
cmovae rdi, qword [rbp - 0x80]
lea rcx, [rdi + rcx*2]
lea r8, [rdx + rdx]
lea rdx, [rbp + 0x200]
call fcn.1401cfe40
mov word [rdi + rsi*2], r14w
jmp 0x1400a5c16
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x200]
movzx r8d, bl
lea rcx, [rbp - 0x80]
call fcn.14002dc10
lea rdx, [rbp - 0x80]
mov r9, qword [rbp - 0x68]
cmp r9, 8
setae r11b
mov r8, qword [rbp - 0x80]
cmovae rdx, r8
mov r10, qword [rbp - 0x70]
test r10, r10
je 0x1400a5c6a
lea rcx, [r10 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x5c
je 0x1400a5c62
cmp rax, rdx
je 0x1400a5c6a
sub rax, 2
cmp word [rax], 0x5c
jne 0x1400a5c53
sub rax, rdx
sar rax, 1
jmp 0x1400a5c71
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x1400a5dbc
lea rcx, [rax + 1]
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r14w
cmp r10, rcx
jb 0x1400a5e52
mov rax, r10
sub rax, rcx
cmp rax, r10
cmovb r10, rax
lea rax, [rbp - 0x80]
test r11b, r11b
cmovne rax, r8
lea rdx, [rax + rcx*2]
mov r8, r10
lea rcx, [rbp - 0x58]
call fcn.140018360
nop
lea rcx, [r15 + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x1400a5cd4
mov rcx, qword [rcx]
mov r11, qword [r15 + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rcx + rdx*2], 0
jne 0x1400a5ce0
cmp qword [rbp - 0x48], r11
cmovb r11, qword [rbp - 0x48]
lea r10, [rbp - 0x58]
mov rsi, qword [rbp - 0x40]
cmp rsi, 8
setae r14b
mov rdi, qword [rbp - 0x58]
cmovae r10, rdi
mov r9, r11
cmp rdx, r11
cmovb r9, rdx
test r9, r9
je 0x1400a5d4f
movzx eax, word [r10]
movzx r8d, word [rcx]
cmp ax, r8w
jb 0x1400a5d77
sub r10, rcx
cmp ax, r8w
ja 0x1400a5d77
cmp r9, 1
je 0x1400a5d4f
dec r9
add rcx, 2
movzx eax, word [rcx + r10]
movzx r8d, word [rcx]
cmp ax, r8w
jae 0x1400a5d2f
jmp 0x1400a5d77
cmp r11, rdx
jb 0x1400a5d77
ja 0x1400a5d77
lea rdx, [rbp + 0x200]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movzx r13d, r13b
test eax, eax
mov eax, 1
cmove r13d, eax
test r14b, r14b
je 0x1400a5db1
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a5da9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5e5e
mov rcx, rdi
call fcn.1401a9a50
xor r14d, r14d
mov r8, qword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
cmp r9, 8
jb 0x1400a5df3
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400a5deb
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5e58
mov rcx, r8
call fcn.1401a9a50
inc r12d
cmp r12d, dword [rsp + 0x7c]
jb 0x1400a5b30
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [r15 + 0x20]
call fcn.1400272a0
mov rcx, r15
call fcn.1400272a0
movzx eax, r13b
mov rcx, qword [rbp + 0x8200]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x8310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002ab00
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
int3