Function at 0x140070910
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 [0x1400ebe98]
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 0x1400709ba
lea rdx, [rbx + 0x28]
mov rcx, rax
call fcn.140070760
mov rbx, rax
jmp 0x1400709bd
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 0x140070bce
lea edi, [rax + 1]
cmp dword [rsp + 0x60], r12d
je 0x140070bce
call fcn.140018690
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 0x140070b91
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 0x140070b85
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 0x140070ad5
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x48]
call fcn.14000c90c
nop
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.140070fe4
nop
cmp qword [rbp - 0x28], 8
jb 0x140070b11
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140071704
test eax, eax
jne 0x140070b46
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140071f34
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x140070b3a
jmp 0x140070b79
mov rcx, rbx
call fcn.140070858
test eax, eax
je 0x140070b85
mov dword [rsp + 0x68], r14d
add r14d, edi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140071f34
lea rcx, [rbp - 0x20]
mov r8, r13
inc r8
cmp word [rcx + r8*2], r12w
jne 0x140070b6f
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.14000c90c
add esi, edi
cmp esi, dword [rsp + 0x60]
jb 0x140070a7d
mov esi, r12d
test r14d, r14d
je 0x140070bc5
mov dword [rsp + 0x68], esi
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140071f34
mov rdx, rax
mov rcx, rbx
call fcn.140070fe4
mov rcx, rbx
call fcn.140071c88
add esi, edi
cmp esi, r14d
jb 0x140070b99
lea rcx, [rbp - 0x70]
call fcn.140071e60
test rbx, rbx
je 0x140070bdb
mov rcx, rbx
call fcn.14006ce88
mov eax, edi
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140083280
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret