Function at 0x140029290
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x9b0]
sub rsp, 0xab0
mov r15, r8
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
mov rsi, r9
call fcn.1400452a0
xor r12d, r12d
mov dword [rsp + 0x70], 0x104
mov dword [rsp + 0x6c], r12d
mov edi, r12d
test rbx, rbx
je 0x14002953f
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x7c]
mov rcx, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
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 + 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14002953f
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x14002937d
lea rcx, [rax*2 + 2]
call fcn.1400462e4
mov rdi, rax
test rax, rax
je 0x140029379
mov word [rax], r12w
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsi], eax
mov rax, qword [rbp + 0xa00]
mov dword [rax], ecx
cmp word [r14], r12w
je 0x1400293cc
test rdi, rdi
je 0x1400293c5
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x1400293a6
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
mov al, 1
jmp 0x140029541
test ecx, ecx
je 0x14002950f
mov rsi, qword [rbp + 0xa08]
mov ebx, r12d
nop
mov qword [rsp + 0x38], r12
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], r12w
mov edx, ebx
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov eax, dword [rsp + 0x68]
cmp ebx, eax
jae 0x1400294e7
mov qword [rsp + 0x38], r12
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x3fff
mov r8, rdi
mov word [rdi], r12w
xor edx, edx
mov rcx, qword [rbp + 0x9e0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400294d9
xor edx, edx
mov dword [rsp + 0x78], 1
mov r8d, 0x800
lea rcx, [rbp + 0x1b0]
call fcn.1400452a0
lea rax, [rbp + 0x9e0]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400294d9
mov rcx, qword [rbp + 0x9e0]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x74], 0x400
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400294f3
mov eax, dword [rsp + 0x68]
inc ebx
cmp ebx, eax
jb 0x140029423
inc ebx
cmp ebx, eax
jb 0x1400293e0
jmp 0x140029514
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], r12w
jne 0x140029500
jmp 0x1400293b0
test rdi, rdi
je 0x14002953f
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], r12w
jne 0x140029520
add r8, r8
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
xor al, al
lea r11, [rsp + 0xab0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret