Function at 0x14001c250
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x618]
sub rsp, 0x6f0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov rsi, rcx
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_959]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.CrlUtl.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_INIGetAddonsDir_void_]
nop
lea rdx, [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14001c120
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
mov r8, rax
xor edx, edx
xor ecx, ecx
mov r9d, Ordinal_265
call qword [sym.imp.CrlUtl.dll_BOXIDGetRegistryInfo]
test eax, eax
setne bl
or edx, 0xffffffff
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
xor r12d, r12d
test bl, bl
je 0x14001c5ac
mov r14d, r12d
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
lea rdx, str.CoreComponentList
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c59e
mov r14, qword [rsp + 0x48]
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], r12d
mov r15d, r12d
mov dword [rsp + 0x58], Ordinal_265
nop word [rax + rax]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x3d0]
mov edx, r15d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r15d
test eax, eax
jne 0x14001c59e
mov dword [rsp + 0x58], Ordinal_265
mov rbx, r12
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], r12d
mov qword [rbp - 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x3d0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001c587
mov eax, r12d
mov rbx, qword [rsp + 0x40]
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], r12d
test eax, eax
jne 0x14001c587
mov edi, r12d
mov dword [rsp + 0x40], Ordinal_1031
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.HostID
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c488
mov eax, dword [rsp + 0x5c]
dec eax
cmp eax, 1
ja 0x14001c488
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c477
test al, 1
jne 0x14001c488
shr rax, 1
cmp word [rbp + rax*2 - 0x32], di
je 0x14001c47c
jmp 0x14001c488
mov word [rbp - 0x30], r12w
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCR120.dll__wtoi]
mov edi, eax
call qword [sym.imp.CrlUtl.dll_public:_static_struct_IAppStartupInit____ptr64___cdecl_ApplicationInfo::Settings_void_]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x40]
test edi, eax
je 0x14001c587
mov dword [rsp + 0x40], Ordinal_1031
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.InprocServer32
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c501
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
ja 0x14001c501
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c4fa
test al, 1
jne 0x14001c501
shr rax, 1
cmp word [rbp + rax*2 - 0x32], 0
je 0x14001c572
jmp 0x14001c501
mov word [rbp - 0x30], r12w
jmp 0x14001c572
mov dword [rsp + 0x40], Ordinal_1031
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x140198ad0]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001c587
mov eax, dword [rsp + 0x48]
dec eax
cmp eax, 1
ja 0x14001c587
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14001c55c
test al, 1
jne 0x14001c587
shr rax, 1
cmp word [rbp + rax*2 - 0x32], 0
je 0x14001c561
jmp 0x14001c587
mov word [rbp - 0x30], r12w
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.14001be90
test al, al
je 0x14001c587
lea r8, [rbp - 0x30]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_12792]
nop
test rbx, rbx
je 0x14001c380
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001c380
test r14, r14
je 0x14001c5ac
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.CdrCore.dll_struct_IDrawAppComponent____ptr64___cdecl_DRAWGetAppInterface_void_]
mov r14, rax
mov rbx, r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jle 0x14001c684
test rbx, rbx
js 0x14001c67d
cmp rbx, rcx
jge 0x14001c67d
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x14001c66a
lea rdx, str.CreateDrawCoreComponent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rdi, rax
test rax, rax
je 0x14001c66a
mov r8, qword [rsi]
mov rdx, rax
mov rcx, rsi
call qword [r8 + 0x28]
test al, al
jne 0x14001c66a
mov r8, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [r8 + 0x10]
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x30]
mov qword [rsp + 0x48], r12
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [0x140198ac0]
mov rcx, rdi
call qword [rax]
test al, al
je 0x14001c66a
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001c66a
lea rax, [rsi - 0x10]
mov rdx, r12
test rax, rax
cmovne rdx, rsi
mov rax, qword [rcx]
call qword [rax]
inc rbx
mov rcx, qword [rsp + 0x78]
cmp rbx, rcx
jl 0x14001c5c6
jmp 0x14001c684
call qword [sym.imp.mfc120u.dll_Ordinal_2302]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc120u.dll_Ordinal_1423]
mov al, 1
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.14010f170
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret