Function at 0x1401b6e50
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14038d940]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rdx
mov qword [rbp - 0x70], rdx
xor r14d, r14d
mov dword [rsp + 0x60], r14d
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov dword [rsp + 0x60], 1
lea edx, [r14 + 0x38]
lea rbx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov rcx, rbx
call fcn.14008fef0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rbx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x20], r14d
mov r9d, 0x20019
lea r8, [rbp - 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.1401c5fb0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401b7404
mov dword [rsp + 0x64], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1401b7404
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1401b7404
mov ebx, r14d
mov dword [rbp - 0x80], ebx
movabs r15, 0x2aaaaaaaaaaaaaab
nop
mov dword [rbp - 0x7c], 0xff
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x7c]
lea r8, [rbp + 0x10]
mov edx, ebx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401b73f5
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14008d720
nop
mov rcx, qword [rax]
mov qword [rax], r14
mov qword [rbp - 0x60], rcx
mov rcx, qword [rax + 8]
mov qword [rax + 8], r14
mov qword [rbp - 0x58], rcx
mov rcx, qword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rbp - 0x50], rcx
mov eax, dword [rsp + 0x60]
or eax, 0xa
mov dword [rsp + 0x60], eax
test al, 4
je 0x1401b6fff
and dword [rsp + 0x60], 0xfffffffb
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401b6fff
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b6fff
call fcn.1402275a0
nop
mov eax, dword [rsp + 0x60]
test al, 2
je 0x1401b702d
and dword [rsp + 0x60], 0xfffffffd
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1401b702d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b702d
mov rcx, qword [rbp - 0x20]
call fcn.1402275a0
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x68]
call fcn.140093540
or dword [rsp + 0x60], 0x10
mov rsi, qword [rdi + 0x10]
mov rax, qword [rdi]
test rax, rax
je 0x1401b7145
mov eax, dword [rax]
cmp eax, 1
jg 0x1401b7145
mov r8, qword [rdi + 0x10]
cmp rsi, r8
jne 0x1401b70d8
mov r9, qword [rdi]
test r9, r9
je 0x1401b70d8
lea rax, [r9 + 0x17]
and rax, 0xfffffffffffffff8
mov r10, qword [rdi + 8]
mov rcx, r10
sub rcx, rax
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r9 + 8]
sub rax, rdx
cmp rax, r8
je 0x1401b70d8
lea rax, [r8 + r8*2]
lea rcx, [r10 + rax*8]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], r14
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], r14
mov qword [rcx + 0x10], rax
inc qword [rdi + 0x10]
jmp 0x1401b7392
test rsi, rsi
jne 0x1401b7145
mov rax, qword [rdi]
test rax, rax
je 0x1401b7145
add rax, 0x17
and rax, 0xfffffffffffffff8
mov r8, qword [rdi + 8]
mov rcx, r8
sub rcx, rax
mov rax, r15
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1401b7145
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], r14
mov qword [r8 - 0x18], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov qword [r8 - 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], r14
mov qword [r8 - 8], rax
add qword [rdi + 8], 0xffffffffffffffe8
inc qword [rdi + 0x10]
jmp 0x1401b7392
mov r15, qword [rsp + 0x68]
mov qword [rsp + 0x68], r14
mov qword [rbp - 8], r15
mov r12, qword [rsp + 0x70]
mov qword [rsp + 0x70], r14
mov qword [rbp], r12
mov r13, qword [rsp + 0x78]
mov qword [rsp + 0x78], r14
mov qword [rbp + 8], r13
cmp qword [rdi + 0x10], 0
je 0x1401b7180
test rsi, rsi
jne 0x1401b7180
mov r14b, 1
jmp 0x1401b7183
xor r14b, r14b
movzx r10d, r14b
mov rax, qword [rdi]
test rax, rax
je 0x1401b7322
mov eax, dword [rax]
cmp eax, 1
jg 0x1401b7322
cmp r10d, 1
jne 0x1401b71c9
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401b7288
add rcx, 0x17
and rcx, 0xfffffffffffffff8
mov rax, qword [rdi + 8]
sub rax, rcx
cmp rax, 0x18
jge 0x1401b7334
test r14b, r14b
jne 0x1401b721d
mov r8, qword [rdi]
test r8, r8
je 0x1401b7288
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, qword [rdi + 8]
sub rcx, rax
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8 + 8]
sub rax, qword [rdi + 0x10]
sub rax, rdx
cmp rax, 1
jl 0x1401b7227
jmp 0x1401b7334
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r8, qword [rdi]
test r8, r8
je 0x1401b7288
mov r9, qword [r8 + 8]
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, qword [rdi + 8]
sub rcx, rax
mov rax, rbx
imul rcx
mov r11, rdx
sar r11, 2
mov rax, r11
shr rax, 0x3f
add r11, rax
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, qword [rdi + 8]
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rbx, r9
sub rbx, qword [rdi + 0x10]
sub rbx, rdx
jmp 0x1401b7290
xor r9d, r9d
xor r11d, r11d
xor ebx, ebx
xor edx, edx
test r14b, r14b
jne 0x1401b72b2
cmp r11, 1
jl 0x1401b7322
mov r8, qword [rdi + 0x10]
lea rcx, [r9 + r9]
lea rax, [r8 + r8*2]
cmp rax, rcx
jl 0x1401b72e6
cmp r10d, 1
jne 0x1401b7322
cmp rbx, 1
jl 0x1401b7322
mov r8, qword [rdi + 0x10]
lea rcx, [r8 + r8*2]
cmp rcx, r9
jge 0x1401b7322
sub r9, r8
lea rax, [r9 - 1]
cqo
sub rax, rdx
sar rax, 1
xor edx, edx
test rax, rax
cmovg rdx, rax
inc rdx
sub rdx, r11
mov rcx, qword [rdi + 8]
lea rax, [rdx + rdx*2]
lea rbx, [rcx + rax*8]
test r8, r8
je 0x1401b731c
cmp rcx, rbx
je 0x1401b731c
test rcx, rcx
je 0x1401b731c
test rbx, rbx
je 0x1401b731c
lea r8, [r8 + r8*2]
shl r8, 3
mov rdx, rcx
mov rcx, rbx
call fcn.14024bde0
mov qword [rdi + 8], rbx
jmp 0x1401b7334
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, r10d
mov rcx, rdi
call fcn.14003aa60
mov rcx, qword [rdi + 8]
test r14b, r14b
je 0x1401b7350
mov qword [rcx - 0x18], r15
mov qword [rcx - 0x10], r12
mov qword [rcx - 8], r13
add qword [rdi + 8], 0xffffffffffffffe8
jmp 0x1401b737e
lea rax, [rsi + rsi*2]
lea rbx, [rcx + rax*8]
mov rax, qword [rdi + 0x10]
sub rax, rsi
lea r8, [rax + rax*2]
shl r8, 3
lea rcx, [rbx + 0x18]
mov rdx, rbx
call fcn.14024bde0
mov qword [rbx], r15
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r13
inc qword [rdi + 0x10]
mov ebx, dword [rbp - 0x80]
xor r14d, r14d
movabs r15, 0x2aaaaaaaaaaaaaab
mov rax, qword [rdi]
test rax, rax
je 0x1401b73a1
mov eax, dword [rax]
cmp eax, 1
jle 0x1401b73b2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14003aa60
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401b73d5
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b73d5
mov rcx, qword [rsp + 0x68]
call fcn.1402275a0
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1401b73f5
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401b73f5
mov rcx, qword [rbp - 0x60]
call fcn.1402275a0
inc ebx
mov dword [rbp - 0x80], ebx
cmp ebx, dword [rsp + 0x64]
jb 0x1401b6f60
lea rcx, [rbp - 0x78]
call fcn.1401c6000
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1402200b0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret