Function at 0x408450
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x40c8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x414018]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.SoftwareAutodeskAutodesk_Digital_Signatures
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x10]
push eax
push SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.AcRegistryAccess.0
mov dword [esp + 0x2c], 0
call dword [0x40ebd0]
mov ebx, 1
mov byte [esp + 0x30], bl
cmp dword [esp + 0x24], 0
jne 0x408570
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403990
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x408554
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 2
push 0x40e770
push ebx
push 0
push str.LastCertificate
push eax
call esi
mov eax, dword [esp + 0x1c]
push 2
push 0x40e770
push ebx
push 0
push str.LastSearchFolder
push eax
call esi
mov ecx, dword [esp + 0x1c]
push 2
push 0x40e770
push ebx
push 0
push str.LastSearchName
push ecx
call esi
mov edx, dword [esp + 0x1c]
push 2
push 0x40e770
push ebx
push 0
push str.LastAddDirectory
push edx
call esi
mov ecx, dword [esp + 0x1c]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.SubFolderSearch
push ecx
mov dword [esp + 0x2c], ebx
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x18], vtable.AcRegistryAccess.0
je 0x4086ba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4086ba
push str.LastCertificate
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ebx, [esp + 0x28]
mov byte [esp + 0x38], 2
call fcn.00401360
push eax
lea ecx, [edi + 0x47c]
mov byte [esp + 0x34], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.LastSearchFolder
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 4
call fcn.00401360
push eax
lea ecx, [edi + 0x480]
mov byte [esp + 0x34], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.LastSearchName
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x38], 6
call fcn.00401360
push eax
lea ecx, [edi + 0x484]
mov byte [esp + 0x34], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push str.LastAddDirectory
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x38], 8
call fcn.00401360
push eax
lea ecx, [edi + 0x488]
mov byte [esp + 0x34], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov esi, ebx
call fcn.004038e0
cmp eax, 1
sete cl
mov byte [edi + 0x490], cl
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x20], vtable.AcRegistryAccess.0
je 0x4086d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret