Function at 0x402090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov esi, ecx
push eax
call fcn.00403630
mov eax, dword [ebp - 4]
push esi
mov dword [ebp - 8], eax
call fcn.004029d0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x425958
push 0x80000001
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x402101
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push dword [ebp - 0xc]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x402146
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x40218b
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x4021d0
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x402215
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x40225a
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x40229f
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x4022e4
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.CertificateRevocation
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret