Function at 0x494850
Capabilities:
Enumerate processes
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b00
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x550144]
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 edi, ecx
mov dword [ebp - 0x240], edi
xor eax, eax
mov dword [ebp - 0x250], eax
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x494cbc
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x254], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x494c7f
mov ecx, dword [ebp - 0x240]
nop word [eax + eax]
movzx eax, word [edi + 0xa]
cmp eax, dword [ebp + 8]
jne 0x494c72
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x244], eax
call fcn.0048a7f0
test eax, eax
jne 0x494967
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x260], 4
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x25c], 0x104
push eax
push str.VerMode
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 0x24c]
xor edx, edx
test eax, eax
cmovne ecx, edx
push ecx
push eax
push str.GetVerMode__ret_d__vermode_d
push 0x550bb8
mov dword [ebp - 0x24c], ecx
call fcn.0048d880
add esp, 0x10
cmp dword [ebp - 0x24c], 1
je 0x494967
xor ebx, ebx
jmp 0x49496c
mov ebx, 1
push ebx
push dword [ebp - 0x244]
push str.CBasicProcessor::CheckRunVerMode_vermode_d__isjoinedSMB_d
push 0x550bb8
call fcn.0048d540
mov eax, dword [ebp - 0x244]
add esp, 0x10
cmp eax, 1
jne 0x49499a
test ebx, ebx
je 0x494c6c
jmp 0x4949a6
test eax, eax
jne 0x4949a6
test ebx, ebx
jne 0x494c6c
cmp dword [edi + 0xc], 0
je 0x494a46
mov eax, dword [0x550c0c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x4949f0
push 0x53677c
push str.kernel32
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x494a1b
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x494a1b
mov eax, dword [0x550c0c]
test eax, eax
je 0x494a46
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494a3c
push str.Kernel32.dll
call ebx
test eax, eax
je 0x494a27
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5545f0], eax
jmp 0x494a2c
mov dword [0x550c0c], 0
jmp 0x494a46
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494a3c
mov dword [ebp - 0x250], 1
jmp 0x494a46
push 0
call eax
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x254]
push eax
push ecx
mov ecx, dword [edi + 0x10]
mov esi, esp
sub ecx, 0x10
mov dword [ebp - 0x248], esi
push ecx
call fcn.0048d290
mov ecx, dword [ebp - 0x240]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00496520
movzx ecx, word [edi + 8]
mov esi, dword [ebp - 0x254]
sub ecx, 0
je 0x494ab9
sub ecx, 1
jne 0x494b6c
push dword [edi + 0x14]
push esi
push str.HandleProcess_RunApp_path_s__param_s.
push 0x550bb8
call fcn.0048d880
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.004906b0
add esp, 0x24
jmp 0x494b6c
test eax, eax
je 0x494adf
push esi
push str.HandleProcess_KillProcessByFilePath_path_s.
push 0x550bb8
call fcn.0048d880
add esp, 8
mov ecx, esi
call fcn.00490a70
add esp, 4
jmp 0x494b6c
cmp dword [esi - 0xc], 0
jle 0x494b6c
push esi
push str.HandleProcess_CloseProcessByFile_path_s.
push 0x550bb8
call fcn.0048d880
add esp, 0xc
mov dword [ebp - 0x258], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x244], ebx
cmp ebx, 0xffffffff
je 0x494b6c
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x494b65
cmp dword [ebp - 0x234], 0
jbe 0x494b54
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004e3a87
add esp, 8
test eax, eax
je 0x494bb7
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x494b37
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x250], 0
je 0x494c6c
xor eax, eax
mov dword [ebp - 0x250], eax
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494c68
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x494c5f
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5545f0], eax
jmp 0x494c64
push dword [ebp - 0x244]
mov ebx, dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
mov eax, ebx
mov dword [ebp - 0x244], ecx
test ecx, ecx
je 0x494c3c
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f4
push dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], 0
mov eax, ebx
jne 0x494c3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x494c3a
push ebx
push str.QMTProcess::CloseProcessByID___d
push 0x550bb8
call fcn.0048d880
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x258]
inc ecx
mov dword [ebp - 0x258], ecx
test eax, eax
je 0x494b6c
cmp ecx, 0xa
jl 0x494b06
jmp 0x494b6c
mov eax, dword [0x5545f0]
test eax, eax
je 0x494c6c
push 1
call eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [ecx + 4]
jne 0x4948d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494c9e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.004de46d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00450260
int3