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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push eax
call fcn.005278d0
push 0x58d76c
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x58dd80
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.00526652
add esp, 0x20
lea eax, [ebp - 0x244]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0xf003f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 3
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004ba620
add esp, 0xc
test eax, eax
jne 0x4f9a5e
xor esi, esi
jmp 0x4f9c46
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xc
push 0x58d76c
push 1
push 0
push str.DisplayName
push dword [ebp - 0xc]
call esi
push 1
sub esp, 0x18
mov ecx, esp
push str.uninst.exe
call fcn.00408718
lea eax, [ebp - 0x3c]
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed3d0
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004b7ed0
mov edx, eax
add esp, 0x10
cmp dword [edx + 0x14], 8
jb 0x4f9ab3
mov edx, dword [edx]
test edx, edx
je 0x4f9ae6
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f9ac0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], 8
jb 0x4f9af7
push dword [ebp - 0x24]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
jb 0x4f9b1c
push dword [ebp - 0x3c]
call fcn.00412887
add esp, 4
push 1
sub esp, 0x18
mov ecx, esp
push str.app.ico
call fcn.00408718
lea eax, [ebp - 0x3c]
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed3d0
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004b7ed0
mov edx, eax
add esp, 0x10
cmp dword [edx + 0x14], 8
jb 0x4f9b56
mov edx, dword [edx]
test edx, edx
je 0x4f9b86
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f9b60
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], 8
jb 0x4f9b97
push dword [ebp - 0x24]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], 7
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
jb 0x4f9bbc
push dword [ebp - 0x3c]
call fcn.00412887
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.004ae080
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 8
jb 0x4f9bd2
mov edx, dword [edx]
test edx, edx
je 0x4f9c06
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x4f9be0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f9be0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x28], 8
jb 0x4f9c17
push dword [ebp - 0x3c]
call fcn.00412887
add esp, 4
push 0x24
push str.http:__www.qq.com
push 1
push 0
push str.URLInfoAbout
push dword [ebp - 0xc]
call esi
push 0x1a
push 0x58f7ec
push 1
push 0
push str.Publisher
push dword [ebp - 0xc]
call esi
mov esi, 1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f9c54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret