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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
cmp qword [rdx + 0x18], 8
jb 0x1400ba7ba
mov rdx, qword [rdx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400ba7e5
xor al, al
jmp 0x1400bab42
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r12d, r12d
mov edi, r12d
mov qword [rsp + 0x58], r12
mov r15d, r12d
mov word [rbp - 0x70], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.1400c2130
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
test eax, eax
jne 0x1400baabb
movabs r13, 0x7ffffffffffffff
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
cmp word [rbp - 0x70], 0
jne 0x1400ba87e
mov r8, r12
jmp 0x1400ba89b
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ba890
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140006900
nop
lea rax, [rsp + 0x70]
cmp rax, rbx
jae 0x1400ba970
lea rax, [rsp + 0x70]
cmp r14, rax
ja 0x1400ba970
lea rsi, [rsp + 0x70]
sub rsi, r14
cmp rbx, rdi
jne 0x1400ba940
mov rax, rdi
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x1400ba940
sub rbx, r14
sar rbx, 5
mov rax, r13
sub rax, rbx
cmp rax, 1
jb 0x1400baaa1
inc rbx
sub rdi, r14
sar rdi, 5
mov rcx, rdi
shr rcx, 1
mov rax, r13
sub rax, rcx
cmp rax, rdi
jae 0x1400ba91a
mov rdi, r12
jmp 0x1400ba91d
add rdi, rcx
cmp rdi, rbx
cmovb rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000ee10
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
and rsi, 0xffffffffffffffe0
add rsi, r14
test rbx, rbx
je 0x1400baa48
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov rdx, rsi
mov rcx, rbx
call fcn.14000b0c0
jmp 0x1400baa48
cmp rbx, rdi
jne 0x1400ba9e2
mov rax, rdi
sub rax, rbx
sar rax, 5
cmp rax, 1
jae 0x1400ba9e2
sub rbx, r14
sar rbx, 5
mov rax, r13
sub rax, rbx
cmp rax, 1
jb 0x1400baaae
inc rbx
sub rdi, r14
sar rdi, 5
mov rcx, rdi
shr rcx, 1
mov rax, r13
sub rax, rcx
cmp rax, rdi
jae 0x1400ba9bc
mov rdi, r12
jmp 0x1400ba9bf
add rdi, rcx
cmp rdi, rbx
cmovb rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14000ee10
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x48]
test rbx, rbx
je 0x1400baa48
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
cmp qword [rbp - 0x78], 8
jae 0x1400baa19
mov r8, qword [rbp - 0x80]
inc r8
je 0x1400baa26
add r8, r8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400bcb10
jmp 0x1400baa26
mov rax, qword [rsp + 0x70]
mov qword [rbx], rax
mov qword [rsp + 0x70], r12
mov rax, qword [rbp - 0x80]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0x18], rax
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
add rbx, 0x20
mov qword [rsp + 0x50], rbx
cmp qword [rbp - 0x78], 8
jb 0x1400baa62
mov rcx, qword [rsp + 0x70]
call fcn.1400bd20c
inc r15d
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
mov edx, r15d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400baabb
jmp 0x1400ba860
lea rcx, str.vector_T__too_long
call fcn.1400bbc18
int3
lea rcx, str.vector_T__too_long
call fcn.1400bbc18
nop
mov rsi, rbx
sub rsi, r14
sar rsi, 5
test rsi, rsi
je 0x1400baaf3
mov rdi, r14
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x1400baadc
mov rdx, qword [rdi]
jmp 0x1400baadf
mov rdx, rdi
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rdi, 0x20
dec rsi
jne 0x1400baad0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r14, r14
je 0x1400bab40
mov rdi, r14
cmp r14, rbx
je 0x1400bab38
nop dword [rax]
cmp qword [rdi + 0x18], 8
jb 0x1400bab1f
mov rcx, qword [rdi]
call fcn.1400bd20c
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
add rdi, 0x20
cmp rdi, rbx
jne 0x1400bab10
mov rcx, r14
call fcn.1400bd20c
mov al, 1
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret