Function at 0x403700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x403727
push 0x421df0
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x403756
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x408
push edi
call esi
inc eax
mov ecx, 0x64
cmp eax, ecx
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call esi
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.00408500
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.004049e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
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 0x4037bc
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push dword [ebp - 8]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
call fcn.004049e0
mov dword [ebp - 0x10], 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 0x80000002
call ebx
test eax, eax
jne 0x403806
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push dword [ebp - 0x10]
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 0x40384b
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 0x403890
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 0x4038d5
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 0x40391a
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 0x40395f
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
pop ebx
test eax, eax
jne 0x4039a5
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
xor ecx, ebp
pop esi
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret