Function at 0x14002d0f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2890]
mov eax, 0x2990
call fcn.1400bd490
sub rsp, rax
cmp dword [0x140129f48], 0
mov rsi, r9
mov r15d, r8d
mov r12, rdx
jne 0x14002d19a
mov ebx, dword [rbp + 0x28e0]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x44]
call fcn.14002cce0
test eax, eax
je 0x14002d463
mov eax, dword [rsp + 0x44]
sub eax, 1
je 0x14002d185
cmp eax, 3
jne 0x14002d4d0
mov r9d, dword [rsi]
lea r8, [0x1400e093c]
mov edx, ebx
mov rcx, rsi
call fcn.14002b6f0
jmp 0x14002d4d0
mov eax, dword [rsp + 0x40]
lea ecx, [rbx - 1]
cmp ecx, eax
cmovb eax, ecx
mov byte [rax + rsi], 0
jmp 0x14002d4d0
xor r13d, r13d
mov dword [rsp + 0x44], 4
mov r9d, 0x104
mov dword [rsp + 0x40], r13d
lea r8, [rsp + 0x60]
mov edx, r15d
mov ebx, 0x3f3
call fcn.14002caa0
mov edi, r15d
mov r14d, 0x100
and edi, r14d
mov eax, 0x200
test r15b, 4
jne 0x14002d319
test edi, edi
mov ebx, r14d
cmove ebx, eax
or ebx, 0x20019
cmp dword [0x140129f48], r13d
jne 0x14002d259
lea rax, [rsp + 0x48]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14002d314
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x890]
mov dword [rsp + 0x40], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x14002d2ff
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x60]
mov r9d, 0x7fffffff
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rbp + 0x70]
call fcn.14002b9c0
lea rax, [rsp + 0x48]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x70]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002d314
mov qword [rsp + 0x28], r13
lea rcx, [rbp + 0x278]
mov r9d, 0x7fffffff
mov qword [rsp + 0x20], r13
mov r8, r12
mov dword [rsp + 0x40], 0x1000
mov edx, 0x104
call fcn.14002b9c0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x890]
xor r8d, r8d
lea rdx, [rbp + 0x278]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002d467
mov eax, 0x200
test r15b, 1
jne 0x14002d457
test edi, edi
cmove r14d, eax
or r14d, 0x20019
cmp dword [0x140129f48], r13d
jne 0x14002d39e
lea rax, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14002d45b
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x890]
mov dword [rsp + 0x40], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x14002d44a
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x60]
mov r9d, 0x7fffffff
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rbp + 0x480]
call fcn.14002b9c0
lea rax, [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x480]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002d45b
mov qword [rsp + 0x28], r13
lea rcx, [rbp + 0x688]
mov r9d, 0x7fffffff
mov qword [rsp + 0x20], r13
mov r8, r12
mov dword [rsp + 0x40], 0x1000
mov edx, 0x104
call fcn.14002b9c0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x890]
xor r8d, r8d
lea rdx, [rbp + 0x688]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14002d467
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14002d4d5
mov eax, dword [rsp + 0x44]
sub eax, 1
je 0x14002d493
cmp eax, 3
jne 0x14002d4d0
mov edx, dword [rbp + 0x28e0]
lea r8, [0x1400e093c]
mov r9d, dword [rbp + 0x890]
mov rcx, rsi
call fcn.14002b6f0
jmp 0x14002d4d0
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov ebx, dword [rbp + 0x28e0]
lea r8, [rbp + 0x890]
shr r9d, 1
mov edx, ebx
mov qword [rsp + 0x28], r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14002b790
mov eax, dword [rsp + 0x48]
dec ebx
cmp ebx, eax
cmovb eax, ebx
mov byte [rax + rsi], r13b
mov eax, 1
lea r11, [rsp + 0x2990]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret