Function at 0x1400f7710
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor esi, esi
mov qword [rbp - 0x80], r8
mov r12, rdx
mov qword [rsp + 0x70], rsi
mov r13, rcx
mov qword [rsp + 0x78], rsi
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rsi + 0x50]
call sub.msvcrt.dll_memset
mov rdx, qword [r13 + 8]
lea rax, [rsp + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov ebx, esi
movdqa xmmword [rbp - 0x30], xmm0
lea r9d, [rsi + 8]
mov qword [rbp - 0x70], rsi
xor r8d, r8d
mov qword [rbp - 0x68], rsi
mov rcx, 0xffffffff80000002
mov qword [rbp - 0x60], rsi
mov r14d, esi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rbx
mov edi, esi
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x1400f7aa6
test eax, eax
je 0x1400f77dc
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x1400f77dc
mov ecx, esi
call fcn.14007ab24
jmp 0x1400f7aa6
xor r15d, r15d
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x30], 0
lea r8, [rbp - 0x20]
and qword [rsp + 0x28], 0
mov edx, r15d
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x58], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r15d
cmp eax, 0x103
je 0x1400f7a53
test eax, eax
je 0x1400f783a
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400f77d0
test rbx, rbx
je 0x1400f7861
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
and qword [rsp + 0x40], 0
mov rcx, qword [r13 + 8]
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x20]
call fcn.1400ca178
mov esi, eax
test eax, eax
js 0x1400f7a45
test rdi, rdi
je 0x1400f78a4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
and qword [rsp + 0x50], 0
mov rbx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
lea r8, [0x1403c8954]
mov rcx, 0xffffffff80000002
call fcn.140069d44
test eax, eax
js 0x1400f7a32
mov rdi, qword [rsp + 0x50]
mov rcx, r12
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1400f77df
mov rsi, qword [rbp - 0x28]
test rsi, rsi
je 0x1400f790f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
and qword [rbp - 0x28], 0
test r14, r14
je 0x1400f7935
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r14 - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
and qword [rbp - 0x70], 0
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.14007a9ec
mov esi, eax
test eax, eax
js 0x1400f7a2b
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x5c]
lea rcx, [rbp - 0x20]
call fcn.14007a728
mov esi, eax
test eax, eax
js 0x1400f797c
mov edx, dword [rsp + 0x5c]
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.14007a880
mov esi, eax
test eax, eax
jns 0x1400f7983
mov ecx, eax
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test esi, esi
js 0x1400f77d0
and dword [rbp - 0x34], 0
lea r9, [rsp + 0x60]
lea r8, [0x1403c893c]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140069efc
test eax, eax
js 0x1400f79cc
mov ecx, dword [rsp + 0x60]
mov edx, 1
cmp ecx, edx
ja 0x1400f7a1f
xor eax, eax
test ecx, ecx
cmovne eax, edx
mov dword [rbp - 0x34], eax
mov r14, qword [rbp - 0x70]
lea r8, [rsp + 0x64]
mov rdx, r14
lea rcx, [rsp + 0x70]
xor esi, esi
call fcn.1400f7e44
test al, al
jne 0x1400f7a0b
mov edx, dword [rsp + 0x64]
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400f8484
mov esi, eax
test eax, eax
jns 0x1400f7a07
mov ecx, eax
call fcn.14007ab24
mov r14, qword [rbp - 0x70]
mov ecx, esi
call fcn.14007ab44
test esi, esi
js 0x1400f77d0
jmp 0x1400f77df
mov ecx, 0x8004f807
mov esi, ecx
jmp 0x1400f77d2
mov ecx, eax
jmp 0x1400f77d2
mov ecx, 0x8004f807
mov esi, ecx
call fcn.14007ab24
mov rdi, qword [rsp + 0x50]
jmp 0x1400f7aa6
mov ecx, eax
call fcn.14007ab24
mov rbx, qword [rsp + 0x40]
jmp 0x1400f7aa6
xor eax, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.140079464
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140079464
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400f96a0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400f7aa6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, esi
call fcn.14007ab44
test rdi, rdi
je 0x1400f7ace
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
test rbx, rbx
je 0x1400f7aef
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
lea rcx, [rsp + 0x68]
call fcn.14006aedc
lea rcx, [rbp - 0x70]
call fcn.1400f64dc
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400f96a0
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400f7b2c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14036e5e0
mov rbx, qword [rsp + 0x358]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret