Function at 0x4016a1
Capabilities:
Delete registry key
Delete registry value
Get common file path

Disassembly:
mov eax, 0x414c1c
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xfb4
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
call fcn.00401974
test eax, eax
je 0x401964
push 2
push ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], ebx
push 0x17
push ebx
push 0x4169d0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040219f
test eax, eax
jl 0x401718
cmp dword [ebp - 0x10], ebx
jne 0x401700
push 0x80004003
call fcn.00402534
mov eax, dword [ebp - 0x10]
push ebx
push ebx
push ebx
mov ecx, dword [eax]
push 0x44
push ebx
push eax
call dword [ecx + 0x4c]
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040221d
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x7be]
mov word [ebp - 0x7c0], bx
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x7c0]
push 0x17
push eax
push ebx
call esi
lea eax, [ebp - 0x7c0]
push 0x41c570
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c0]
push eax
call fcn.004040f6
pop ecx
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x3ae]
mov word [ebp - 0x3b0], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x3b0]
push ebx
push eax
push ebx
call esi
lea eax, [ebp - 0x3b0]
push 0x41c55c
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x3b0]
push 1
push eax
call fcn.00403212
mov esi, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, esi
call fcn.00401ade
lea eax, [esi + 4]
push eax
call fcn.004040f6
cmp dword [esi + 0x620], ebx
pop ecx
jne 0x4017d3
add esi, 0x414
push esi
call fcn.004040f6
pop ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edi, 0x80000002
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallQQToolbar
push edi
call esi
push str.SOFTWARETencentQQToolbar
push edi
call esi
test eax, eax
je 0x4017fd
push str.RegistryMachineSOFTWARETencentQQToolbar
call fcn.004014ac
pop ecx
call fcn.004063af
cmp eax, 6
jle 0x401833
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.ITBar7Layout
mov esi, 0x80000001
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
push esi
call edi
push str.ITBar7Layout
push str.SoftwareMicrosoftInternet_ExplorerToolbarExplorer
push esi
call edi
push str.ITBar7Layout
jmp 0x40185d
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push str.ITBarLayout
mov esi, 0x80000001
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser
push esi
call edi
push str.ITBarLayout
push str.SoftwareMicrosoftInternet_ExplorerToolbarExplorer
push esi
call edi
push str.ITBarLayout
push str.SoftwareMicrosoftInternet_ExplorerToolbarShellBrowser
push esi
call edi
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.00402019
cmp dword [edi + 0x620], ebx
jne 0x40193b
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x5b6]
mov word [ebp - 0x5b8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x5b8]
push 0x104
push eax
call fcn.0040a5c3
add esp, 0xc
lea eax, [ebp - 0x5b8]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x401933
push 0x63
xor eax, eax
pop ecx
lea edi, [ebp - 0x1a6]
mov word [ebp - 0x1a8], bx
mov word [ebp - 0xfc0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xfbe]
push 0xc8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1a8]
push eax
call fcn.004015a7
pop ecx
test eax, eax
pop ecx
je 0x401933
lea eax, [ebp - 0x5b8]
push eax
lea eax, [ebp - 0x1a8]
push eax
push str.RegistryUSER_ws_ws
lea eax, [ebp - 0xfc0]
push 0x400
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0xfc0]
push eax
call fcn.004014ac
add esp, 0x18
mov ecx, dword [ebp - 0x14]
call fcn.00401f5b
push str.TB0
push ebx
push str.http:__soso.com
call dword [sym.imp.WININET.dll_InternetSetCookieW]
call fcn.00401132
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
pop edi
cmp eax, ebx
pop esi
je 0x401964
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop ebx
mov dword fs:[0], ecx
leave
ret