Function at 0x1400ee660
Capabilities:
Create thread
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rdi, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0x5b
xor r15d, r15d
lea r9, [r15 - 1]
lea r8, str.On_Init_Dialog
mov edx, 0x102
lea rcx, [rbp - 0x4a]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401606c0]
mov edx, 0x104
lea rcx, [rbp - 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [r15 - 1]
lea r8, str.CMainDialog::OnInitDialog
mov edx, 0x104
lea rcx, [rbp + 0x1bc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401993f8]
mov eax, dword [0x1401993fc]
lea r12d, [r15 + 1]
add ecx, eax
je 0x1400ee7ad
mov dword [rsp + 0x50], r15d
call fcn.1400057e0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1400ee73a
call fcn.1400057e0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x60], 0x20
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1bc]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x60]
movsx edx, r12w
call fcn.140004bd0
nop
mov qword [rsp + 0x48], r15
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x1400ee7a8
call fcn.140005b50
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1400ee793
lock inc dword [rsp + 0x50]
mov rcx, rdi
call fcn.14006dbf0
mov dword [rsp + 0x58], r15d
lea rcx, [rsp + 0x58]
call qword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jne 0x1400ee7d0
cmp dword [rsp + 0x58], 1
je 0x1400ee7f0
mov rbx, qword [rdi + 0x30]
call fcn.140009d20
xor r8d, r8d
lea edx, [r8 + 0xc]
mov rcx, rbx
mov rax, qword [rax + 0xa8]
call qword [case.0x14006aed5.0]
lea r8, str.IDS_APPNAME
lea rdx, [rbp - 0x78]
call fcn.1400448a0
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400ee85e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ee859
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ee859
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rbx, qword [rsp + 0x68]
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x28]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x170]
call qword [case.0x14006aed5.0]
mov rcx, rdi
call fcn.1400e9450
mov rcx, rdi
call fcn.1400c43f0
mov rcx, rdi
call fcn.1400c3ea0
mov rcx, rdi
call fcn.1400db3a0
mov rcx, rdi
call fcn.1400ea560
xor sil, sil
mov rbx, r15
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], r15d
mov qword [rbp - 0x80], r15
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x140199380], 0
jne 0x1400ee903
lea rcx, [0x140199360]
call fcn.140040ae0
lea rcx, [0x140199388]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x140199380]
test rcx, rcx
je 0x1400ee937
mov rax, qword [rcx]
lea r8, [0x14014d678]
mov edx, 0xcb
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
jmp 0x1400ee93e
lea rax, str._error_interface_not_inited_
mov qword [rsp + 0x58], r15
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, r12d
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400ee96f
mov eax, r15d
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x1400ee9c4
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.IsUpsell
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400ee9c4
cmp dword [rsp + 0x44], 4
jne 0x1400ee9c4
movzx esi, sil
cmp dword [rsp + 0x40], 1
cmove esi, r12d
test rbx, rbx
je 0x1400ee9d5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
test rbx, rbx
je 0x1400ee9e3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rdi + CStringList::AddTail], sil
mov rcx, rdi
call fcn.1400d5da0
mov byte [rdi + 0x7ed], al
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], r15d
mov rax, qword [rdi]
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov rax, qword [rax + 0x168]
call qword [case.0x14006aed5.0]
cmp dword [rsp + 0x40], 0
je 0x1400eea3f
xor edx, edx
mov rcx, rdi
call fcn.14006f450
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd qword [rdi + 0x4b8], xmm1
lea rdx, str.MAINICON
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
je 0x1400eea6a
mov r8, rax
mov edx, 0xfffffff2
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
mov rcx, rdi
call fcn.1400d97a0
mov rax, qword [rdi + 0x28]
lea rcx, [rdi + 0x28]
mov rax, qword [rax]
call qword [case.0x14006aed5.0]
mov qword [rdi + 0x748], 0x659
mov qword [rdi + 0x740], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rdi + 0x738]
lea r8, [0x140032760]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x738], rax
mov rdx, qword [rdi + 0x830]
mov rax, qword [rdi + 0x30]
mov qword [rdx + 8], rax
mov rcx, qword [rdi + 0x830]
call fcn.1400b12e0
mov rax, qword [rdi + 0x28]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xdfe
lea rcx, [rdi + 0x28]
mov rax, qword [rax + 0x30]
call qword [case.0x14006aed5.0]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x50]
call fcn.1400091b0
mov eax, r12d
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret