Function at 0x14007ff94
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x500
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400fd258]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r15, rdx
mov rbx, rcx
xor edx, edx
mov r8d, CSocketFile::CSocketFile
lea rcx, [rbp + 0x1e0]
call sub.msvcrt.dll_memset
mov dword [rbp - 0x78], 0x104
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov dword [rbp - 0x7c], r12d
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x70], r12d
mov ecx, 0x90
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetDayState]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14008003e
lea rdx, [rbx + 0x28]
mov rcx, rax
call fcn.14007fde4
mov rbx, rax
jmp 0x140080041
mov rbx, r12
mov edi, r12d
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x78]
lea rdx, [rbp + 0x1e0]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x140080252
lea edi, [rax + 1]
cmp dword [rsp + 0x60], r12d
je 0x140080252
call fcn.1400188d8
mov qword [rbp - 0x68], rax
mov byte [rax + 0x49], dil
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rax
mov rax, qword [rbp - 0x68]
mov qword [rax], rax
mov rax, qword [rbp - 0x68]
mov qword [rax + 0x10], rax
mov qword [rbp - 0x60], r12
mov r14d, r12d
mov esi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x140080215
or r13, 0xffffffffffffffff
mov dword [rbp - 0x74], 0xff
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x74]
lea r8, [rbp - 0x20]
mov edx, esi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140080209
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
lea rax, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x140080159
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.14000c5ac
nop
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140080668
nop
cmp qword [rbp - 0x28], 8
jb 0x140080195
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140080d88
test eax, eax
jne 0x1400801ca
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400815b0
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x1400801be
jmp 0x1400801fd
mov rcx, rbx
call fcn.14007fedc
test eax, eax
je 0x140080209
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400815b0
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x1400801f3
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14000c5ac
add esi, edi
cmp esi, dword [rsp + 0x60]
jb 0x140080101
mov esi, r12d
test r14d, r14d
je 0x140080249
mov dword [rsp + 0x68], esi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400815b0
mov rdx, rax
mov rcx, rbx
call fcn.140080668
mov rcx, rbx
call fcn.140081304
add esi, edi
cmp esi, r14d
jb 0x14008021d
lea rcx, [rbp - 0x70]
call fcn.1400814dc
test rbx, rbx
je 0x14008025f
mov rcx, rbx
call fcn.14007c478
mov eax, edi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400929d0
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret