Function at 0x140003130
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push r15
mov eax, 0x42b8
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.140016f40
sub rsp, rax
xor ebp, ebp
mov qword [rsp + 0x4300], rcx
mov rbx, r8
mov esi, r9d
mov qword [rsp + 0x4308], rdx
mov dword [rsp + 0xa4], ebp
mov dword [rsp + 0xa8], ebp
cmp r9d, 3
jle 0x140003186
lea rdx, [0x1400d4400]
call fcn.14000154a
jmp 0x14000390b
lea rax, [rsp + 0xa8]
xor r10d, r10d
xor r11d, r11d
xor edx, edx
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
xor edi, edi
lea rax, [rsp + 0xa4]
lea r13, [rsp + 0xa0]
mov qword [rsp + 0x58], r10
mov rcx, qword [rsp + 0x4308]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xd0], rdx
mov byte [rsp + 0xe0], 0
test eax, eax
je 0x14000322d
mov rcx, qword [rsp + 0x4300]
lea rbx, [rsp + 0xd0]
mov rdx, rbx
call fcn.1400ab7e0
mov rcx, rbx
call fcn.1400a8d40
jmp 0x14000390b
cmp dword [rsp + 0xa8], 0
jne 0x14000324e
mov r15, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor r12d, r12d
lea rdi, [rsp + 0x230]
jmp 0x140003726
lea rax, [rsp + 0xac]
mov r14, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edi, edi
mov qword [rsp + 0x98], rax
cmp edi, dword [rsp + 0xa8]
jae 0x140003237
xor r9d, r9d
lea rbp, [rsp + 0x230]
mov edx, edi
mov dword [rsp + 0xac], 0x3fff
mov qword [rsp + 0x38], r9
mov rcx, qword [rsp + 0x4308]
mov r8, rbp
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1400036db
xor ecx, ecx
xor r8d, r8d
lea r15, [rsp + 0xb0]
mov rdx, rbp
lea r12, [rsp + 0xb4]
mov dword [rsp + 0xb4], ecx
mov r9, r15
mov rcx, qword [rsp + 0x4308]
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov qword [rsp + 0x28], r12
call r14
test eax, eax
jne 0x1400036db
mov edx, dword [rsp + 0xb4]
lea rcx, [rsp + 0xb8]
call fcn.140001622
mov qword [rsp + 0x28], r12
mov r9, r15
xor r8d, r8d
mov rdx, rbp
lea r12, [rsp + 0x2b1]
lea rax, [rsp + 0xb8]
mov rcx, qword [rsp + 0x4308]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x90], rax
call r14
test eax, eax
jne 0x1400036ce
lea rax, [rsp + 0xf0]
mov rdx, qword [rbx]
mov rcx, rax
mov qword [rsp + 0x80], rax
call fcn.14000154a
lea rax, [rsp + 0x110]
mov r9d, dword [rsp + 0xb4]
mov edx, dword [rsp + 0xb0]
mov r8, r12
mov rcx, rax
mov qword [rsp + 0x78], rax
call fcn.140002948
lea rax, [rsp + 0x130]
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x88], rax
call fcn.14000154a
lea rax, [rsp + 0x210]
lea rdx, [0x1400d40ba]
mov rcx, rax
mov qword [rsp + 0x68], rax
call fcn.14000154a
lea rax, [rsp + 0x1f0]
lea rdx, [0x1400d40bd]
mov rcx, rax
mov qword [rsp + 0x70], rax
call fcn.14000154a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140001795
mov rcx, qword [rsp + 0x70]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
lea rdx, str.
call fcn.14000154a
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1400d44de]
call fcn.14000154a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140001795
mov rcx, qword [rsp + 0x70]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
lea rdx, [0x1400d44c9]
call fcn.14000154a
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1400d40bd]
call fcn.14000154a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
call fcn.140001795
mov rcx, qword [rsp + 0x70]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
lea rdx, [0x1400d44e0]
call fcn.14000154a
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1400d409f]
call fcn.14000154a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call fcn.140001795
mov rcx, qword [rsp + 0x70]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
lea rdx, [0x1400d44c9]
call fcn.14000154a
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1400d40bd]
call fcn.14000154a
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
call fcn.140001795
mov rcx, qword [rsp + 0x70]
lea rbp, [rsp + 0x150]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
lea rax, [rsp + 0x160]
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x158], rdx
lea rdx, [rax + 3]
mov byte [rsp + 0x160], 0
call fcn.1400ab2f0
mov r8d, 3
lea rdx, [0x1400d44e3]
mov rcx, rbp
call fcn.1400aa000
mov rdx, qword [rsp + 0x80]
mov rcx, rbp
call fcn.1400aa0b0
jmp 0x1400035ac
lea rbp, [rsp + 0x170]
lea rdx, [rsp + 0x150]
lea r8, [0x1400d44c9]
mov rcx, rbp
call fcn.1400c8260
mov rdx, qword [rsp + 0x88]
mov rcx, rbp
call fcn.1400aa0b0
lea rbp, [rsp + 0x190]
mov rdx, rax
lea r15, [rsp + 0x1b0]
mov rcx, rbp
call fcn.1400ab7e0
lea r8, [0x1400d44e7]
mov rdx, rbp
mov rcx, r15
call fcn.1400c8260
lea r12, [rsp + 0x1d0]
lea r8, [0x1400d44ea]
mov rdx, r15
mov rcx, r12
call fcn.1400c8260
mov rdx, qword [rsp + 0x78]
mov rcx, r12
call fcn.1400aa0b0
mov rcx, qword [rsp + 0x70]
mov rdx, rax
call fcn.1400ab7e0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
lea r8, [0x1400d41f0]
call fcn.1400c8260
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140001698
mov rcx, qword [rsp + 0x68]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x70]
call fcn.1400a8d40
mov rcx, r12
call fcn.1400a8d40
mov rcx, r15
call fcn.1400a8d40
mov rcx, rbp
call fcn.1400a8d40
lea rcx, [rsp + 0x170]
call fcn.1400a8d40
lea rcx, [rsp + 0x150]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x88]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x78]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x80]
call fcn.1400a8d40
mov rcx, qword [rsp + 0x90]
call fcn.140084090
inc edi
jmp 0x140003267
xor eax, eax
lea r14, [rsp + 0x2b1]
mov r9, r13
mov edx, r12d
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x4308]
mov r8, r14
mov dword [rsp + 0xa0], 0xff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call r15
test eax, eax
je 0x140003735
inc r12d
cmp r12d, dword [rsp + 0xa4]
jb 0x1400036e2
jmp 0x140003208
mov rdx, rbx
mov rcx, rdi
call fcn.1400ab9a0
lea rdx, [0x1400d40bd]
mov rcx, rdi
call fcn.1400a9f40
jmp 0x140003756
lea rbp, [rsp + 0x210]
mov r8, r14
mov rdx, rdi
mov rcx, rbp
call fcn.1400c8260
mov rcx, rdi
call fcn.1400a8d40
lea rax, [rsp + 0x1f0]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x4308]
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400037ac
mov rcx, rbp
call fcn.1400a8d40
jmp 0x140003723
mov rdx, qword [rsp + 0x1f0]
lea r9d, [rsi + 1]
mov r8, rbp
mov rcx, rdi
call fcn.140003130
lea rcx, [rsp + 0xd0]
mov rdx, rdi
call fcn.1400aa0b0
mov rcx, rdi
call fcn.1400a8d40
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000379f
mov rax, qword [rsp + 0x4300]
add rsp, 0x42b8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret