Function at 0x1400f88f0
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
mov eax, 0x15c0
call fcn.140222df0
sub rsp, rax
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x15b0], rax
mov dword [rsp + 0x60], 0
lea rax, [rsp + 0x1f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rsp + 0x400]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
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 + 0x148]
call fcn.14000a280
nop
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x84], 0
lea rax, [rsp + 0x610]
mov rdi, rax
xor eax, eax
mov ecx, 0x7d0
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x3e8
mov rcx, qword [rsp + 0x15d8]
call fcn.14000c690
mov r8, rax
lea rdx, [0x14030cbd0]
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
lea rax, [rsp + 0x100]
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 + 0x400]
mov rcx, qword [rsp + 0x15d0]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rsp + 0x78], 0
je 0x1400f8e0e
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x84], 0
jmp 0x1400f8acd
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x68], eax
jae 0x1400f8e0e
mov dword [rsp + 0x80], 0x3e8
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0x7d0
jae 0x1400f8b07
jmp 0x1400f8b0c
call fcn.140222bbc
xor eax, eax
mov rcx, qword [rsp + 0xb8]
mov word [rsp + rcx + 0x610], ax
mov dword [rsp + 0x8c], 0
lea rax, [rsp + 0xde0]
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 + 0xde0]
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 + 0x610]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x15d0]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rsp + 0x84], eax
lea rcx, [rsp + 0x610]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1400f8bc8
lea rdx, str._NO_NAME_
lea rcx, [rsp + 0x610]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp qword [rsp + 0x15e8], 0
je 0x1400f8c63
lea rdx, [rsp + 0x610]
lea rcx, [rsp + 0x168]
call fcn.1400179b0
nop
mov eax, dword [rsp + 0x60]
or eax, 1
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x15e8]
call fcn.140096890
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x15e8]
call fcn.140020530
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400f8c63
mov dword [rsp + 0x88], 1
jmp 0x1400f8c6e
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 0x1400f8c97
and dword [rsp + 0x60], 0xfffffffe
lea rcx, [rsp + 0x168]
call fcn.14000a800
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1400f8ca5
jmp 0x1400f8ac3
lea r8, [rsp + 0x610]
lea rdx, str.__s_
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 1
je 0x1400f8d0b
cmp dword [rsp + 0x7c], 3
je 0x1400f8d73
cmp dword [rsp + 0x7c], 4
je 0x1400f8cea
jmp 0x1400f8df5
mov r8d, dword [rsp + 0xde0]
lea rdx, str.dword:_08lx_n
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
jmp 0x1400f8e09
lea rdx, [rsp + 0xde0]
lea rcx, [rsp + 0x128]
call fcn.1400179b0
nop
lea rcx, [rsp + 0x128]
call fcn.14008de60
lea rcx, [rsp + 0x128]
call fcn.14000c690
mov r8, rax
lea rdx, str._s_n
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
nop
lea rcx, [rsp + 0x128]
call fcn.14000a800
jmp 0x1400f8e09
lea rdx, str.hex:
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
mov eax, 1
imul rax, rax, 0
movzx eax, byte [rsp + rax + 0xde0]
mov r8d, eax
lea rdx, [0x14030cc44]
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
mov dword [rsp + 0x6c], 1
jmp 0x1400f8dc3
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x6c], eax
jae 0x1400f8df5
mov eax, dword [rsp + 0x6c]
movzx eax, byte [rsp + rax + 0xde0]
mov r8d, eax
lea rdx, str.__02x
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
jmp 0x1400f8db9
lea rdx, [0x14030caec]
mov rcx, qword [rsp + 0x15e0]
call fcn.1400f9c20
jmp 0x1400f8ac3
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
jmp 0x1400f8e2a
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x74], 0
jne 0x1400f9020
mov r9d, 0x104
lea r8, [rsp + 0x1f0]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x15d0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x1400f901b
cmp qword [rsp + 0x15e8], 0
je 0x1400f8eff
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x188]
call fcn.1400179b0
nop
mov eax, dword [rsp + 0x60]
or eax, 2
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x15e8]
call fcn.140096890
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x15e8]
call fcn.140020530
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400f8eff
mov dword [rsp + 0x94], 1
jmp 0x1400f8f0a
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 0x1400f8f33
and dword [rsp + 0x60], 0xfffffffd
lea rcx, [rsp + 0x188]
call fcn.14000a800
movzx eax, byte [rsp + 0x65]
test eax, eax
je 0x1400f8f41
jmp 0x1400f8e20
lea r8, [0x14030cb3c]
mov rdx, qword [rsp + 0x15d8]
lea rcx, [rsp + 0x1c8]
call fcn.14001b840
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
lea r8, [rsp + 0x1f0]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x1a8]
call fcn.140024fb0
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x148]
call fcn.14001e7a0
lea rcx, [rsp + 0x1a8]
call fcn.14000a800
nop
lea rcx, [rsp + 0x1c8]
call fcn.14000a800
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x15d0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov r9, qword [rsp + 0x15e8]
mov r8, qword [rsp + 0x15e0]
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0xc0]
call fcn.1400f88f0
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f8e20
mov byte [rsp + 0x66], 1
lea rcx, [rsp + 0x148]
call fcn.14000a800
movzx eax, byte [rsp + 0x66]
mov rcx, qword [rsp + 0x15b0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x15c0
pop rdi
ret