Function at 0x10005367c
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x520
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1000730b0]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov word [r11 - 0x248], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x246]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x88], 0x104
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x84], r13d
mov dword [rsp + 0x90], r13d
mov dword [rsp + 0x94], r13d
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x7c], r13d
mov dword [rsp + 0x8c], r13d
mov ecx, 0x90
call fcn.100001c10
mov qword [rsp + 0xb0], rax
cmp rax, r13
je 0x10005373b
lea rdx, [rdi + 0x28]
mov rcx, rax
call fcn.10001df54
mov rbx, rax
jmp 0x10005373e
mov rbx, r13
mov edi, r13d
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x300]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, r13d
jne 0x100053a54
cmp dword [rsp + 0x64], r13d
je 0x100053a4f
lea rcx, [rsp + 0x98]
call fcn.10001e050
mov qword [rsp + 0xa0], rax
mov byte [rax + 0x49], 1
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], rax
mov qword [rsp + 0xa8], r13
mov esi, r13d
mov ebp, r13d
cmp dword [rsp + 0x64], r13d
jbe 0x100053a0b
or r15, 0xffffffffffffffff
mov dword [rsp + 0x80], 0xff
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x100]
mov edx, ebp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r13d
jne 0x1000539ff
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r13
mov word [rsp + 0xc8], r13w
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call fcn.10001b608
nop
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.100053f20
nop
cmp qword [rsp + 0xe0], 8
jb 0x1000538e7
mov rcx, qword [rsp + 0xc8]
call sub.msvcrt.dll_free
mov rcx, rbx
call fcn.10005471c
cmp eax, r13d
jne 0x10005393b
mov dword [rsp + 0x60], esi
inc esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.100055198
mov r11, rax
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
mov rcx, r11
call fcn.10001b608
jmp 0x1000539ff
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.DLL_GetSystemTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
lea rcx, [rbx + 0x50]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov edx, dword [rsp + 0x68]
mov dword [rsp + 0x70], edx
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
movabs rcx, 0x10c388d000
mov rax, qword [rsp + 0x70]
sub rax, rcx
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], ecx
shr rax, 0x20
mov dword [rsp + 0x6c], eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_CompareFileTime]
cmp eax, r13d
jle 0x1000539ff
mov dword [rsp + 0x60], esi
inc esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.100055198
mov r11, rax
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
mov rcx, r11
call fcn.10001b608
inc ebp
cmp ebp, dword [rsp + 0x64]
jb 0x100053829
mov edi, r13d
cmp esi, r13d
jbe 0x100053a42
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.100055198
mov rdx, rax
mov rcx, rbx
call fcn.100053f20
mov rcx, rbx
call fcn.100054be0
inc edi
cmp edi, esi
jb 0x100053a13
lea rcx, [rsp + 0x98]
call fcn.1000552a8
mov edi, 1
cmp rbx, r13
je 0x100053a66
mov edx, 1
mov rcx, rbx
call fcn.100019924
mov eax, edi
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.100001c30
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret