Function at 0x140026880
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x140026ba2
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x4f0], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, r8
mov r14, rdx
mov rax, qword [r8]
mov qword [r8 + 8], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
call fcn.14002a2a0
mov qword [rsp + 0x48], rax
mov ebx, r15d
mov word [rbp - 0x70], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x6e]
call fcn.1400c2130
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x70]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400269d3
nop word [rax + rax]
lea r8, [rbp - 0x70]
mov rdx, r15
movzx eax, word [rbp - 0x70]
cmp ax, 0x30
jb 0x140026976
cmp ax, 0x39
ja 0x140026976
movzx eax, ax
sub eax, 0x30
movsxd rcx, eax
lea rax, [rdx + rdx*4]
lea rdx, [rcx + rax*2]
add r8, 2
movzx eax, word [r8]
cmp ax, 0x30
jae 0x140026951
mov dword [rsp + 0x40], edx
movzx eax, byte [0x1401783e2]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.14002a300
inc ebx
mov dword [rsp + 0x44], 0x104
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x70]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x140026940
mov rax, qword [rsp + 0x48]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140026b59
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [rbx + 0x1c]
lea rcx, [rsp + 0x70]
call fcn.140061a70
nop
mov word [rbp + 0x1a0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x1a2]
call fcn.1400c2130
mov dword [rsp + 0x58], 0x208
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026ad9
xor edx, edx
lea r8d, [rax + 0x10]
lea rcx, [rbp + 0x1a0]
call fcn.1400be988
mov esi, eax
mov dword [rsp + 0x40], eax
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x40]
cmp rax, rcx
jae 0x140026abb
mov rdx, qword [rdi]
lea rax, [rsp + 0x40]
cmp rdx, rax
ja 0x140026abb
lea rsi, [rsp + 0x40]
sub rsi, rdx
sar rsi, 2
cmp rcx, qword [rdi + 0x10]
jne 0x140026aa8
mov rcx, rdi
call fcn.140023640
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140026ad4
mov eax, dword [rax + rsi*4]
mov dword [rcx], eax
jmp 0x140026ad4
cmp rcx, qword [rdi + 0x10]
jne 0x140026ac9
mov rcx, rdi
call fcn.140023640
mov rax, qword [rdi + 8]
test rax, rax
je 0x140026ad4
mov dword [rax], esi
add qword [rdi + 8], 4
cmp qword [rbp - 0x78], 8
jb 0x140026aea
mov rcx, qword [rsp + 0x70]
call fcn.1400bd20c
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
cmp byte [rbx + 0x19], 0
jne 0x140026b4e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140026b2e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140026b4e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140026b20
jmp 0x140026b4e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140026b4b
cmp rbx, qword [rax + 0x10]
jne 0x140026b4b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140026b38
mov rbx, rax
cmp rbx, qword [rsp + 0x48]
jne 0x1400269f0
mov r8, qword [rsp + 0x48]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140029cc0
mov rcx, qword [rsp + 0x48]
call fcn.1400bd20c
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret