Function at 0x4038f0
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 esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x403917
push 0x425e00
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi + 4]
test edi, edi
je 0x403946
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
lea eax, [ebp - 0x10]
push eax
call fcn.00409450
mov esi, dword [0x42d670]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4039db
push dword [esi + 0xc]
push str.REName
sub esp, 8
call fcn.00407430
test al, al
jne 0x4039db
cmp dword [esi + 0x48], 0
jne 0x40398f
push str.GameBox.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
jmp 0x4039c4
push 0
call fcn.00411738
push eax
call fcn.00411728
call fcn.00411707
cdq
mov ecx, 0x22
idiv ecx
shl edx, 8
add edx, str.MRAInplaceViewer
push edx
push str._s.exe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push dword [esi + 0xc]
push str.REName
push str.SOFTWARE4997SBox
push 0x80000002
call fcn.004073a0
mov eax, dword [esi + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
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 0x403a36
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x403a7b
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x403ac0
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call ebx
test eax, eax
jne 0x403b05
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x403b4a
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonZoneCrossing
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000002
call ebx
test eax, eax
jne 0x403b8f
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnonBadCertRecving
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x10]
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 0x403bd5
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.WarnOnPostRedirect
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410c9e
mov esp, ebp
pop ebp
ret