Function at 0x1401d5d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, rdx
mov qword [rbp - 0x30], rdx
mov r13, rcx
mov dword [rsp + 0x44], 0
lea rdi, [rcx + 0x18]
mov rax, qword [rdx]
lea rcx, [rsp + 0x38]
cmp dword [rax + 4], 0
jne 0x1401d5e37
call fcn.1401d72d0
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
mov esi, 0xffffffff
test ecx, ecx
je 0x1401d5dd1
cmp ecx, esi
je 0x1401d5de6
mov rax, qword [rsp + 0x38]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5de6
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.1401d7120
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rax]
mov qword [r13 + 0x10], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5e20
cmp ecx, esi
je 0x1401d5e8d
mov rax, qword [rsp + 0x38]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5e8d
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
jmp 0x1401d5e8d
call fcn.14019edb0
mov rdx, qword [rdi]
mov rcx, qword [rax]
mov qword [rdi], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
mov esi, 0xffffffff
test ecx, ecx
je 0x1401d5e6c
cmp ecx, esi
je 0x1401d5e81
mov rax, qword [rsp + 0x38]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5e81
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
lea rcx, [r13 + 0x10]
mov rdx, rbx
call fcn.1400b0570
mov byte [rsp + 0x30], 0
mov rax, qword [rdi]
lea r15, [0x140484d90]
cmp dword [rax + 4], 0
je 0x1401d6669
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400195d0
mov rbx, rax
mov byte [rsp + 0x48], 0x5c
mov r8d, esi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
lea rcx, [rsp + 0x70]
call fcn.1400ba830
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov qword [rax], r15
mov dword [rsp + 0x44], 4
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5f03
cmp ecx, 0xffffffff
je 0x1401d5f19
mov rax, qword [rsp + 0x70]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5f19
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.1400affb0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400ffec0
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5f68
cmp ecx, 0xffffffff
je 0x1401d5f7e
mov rax, qword [rsp + 0x38]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5f7e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5f9e
cmp ecx, 0xffffffff
je 0x1401d5fb3
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5fb3
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov rax, qword [rbp - 0x80]
movsxd rdx, dword [rax + 4]
cmp rax, r15
jne 0x1401d5fc4
xor eax, eax
jmp 0x1401d5fc8
add rax, qword [rax + 0x10]
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 0x20019
lea r8, [rbp - 0x40]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x78]
call fcn.1401697d0
nop
cmp qword [rsp + 0x78], 0
je 0x1401d662c
mov qword [rsp + 0x60], 7
lea rax, str.Display
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1401698f0
mov rdx, qword [r13 + 0x20]
mov rcx, qword [rax]
mov qword [r13 + 0x20], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d606b
cmp ecx, 0xffffffff
je 0x1401d6080
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d6080
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov qword [rsp + 0x60], 3
lea rax, [0x1403716d0]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1401698f0
mov rdx, qword [r13 + 0x28]
mov rcx, qword [rax]
mov qword [r13 + 0x28], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d60e2
cmp ecx, 0xffffffff
je 0x1401d60f7
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d60f7
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
mov qword [rsp + 0x60], 3
lea rax, [0x1403716c8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.1401698f0
mov rdx, qword [r13 + 0x30]
mov rcx, qword [rax]
mov qword [r13 + 0x30], rcx
mov qword [rax], rdx
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d6159
cmp ecx, 0xffffffff
je 0x1401d616e
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d616e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
lea r14, str.Dynamic_DST
mov qword [rbp - 0x38], r14
mov rax, qword [rbp - 0x80]
mov edx, dword [rax + 4]
add edx, 0xc
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.1400b6170
mov rax, qword [rsp + 0x38]
mov rdi, qword [rax + 0x10]
add rdi, rax
mov rax, qword [rbp - 0x80]
movsxd rbx, dword [rax + 4]
add rbx, rbx
mov rdx, qword [rax + 0x10]
add rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.140258d60
lea r8, [rbx + rdi]
mov edx, listen
mov rcx, r14
call fcn.1400b73a0
nop
mov rax, qword [rsp + 0x38]
movsxd rdx, dword [rax + 4]
cmp rax, r15
jne 0x1401d61dd
xor eax, eax
jmp 0x1401d61e1
add rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x20], 0
mov r9d, 0x20019
lea r8, [rsp + 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.1401697d0
nop
cmp qword [rsp + 0x70], 0
je 0x1401d652a
mov qword [rsp + 0x60], 0xa
lea rax, str.FirstEntry
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140169840
mov qword [rsp + 0x50], 9
lea rax, str.LastEntry
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x70]
call fcn.140169840
mov r14d, dword [rsp + 0x60]
cmp r14d, dword [rbp - 0x40]
jg 0x1401d65e8
nop dword [rax]
mov r8d, 0xa
mov edx, r14d
lea rcx, [rsp + 0x50]
call fcn.1400bba40
nop
mov rcx, rax
call fcn.1400c02d0
xor dil, dil
mov dword [rsp + 0x44], 0x2c
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d6322
mov dword [rbp - 0x78], eax
mov r15d, dword [rbp - 0x24]
add r15d, dword [rbp - 0x28]
mov dword [rbp - 0x74], r15d
mov ebx, dword [rbp - 0x20]
sub ebx, r15d
add ebx, dword [rbp - 0x28]
mov dword [rbp - 0x70], ebx
movups xmm0, xmmword [rbp - 0x1c]
movups xmmword [rbp - 0x6c], xmm0
movups xmm1, xmmword [rbp - 0xc]
movups xmmword [rbp - 0x5c], xmm1
mov dil, 1
jmp 0x1401d6329
mov ebx, dword [rbp - 0x70]
mov r15d, dword [rbp - 0x74]
movups xmm7, xmmword [rbp - 0x78]
movups xmmword [rbp + 8], xmm7
movups xmm6, xmmword [rbp - 0x68]
movups xmmword [rbp + 0x18], xmm6
movsd xmm0, qword [rbp - 0x58]
movsd qword [rbp + 0x28], xmm0
mov eax, dword [rbp - 0x50]
mov dword [rbp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d6369
cmp ecx, 0xffffffff
je 0x1401d637e
mov rax, qword [rsp + 0x50]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d637e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.1400affb0
test dil, dil
je 0x1401d6511
mov rcx, qword [r13 + 0x38]
mov eax, dword [rcx + 8]
pextrw r12d, xmm6, 7
pextrw r8d, xmm7, 7
cmp dword [rcx + 0xc], eax
je 0x1401d648c
mov eax, dword [rcx]
cmp eax, 1
jbe 0x1401d63c0
mov rdx, qword [r13 + 0x38]
mov edx, dword [rdx + 4]
lea rcx, [r13 + 0x38]
call fcn.1401d56b0
pextrw r8d, xmm7, 7
mov rcx, qword [r13 + 0x38]
movsxd rax, dword [rcx + 0xc]
mov rdx, qword [rcx + rax*8 + 8]
pextrw eax, xmm7, 6
cmp word [rdx + 0xc], ax
jne 0x1401d648c
cmp word [rdx + 0xe], r8w
jne 0x1401d648c
pextrw eax, xmm6, 1
cmp word [rdx + 0x12], ax
jne 0x1401d648c
movd eax, xmm6
cmp word [rdx + 0x10], ax
jne 0x1401d648c
pextrw eax, xmm6, 2
cmp word [rdx + 0x14], ax
jne 0x1401d648c
pextrw eax, xmm6, 3
cmp word [rdx + 0x16], ax
jne 0x1401d648c
pextrw eax, xmm6, 4
cmp word [rdx + 0x18], ax
jne 0x1401d648c
pextrw eax, xmm6, 5
cmp word [rdx + 0x1a], ax
jne 0x1401d648c
pextrw eax, xmm6, 6
cmp word [rdx + 0x1c], ax
jne 0x1401d648c
cmp word [rdx + 0x1e], r12w
jne 0x1401d648c
movzx eax, word [rbp - 0x56]
cmp word [rdx + 0x22], ax
jne 0x1401d648c
movzx eax, word [rbp - 0x58]
cmp word [rdx + 0x20], ax
jne 0x1401d648c
movzx eax, word [rbp - 0x54]
cmp word [rdx + 0x24], ax
jne 0x1401d648c
movzx eax, word [rbp - 0x52]
cmp word [rdx + 0x26], ax
jne 0x1401d648c
mov eax, dword [rbp - 0x50]
cmp word [rdx + 0x28], ax
jne 0x1401d648c
movzx eax, word [rbp - 0x4e]
cmp word [rdx + 0x2a], ax
jne 0x1401d648c
cmp dword [rdx + 4], r15d
jne 0x1401d648c
cmp dword [rdx + 8], ebx
je 0x1401d6511
cmp byte [rsp + 0x30], 0
jne 0x1401d64ea
xor ecx, ecx
test r12w, r12w
sete cl
xor eax, eax
test r8w, r8w
sete al
cmp eax, ecx
je 0x1401d64ea
mov byte [rsp + 0x30], 1
mov qword [rbp - 0x78], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [0x140265bd0]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
add r8, rcx
mov r9d, r14d
lea rdx, str.MS_registry_TZ_API_violated_its_wMonth_constraint_this_may_cause_mistakes_for__s_from__d
lea rcx, [rbp - 0x78]
call fcn.1400afb60
mov rdx, qword [r13 + 0x38]
mov r8d, r14d
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
mov eax, 0xee943c90
cmove r8d, eax
mov dword [rbp + 8], r8d
lea rdx, [rbp + 8]
lea rcx, [r13 + 0x38]
call fcn.1401d49d0
inc r14d
cmp r14d, dword [rbp - 0x40]
jle 0x1401d62a0
lea r15, [0x140484d90]
jmp 0x1401d65e8
mov dword [rsp + 0x44], 0x2c
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403716d8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401d65c1
mov dword [rbp - 0x78], eax
mov edx, dword [rbp + 8]
mov ecx, dword [rbp + 0xc]
add ecx, edx
mov dword [rbp - 0x74], ecx
sub edx, ecx
add edx, dword [rbp + 0x10]
mov dword [rbp - 0x70], edx
movups xmm0, xmmword [rbp + 0x14]
movups xmmword [rbp - 0x6c], xmm0
movups xmm2, xmmword [rbp + 0x24]
movups xmmword [rbp - 0x5c], xmm2
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbp - 0x18], xmm1
movsd xmm0, qword [rbp - 0x58]
movsd qword [rbp - 8], xmm0
psrldq xmm2, 0xc
movd dword [rbp], xmm2
mov dword [rbp - 0x28], 0xee943c90
lea rcx, [r13 + 0x38]
lea rdx, [rbp - 0x28]
call fcn.1401d49d0
jmp 0x1401d65e8
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbp - 0x18], xmm1
movsd xmm0, qword [rbp - 0x58]
movsd qword [rbp - 8], xmm0
mov eax, dword [rbp - 0x50]
mov dword [rbp], eax
mov dword [rbp - 0x28], 0xee943c90
lea rcx, [rsp + 0x70]
call fcn.140169810
nop
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d6613
cmp ecx, 0xffffffff
je 0x1401d6628
mov rax, qword [rsp + 0x38]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d6628
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
lea rdi, [r13 + 0x18]
lea rcx, [rsp + 0x78]
call fcn.140169810
nop
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d6655
cmp ecx, 0xffffffff
je 0x1401d6669
mov rax, qword [rbp - 0x80]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d6669
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x80]
call fcn.1400affb0
mov rdx, qword [r13 + 0x38]
mov eax, dword [rdx + 0xc]
cmp eax, dword [rdx + 8]
jne 0x1401d66ae
lea rcx, [r13 + 0x10]
call fcn.1400b0c40
mov rcx, rdi
call fcn.1400b0c40
mov rcx, qword [r13 + 0x20]
cmp rcx, r15
je 0x1401d6701
mov qword [r13 + 0x20], r15
mov eax, dword [rcx]
test eax, eax
je 0x1401d66a7
cmp eax, 0xffffffff
je 0x1401d6701
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1401d6701
mov edx, 2
jmp 0x1401d66f6
mov rax, qword [r13 + 0x10]
cmp dword [rax + 4], 0
jne 0x1401d6701
lea rdx, [r13 + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400bf580
mov rcx, qword [r13 + 0x10]
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x10], rax
mov qword [rsp + 0x50], rcx
mov eax, dword [rcx]
test eax, eax
je 0x1401d66ec
cmp eax, 0xffffffff
je 0x1401d6701
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1401d6701
mov edx, 1
mov rcx, qword [rsp + 0x50]
mov r8d, 8
call fcn.1400affb0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140229fa0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret