Function at 0x100043b70
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x520
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1000f6188]
xor rax, rsp
mov qword [rsp + Ordinal_1297], rax
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov word [r11 - 0x248], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x246]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x88], AFX_MODULE_STATE::AFX_MODULE_STATE
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x84], r13d
mov dword [rsp + 0x90], r13d
mov dword [rsp + 0x94], r13d
mov dword [rsp + 0x78], r13d
mov dword [rsp + 0x7c], r13d
mov dword [rsp + 0x8c], r13d
mov ecx, 0x90
call sub.MFC42u.dll_CMonthCalCtrl::SetDayState
mov qword [rsp + 0xb0], rax
cmp rax, r13
je 0x100043c2f
lea rdx, [rdi + 0x28]
mov rcx, rax
call fcn.10000a658
mov rbx, rax
jmp 0x100043c32
mov rbx, r13
mov edi, r13d
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x94]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x300]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, r13d
jne 0x100043f48
cmp dword [rsp + 0x64], r13d
je 0x100043f43
lea rcx, [rsp + 0x98]
call fcn.10000a750
mov qword [rsp + 0xa0], rax
mov byte [rax + 0x49], 1
mov rax, qword [rsp + 0xa0]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax], rax
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x10], rax
mov qword [rsp + 0xa8], r13
mov esi, r13d
mov ebp, r13d
cmp dword [rsp + 0x64], r13d
jbe 0x100043eff
or r15, 0xffffffffffffffff
mov dword [rsp + 0x80], 0xff
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x100]
mov edx, ebp
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, r13d
jne 0x100043ef3
mov qword [rsp + 0xe0], 7
mov qword [rsp + 0xd8], r13
mov word [rsp + 0xc8], r13w
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call fcn.100006330
nop
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.100044414
nop
cmp qword [rsp + 0xe0], 8
jb 0x100043ddb
mov rcx, qword [rsp + 0xc8]
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
mov rcx, rbx
call fcn.100044d10
cmp eax, r13d
jne 0x100043e2f
mov dword [rsp + 0x60], esi
inc esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.1000459a4
mov r11, rax
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
mov rcx, r11
call fcn.100006330
jmp 0x100043ef3
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rcx, [rbx + 0x50]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [rsp + 0x68]
mov dword [rsp + 0x70], edx
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
movabs rcx, 0x10c388d000
mov rax, qword [rsp + 0x70]
sub rax, rcx
mov qword [rsp + 0x70], rax
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], ecx
shr rax, 0x20
mov dword [rsp + 0x6c], eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, r13d
jle 0x100043ef3
mov dword [rsp + 0x60], esi
inc esi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.1000459a4
mov r11, rax
xor eax, eax
mov rcx, r15
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x100]
mov rcx, r11
call fcn.100006330
inc ebp
cmp ebp, dword [rsp + 0x64]
jb 0x100043d1d
mov edi, r13d
cmp esi, r13d
jbe 0x100043f36
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x98]
call fcn.1000459a4
mov rdx, rax
mov rcx, rbx
call fcn.100044414
mov rcx, rbx
call fcn.1000451a0
inc edi
cmp edi, esi
jb 0x100043f07
lea rcx, [rsp + 0x98]
call fcn.100045ab4
mov edi, 1
cmp rbx, r13
je 0x100043f5a
mov edx, 1
mov rcx, rbx
call fcn.100014f78
mov eax, edi
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.1000011e0
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret