Function at 0x140071960
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 [0x1400ece98]
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 0x140071a0a
lea rdx, [rbx + 0x28]
mov rcx, rax
call fcn.1400717b0
mov rbx, rax
jmp 0x140071a0d
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 0x140071c1e
lea edi, [rax + 1]
cmp dword [rsp + 0x60], r12d
je 0x140071c1e
call fcn.1400185b0
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 0x140071be1
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 0x140071bd5
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 0x140071b25
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.14000c838
nop
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140072034
nop
cmp qword [rbp - 0x28], 8
jb 0x140071b61
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140072754
test eax, eax
jne 0x140071b96
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140072f84
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x140071b8a
jmp 0x140071bc9
mov rcx, rbx
call fcn.1400718a8
test eax, eax
je 0x140071bd5
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140072f84
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x140071bbf
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14000c838
add esi, edi
cmp esi, dword [rsp + 0x60]
jb 0x140071acd
mov esi, r12d
test r14d, r14d
je 0x140071c15
mov dword [rsp + 0x68], esi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140072f84
mov rdx, rax
mov rcx, rbx
call fcn.140072034
mov rcx, rbx
call fcn.140072cd8
add esi, edi
cmp esi, r14d
jb 0x140071be9
lea rcx, [rbp - 0x70]
call fcn.140072eb0
test rbx, rbx
je 0x140071c2b
mov rcx, rbx
call fcn.14006ded8
mov eax, edi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400842d0
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret