Function at 0x1400e1860
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 [0x14042b130]
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 0x1400e1955
lea rcx, [rbp - 0x18]
call fcn.1400e2d90
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 0x1400e18f8
cmp eax, edi
je 0x1400e1906
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1906
mov rcx, qword [rbp - 0x18]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.1400e2b30
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 0x1400e1945
cmp eax, 0xffffffff
je 0x1400e19b1
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e19b1
mov rcx, qword [rbp - 0x58]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
jmp 0x1400e19b1
lea rcx, [rbp - 0x50]
call fcn.1400932a0
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 0x1400e1997
cmp eax, edi
je 0x1400e19a5
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e19a5
mov rcx, qword [rbp - 0x50]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.14002d570
lea rcx, [r14 + 0x10]
mov rdx, rbx
call fcn.14002e070
xor r12b, r12b
mov rax, qword [r13]
cmp dword [rax + 4], 0
je 0x1400e1f80
xor esi, esi
mov qword [rsp + 0x38], rsi
mov rdx, r13
lea rcx, [rbp - 0x40]
call fcn.140090170
mov rbx, rax
mov r8d, edi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
lea rcx, [rbp - 0x48]
call fcn.140004090
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.140026000
nop
mov rcx, qword [rbp - 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400e1a37
cmp eax, 0xffffffff
je 0x1400e1a46
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1a46
mov rcx, qword [rbp - 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rbp - 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x1400e1a64
cmp eax, 0xffffffff
je 0x1400e1a72
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1a72
mov rcx, qword [rbp - 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
lea rcx, [rsp + 0x50]
call fcn.140022410
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 0x1400e1f52
lea r8, str.Display
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400e2900
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 0x1400e1aef
cmp eax, 0xffffffff
je 0x1400e1afd
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1afd
mov rcx, qword [rbp - 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
lea r8, [0x14025e9d0]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400e2900
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 0x1400e1b45
cmp eax, 0xffffffff
je 0x1400e1b53
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1b53
mov rcx, qword [rbp - 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
lea r8, [0x14025e9c8]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.1400e2900
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 0x1400e1b9b
cmp eax, 0xffffffff
je 0x1400e1ba9
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1ba9
mov rcx, qword [rbp - 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
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.1400c9e90
nop
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x70]
call fcn.140022410
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 0x1400e1e56
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 0x1400e1e46
mov r15d, 0xee943c90
mov r13, qword [rbp - 8]
nop word [rax + rax]
mov r8d, 0xa
mov edx, esi
lea rcx, [rbp - 0x20]
call fcn.14001d410
nop
mov rcx, rax
call fcn.140022410
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 0x1400e1d2f
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 0x1400e1d6e
cmp eax, 0xffffffff
je 0x1400e1d7c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1d7c
mov rcx, qword [rbp - 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
test bl, bl
je 0x1400e1e36
lea rbx, [r14 + 0x38]
mov rcx, qword [rbx]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
je 0x1400e1dbc
cmp dword [rcx], 1
jbe 0x1400e1da3
mov edx, dword [rcx + 4]
mov rcx, rbx
call fcn.1400e1110
mov rax, qword [rbx]
movsxd rcx, dword [rax + 0xc]
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + rcx*8 + 8]
call fcn.1400e2070
test al, al
jne 0x1400e1e36
test r12b, r12b
jne 0x1400e1e16
xor ecx, ecx
cmp word [rbp - 0x7a], cx
sete cl
xor eax, eax
cmp word [rbp - 0x6a], ax
sete al
cmp ecx, eax
je 0x1400e1e16
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, [0x1402dd7d0]
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.140013420
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.1400e05f0
inc esi
cmp esi, dword [rsp + 0x40]
jle 0x1400e1ca0
lea r13, [r14 + 0x18]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400e1f17
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, [0x14025e9d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e1ec9
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 0x1400e1f17
lea rcx, [r14 + 0x38]
lea rdx, [rbp + 0x90]
call fcn.1400e05f0
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 0x1400e1f43
cmp eax, 0xffffffff
je 0x1400e1f52
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1f52
mov rcx, qword [rsp + 0x70]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400e1f72
cmp eax, 0xffffffff
je 0x1400e1f80
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400e1f80
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov rax, qword [r14 + 0x38]
mov edx, dword [rax + 8]
mov eax, dword [rax + 0xc]
cmp eax, edx
jne 0x1400e1fdd
lea rcx, [r14 + 0x10]
call fcn.14002e790
mov rcx, r13
call fcn.14002e790
mov rcx, qword [r14 + 0x20]
lea rax, [0x140193080]
cmp rcx, rax
je 0x1400e1fdd
mov qword [rbp - 0x10], rcx
mov qword [r14 + 0x20], rax
mov eax, dword [rcx]
test eax, eax
je 0x1400e1fcf
cmp eax, 0xffffffff
je 0x1400e1fdd
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400e1fdd
mov rcx, qword [rbp - 0x10]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.14002d570
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.14010b650
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret