joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x6c], 0x44
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x18], 0xc
push eax
push 0
push 0
push 0x4000000
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x68], xmm0
push eax
push dword [ebp + 0xc]
movlpd qword [ebp - 0x60], xmm0
push dword [ebp + 8]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4bb8ef
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4bb950
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x553008], 0
push esi
mov esi, dword [ebp + 8]
je 0x4bb99e
cmp word [0x552e00], 0
je 0x4bb99e
push 0x552e00
push 0x104
push esi
call fcn.004bbf50
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004e0230
add esp, 0xc
xor eax, eax
test esi, esi
je 0x4bba7b
mov word [esi], ax
lea eax, [ebp - 0x20c]
push 0x103
push eax
push str._ALLUSERSPROFILE_Application_DataTencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00487730
add esp, 4
test eax, eax
jne 0x4bba42
push 0x103
lea eax, [ebp - 0x20c]
push eax
push str._ALLUSERSPROFILE_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00487730
add esp, 4
test eax, eax
jne 0x4bba42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMGetQMMasterStorePath_failed__last_err___d
push 0x550bb8
call fcn.0048d880
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.004bbf50
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x552e00
call fcn.004bbf50
mov edi, 1
mov dword [0x553008], 1
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4bba90
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513c9c
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x264]
call fcn.0048cfc0
push str.QMRealTimeSpeedupSkinCenter.zip
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.0048f4e0
lea ecx, [ebp - 0x234]
call fcn.0044ae30
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4bbb42
lea eax, [ebp - 0x280]
push eax
call fcn.00489320
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x234]
call fcn.0048d020
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.0044c080
push str.QMRealTimeSpeedupSkinCenterQMRealTimeSpeedupSkinCenter.zip
lea ecx, [ebp - 0x234]
call fcn.0048f4e0
jmp 0x4bbb88
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e0230
lea eax, [ebp - 0x21c]
push eax
call fcn.004bb950
add esp, 0x10
lea eax, [ebp - 0x21c]
push str.QMRealTimeSpeedupSkinCenterQMRealTimeSpeedupSkinCenter.zip
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0048d020
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0048efa0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0044a630
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a6a0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.0044a640
lea ecx, [ebp - 0x24c]
call fcn.0044a630
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bbbfe
lea ecx, [ebp - 0x24c]
call fcn.0044a620
cmp eax, 0xf8
jae 0x4bbbfe
push 0
lea ecx, [ebp - 0x24c]
call fcn.0044a630
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 1
lea ecx, [ebp - 0x234]
call fcn.0044a630
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x24c]
call fcn.0044a640
lea ecx, [ebp - 0x234]
call fcn.0044a640
lea ecx, [ebp - 0x264]
call fcn.0044a640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4bbcf0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ecx + 4]
push 0
push esi
call fcn.004bba90
push 1
push esi
call fcn.004bba90
push str.pluginsSoftUninstall_
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0048c050
add esp, 0x1c
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a6a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0044c080
push str.SoftUninstall.dll
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047d340
push str.SoftUninstall_ForGC.dll
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047d340
add esp, 0x18
lea ecx, [ebp - 0x40]
push 1
call fcn.0044a630
push eax
lea ecx, [ebp - 0x58]
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x40]
call fcn.0044a640
lea ecx, [ebp - 0x58]
call fcn.0044a640
lea ecx, [ebp - 0x28]
call fcn.0044a640
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4bfce0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044a630
push eax
call fcn.0048a7d0
add esp, 4
test eax, eax
je 0x4bfd31
mov ecx, dword [ebp + 0xc]
push 1
call fcn.0044a630
push eax
mov ecx, esi
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4bfd31
mov ecx, dword [ebp + 0xc]
push 5
call fcn.0044a630
push eax
mov ecx, esi
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x4c2580
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4c2608
lea eax, [ebp - 0x20c]
push eax
push 0x51ec88
push 0x550bb8
call fcn.0048d540
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x5c
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f3650
add esp, 0x1c
jmp 0x4c261a
push 0x51eca4
push 0x550bb8
call fcn.0048d540
add esp, 8
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.0044f140
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4
Function at 0x4c3a50
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514a95
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.00479be0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00479c10
test eax, eax
je 0x4c3aaf
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push str.autostart
call fcn.00492cc0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00479c10
test eax, eax
je 0x4c3b2b
cmp dword [ebp + 0xc], 0
jne 0x4c3ade
push str._QQPCTray
lea ecx, [ebp - 0x10]
call fcn.00492d40
jmp 0x4c3b2b
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0xc]
push 0x5384e0
push eax
call fcn.0048cb00
push str.QQPCTray.exe___regrun
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0048c050
add esp, 0x18
mov ecx, eax
call fcn.0044c0a0
push eax
push str._QQPCTray
lea ecx, [ebp - 0x10]
call fcn.00492cf0
lea ecx, [ebp + 8]
call fcn.0044c080
lea ecx, [ebp + 0xc]
call fcn.0044c080
lea ecx, [ebp - 0x10]
call fcn.00479bf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4c3bc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], esi
call fcn.0044ae30
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4c3c71
cmp word [ebp - 0x21c], ax
je 0x4c3c71
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.0044ad40
push str.TencentQQPCMgrSoftMgr_
mov ecx, esi
call fcn.00463a80
push str.UninstReg.ini
mov ecx, esi
call fcn.00463a80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4c4e50
Capabilities:
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514dad
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 dword [ebp - 0x34], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push SysReAllocString
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c4ece
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0xffffffff
jne 0x4c4ece
xor eax, eax
jmp 0x4c4f89
xor ecx, ecx
lea esi, [ebx + 1]
mov eax, esi
mov edx, 2
xor edi, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004dbd50
push esi
mov ebx, eax
push edi
push ebx
call fcn.00450220
mov ecx, dword [ebp - 0x34]
add esp, 0x10
call fcn.0044a630
mov ecx, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ebx
push edi
push edi
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
nop dword [eax]
lea ecx, [ebx + edi*2]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044a6a0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004557d0
test al, al
jne 0x4c4f6b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0048f830
lea ecx, [ebp - 0x28]
call fcn.0044a620
inc eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
add edi, eax
call fcn.0044a640
cmp edi, dword [ebp - 0x2c]
jbe 0x4c4f20
jmp 0x4c4f73
lea ecx, [ebp - 0x28]
call fcn.0044a640
push ebx
call fcn.004de468
add esp, 4
mov ecx, esi
call fcn.004c5fc0
movzx eax, al
xor 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.004de46d
mov esp, ebp
pop ebp
ret 8
Function at 0x4c5970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5120dd
mov eax, dword fs:[0]
push eax
push ecx
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
lea ebx, [edi + 4]
push ebx
lea ecx, [ebp - 0x10]
call fcn.0048d090
push str.TSClinicWebListener.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c5d0
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c59d6
push esi
call fcn.004b05f0
add esp, 4
push ebx
lea ecx, [ebp - 0x10]
call fcn.0048d300
cmp dword [edi + 0x18], 0x40
mov ecx, str.QMContextUninstall64.dll
mov eax, str.QMContextUninstall.dll
cmove eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.0048c5d0
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c5a17
push esi
call fcn.004b05f0
add esp, 4
lea ecx, [ebp - 0x10]
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
Function at 0x4c5a40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514f15
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d090
push str.libraryWin_msvc2015x86System
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c580
push 0x51ed78
push 0x550bb8
call fcn.0048d880
push dword [edi + 4]
lea esi, [edi + 4]
push dword [ebp - 0x10]
push 0x51edb8
push 0x550bb8
call fcn.0048d880
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.004c53e0
cmp dword [edi + 0x14], 0
jne 0x4c5bc8
push str.QMUpdate
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0048c050
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push 0x51ee40
push 0x550bb8
call fcn.0048d880
add esp, 0x1c
lea eax, [ebp - 0x1c]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c53e0
push str.pluginsQMNetMon
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0048c050
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push 0x51eee0
push 0x550bb8
call fcn.0048d880
add esp, 0x1c
lea eax, [ebp - 0x18]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c53e0
push 0x51ef6c
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0048c050
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b5ba0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x51ef98
push 0x550bb8
call fcn.0048d540
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x51efe0
push 0x550bb8
call fcn.0048d540
add esp, 0x20
lea eax, [ebp - 0x14]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c53e0
lea ecx, [ebp - 0x14]
call fcn.0044c080
lea ecx, [ebp - 0x18]
call fcn.0044c080
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0044c080
push 0x51f038
push 0x550bb8
call fcn.0048d880
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c080
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c5e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4c5ea5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c5eb0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4c80a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5153e5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00450250
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0044c0a0
test eax, eax
jne 0x4c81a6
cmp edi, 5
je 0x4c81a6
push eax
lea ecx, [ebp - 0x34]
call fcn.004c77b0
push str.GlobalQQPCMgrSetup_EB92E8C1_0DEB_4407_9EB4_F74AAEA09031
push 0
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
lea ecx, [esi + 0x24]
call fcn.0048e140
push str.GlobalQQPCMgrUninst
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450250
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0044c0a0
test eax, eax
jne 0x4c8170
cmp edi, 5
je 0x4c8170
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.00471690
jmp 0x4c81d8
cmp dword [esi], 0
jne 0x4c8189
push 0
push 0x5383d4
push 0x520314
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esi + 0x14]
push edi
push 0x83
mov eax, dword [ecx]
call dword [eax + 0x20]
lea ecx, [ebp - 0x10]
mov esi, 1
call fcn.00471690
jmp 0x4c81d8
cmp dword [esi], 0
jne 0x4c81c5
cmp dword [esi + 0x38], 0
jne 0x4c81c5
push 0
push 0x5383d4
push 0x5202a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esi + 0x14]
push edi
push 0x82
mov eax, dword [ecx]
call dword [eax + 0x20]
mov esi, 1
lea ecx, [ebp - 0x14]
call fcn.00471690
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
Function at 0x4c8550
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515475
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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, dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.0047d1f0
push 0x2e
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0048c2b0
mov edi, eax
cmp edi, 0xffffffff
je 0x4c864d
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c864d
push edi
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0048d1d0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0048d300
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0044c080
cmp dword [ebp + 8], 0
je 0x4c8608
push str..dat
lea ecx, [ebp - 0x44]
call fcn.0048c5d0
push 0
lea ecx, [ebp - 0x44]
call fcn.0044c0a0
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call fcn.004726b0
jmp 0x4c8646
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0044c0a0
push eax
call fcn.004f44b5
add esp, 8
lea ecx, [ebp - 0x44]
push str..xml
call fcn.0048c5d0
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
lea eax, [eax + eax*4]
push eax
call fcn.0044c0a0
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call fcn.004727b0
add esp, 0xc
test eax, eax
jne 0x4c8666
push dword [esi]
push 0
push dword [ebp + 8]
push str.encrypttype_d_err_d_path_s.
push 0x550bb8
call fcn.0048d880
add esp, 0x14
lea ecx, [ebp - 0x44]
call fcn.0044c080
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.004de46d
mov esp, ebp
pop ebp
ret 8
Function at 0x4c9dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5156c0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.004e0230
add esp, 0xc
mov dword [ebp - 0x228], 0
mov ecx, esi
push 0xffffffffffffffff
call fcn.0044c0a0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004c7600
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0x208
push eax
push 0x26
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.00472a10
add esp, 0x24
test eax, eax
jne 0x4c9eea
lea eax, [ebp - 0x224]
push eax
call fcn.00489320
push str.QMPacket.dat
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.0048c050
add esp, 0x10
lea ecx, [ebp - 0x224]
call fcn.0044c080
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x220]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c9edf
push 0
lea eax, [ebp - 0x228]
push eax
push 0x208
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x220]
call fcn.0044c080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4

Function at 0x4ca240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51390d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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
push str.QQPCRTP__t_begin
push 0x550bb8
call fcn.0048d540
push str.QQPCRTP.exe
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0048c050
add esp, 0x14
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4ca30a
push str.QQPCRTP.exe
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.0048c050
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push 0x7d0
push 0x521030
mov ecx, eax
call fcn.0044c0a0
push eax
call fcn.004caeb0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044c080
push dword [ebp - 0x10]
push str.QQPCRtp__t_return:__u
push 0x550bb8
call fcn.0048d540
add esp, 0xc
push str.QQPCRTP__t_end
push 0x550bb8
call fcn.0048d540
push str.QQPCRTP_Stop_begin
push 0x550bb8
call fcn.0048d540
call fcn.004dba20
push str.QQPCRTP_Stop_end
push 0x550bb8
mov esi, eax
call fcn.0048d540
push str.QQPCRTP.exe
call fcn.00490930
push str.QQPCRTP_CloseProcessByFile_ok
push 0x550bb8
call fcn.0048d540
add esp, 0x24
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