Function at 0x4061e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40c1a0
push eax
mov eax, 0x182c
mov dword fs:[0], esp
call fcn.0040b6d0
push ebx
push ebp
push esi
push edi
push ecx
lea eax, [esp + 0x1850]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x184c], 0
mov dword [esp + 0x40], 0x800
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
push ecx
call fcn.00406620
add esp, 4
lea edx, [esp + 0x1850]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x184c], 1
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x1c]
push eax
call fcn.00406780
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x1844], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1844], 3
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x184c]
push str.2002
push ecx
mov byte [esp + 0x184c], 4
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40636d
push 0x80000001
lea ecx, [esp + 0x34]
call fcn.00403b80
lea edx, [esp + 0x1c]
push 0x41119c
lea eax, [esp + 0x14]
mov bl, 5
push edx
push eax
mov byte [esp + 0x1850], bl
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push eax
push edx
mov byte [esp + 0x1850], 6
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x1844], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
call fcn.00403c10
test eax, eax
je 0x40634c
lea ecx, [esp + 0x24]
push ecx
push str.LocalRootFolder
lea ecx, [esp + 0x38]
call fcn.00403c70
test eax, eax
je 0x40658d
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
push str.RoamableRootFolder
call fcn.00403c70
test eax, eax
je 0x40658d
lea ecx, [esp + 0x30]
call fcn.00403c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1844], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1844], 4
call fcn.00403bc0
mov eax, dword [0x412ae8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push ecx
push edx
lea eax, [esp + 0x48]
push str._s_sProfiles_sGeneral
push eax
call esi
add esp, 0x14
lea ecx, [esp + 0x38]
lea edx, [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
lea eax, [esp + 0x54]
push 0
push eax
push 0x80000001
call ebp
lea ecx, [esp + 0x28]
push str.support
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov edx, dword [0x412b00]
mov ecx, dword [0x412af0]
mov eax, dword [eax]
push edx
push ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push edx
lea edx, [esp + 0x860]
push str._s__s__s__s__s_support__sexpress__shelp__s_fonts__s_arx
push edx
call esi
add esp, 0x2c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x83c]
push 0x800
push eax
push 1
push 0
push str.ACAD
push ecx
call edi
mov edx, dword [0x412b00]
mov eax, dword [esp + 0x14]
push 0x800
push edx
push 1
push 0
push str.TemplatePath
push eax
call edi
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call ebx
mov edx, dword [0x412ae8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x1048]
push str._s_sProfiles_sGeneral_Configuration
push edx
call esi
add esp, 0x14
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x103c]
push eax
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push 0x80000001
call ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x412aec]
mov ecx, dword [0x412b00]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
mov byte [esp + 0x1854], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esp + 0x18]
push edx
push 1
push 0
push str.MenuFile
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push ecx
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1844], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1844], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1844], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1844], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1844], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x184c]
mov dword [esp + 0x1844], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x183c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1838
ret
lea ecx, [esp + 0x30]
call fcn.00403c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1844], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1844], 4
call fcn.00403bc0
lea ecx, [esp + 0x28]
mov byte [esp + 0x1844], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1844], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1844], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1844], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x184c]
mov dword [esp + 0x1844], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x406574