Function at 0x4792a0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567237
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x5c9c4c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa40], esi
lea eax, [ebp - 0x230]
push 0x11
push eax
call fcn.004385e0
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x4792f6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa34]
call fcn.0040e030
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x479346
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47933c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479677
push edx
push ecx
call fcn.004a975e
add esp, 8
push dword [ebp - 0xa34]
xor eax, eax
mov dword [ebp - 0x220], 0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x800
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.00506df0
add esp, 0xc
lea eax, [ebp - 0xa30]
push 0x57be0c
push dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4793b0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa30]
push eax
push 1
push str.DisplayIcon
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
call fcn.0040cd20
mov ecx, eax
test ecx, ecx
je 0x47967c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], eax
push 0x57cc28
lea ecx, [ebp - 0xa38]
mov byte [ebp - 4], 3
call fcn.0040e220
test al, al
jne 0x47942b
push 3
push 0x57cc28
lea ecx, [ebp - 0xa38]
call fcn.0040d860
mov eax, dword [ebp - 0xa38]
mov byte [ebp - 4], 4
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayName
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov eax, dword [esi + 4]
sub eax, 0x10
push eax
call fcn.0040c5b0
add eax, 0x10
add esp, 4
mov dword [ebp - 0xa3c], eax
push 0x11
push str.ComputerZ_CN.exe
lea ecx, [ebp - 0xa3c]
mov byte [ebp - 4], 5
call fcn.0042e800
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506df0
mov edi, dword [ebp - 0xa3c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call fcn.004113b0
lea ecx, [ebp - 0x218]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4794b5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.DisplayVersion
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push 3
push 0x57cc28
lea ecx, [ebp - 0xa38]
call fcn.0040d860
mov eax, dword [ebp - 0xa38]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.Publisher
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push str.uninst.exe
push dword [esi + 4]
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479534
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa30]
push eax
push 1
push str.UninstallString
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push 0xf
push 0x58b0f8
lea ecx, [ebp - 0xa38]
call fcn.0040d860
mov esi, dword [ebp - 0xa38]
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.URLInfoAbout
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov eax, dword [ebp - 0xa40]
push 0x57aa4c
push dword [eax + 4]
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4795c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa30]
push eax
push 1
push str.InstallLocation
push dword [ebp - 0xa34]
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
push str.write_uninstall_registry
call fcn.00472ca0
lea edx, [edi - 0x10]
mov byte [ebp - 4], 4
or edi, 0xffffffff
add esp, 4
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x479619
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x479634
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xa34]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x479656
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a9748
mov esp, ebp
pop ebp
ret
call fcn.005241f3
push 0x80004005
call fcn.0040ad60
int3