Function at 0x1400044d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140011008]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r13, rcx
xor r12d, r12d
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareAutodeskSubscriptionCenterProfile
mov rcx, 0xffffffff80000001
call fcn.140008f00
cmp eax, 2
jne 0x14000454d
mov al, 1
jmp 0x140004774
test eax, eax
je 0x140004558
xor al, al
jmp 0x140004774
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r14d, r12d
mov dword [rsp + 0x68], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov dword [rsp + 0x58], r12d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x70]
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400046de
inc dword [rsp + 0x68]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_operator]
mov rdi, rax
test rax, rax
je 0x1400046cb
mov dword [rsp + 0x6c], r12d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x70]
mov edx, r14d
mov rcx, qword [rsp + 0x60]
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400046b2
cmp dword [rsp + 0x6c], 1
jne 0x1400046b9
lea rdx, str.UserID
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x14000464f
lea rcx, [r13 + 0x98]
mov rdx, rdi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x1400046c2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rdx, rdi
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rsi, qword [r13 + 0xd8]
test rsi, rsi
js 0x1400046d7
lea rdx, [rsi + 1]
lea rcx, [r13 + 0xc8]
call fcn.140005ce0
shl rsi, 4
add rsi, qword [r13 + 0xd0]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
jmp 0x1400046c2
cmp dword [rsp + 0x6c], 1
je 0x1400046c2
mov ebx, SafeArrayGetDim
mov dword [rsp + 0x40], ebx
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_operator_1]
inc r14d
test ebx, ebx
jne 0x1400046de
jmp 0x140004572
call qword [sym.imp.mfc140u.dll_AfxRegDeleteKey]
int3
cmp ebx, 0x103
je 0x1400046ea
xor bl, bl
jmp 0x140004750
mov bl, 1
mov rax, qword [r13 + 0x98]
cmp dword [rax - 0x10], 0
jne 0x140004750
lea rdx, str.UserID
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400074d0
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, qword [rbp - 0x80]
cmp dword [rax - 0x10], 0
jne 0x140004746
movzx ebx, bl
cmp dword [rsp + 0x40], 2
cmovne ebx, r12d
lea rcx, [rbp - 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x60]
call sub.ADVAPI32.dll_RegCloseKey
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140007ea0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret