Function at 0x1401ae600
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 [0x14037da00]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rdi, rdx
mov qword [rbp - 0x58], rdx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov dword [rsp + 0x60], 1
mov ecx, 0x38
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov rax, r8
mov edx, r13d
nop dword [rax]
cmp rcx, 1
je 0x1401ae685
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x1401ae670
mov rdx, rax
lea rax, str.SYSTEMCurrentControlSetControlTimeZoneInformation
test rdx, rdx
cmovne rax, rdx
sub rax, r8
sar rax, 1
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], r8
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rsp + 0x20], r13d
mov r9d, 0x20019
lea r8, [rbp - 0x20]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.1401be7e0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401aebdb
mov dword [rsp + 0x64], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
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 0x1401aebdb
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1401aebdb
mov r15d, r13d
movabs rbx, 0x2aaaaaaaaaaaaaab
mov r12, qword [rbp - 0x58]
nop dword [rax]
mov dword [rbp - 0x80], 0xff
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x10]
mov edx, r15d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401aebcd
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14008e230
nop
mov rcx, qword [rax]
mov qword [rbp - 0x48], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x40], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x38], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov eax, dword [rsp + 0x60]
or eax, 0xa
mov dword [rsp + 0x60], eax
test al, 4
je 0x1401ae7e1
and dword [rsp + 0x60], 0xfffffffb
test r12, r12
je 0x1401ae7e1
mov eax, 0xffffffff
lock xadd dword [r12], eax
cmp eax, 1
jne 0x1401ae7e1
mov rcx, r12
call fcn.14021b810
nop
mov eax, dword [rsp + 0x60]
test al, 2
je 0x1401ae80f
and dword [rsp + 0x60], 0xfffffffd
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1401ae80f
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401ae80f
mov rcx, qword [rbp - 0x10]
call fcn.14021b810
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call fcn.140093ea0
or dword [rsp + 0x60], 0x10
mov rsi, qword [rdi + 0x10]
mov rax, qword [rdi]
test rax, rax
je 0x1401ae925
mov eax, dword [rax]
cmp eax, 1
jg 0x1401ae925
mov r8, qword [rdi + 0x10]
cmp rsi, r8
jne 0x1401ae8b9
mov r9, qword [rdi]
test r9, r9
je 0x1401ae8b9
lea rax, [r9 + 0x17]
and rax, 0xfffffffffffffff8
mov r10, qword [rdi + 8]
mov rcx, r10
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r9 + 8]
sub rax, r8
cmp rax, rdx
je 0x1401ae8b9
lea rax, [r8 + r8*2]
lea rcx, [r10 + rax*8]
mov rax, qword [rsp + 0x68]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
inc qword [rdi + 0x10]
jmp 0x1401aeb6a
test rsi, rsi
jne 0x1401ae925
mov rax, qword [rdi]
test rax, rax
je 0x1401ae925
add rax, 0x17
and rax, 0xfffffffffffffff8
mov r8, qword [rdi + 8]
mov rcx, r8
sub rcx, rax
mov rax, rbx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1401ae925
mov rax, qword [rsp + 0x68]
mov qword [r8 - 0x18], rax
mov rax, qword [rsp + 0x70]
mov qword [r8 - 0x10], rax
mov rax, qword [rsp + 0x78]
mov qword [r8 - 8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
add qword [rdi + 8], 0xffffffffffffffe8
inc qword [rdi + 0x10]
jmp 0x1401aeb6a
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x60], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
cmp qword [rdi + 0x10], 0
je 0x1401ae958
test rsi, rsi
jne 0x1401ae958
mov r14b, 1
jmp 0x1401ae95b
xor r14b, r14b
movzx r10d, r14b
mov rax, qword [rdi]
test rax, rax
je 0x1401aeae8
mov eax, dword [rax]
cmp eax, 1
jg 0x1401aeae8
cmp r10d, 1
jne 0x1401ae9a1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401aea4b
add rcx, 0x17
and rcx, 0xfffffffffffffff8
mov rax, qword [rdi + 8]
sub rax, rcx
cmp rax, 0x18
jge 0x1401aeafa
test r14b, r14b
jne 0x1401ae9ea
mov r8, qword [rdi]
test r8, r8
je 0x1401aea4b
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 rax, qword [r8 + 8]
sub rax, rdx
sub rax, qword [rdi + 0x10]
cmp rax, 1
jge 0x1401aeafa
mov r8, qword [rdi]
test r8, r8
je 0x1401aea4b
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, rdx
sub rbx, qword [rdi + 0x10]
jmp 0x1401aea54
mov r9, r13
mov r11, r13
mov rbx, r13
mov rdx, r13
test r14b, r14b
jne 0x1401aea77
cmp r11, 1
jl 0x1401aeae8
mov r8, qword [rdi + 0x10]
lea rcx, [r8 + r8*2]
lea rax, [r9 + r9]
cmp rcx, rax
jl 0x1401aeaac
cmp r10d, 1
jne 0x1401aeae8
cmp rbx, 1
jl 0x1401aeae8
mov r8, qword [rdi + 0x10]
lea rcx, [r8 + r8*2]
cmp rcx, r9
jge 0x1401aeae8
sub r9, r8
lea rax, [r9 - 1]
cqo
sub rax, rdx
sar rax, 1
mov rdx, r13
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 0x1401aeae2
cmp rcx, rbx
je 0x1401aeae2
test rcx, rcx
je 0x1401aeae2
test rbx, rbx
je 0x1401aeae2
lea r8, [r8 + r8*2]
shl r8, 3
mov rdx, rcx
mov rcx, rbx
call fcn.140240000
mov qword [rdi + 8], rbx
jmp 0x1401aeafa
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, r10d
mov rcx, rdi
call fcn.14003a8f0
mov rcx, qword [rdi + 8]
test r14b, r14b
je 0x1401aeb22
mov rax, qword [rbp - 0x70]
mov qword [rcx - 0x18], rax
mov rax, qword [rbp - 0x68]
mov qword [rcx - 0x10], rax
mov rax, qword [rbp - 0x60]
mov qword [rcx - 8], rax
add qword [rdi + 8], 0xffffffffffffffe8
jmp 0x1401aeb5c
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.140240000
mov rax, qword [rbp - 0x70]
mov qword [rbx], rax
mov rax, qword [rbp - 0x68]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x10], rax
inc qword [rdi + 0x10]
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, qword [rdi]
test rax, rax
je 0x1401aeb79
mov eax, dword [rax]
cmp eax, 1
jle 0x1401aeb8a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14003a8f0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401aebad
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401aebad
mov rcx, qword [rsp + 0x68]
call fcn.14021b810
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401aebcd
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401aebcd
mov rcx, qword [rbp - 0x48]
call fcn.14021b810
inc r15d
cmp r15d, dword [rsp + 0x64]
jb 0x1401ae740
lea rcx, [rbp - 0x78]
call fcn.1401be830
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140214340
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