Function at 0x6513d500
Capabilities:
Delete file
Enumerate processes
Get common file path
Get file size
Persist via run registry key
Query or enumerate registry value
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x65151a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x6516c6d0]
xor eax, esp
mov dword [esp + 0x68c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6516c6d0]
xor eax, esp
push eax
lea eax, [esp + 0x6a4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x6b4]
test esi, esi
je 0x6513dc5f
push 0x103
lea eax, [esp + 0x5a1]
push 0
push eax
mov byte [esp + 0x5a8], 0
call sub.MSVCR80.dll_memset
lea ecx, [esp + 0x5a8]
push 0x10
push esi
mov dword [esp + 0x28], ecx
call fcn.6513ca00
lea edx, [esp + 0x5b0]
push edx
push 0x6515dc88
call fcn.65140210
lea eax, [esp + 0x5b8]
push eax
call fcn.65140360
push 0x103
lea ecx, [esp + 0x4bd]
push 0
push ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov byte [esp + 0x4c4], 0
call sub.MSVCR80.dll_memset
push 0x103
lea edx, [esp + 0x3c5]
push 0
push edx
mov byte [esp + 0x3cc], 0
call sub.MSVCR80.dll_memset
lea eax, [esp + 0x3cc]
mov ecx, eax
push ecx
push 0x6515dc90
mov dword [esp + 0x54], eax
call fcn.65140210
mov ebx, dword [sym.imp.MSVCR80.dll_strncpy_s]
add esp, 0x40
test al, al
je 0x6513d6d8
push 0x104
lea edx, [esp + 0x398]
push edx
lea eax, [esp + 0x4a0]
push 0x104
push eax
call ebx
push 0x103
lea ecx, [esp + 0x2a5]
push 0
push ecx
mov byte [esp + 0x2ac], 0
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x2ac]
push edx
lea eax, [esp + 0x3b4]
push eax
push 0x6515dc9c
call fcn.6513cad0
lea ecx, [esp + 0x2b8]
push ecx
lea edx, [esp + 0x3c0]
push edx
add al, 1
push str.QQPCLeakScan.exe
mov byte [esi + 0x1b], al
call fcn.6513cad0
add al, 1
mov byte [esi + 0x1c], al
lea eax, [esp + 0x2c4]
push eax
lea ecx, [esp + 0x3cc]
push ecx
push 0x6515dcc0
call fcn.6513cad0
add al, 1
add esp, 0x40
lea edx, [esp + 0x290]
mov byte [esi + 0x1d], al
push edx
lea eax, [esp + 0x398]
push eax
push 0x6515dcd0
call fcn.6513cad0
lea ecx, [esp + 0x29c]
push ecx
lea edx, [esp + 0x3a4]
push edx
add al, 1
push 0x6515dce0
mov byte [esi + 0x1e], al
call fcn.6513cad0
add esp, 0x18
add al, 1
mov byte [esi + 0x1f], al
lea eax, [esp + 0x498]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x6513d6e2
sub eax, edx
je 0x6513d6f5
mov byte [esi + 0x19], 1
jmp 0x6513d6f9
mov byte [esi + 0x19], 2
mov eax, dword [esp + 0x14]
push eax
push str.ExeString
call fcn.65140210
add esp, 8
neg al
sbb al, al
add eax, 2
mov byte [esi + 0x18], al
lea eax, [esp + 0x59c]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x6513d720
sub eax, edx
lea edx, [esp + 0x20]
push edx
push 1
push 0
sete cl
push 0x6515dcf8
add cl, 1
push SysStringLen
mov byte [esi + 0x1a], cl
mov dword [esp + 0x38], 0x100
mov byte [esi + 0x2f], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll_strncat_s]
jne 0x6513d84d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0x6515dd28
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6513d84d
push 0x104
call fcn.6514af0c
push 0x104
mov ebp, eax
push 0
push ebp
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x2a5]
push 0
push ecx
mov byte [esp + 0x2ac], 0
call sub.MSVCR80.dll_memset
push ebp
push 0x6515dd34
call fcn.65140210
push 0x104
push 0x6515dd40
push 0x104
push ebp
call edi
push 0x104
push 0x6515dd50
lea edx, [esp + 0x2cc]
push 0x104
push edx
call edi
add esp, 0x44
push 0x104
push ebp
lea eax, [esp + 0x298]
push 0x104
push eax
call edi
push 0x104
push 0x6515dd54
lea ecx, [esp + 0x2a8]
push 0x104
push ecx
call edi
mov edx, dword [esp + 0x34]
push ebp
push edx
call dword [sym.imp.MSVCR80.dll_strstr]
test eax, eax
sete al
push ebp
lea eax, [eax + eax + 1]
mov byte [esi + 0x2f], al
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 0x2c
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 0x6515dd60
push 0x6515dd6c
call fcn.65140280
neg al
sbb al, al
add eax, 2
mov byte [esi + 0x28], al
lea eax, [esp + 0x24]
push eax
push 0x6515dd98
push 0x6515dda0
call fcn.651402f0
add esp, 0x18
test al, al
je 0x6513d89a
mov cx, word [esp + 0x18]
mov word [esi + 0x20], cx
lea edx, [esp + 0x18]
push edx
push 0x6515ddcc
push 0x6515ddd4
call fcn.651402f0
add esp, 0xc
test al, al
je 0x6513d8be
mov ax, word [esp + 0x18]
mov word [esi + 0x22], ax
lea ecx, [esp + 0x14]
push ecx
push 0x6515de00
push 0x6515de0c
call fcn.65140280
neg al
sbb al, al
lea edx, [esp + 0x24]
push edx
push 0x6515de34
push 0x6515de3c
add eax, 2
mov byte [esi + 0x29], al
call fcn.651402f0
add esp, 0x18
test al, al
je 0x6513d900
mov ax, word [esp + 0x18]
mov word [esi + 0x24], ax
lea ecx, [esp + 0x18]
push ecx
push 0x6515de64
push 0x6515de6c
call fcn.651402f0
add esp, 0xc
test al, al
je 0x6513d924
mov dx, word [esp + 0x18]
mov word [esi + 0x26], dx
lea eax, [esp + 0x14]
push eax
push str.autostart
push 0x6515dea0
call fcn.65140280
neg al
sbb al, al
lea ecx, [esp + 0x20]
push ecx
push 0x6515dec8
push 0x6515ded4
add eax, 2
mov byte [esi + 0x2a], al
call fcn.65140280
neg al
sbb al, al
push 0x103
xor ebp, ebp
lea edx, [esp + 0x1a9]
push ebp
push edx
mov byte [esp + 0x1b0], 0
add eax, 2
mov byte [esi + 0x2b], al
call sub.MSVCR80.dll_memset
add esp, 0x24
lea ecx, [esp + 0x2c]
call fcn.65141190
push 0x104
lea eax, [esp + 0x49c]
push eax
lea ecx, [esp + 0x194]
push 0x104
push ecx
mov dword [esp + 0x6bc], ebp
call ebx
push 0x104
push 0x6515defc
lea edx, [esp + 0x1a4]
push 0x104
push edx
call edi
add esp, 0x20
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x30]
call fcn.65140e10
lea ecx, [esp + 0x2c]
call fcn.65141090
push 0x104
lea ecx, [esp + 0x49c]
push ecx
mov dword [esi + 0x34], edx
lea edx, [esp + 0x194]
push 0x104
push edx
mov dword [esi + 0x30], eax
call ebx
push 0x104
push 0x6515df0c
lea eax, [esp + 0x1a4]
push 0x104
push eax
call edi
add esp, 0x20
lea ecx, [esp + 0x18c]
push ecx
lea ecx, [esp + 0x30]
call fcn.65140e10
lea ecx, [esp + 0x2c]
call fcn.65141090
mov dword [esi + 0x3c], edx
push 0x104
lea edx, [esp + 0x49c]
push edx
mov dword [esi + 0x38], eax
lea eax, [esp + 0x194]
push 0x104
push eax
call ebx
push 0x104
push str.QQPCMgr.exe
lea ecx, [esp + 0x1a4]
push 0x104
push ecx
call edi
add esp, 0x20
lea edx, [esp + 0x18c]
push edx
lea ecx, [esp + 0x30]
call fcn.65140e10
lea ecx, [esp + 0x2c]
call fcn.65141090
mov dword [esi + 0x40], eax
push 0x104
lea eax, [esp + 0x49c]
push eax
lea ecx, [esp + 0x194]
push 0x104
push ecx
mov dword [esi + 0x44], edx
call ebx
push 0x104
push str.TSKsp.sys
lea edx, [esp + 0x1a4]
push 0x104
push edx
call edi
add esp, 0x20
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x30]
call fcn.65140e10
lea ecx, [esp + 0x2c]
call fcn.65141090
push ebp
push 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov dword [esp + 0x6c], 0x128
mov byte [esi + 0x2e], 2
mov byte [esi + 0x2d], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x6513db7f
lea ecx, [esp + 0x64]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
cmp eax, ebp
je 0x6513db7f
mov ebx, dword [sym.imp.MSVCR80.dll__stricmp]
jmp 0x6513db30
lea edx, [esp + 0x88]
push edx
push str.QQPCRTP.exe
call ebx
add esp, 8
test eax, eax
jne 0x6513db4a
mov byte [esi + 0x2e], 1
lea eax, [esp + 0x88]
push eax
push 0x6515df44
call ebx
add esp, 8
test eax, eax
jne 0x6513db64
mov byte [esi + 0x2d], 1
cmp byte [esi + 0x2e], 1
jne 0x6513db70
cmp byte [esi + 0x2d], 1
je 0x6513db7f
lea ecx, [esp + 0x64]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
cmp eax, ebp
jne 0x6513db30
mov edx, dword [esp + 0x14]
push ebp
push 0x23
push edx
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x6513dc3f
mov eax, dword [esp + 0x14]
push 0x104
push str.TencentQQPCMgrQMReport.dat
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll__mbsnbcat_s]
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ebp
push 0x80
push 3
push ebp
push 1
push 0x80000000
push ecx
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6513dc3f
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.6514af0c
push edi
mov ebp, eax
push 0
push ebp
call sub.MSVCR80.dll_memset
add esp, 0x10
push 0
lea edx, [esp + 0x20]
push edx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp edi, 0x100
jbe 0x6513dc15
mov edi, 0x100
push edi
lea eax, [esi + 0x62]
push ebp
push eax
mov word [esi + 0x60], di
call sub.MSVCR80.dll_memcpy
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi + 0x19], 1
je 0x6513dc63
cmp byte [esi + 0x2e], 1
je 0x6513dc63
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6ac], 0xffffffff
call fcn.65140d90
xor al, al
jmp 0x6513dc79
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6ac], 0xffffffff
call fcn.65140d90
mov al, 1
mov ecx, dword [esp + 0x6a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68c]
xor ecx, esp
call fcn.6514af96
add esp, 0x69c
ret