Function at 0x140007390
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rsi, r9
mov r12, r8
mov r13, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x3c], r14d
call qword [0x14000a448]
mov dword [rbp - 0x3c], 1
mov dword [rbp + 0x50], r14d
mov dword [rbp + 0x58], r14d
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
mov r8, qword [r12]
xor edx, edx
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [rsi], eax
mov ecx, dword [rbp + 0x50]
test eax, eax
jne 0x1400074b7
cmp ecx, 1
je 0x14000741c
cmp ecx, 2
jne 0x140007490
mov eax, dword [rbp + 0x58]
test eax, eax
je 0x140007490
mov ecx, eax
call qword [sym.imp.mfc100u.dll_new__]
mov rdi, rax
test rax, rax
je 0x14000748d
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
mov r8, qword [r12]
xor edx, edx
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [rsi], eax
test eax, eax
jne 0x140007484
mov eax, dword [rbp + 0x50]
cmp eax, 1
je 0x140007472
cmp eax, 2
jne 0x140007484
cmp dword [rbp + 0x58], 0
jbe 0x140007484
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CVSListBoxBase::CVSListBoxBase]
mov rcx, rdi
call qword [sym.imp.mfc100u.dll_delete__]
mov ecx, dword [rbp + 0x50]
cmp dword [rsi], 0
jne 0x1400074b7
cmp ecx, 1
je 0x14000749f
cmp ecx, 2
jne 0x1400074a5
cmp dword [rbp + 0x58], 0
ja 0x1400074b7
mov dword [rsi], InitCommonControls
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CMFCTabCtrl::Draw3DTab]
mov ecx, dword [rbp + 0x50]
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
je 0x1400075c7
cmp ecx, 2
jne 0x1400075c7
lea rcx, [rbp - 0x28]
call qword [0x14000a448]
nop
lea rcx, [rbp - 0x30]
call qword [0x14000a448]
nop
mov dword [rbp - 0x40], r14d
lea r9, [rbp - 0x40]
lea r8, [0x14000cbac]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CMonthCalCtrl::SetSelRange]
nop
mov rax, qword [rbp - 0x38]
cmp dword [rax - 0x10], 0
je 0x14000758f
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140007250
nop
mov rdx, rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_CView::CView]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov r11, qword [rbp - 0x28]
lea rcx, [rbp - 0x30]
cmp dword [r11 - 0x10], 0
lea rdx, [rbp - 0x38]
je 0x14000754d
lea rdx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_]
lea r9, [rbp - 0x40]
lea r8, [0x14000cbac]
lea rdx, [rbp - 0x18]
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CMonthCalCtrl::SetSelRange]
nop
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc100u.dll_CView::CView]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov r11, qword [rbp - 0x38]
cmp dword [r11 - 0x10], 0
jne 0x140007510
mov rax, qword [rbp - 0x30]
cmp dword [rax - 0x10], 0
je 0x1400075a7
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.mfc100u.dll_CView::CView]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc100u.dll_CWinApp::CWinApp]
mov rax, rbx
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret