Function at 0x479880
Capabilities:
Delete registry key
Get installed programs
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x568cb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x22c], str..kzShellNew
mov dword [ebp - 0x228], str..zipShellNew
mov dword [ebp - 0x224], str..7zShellNew
mov dword [ebp - 0xc], str.KzNew.dat
mov dword [ebp - 8], str.zipnew.dat
mov dword [ebp - 4], str.7znew.dat
mov dword [ebp - 0x234], 0
jmp 0x4798e1
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 3
jge 0x479999
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.004be924
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp + ecx*4 - 0x22c]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x479944
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ebp + ecx*4 - 0x22c]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp + eax*4 - 0xc]
push ecx
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call fcn.004b7f07
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.FileName
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4798d2
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.004be924
add esp, 0xc
push str.X86Uninst.exe
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x10]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallKuaiZip
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x479b47
push 0
call fcn.00479d30
add esp, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], edx
lea eax, [ebp - 0x220]
push eax
call fcn.004b7f07
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x220]
push edx
push 1
push 0
push str.UninstallString
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xf
mov ecx, 0x56d2e8
call fcn.00474010
push eax
call fcn.004b7f07
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push 0xf
mov ecx, 0x56d2e8
call fcn.00474010
push eax
push 1
push 0
push str.DisplayName
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x51edb0
call fcn.004b7f07
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x51edc4
push 1
push 0
push str.DisplayVersion
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ebp - 0x220]
push edx
call fcn.004b7f07
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 1
push 0
push str.DisplayIcon
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x51ee10
call fcn.004b7f07
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x51ee2c
push 1
push 0
push str.Publisher
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0
push 0
push 0x51ee5c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x479b21
push 8
lea eax, [ebp - 0x240]
push eax
push 0xb
push 0
push 0x51ee74
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 8
lea edx, [ebp - 0x240]
push edx
push 0xb
push 0
push str.LastUpdateDate
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x10]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x479b8a
push str.KZip
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00478dd0
call fcn.004796f0
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8307
mov esp, ebp
pop ebp
ret