Function at 0x1400e2a90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1402f1140]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov rbx, rdx
mov qword [rbp - 8], rdx
mov r14, rcx
mov rax, qword [rdx]
cmp dword [rax + 4], 0
jne 0x1400e2b85
lea rcx, [rbp - 0x18]
call fcn.1400e4010
lea r13, [r14 + 0x18]
mov rdx, qword [r13]
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x18]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400e2b28
cmp eax, edi
je 0x1400e2b36
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2b36
mov rcx, qword [rbp - 0x18]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1400e3db0
mov rdx, qword [r14 + 0x10]
mov qword [rbp + 0xd0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x10], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2b75
cmp eax, 0xffffffff
je 0x1400e2be1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2be1
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
jmp 0x1400e2be1
lea rcx, [rbp - 0x50]
call fcn.140094500
lea r13, [r14 + 0x18]
mov rdx, qword [r13]
mov qword [rbp + 0xd8], rdx
mov rcx, qword [rax]
mov qword [r13], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x50]
mov eax, dword [rcx]
or edi, 0xffffffff
test eax, eax
je 0x1400e2bc7
cmp eax, edi
je 0x1400e2bd5
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2bd5
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002cd80
lea rcx, [r14 + 0x10]
mov rdx, rbx
call fcn.14002d880
xor r12b, r12b
mov rax, qword [r13]
cmp dword [rax + 4], 0
je 0x1400e31b0
xor esi, esi
mov qword [rsp + 0x38], rsi
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.140091320
mov rbx, rax
mov r8d, edi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
lea rcx, [rbp - 0x48]
call fcn.140004060
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rbp], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400253a0
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2c67
cmp eax, 0xffffffff
je 0x1400e2c76
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2c76
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2c94
cmp eax, 0xffffffff
je 0x1400e2ca2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2ca2
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
lea rcx, [rsp + 0x50]
call fcn.140021850
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e3182
lea r8, str.Display
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400e3b80
mov rdx, qword [r14 + 0x20]
mov qword [rbp + 0xe0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x20], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2d1f
cmp eax, 0xffffffff
je 0x1400e2d2d
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2d2d
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
lea r8, [0x14023dfb0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400e3b80
mov rdx, qword [r14 + 0x28]
mov qword [rbp + 0xe8], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x28], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2d75
cmp eax, 0xffffffff
je 0x1400e2d83
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2d83
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
lea r8, [0x14023dfa8]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400e3b80
mov rdx, qword [r14 + 0x30]
mov qword [rbp + 0xf0], rdx
mov rcx, qword [rax]
mov qword [r14 + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2dcb
cmp eax, 0xffffffff
je 0x1400e2dd9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2dd9
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov dword [rbp + 0x20], 0xc
lea rax, str.Dynamic_DST
mov qword [rbp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x38], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.14004ac20
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x70]
call fcn.140021850
mov rdx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r9d, r9d
xor r8d, r8d
test eax, eax
jne 0x1400e3086
mov dword [rsp + 0x58], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rdx, str.FirstEntry
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x5c], 4
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.LastEntry
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, dword [rsp + 0x60]
cmp esi, dword [rsp + 0x40]
jg 0x1400e3076
mov r15d, 0xee943c90
mov r13, qword [rbp - 8]
nop word [rax + rax]
mov r8d, 0xa
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.14001c800
nop
mov rcx, rax
call fcn.140021850
xor bl, bl
mov dword [rsp + 0x64], 0x2c
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e2f5f
mov dword [rsp + 0x78], eax
mov ecx, dword [rbp + 0xfc]
add ecx, dword [rbp + 0xf8]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x100]
sub eax, ecx
add eax, dword [rbp + 0xf8]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x104]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x114]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0x50], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0x60], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0x68], eax
mov rcx, qword [rbp - 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x1400e2f9e
cmp eax, 0xffffffff
je 0x1400e2fac
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e2fac
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
test bl, bl
je 0x1400e3066
lea rbx, [r14 + 0x38]
mov rcx, qword [rbx]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
je 0x1400e2fec
cmp dword [rcx], 1
jbe 0x1400e2fd3
mov edx, dword [rcx + 4]
mov rcx, rbx
call fcn.1400e2340
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0xc]
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + rcx*8 + 8]
call fcn.1400e32a0
test al, al
jne 0x1400e3066
test r12b, r12b
jne 0x1400e3046
xor ecx, ecx
cmp word [rbp - 0x7a], cx
sete cl
xor eax, eax
cmp word [rbp - 0x6a], ax
sete al
cmp ecx, eax
je 0x1400e3046
mov r12b, 1
mov rcx, qword [r13]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov qword [rbp + 0x70], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
lea rax, str.default
mov qword [rbp + 0x88], rax
mov r9d, esi
lea rdx, str.MS_registry_TZ_API_violated_its_wMonth_constraint_this_may_cause_mistakes_for__s_from__d
lea rcx, [rbp + 0x70]
call fcn.1400128c0
mov rdx, qword [rbx]
mov r8d, esi
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
cmove r8d, r15d
mov dword [rbp + 0x40], r8d
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.1400e1830
inc esi
cmp esi, dword [rsp + 0x40]
jle 0x1400e2ed0
lea r13, [r14 + 0x18]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400e3147
xor bl, bl
mov dword [rsp + 0x68], 0x2c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x128]
mov qword [rsp + 0x20], rax
lea rdx, [0x14023dfb8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e30f9
mov dword [rsp + 0x78], esi
mov ecx, dword [rbp + 0x12c]
add ecx, dword [rbp + 0x128]
mov dword [rsp + 0x7c], ecx
mov eax, dword [rbp + 0x130]
sub eax, ecx
add eax, dword [rbp + 0x128]
mov dword [rbp - 0x80], eax
movups xmm0, xmmword [rbp + 0x134]
movups xmmword [rbp - 0x7c], xmm0
movups xmm0, xmmword [rbp + 0x144]
movups xmmword [rbp - 0x6c], xmm0
mov bl, 1
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbp + 0xa0], xmm1
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0xb0], xmm0
mov eax, dword [rbp - 0x60]
mov dword [rbp + 0xb8], eax
mov r15d, 0xee943c90
mov dword [rbp + 0x90], r15d
test bl, bl
je 0x1400e3147
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x90]
call fcn.1400e1830
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x1400e3173
cmp eax, 0xffffffff
je 0x1400e3182
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e3182
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400e31a2
cmp eax, 0xffffffff
je 0x1400e31b0
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e31b0
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rax, qword [r14 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400e320d
lea rcx, [r14 + 0x10]
call fcn.14002dfa0
mov rcx, r13
call fcn.14002dfa0
mov rcx, qword [r14 + 0x20]
lea rax, [0x140172000]
cmp rcx, rax
je 0x1400e320d
mov qword [rbp - 0x10], rcx
mov qword [r14 + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400e31ff
cmp eax, 0xffffffff
je 0x1400e320d
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400e320d
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002cd80
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.14010a180
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret