Function at 0x40ea40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x45407c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea esi, [ecx + 4]
push esi
push str._sZona.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call edi
push esi
push str._suninstall.exe
lea ecx, [ebp - 0x414]
push 0x104
push ecx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x20
test esi, esi
je 0x40eb00
push 0
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREZona
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40eb00
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ead0
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.Path
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona_
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40eb4d
mov ecx, dword [ebp - 0x418]
push 0xa
push str.Zona
push 1
push eax
push str.DisplayName
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40eb94
mov ecx, dword [ebp - 0x418]
push 0xa
push str.Zona
push 1
push eax
push str.DisplayName
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40ebdb
mov ecx, dword [ebp - 0x418]
push 0x14
push str.Zona_Team
push 1
push eax
push str.Publisher
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x41c], 0x7800
call esi
test eax, eax
jne 0x40ec2e
mov edx, dword [ebp - 0x418]
push 4
lea ecx, [ebp - 0x41c]
push ecx
push 4
push eax
push str.EstimatedSize
push edx
call edi
mov eax, dword [ebp - 0x418]
push eax
call ebx
push 0
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40ec96
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ec60
mov ecx, dword [ebp - 0x418]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.DisplayIcon
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x40ecfb
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ecc5
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x418]
push ecx
lea edx, [ebp - 0x414]
push edx
push 1
push 0
push str.UninstallString
push eax
call edi
mov ecx, dword [ebp - 0x418]
push ecx
call ebx
push 0
lea edx, [ebp - 0x418]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x41c], 1
call esi
test eax, eax
jne 0x40ed4f
mov ecx, dword [ebp - 0x418]
push 4
lea eax, [ebp - 0x41c]
push eax
push 4
push 0
push str.NoModify
push ecx
call edi
mov edx, dword [ebp - 0x418]
push edx
call ebx
push 0
lea eax, [ebp - 0x418]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallZona
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x41c], 1
call esi
test eax, eax
jne 0x40eda2
mov edx, dword [ebp - 0x418]
push 4
lea ecx, [ebp - 0x41c]
push ecx
push 4
push eax
push str.NoRepair
push edx
call edi
mov eax, dword [ebp - 0x418]
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004276fb
mov esp, ebp
pop ebp
ret 0xc