Function at 0x1400f1080
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 [0x140418d28]
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 0x1400f1416
test eax, eax
je 0x1400f114c
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x1400f114c
mov ecx, esi
call fcn.140078308
jmp 0x1400f1416
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 0x1400f13c3
test eax, eax
je 0x1400f11aa
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400f1140
test rbx, rbx
je 0x1400f11d1
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.140078324
and qword [rsp + 0x40], 0
mov rcx, qword [r13 + 8]
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x20]
call fcn.1400c5134
mov esi, eax
test eax, eax
js 0x1400f13b5
test rdi, rdi
je 0x1400f1214
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.140078324
and qword [rsp + 0x50], 0
mov rbx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
lea r8, [0x1403b253c]
mov rcx, 0xffffffff80000002
call fcn.140067c4c
test eax, eax
js 0x1400f13a2
mov rdi, qword [rsp + 0x50]
mov rcx, r12
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x1400f114f
mov rsi, qword [rbp - 0x28]
test rsi, rsi
je 0x1400f127f
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.140078324
and qword [rbp - 0x28], 0
test r14, r14
je 0x1400f12a5
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.140078324
and qword [rbp - 0x70], 0
lea rdx, [rbp - 0x28]
mov rcx, r12
call fcn.1400781e4
mov esi, eax
test eax, eax
js 0x1400f139b
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x5c]
lea rcx, [rbp - 0x20]
call fcn.140077f90
mov esi, eax
test eax, eax
js 0x1400f12ec
mov edx, dword [rsp + 0x5c]
lea r8, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.1400780c4
mov esi, eax
test eax, eax
jns 0x1400f12f3
mov ecx, eax
call fcn.140078308
mov ecx, esi
call fcn.140078324
test esi, esi
js 0x1400f1140
and dword [rbp - 0x34], 0
lea r9, [rsp + 0x60]
lea r8, [0x1403b2524]
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.140067dfc
test eax, eax
js 0x1400f133c
mov ecx, dword [rsp + 0x60]
mov edx, 1
cmp ecx, edx
ja 0x1400f138f
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.1400f17a0
test al, al
jne 0x1400f137b
mov edx, dword [rsp + 0x64]
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400f1cd4
mov esi, eax
test eax, eax
jns 0x1400f1377
mov ecx, eax
call fcn.140078308
mov r14, qword [rbp - 0x70]
mov ecx, esi
call fcn.140078324
test esi, esi
js 0x1400f1140
jmp 0x1400f114f
mov ecx, 0x8004f807
mov esi, ecx
jmp 0x1400f1142
mov ecx, eax
jmp 0x1400f1142
mov ecx, 0x8004f807
mov esi, ecx
call fcn.140078308
mov rdi, qword [rsp + 0x50]
jmp 0x1400f1416
mov ecx, eax
call fcn.140078308
mov rbx, qword [rsp + 0x40]
jmp 0x1400f1416
xor eax, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
call fcn.140076df0
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140076df0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400f2f98
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1400f1416
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.140078324
test rdi, rdi
je 0x1400f143e
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.140078324
test rbx, rbx
je 0x1400f145f
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.140078324
lea rcx, [rsp + 0x68]
call fcn.140068d58
lea rcx, [rbp - 0x70]
call fcn.1400effc0
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400f2f98
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1400f149c
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.14035a4e0
mov rbx, qword [rsp + 0x358]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret