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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566f87
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.004383e0
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x479076
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 0x4790c6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4790bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4793f7
push edx
push ecx
call fcn.004a952e
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.00506bc0
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 0x479130
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 0x4793fc
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 0x4791ab
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.0042e600
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00506bc0
mov edi, dword [ebp - 0xa3c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call fcn.004111b0
lea ecx, [ebp - 0x218]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479235
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 0x4792b4
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 str.www.ludashi.com
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 0x479340
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.00472a20
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 0x479399
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 0x4793b4
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 0x4793d6
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.004a9518
mov esp, ebp
pop ebp
ret
call fcn.00523fc4
push 0x80004005
call fcn.0040ad60
int3