Function at 0x4041b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x429280]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov esi, ecx
push eax
call fcn.00408e40
mov eax, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x10], eax
call fcn.00405330
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40422b
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x404270
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x4042b5
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x4042fa
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x40433f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x404384
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x4043c9
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x14]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041050e
mov esp, ebp
pop ebp
ret