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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xfa0
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0xf90], rax
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
lea rax, [rsp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0xb0], 0x104
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0x78], 0
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x98], 0
lea rcx, [rsp + 0x150]
call fcn.1400150f0
nop
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x84], 0
lea rax, [rsp + 0x3d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e8
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x3e8
mov rcx, qword [rsp + 0xfb8]
call fcn.140016520
mov r8, rax
lea rdx, str._n__s__n
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x9c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0xfb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [rsp + 0x78], 0
je 0x1400f86e6
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x84], 0
jmp 0x1400f83a7
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x68], eax
jae 0x1400f86e6
mov dword [rsp + 0x80], 0x3e8
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x3e8
jae 0x1400f83e1
jmp 0x1400f83e6
call fcn.140222bbc
mov rax, qword [rsp + 0xb8]
mov byte [rsp + rax + 0x3d0], 0
mov dword [rsp + 0x8c], 0
lea rax, [rsp + 0x7c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x7d0
rep stosb byte [rdi], al
mov dword [rsp + 0x90], 0x7d0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x3d0]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xfb0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rsp + 0x84], eax
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1400f84a0
lea rdx, [0x14030cb20]
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp qword [rsp + 0xfc8], 0
je 0x1400f853b
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0x170]
call fcn.14002b570
nop
mov eax, dword [rsp + 0x60]
or eax, 1
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0xfc8]
call fcn.1400f9ad0
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0xfc8]
call fcn.140020530
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400f853b
mov dword [rsp + 0x88], 1
jmp 0x1400f8546
mov dword [rsp + 0x88], 0
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x60]
and eax, 1
test eax, eax
je 0x1400f856f
and dword [rsp + 0x60], 0xfffffffe
lea rcx, [rsp + 0x170]
call fcn.140015480
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1400f857d
jmp 0x1400f839d
lea r8, [rsp + 0x3d0]
lea rdx, [0x14030cb2c]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 1
je 0x1400f85e3
cmp dword [rsp + 0x7c], 3
je 0x1400f864b
cmp dword [rsp + 0x7c], 4
je 0x1400f85c2
jmp 0x1400f86cd
mov r8d, dword [rsp + 0x7c0]
lea rdx, [0x14030cb40]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
jmp 0x1400f86e1
lea rdx, [rsp + 0x7c0]
lea rcx, [rsp + 0x130]
call fcn.14002b570
nop
lea rcx, [rsp + 0x130]
call fcn.1400f99b0
lea rcx, [rsp + 0x130]
call fcn.140016520
mov r8, rax
lea rdx, [0x14030cb50]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
nop
lea rcx, [rsp + 0x130]
call fcn.140015480
jmp 0x1400f86e1
lea rdx, [0x14030cb34]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0x7c0]
mov r8d, eax
lea rdx, [0x14030c9fc]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
mov dword [rsp + 0x6c], 1
jmp 0x1400f869b
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x6c], eax
jae 0x1400f86cd
mov eax, dword [rsp + 0x6c]
movzx eax, byte [rsp + rax + 0x7c0]
mov r8d, eax
lea rdx, [0x14030cb58]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
jmp 0x1400f8691
lea rdx, [0x14030ca94]
mov rcx, qword [rsp + 0xfc0]
call fcn.1400f9bd0
jmp 0x1400f839d
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
jmp 0x1400f8702
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x74], 0
jne 0x1400f88b7
mov r9d, 0x104
lea r8, [rsp + 0x1b0]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xfb0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400f88b2
cmp qword [rsp + 0xfc8], 0
je 0x1400f87d7
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x190]
call fcn.14002b570
nop
mov eax, dword [rsp + 0x60]
or eax, 2
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0xfc8]
call fcn.1400f9ad0
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0xfc8]
call fcn.140020530
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400f87d7
mov dword [rsp + 0x94], 1
jmp 0x1400f87e2
mov dword [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x60]
and eax, 2
test eax, eax
je 0x1400f880b
and dword [rsp + 0x60], 0xfffffffd
lea rcx, [rsp + 0x190]
call fcn.140015480
movzx eax, byte [rsp + 0x65]
test eax, eax
je 0x1400f8819
jmp 0x1400f86f8
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x110]
call fcn.140017fc0
mov rcx, qword [rsp + 0xfb8]
call fcn.140016520
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.140017fc0
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x120]
lea rdx, [0x14030cb60]
lea rcx, [rsp + 0x150]
call fcn.140043450
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xfb0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov r9, qword [rsp + 0xfc8]
mov r8, qword [rsp + 0xfc0]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0xe0]
call fcn.1400f81d0
jmp 0x1400f86f8
mov byte [rsp + 0x66], 1
lea rcx, [rsp + 0x150]
call fcn.140015480
movzx eax, byte [rsp + 0x66]
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.140222a60
add rsp, 0xfa0
pop rdi
ret