Function at 0x1401d4ec0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140492fc0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rcx
mov qword [rbp - 0x50], rcx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rax, [0x140484e18]
mov qword [rcx], rax
mov edi, 1
mov dword [rsp + 0x60], edi
mov qword [rbp - 0x60], gethostname
lea rax, str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x20], r15d
mov r9d, 0x20019
lea r8, [rbp - 0x60]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x70]
call fcn.1401697d0
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1401d5145
mov dword [rsp + 0x64], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
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 0x1401d5145
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1401d5145
mov esi, r15d
lea r12, [0x140484d90]
mov rbx, qword [rbp - 0x60]
nop
mov dword [rbp - 0x80], 0xff
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x40]
mov edx, esi
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1401d5139
mov r8d, 0xffffffff
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x78]
call fcn.1400ba830
nop
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
mov qword [rax], r12
or edi, 0xa
mov dword [rsp + 0x60], edi
test dil, 4
je 0x1401d505a
and edi, 0xfffffffb
mov dword [rsp + 0x60], edi
mov eax, dword [rbx]
test eax, eax
je 0x1401d5043
cmp eax, 0xffffffff
je 0x1401d5056
mov eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1401d5056
mov edx, 2
mov r8d, 8
mov rcx, rbx
call fcn.1400affb0
mov edi, dword [rsp + 0x60]
test dil, 2
je 0x1401d50a0
and edi, 0xfffffffd
mov dword [rsp + 0x60], edi
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5088
cmp ecx, 0xffffffff
je 0x1401d509c
mov rax, qword [rbp - 0x78]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d509c
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x78]
call fcn.1400affb0
mov edi, dword [rsp + 0x60]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.1400bf580
or edi, 0x10
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140008a10
nop
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d50e7
cmp ecx, 0xffffffff
je 0x1401d50fd
mov rax, qword [rsp + 0x70]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d50fd
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x70]
call fcn.1400affb0
nop
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401d5120
cmp ecx, 0xffffffff
je 0x1401d5135
mov rax, qword [rsp + 0x78]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401d5135
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x78]
call fcn.1400affb0
mov edi, dword [rsp + 0x60]
inc esi
cmp esi, dword [rsp + 0x64]
jb 0x1401d4fc0
lea rcx, [rbp - 0x70]
call fcn.140169810
mov rax, r14
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140229fa0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret