Function at 0x50af00
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.00538910
push 0x5a1984
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x5a1f98
lea eax, [ebp - 0x244]
push 0x104
push eax
call fcn.00537692
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.004bf370
add esp, 0xc
test eax, eax
jne 0x50af8e
xor esi, esi
jmp 0x50b176
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0xc
push 0x5a1984
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.00408738
lea eax, [ebp - 0x3c]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004bc990
mov edx, eax
add esp, 0x10
cmp dword [edx + 0x14], 8
jb 0x50afe3
mov edx, dword [edx]
test edx, edx
je 0x50b016
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50aff0
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 0x50b027
push dword [ebp - 0x24]
call fcn.00412895
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 0x50b04c
push dword [ebp - 0x3c]
call fcn.00412895
add esp, 4
push 1
sub esp, 0x18
mov ecx, esp
push str.app.ico
call fcn.00408738
lea eax, [ebp - 0x3c]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004bc990
mov edx, eax
add esp, 0x10
cmp dword [edx + 0x14], 8
jb 0x50b086
mov edx, dword [edx]
test edx, edx
je 0x50b0b6
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50b090
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 0x50b0c7
push dword [ebp - 0x24]
call fcn.00412895
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 0x50b0ec
push dword [ebp - 0x3c]
call fcn.00412895
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call fcn.004b2d40
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 8
jb 0x50b102
mov edx, dword [edx]
test edx, edx
je 0x50b136
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x50b110
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x50b110
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 0x50b147
push dword [ebp - 0x3c]
call fcn.00412895
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 0x5a3d7c
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 0x50b184
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret