Function at 0x1400a5320
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.1401aa0b0
sub rsp, rax
mov rax, qword [0x1402be5c8]
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 0x1400a5376
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 0x1400a53be
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 0x1400a5752
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x10]
call fcn.1401cff00
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 0x1400a5731
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 0x1400a5723
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, [0x14022de70]
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 0x1400a54e0
mov rcx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x68]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400a552d
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.1401cf850
mov word [rdi + rsi*2], r14w
jmp 0x1400a5546
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 0x1400a559a
lea rcx, [r10 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rax, [rdx + rax*2]
cmp word [rax], 0x5c
je 0x1400a5592
cmp rax, rdx
je 0x1400a559a
sub rax, 2
cmp word [rax], 0x5c
jne 0x1400a5583
sub rax, rdx
sar rax, 1
jmp 0x1400a55a1
mov rax, 0xffffffffffffffff
cmp rax, 0xffffffffffffffff
je 0x1400a56ec
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 0x1400a5782
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 0x1400a5604
mov rcx, qword [rcx]
mov r11, qword [r15 + 0x30]
mov rdx, 0xffffffffffffffff
nop
inc rdx
cmp word [rcx + rdx*2], 0
jne 0x1400a5610
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 0x1400a567f
movzx eax, word [r10]
movzx r8d, word [rcx]
cmp ax, r8w
jb 0x1400a56a7
sub r10, rcx
cmp ax, r8w
ja 0x1400a56a7
cmp r9, 1
je 0x1400a567f
dec r9
add rcx, 2
movzx eax, word [rcx + r10]
movzx r8d, word [rcx]
cmp ax, r8w
jae 0x1400a565f
jmp 0x1400a56a7
cmp r11, rdx
jb 0x1400a56a7
ja 0x1400a56a7
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 0x1400a56e1
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a56d9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a578e
mov rcx, rdi
call fcn.1401a9460
xor r14d, r14d
mov r8, qword [rbp - 0x80]
mov r9, qword [rbp - 0x68]
cmp r9, 8
jb 0x1400a5723
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400a571b
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a5788
mov rcx, r8
call fcn.1401a9460
inc r12d
cmp r12d, dword [rsp + 0x7c]
jb 0x1400a5460
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.1401a9440
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.1401e37cc
nop
call fcn.1401e37cc
int3