Function at 0x1401ae5d0
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 0x1401ae655
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x1401ae640
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.1401be7b0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401aebab
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 0x1401aebab
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1401aebab
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 0x1401aeb9d
mov r8, 0xffffffffffffffff
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14008e200
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 0x1401ae7b1
and dword [rsp + 0x60], 0xfffffffb
test r12, r12
je 0x1401ae7b1
mov eax, 0xffffffff
lock xadd dword [r12], eax
cmp eax, 1
jne 0x1401ae7b1
mov rcx, r12
call fcn.14021b7f0
nop
mov eax, dword [rsp + 0x60]
test al, 2
je 0x1401ae7df
and dword [rsp + 0x60], 0xfffffffd
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1401ae7df
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401ae7df
mov rcx, qword [rbp - 0x10]
call fcn.14021b7f0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x68]
call fcn.140093e70
or dword [rsp + 0x60], 0x10
mov rsi, qword [rdi + 0x10]
mov rax, qword [rdi]
test rax, rax
je 0x1401ae8f5
mov eax, dword [rax]
cmp eax, 1
jg 0x1401ae8f5
mov r8, qword [rdi + 0x10]
cmp rsi, r8
jne 0x1401ae889
mov r9, qword [rdi]
test r9, r9
je 0x1401ae889
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 0x1401ae889
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 0x1401aeb3a
test rsi, rsi
jne 0x1401ae8f5
mov rax, qword [rdi]
test rax, rax
je 0x1401ae8f5
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 0x1401ae8f5
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 0x1401aeb3a
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 0x1401ae928
test rsi, rsi
jne 0x1401ae928
mov r14b, 1
jmp 0x1401ae92b
xor r14b, r14b
movzx r10d, r14b
mov rax, qword [rdi]
test rax, rax
je 0x1401aeab8
mov eax, dword [rax]
cmp eax, 1
jg 0x1401aeab8
cmp r10d, 1
jne 0x1401ae971
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401aea1b
add rcx, 0x17
and rcx, 0xfffffffffffffff8
mov rax, qword [rdi + 8]
sub rax, rcx
cmp rax, 0x18
jge 0x1401aeaca
test r14b, r14b
jne 0x1401ae9ba
mov r8, qword [rdi]
test r8, r8
je 0x1401aea1b
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 0x1401aeaca
mov r8, qword [rdi]
test r8, r8
je 0x1401aea1b
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 0x1401aea24
mov r9, r13
mov r11, r13
mov rbx, r13
mov rdx, r13
test r14b, r14b
jne 0x1401aea47
cmp r11, 1
jl 0x1401aeab8
mov r8, qword [rdi + 0x10]
lea rcx, [r8 + r8*2]
lea rax, [r9 + r9]
cmp rcx, rax
jl 0x1401aea7c
cmp r10d, 1
jne 0x1401aeab8
cmp rbx, 1
jl 0x1401aeab8
mov r8, qword [rdi + 0x10]
lea rcx, [r8 + r8*2]
cmp rcx, r9
jge 0x1401aeab8
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 0x1401aeab2
cmp rcx, rbx
je 0x1401aeab2
test rcx, rcx
je 0x1401aeab2
test rbx, rbx
je 0x1401aeab2
lea r8, [r8 + r8*2]
shl r8, 3
mov rdx, rcx
mov rcx, rbx
call fcn.14023ffe0
mov qword [rdi + 8], rbx
jmp 0x1401aeaca
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, r10d
mov rcx, rdi
call fcn.14003a8c0
mov rcx, qword [rdi + 8]
test r14b, r14b
je 0x1401aeaf2
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 0x1401aeb2c
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.14023ffe0
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 0x1401aeb49
mov eax, dword [rax]
cmp eax, 1
jle 0x1401aeb5a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14003a8c0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401aeb7d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401aeb7d
mov rcx, qword [rsp + 0x68]
call fcn.14021b7f0
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401aeb9d
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401aeb9d
mov rcx, qword [rbp - 0x48]
call fcn.14021b7f0
inc r15d
cmp r15d, dword [rsp + 0x64]
jb 0x1401ae710
lea rcx, [rbp - 0x78]
call fcn.1401be800
mov rax, rdi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140214310
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