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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533d37
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x589bb4]
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.004338e0
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x46a366
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa34]
call fcn.0040df50
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x46a3b6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46a3ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46a6e7
push edx
push ecx
call fcn.0049a80e
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.004d5e40
add esp, 0xc
lea eax, [ebp - 0xa30]
push 0x54697c
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 0x46a420
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.0040cb40
mov ecx, eax
test ecx, ecx
je 0x46a6ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], eax
push 0x547798
lea ecx, [ebp - 0xa38]
mov byte [ebp - 4], 3
call fcn.0040e140
test al, al
jne 0x46a49b
push 3
push 0x547798
lea ecx, [ebp - 0xa38]
call fcn.0040d780
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.0040c3d0
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.004297d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d5e40
mov edi, dword [ebp - 0xa3c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call fcn.004108b0
lea ecx, [ebp - 0x218]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a525
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 0x547798
lea ecx, [ebp - 0xa38]
call fcn.0040d780
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 0x46a5a4
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 0x553a20
lea ecx, [ebp - 0xa38]
call fcn.0040d780
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 0x545970
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 0x46a630
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.00463ad0
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 0x46a689
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 0x46a6a4
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 0x46a6c6
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.0049a7f8
mov esp, ebp
pop ebp
ret
call fcn.004f2bd6
push 0x80004005
call fcn.0040ab80
int3