Function at 0x10010396c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rcx
lea rbp, [0x10003c880]
mov qword [rsp + 0x40], rbp
lea r12, [0x10003cdc0]
mov qword [rsp + 0x48], r12
lea r13, [0x10003c868]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x2d1
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
xor esi, esi
mov word [rax - 0x158], si
mov byte [rax - 0x156], sil
mov byte [rax - 0x155], 1
lea edi, [rsi + 0x78]
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.1000e842c
nop
cmp byte [rbx + 0x28], sil
je 0x100103bbe
mov r8, qword [rbx + 0x20]
cmp r8, rsi
je 0x100103bbe
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x240], eax
lea rax, [rsp + 0x248]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x240]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp eax, esi
je 0x100103ba5
cmp eax, 0x103
je 0x100103b0e
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x2ea
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
movzx r8d, di
or r8d, 0x80070000
cmp edi, esi
cmovle r8d, edi
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x10003ce80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.1000ea25c
int3
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r13
mov dword [rsp + 0x100], 0x2ee
mov dword [rsp + 0x104], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x108], 0xff
mov word [rsp + 0x188], si
mov byte [rsp + 0x18a], sil
mov byte [rsp + 0x18b], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
mov r11d, dword [rbx + 8]
mov dword [rsp + 0x28], r11d
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [0x10003ced0]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1a0]
call fcn.1000ea25c
int3
mov rbx, qword [rbx + 0x20]
lea rcx, [rsp + 0x1a0]
call fcn.1000e8518
mov rax, rbx
jmp 0x100103c44
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r13
mov dword [rsp + 0x100], 0x2d5
mov dword [rsp + 0x104], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x108], 0xff
mov word [rsp + 0x188], si
mov byte [rsp + 0x18a], sil
mov byte [rsp + 0x18b], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
lea r9, [0x10003ce20]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1a0]
call fcn.1000e97ec
nop
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret