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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5107a0
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 0x494d6c
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 0x494d2f
mov ecx, dword [ebp - 0x240]
nop word [eax + eax]
movzx eax, word [edi + 0xa]
cmp eax, dword [ebp + 8]
jne 0x494d22
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x244], eax
call fcn.0048a860
test eax, eax
jne 0x494a17
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.0048d900
add esp, 0x10
cmp dword [ebp - 0x24c], 1
je 0x494a17
xor ebx, ebx
jmp 0x494a1c
mov ebx, 1
push ebx
push dword [ebp - 0x244]
push str.CBasicProcessor::CheckRunVerMode_vermode_d__isjoinedSMB_d
push 0x550bb8
call fcn.0048d5c0
mov eax, dword [ebp - 0x244]
add esp, 0x10
cmp eax, 1
jne 0x494a4a
test ebx, ebx
je 0x494d1c
jmp 0x494a56
test eax, eax
jne 0x494a56
test ebx, ebx
jne 0x494d1c
cmp dword [edi + 0xc], 0
je 0x494af6
mov eax, dword [0x550c0c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x494aa0
push 0x53661c
push str.kernel32
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x494acb
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x494acb
mov eax, dword [0x550c0c]
test eax, eax
je 0x494af6
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494aec
push str.Kernel32.dll
call ebx
test eax, eax
je 0x494ad7
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5545f0], eax
jmp 0x494adc
mov dword [0x550c0c], 0
jmp 0x494af6
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494aec
mov dword [ebp - 0x250], 1
jmp 0x494af6
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.0048d310
mov ecx, dword [ebp - 0x240]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004965d0
movzx ecx, word [edi + 8]
mov esi, dword [ebp - 0x254]
sub ecx, 0
je 0x494b69
sub ecx, 1
jne 0x494c1c
push dword [edi + 0x14]
push esi
push str.HandleProcess_RunApp_path_s__param_s.
push 0x550bb8
call fcn.0048d900
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.00490730
add esp, 0x24
jmp 0x494c1c
test eax, eax
je 0x494b8f
push esi
push str.HandleProcess_KillProcessByFilePath_path_s.
push 0x550bb8
call fcn.0048d900
add esp, 8
mov ecx, esi
call fcn.00490af0
add esp, 4
jmp 0x494c1c
cmp dword [esi - 0xc], 0
jle 0x494c1c
push esi
push str.HandleProcess_CloseProcessByFile_path_s.
push 0x550bb8
call fcn.0048d900
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 0x494c1c
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x494c15
cmp dword [ebp - 0x234], 0
jbe 0x494c04
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004e3717
add esp, 8
test eax, eax
je 0x494c67
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x494be7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x250], 0
je 0x494d1c
xor eax, eax
mov dword [ebp - 0x250], eax
mov eax, dword [0x5545f0]
test eax, eax
jne 0x494d18
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x494d0f
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5545f0], eax
jmp 0x494d14
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 0x494cec
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 0x494cec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x494cea
push ebx
push str.QMTProcess::CloseProcessByID___d
push 0x550bb8
call fcn.0048d900
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x258]
inc ecx
mov dword [ebp - 0x258], ecx
test eax, eax
je 0x494c1c
cmp ecx, 0xa
jl 0x494bb6
jmp 0x494c1c
mov eax, dword [0x5545f0]
test eax, eax
je 0x494d1c
push 1
call eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [ecx + 4]
jne 0x494980
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x494d4e
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.004de0fd
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00450260
int3