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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x54b144]
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.004501e0
mov ecx, eax
test ecx, ecx
je 0x4948ac
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 0x49486f
mov ecx, dword [ebp - 0x240]
nop word [eax + eax]
movzx eax, word [edi + 0xa]
cmp eax, dword [ebp + 8]
jne 0x494862
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x244], eax
call fcn.0048a600
test eax, eax
jne 0x494557
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 0x54bba8
mov dword [ebp - 0x24c], ecx
call fcn.0048d420
add esp, 0x10
cmp dword [ebp - 0x24c], 1
je 0x494557
xor ebx, ebx
jmp 0x49455c
mov ebx, 1
push ebx
push dword [ebp - 0x244]
push str.CBasicProcessor::CheckRunVerMode_vermode_d__isjoinedSMB_d
push 0x54bba8
call fcn.0048d0e0
mov eax, dword [ebp - 0x244]
add esp, 0x10
cmp eax, 1
jne 0x49458a
test ebx, ebx
je 0x49485c
jmp 0x494596
test eax, eax
jne 0x494596
test ebx, ebx
jne 0x49485c
cmp dword [edi + 0xc], 0
je 0x494636
mov eax, dword [0x54bbfc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x4945e0
push str.IsWow64Process
push str.kernel32
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x49460b
push 0x54bbfc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x49460b
mov eax, dword [0x54bbfc]
test eax, eax
je 0x494636
mov eax, dword [0x54f5ec]
test eax, eax
jne 0x49462c
push str.Kernel32.dll
call ebx
test eax, eax
je 0x494617
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f5ec], eax
jmp 0x49461c
mov dword [0x54bbfc], 0
jmp 0x494636
mov eax, dword [0x54f5ec]
test eax, eax
jne 0x49462c
mov dword [ebp - 0x250], 1
jmp 0x494636
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.0048ce30
mov ecx, dword [ebp - 0x240]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00496110
movzx ecx, word [edi + 8]
mov esi, dword [ebp - 0x254]
sub ecx, 0
je 0x4946a9
sub ecx, 1
jne 0x49475c
push dword [edi + 0x14]
push esi
push str.HandleProcess_RunApp_path_s__param_s.
push 0x54bba8
call fcn.0048d420
push 0
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push esi
call fcn.00490270
add esp, 0x24
jmp 0x49475c
test eax, eax
je 0x4946cf
push esi
push str.HandleProcess_KillProcessByFilePath_path_s.
push 0x54bba8
call fcn.0048d420
add esp, 8
mov ecx, esi
call fcn.00490630
add esp, 4
jmp 0x49475c
cmp dword [esi - 0xc], 0
jle 0x49475c
push esi
push str.HandleProcess_CloseProcessByFile_path_s.
push 0x54bba8
call fcn.0048d420
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 0x49475c
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x494755
cmp dword [ebp - 0x234], 0
jbe 0x494744
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004e0469
add esp, 8
test eax, eax
je 0x4947a7
lea eax, [ebp - 0x23c]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x494727
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x250], 0
je 0x49485c
xor eax, eax
mov dword [ebp - 0x250], eax
mov eax, dword [0x54f5ec]
test eax, eax
jne 0x494858
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x49484f
push str.Wow64EnableWow64FsRedirection
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54f5ec], eax
jmp 0x494854
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 0x49482c
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 0x49482c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x49482a
push ebx
push str.QMTProcess::CloseProcessByID___d
push 0x54bba8
call fcn.0048d420
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0x258]
inc ecx
mov dword [ebp - 0x258], ecx
test eax, eax
je 0x49475c
cmp ecx, 0xa
jl 0x4946f6
jmp 0x49475c
mov eax, dword [0x54f5ec]
test eax, eax
je 0x49485c
push 1
call eax
mov ecx, dword [ebp - 0x240]
mov eax, dword [edi]
mov edi, eax
cmp eax, dword [ecx + 4]
jne 0x4944c0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49488e
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.004dafe6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00450130
int3