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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5413a7
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x59bc84]
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.00438b20
add esp, 8
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x46eb76
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa34]
call fcn.0040dd80
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x46ebc6
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ebbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46eef7
push edx
push ecx
call fcn.0049dede
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.004e3050
add esp, 0xc
lea eax, [ebp - 0xa30]
push 0x554d9c
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 0x46ec30
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.0040ca70
mov ecx, eax
test ecx, ecx
je 0x46eefc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa38], eax
push 0x555bb8
lea ecx, [ebp - 0xa38]
mov byte [ebp - 4], 3
call fcn.0040df70
test al, al
jne 0x46ecab
push 3
push 0x555bb8
lea ecx, [ebp - 0xa38]
call fcn.0040d5b0
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.0040c300
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.0042e880
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e3050
mov edi, dword [ebp - 0xa3c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call fcn.00411070
lea ecx, [ebp - 0x218]
add esp, 0x18
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ed35
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 0x555bb8
lea ecx, [ebp - 0xa38]
call fcn.0040d5b0
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 0x46edb4
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 0x560ef8
lea ecx, [ebp - 0xa38]
call fcn.0040d5b0
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 0x5539e4
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 0x46ee40
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.00468520
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 0x46ee99
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 0x46eeb4
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 0x46eed6
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.0049dec8
mov esp, ebp
pop ebp
ret
call fcn.004ffdd3
push 0x80004005
call fcn.0040aab0
int3