joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1a40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516405
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.00479be0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0047d1f0
push 0
push 1
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00479c10
lea eax, [ebp - 0x10]
push eax
push str.InstallDir
lea ecx, [ebp - 0x14]
call fcn.00479d70
lea ecx, [ebp - 0x10]
call fcn.0048d370
test al, al
je 0x4d1acc
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.004d24f0
neg eax
sbb esi, esi
neg esi
jmp 0x4d1b11
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d1ae3
xor esi, esi
jmp 0x4d1b11
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Version
call fcn.00479d70
mov esi, eax
test esi, esi
je 0x4d1b11
lea eax, [ebp - 0x10]
push eax
call fcn.004857d0
add esp, 4
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x50]
push eax
call fcn.0048d300
lea ecx, [ebp - 0x10]
call fcn.0044c080
lea ecx, [ebp - 0x14]
call fcn.00479bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1ef0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516567
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0
call fcn.0047d1f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0047d1f0
lea ecx, [ebp - 0x28]
call fcn.0044ae30
push str.QQPCMgrDaemon.exe
add esi, 0x64
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0048c050
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0048d300
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x2c]
call fcn.0044c0a0
mov ebx, eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d202d
mov ecx, esi
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048d020
lea ecx, [ebp - 0x28]
call fcn.0048f160
lea ecx, [ebp - 0x28]
call fcn.0048ee10
push str.QQPCMgrDaemon.exe
push 0x536b50
lea ecx, [ebp - 0x28]
call fcn.0044a750
mov ecx, eax
call fcn.0044a630
push eax
lea eax, [ebp - 0x30]
push str._s_s_s
push eax
call fcn.0048cfa0
add esp, 0x14
lea ecx, [ebp - 0x30]
push 0
call fcn.0044c0a0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4d203f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048d300
push dword [ebp - 0x2c]
push str.QQPCMgrDaemon.exe_path:_ws
push 0x550bb8
call fcn.0048d540
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0048d090
mov byte [ebp - 4], 4
mov ebx, 1
jmp 0x4d2058
push str.Cant_Find_QQPCMgrDaemon.exe
push 0x550bb8
call fcn.0048d540
add esp, 8
push 0x53656c
lea ecx, [ebp - 0x34]
call fcn.0044f140
mov dword [ebp - 4], 5
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x38], ebx
call fcn.0048d090
or ebx, 4
test bl, 2
je 0x4d2076
lea ecx, [ebp - 0x34]
and ebx, 0xfffffffd
call fcn.0044c080
test bl, 1
je 0x4d2083
lea ecx, [ebp - 0x3c]
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a640
lea ecx, [ebp - 0x2c]
call fcn.0044c080
lea ecx, [ebp - 0x30]
call fcn.0044c080
mov eax, edi
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.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x4d20c0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5165ab
mov eax, dword fs:[0]
push eax
sub esp, 0x214
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 ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0047d1f0
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x4d2137
push ebx
mov ecx, edi
call fcn.004d2210
test eax, eax
je 0x4d2137
mov esi, 1
jmp 0x4d21d9
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
je 0x4d21d9
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004d2d70
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0048d300
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call fcn.0044c080
lea ecx, [ebp - 0x21c]
call fcn.0048d370
test al, al
jne 0x4d21a4
push 0
lea ecx, [ebp - 0x21c]
call fcn.0048ca90
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x536b50
lea ecx, [edi + 0x60]
call fcn.0044c0a0
push eax
push str.TencentQQPCMgr_
lea eax, [ebp - 0x218]
push eax
push str._s_s_s_s
push ebx
call fcn.0048cfa0
add esp, 0x18
lea ecx, [ebp - 0x21c]
call fcn.0044c080
mov eax, esi
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.004de51d
mov esp, ebp
pop ebp
ret 8

Function at 0x4d2210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5165f5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x50]
xor esi, esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d090
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.00485820
lea eax, [ebp - 0x10]
push eax
call fcn.00485920
lea eax, [ebp - 0x10]
push eax
call fcn.004857d0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d22ba
push 0x536b50
lea eax, [edi + 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048c050
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0048e1f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0044c080
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0048d300
mov esi, 1
lea ecx, [ebp - 0x10]
call fcn.0044c080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d25e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51669d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x60]
push edi
push eax
lea ecx, [esi + 0x74]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.004d9c30
mov ecx, edi
call fcn.0048d370
test al, al
je 0x4d2735
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004ca590
add esp, 8
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cfc0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0048ee10
push str.Info.ini
lea ecx, [ebp - 0x28]
call fcn.0048f4e0
lea ecx, [ebp - 0x28]
call fcn.0044a630
push eax
call fcn.0048a7d0
add esp, 4
test eax, eax
jne 0x4d26ba
mov edx, dword [esi]
mov ecx, esi
push 0x17
call dword [edx + 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0044a640
xor eax, eax
jmp 0x4d2785
lea ecx, [ebp - 0x2c]
call fcn.0047d1f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0044a630
push eax
push 0x104
push 0x105
lea ecx, [ebp - 0x2c]
call fcn.0044f690
push eax
push 0x53656c
push str.PacketVersion
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047d220
push 0x522214
push 0x550bb8
call fcn.0048d880
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0048d300
lea ecx, [ebp - 0x2c]
call fcn.0044c080
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a640
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push str._u._u._u._u
call fcn.0044c0a0
push eax
call fcn.0045f530
add esp, 0x18
cmp eax, 4
je 0x4d276c
mov eax, dword [esi]
mov ecx, esi
push 0x18
call dword [eax + 0x1c]
xor eax, eax
jmp 0x4d2785
push dword [edi]
push 0x522228
push 0x550bb8
call fcn.0048d880
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x4d2c50
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5167f2
mov eax, dword fs:[0]
push eax
sub esp, 0x428
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 ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x434], edi
push 0x53656c
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
call fcn.0044f140
push esi
push 0
push 0x410
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4d2d46
call fcn.004878d0
push 0x105
test eax, eax
je 0x4d2d22
lea eax, [ebp - 0x21c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esp
push eax
call fcn.0044f140
lea eax, [ebp - 0x42c]
mov ecx, ebx
push eax
call fcn.004d53b0
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0048d300
lea ecx, [ebp - 0x42c]
call fcn.0044c080
jmp 0x4d2d3f
lea eax, [ebp - 0x428]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.0044f4c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4d3040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5168c0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [edi + 0x64]
test eax, eax
jne 0x4d30af
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x64
jmp 0x4d314f
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.TencentQQPCMgr_
lea eax, [ebp - 0x218]
push eax
push str._s_s_x_
push ebx
call fcn.0048cfa0
add esp, 0x14
mov ecx, ebx
call fcn.0044c0a0
push eax
call fcn.00487730
add esp, 4
test eax, eax
jne 0x4d317a
push eax
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4d317a
lea eax, [ebp - 0x218]
push eax
call esi
push str.TencentQQPCMgrSetupTemp_
lea eax, [ebp - 0x218]
push eax
push 0x53814c
push ebx
call fcn.0048cfa0
add esp, 0x10
mov ecx, ebx
call fcn.0044c0a0
push eax
call fcn.00487730
add esp, 4
test eax, eax
jne 0x4d317a
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x65
mov ecx, edi
call dword [esi + 0x20]
push str.Failed_to_InitTempPath
push 0x550bb8
call fcn.0048d540
add esp, 8
mov ecx, ebx
call fcn.0044f770
mov edx, dword [edi]
mov ecx, edi
push 0x16
call dword [edx + 0x1c]
xor eax, eax
jmp 0x4d31e0
push dword [ebx]
push str.temp_:__ws
push 0x550bb8
call fcn.0048d540
add esp, 0xc
mov ecx, ebx
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a6a0
push eax
mov dword [ebp - 4], 0
call fcn.00479f00
mov ecx, eax
call fcn.0047c2c0
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a640
mov ecx, ebx
call fcn.0044c0a0
push eax
call fcn.004a8650
mov ecx, eax
call fcn.004a92b0
mov eax, 1
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4d38a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516a15
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x178]
call fcn.004c6770
cmp dword [ebx + 0x40], 0
lea esi, [ebx + 0x5c]
je 0x4d3a94
mov ecx, esi
lea edi, [ebx + 0x50]
call fcn.0044c0a0
push eax
mov ecx, edi
call fcn.00496e50
test eax, eax
je 0x4d3ae3
push 1
push esi
push edi
call fcn.00483030
push 1
push esi
push edi
call fcn.00486e20
push str.InstallMid_KillAllProcess...
push 0x550bb8
call fcn.0048d540
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0x20
call esi
push 0
mov ecx, ebx
mov edi, eax
call fcn.004d4a40
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.InstallMid
call fcn.0044c020
mov dword [ebp - 4], 0
call esi
sub eax, edi
push eax
push 0x3a9f
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.costKillAllProcess
call fcn.0044c020
mov byte [ebp - 4], 1
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047aae0
push str.Run_Uninst.exe....
push 0x550bb8
call fcn.0048d540
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x535d90
call fcn.0044c020
push 0x2eea
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.actionEnterRunUninst
call fcn.0044c020
mov byte [ebp - 4], 3
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047a6e0
push dword [ebp + 8]
mov ecx, ebx
call fcn.004d0370
test eax, eax
jne 0x4d3ae3
push str.CheckUninstContinue_Failed
push 0x550bb8
call fcn.0048d540
push str.QQRepair.exe
lea esi, [ebx + 0x50]
lea eax, [ebp + 8]
push esi
push eax
call fcn.0048c050
add esp, 0x14
push 0
push 0
push 0x3e8
push 0x53656c
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.0044c0a0
push eax
call fcn.004906b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044c080
push str.QQPCTray.exe
lea eax, [ebp + 8]
push esi
push eax
call fcn.0048c050
add esp, 0xc
push 0
push 1
push 0x3e8
push str._showtrayonly
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.0044c0a0
push eax
call fcn.004906b0
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0044c080
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp + 8]
push eax
call fcn.00489320
push 1
push esi
push eax
mov dword [ebp - 4], 6
call fcn.00483030
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0044c080
lea eax, [ebp - 0x10]
push eax
call fcn.00489320
push 1
push esi
push eax
mov dword [ebp - 4], 7
call fcn.00486e20
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0044c080
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3bb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5124fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.AcLayers.dll
mov dword [ebp - 0x10], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov ecx, 1
lea eax, [ebp - 0x10]
cmovne edi, ecx
mov ecx, esi
push eax
call fcn.004d4ce0
push dword [esi + 0xc]
push str.Check_need_start_qqpcmgr__bDownloadSetupInOne_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x4d3c29
cmp dword [ebp + 8], 0
je 0x4d3c29
push edi
mov ecx, esi
call fcn.004d6210
test edi, edi
jne 0x4d3c9d
push str.QQPCTray.exe
lea eax, [esi + 0x5c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0048c050
push str.Run_QQPCTray
push 0x550bb8
mov dword [ebp - 4], edi
call fcn.0048d540
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d3c80
push edi
push edi
push edi
push str._regrun
lea ecx, [ebp + 8]
call fcn.0044c0a0
push eax
call fcn.004caf60
add esp, 0x14
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c080
push 1
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004d66f0
jmp 0x4d3cb0
push 1
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004d66f0
mov ecx, esi
call fcn.004d7fb0
mov ecx, esi
call fcn.004d6370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d3e60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516abd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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 - 0x38], edi
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, edi
mov dword [edi + 0xe8], eax
call fcn.004d17d0
test eax, eax
je 0x4d4080
push 0x522384
push 0x550bb8
call fcn.0048d880
add esp, 8
mov ecx, edi
call fcn.004d4c50
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4d4080
push dword [edi + 0x40]
lea ecx, [edi + 0x134]
push dword [edi + 0x3c]
call fcn.004dc580
lea ecx, [edi + 0x5c]
call fcn.0044c0a0
push eax
call fcn.004a8650
mov ecx, eax
call fcn.004a8880
push dword [edi + 0x5c]
push dword [edi + 0x3c]
push str.bSilent_d__install_path:_ws.
push 0x550bb8
call fcn.0048d540
add esp, 0x10
lea ecx, [edi + 0x5c]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a6a0
push eax
mov dword [ebp - 4], 0
call fcn.00479f00
mov ecx, eax
call fcn.0047c290
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a640
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004cea00
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
test ebx, ebx
jne 0x4d3fac
lea ecx, [edi + 0x144]
call fcn.00499c40
mov edx, dword [edi]
mov ecx, edi
push 0x1b
mov ebx, eax
call dword [edx + 0x1c]
mov esi, dword [edi]
mov edi, dword [ebp - 0x34]
mov edx, edi
mov ecx, dword [ebp - 0x38]
shl edx, 8
add edx, dword [ebp - 0x2c]
push edx
push 0x6d
call dword [esi + 0x20]
push ebx
push edi
push dword [ebp - 0x2c]
push str.AvoidRepeatInstall_REPORT_NO_INSTALL:dwRtn___d_dwErrorCode___d_dwCalcel___d
push 0x550bb8
call fcn.0048d880
mov eax, dword [ebp - 0x30]
add esp, 0x14
jmp 0x4d4080
push dword [ebp - 0x34]
push eax
push str.AvoidRepeatInstall:dwRtn___d_dwErrorCode___d.
push 0x550bb8
call fcn.0048d880
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x535d90
call fcn.0044c020
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 1
call esi
sub eax, dword [edi + 0x1b8]
push eax
push 0x3a9b
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.costInstallBefore
call fcn.0044c020
mov byte [ebp - 4], 2
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047aae0
call esi
sub esp, 0x18
mov dword [edi + 0x1b8], eax
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x535d90
call fcn.0044c020
push 0x2ee4
sub esp, 0x18
mov dword [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.actionEnterRealInstall
call fcn.0044c020
mov byte [ebp - 4], 4
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047a6e0
mov ecx, edi
call fcn.004d7070
cmp dword [edi + 0x30], 0
je 0x4d407e
cmp dword [edi + 0x2c], 8
jne 0x4d407e
mov ecx, edi
call fcn.004d83b0
mov eax, ebx
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4d4a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516c5d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
push 0
mov esi, eax
call fcn.00487160
add esp, 4
lea ecx, [edi + 0x1b0]
call fcn.004db9f0
sub esp, 0x18
mov edx, str.InstallMid_1_
cmp dword [ebp + 8], 0
mov eax, str.InstallBefore_1_
mov ecx, esp
mov dword [ebp - 0x14], esp
cmove eax, edx
push eax
call fcn.0044c020
mov dword [ebp - 4], 0
call ebx
sub eax, esi
push eax
push 0x3aa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.costKillProcess
call fcn.0044c020
mov byte [ebp - 4], 1
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047aae0
cmp dword [ebp + 8], 0
je 0x4d4af2
cmp dword [edi + 0xc], 0
jne 0x4d4bb8
push str.StopRTPService...
push 0x550bb8
call fcn.0048d540
add esp, 8
call ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.004ce0c0
lea esi, [edi + 0x50]
mov dword [ebp - 4], 2
mov ecx, esi
call fcn.0048d370
test al, al
jne 0x4d4b32
mov ecx, esi
call fcn.0044f760
cmp eax, 3
jge 0x4d4b35
lea esi, [edi + 0x5c]
mov ecx, esi
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x10]
call fcn.004ca270
lea ecx, [ebp - 0x10]
call fcn.004ca2f0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
push ecx
call fcn.00469300
add esp, 8
mov byte [ebp - 4], 3
call ebx
sub eax, dword [ebp - 0x14]
push eax
push 0x3aa1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.costStopRtpService
call fcn.0044c020
mov byte [ebp - 4], 4
call fcn.00479f00
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0047aae0
push esi
push str.StopRTPService_return:_d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b4ee0
call ebx
lea ecx, [edi + 0x1b0]
mov esi, eax
call fcn.004db9f0
sub esp, 0x18
mov eax, str.InstallMid_2_
cmp dword [ebp + 8], 0
mov ecx, str.InstallBefore_2_
mov edx, esp
mov dword [ebp - 0x18], esp
cmove ecx, eax
push ecx
mov ecx, edx
call fcn.0044c020
mov dword [ebp - 4], 5
call ebx
sub eax, esi
push eax
push 0x3aa0
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
push str.costKillProcess
call fcn.0044c020
mov byte [ebp - 4], 6
call fcn.00479f00
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0047aae0
cmp dword [edi + 0x3c], 0
jne 0x4d4c35
push str.QQPCMgrUpdate.exe
call fcn.00490930
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4