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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513cf5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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 edi, ecx
push str.TAOFrame.exe
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0048c050
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a6a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a630
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044a630
test esi, esi
je 0x4bb78a
push str._Service
push eax
mov ecx, edi
call fcn.004bb7c0
mov esi, eax
test esi, esi
je 0x4bb776
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov edx, str.InstallTAOFrameService::wait_reg_process_failed
mov ecx, str.InstallTAOFrameService::reg_service_suc
cmovne ecx, edx
push ecx
push 0x550bb8
call fcn.0048d880
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4bb79d
push str.InstallTAOFrameService::reg_service_failed
push 0x550bb8
call fcn.0048d880
add esp, 8
jmp 0x4bb79d
push eax
push str.InstallTAOFrameService::can_not_find_taoframe.exe:_s
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0044a640
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

Function at 0x4bb7c0
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push edi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x118
push 0
push eax
mov ebx, ecx
mov dword [ebp - 0x144], 0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x124], 0
call fcn.004e02e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jae 0x4bb85f
push edi
push esi
mov ecx, ebx
call fcn.004bb8d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0x3c
push eax
mov dword [ebp - 0x158], 0xc440
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], str.RunAs
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x148], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x124]
pop esi
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4bb8d0
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 0x4bb96f
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 0x4bb9d0
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 0x4bba1e
cmp word [0x552e00], 0
je 0x4bba1e
push 0x552e00
push 0x104
push esi
call fcn.004bbfd0
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004e02e0
add esp, 0xc
xor eax, eax
test esi, esi
je 0x4bbafb
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 0x4bbac2
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 0x4bbac2
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.004de51d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.004bbfd0
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x552e00
call fcn.004bbfd0
mov edi, 1
mov dword [0x553008], 1
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4bbb10
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513d5c
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 0x4bbbc2
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 0x4bbc08
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e02e0
lea eax, [ebp - 0x21c]
push eax
call fcn.004bb9d0
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 0x4bbc7e
lea ecx, [ebp - 0x24c]
call fcn.0044a620
cmp eax, 0xf8
jae 0x4bbc7e
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4bbd70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513ddd
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.004bbb10
push 1
push esi
call fcn.004bbb10
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4bfd60
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 0x4bfdb1
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 0x4bfdb1
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 0x4c2640
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.004e02e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4c26c8
lea eax, [ebp - 0x20c]
push eax
push 0x51ed20
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.004f3700
add esp, 0x1c
jmp 0x4c26da
push 0x51ed3c
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.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x4c3b10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514b55
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 0x4c3b6f
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 0x4c3beb
cmp dword [ebp + 0xc], 0
jne 0x4c3b9e
push str._QQPCTray
lea ecx, [ebp - 0x10]
call fcn.00492d40
jmp 0x4c3beb
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0xc]
push 0x538570
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 0x4c3c80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514b90
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.004e02e0
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 0x4c3d31
cmp word [ebp - 0x21c], ax
je 0x4c3d31
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4c4f10
Capabilities:
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514e6d
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 0x4c4f8e
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 0x4c4f8e
xor eax, eax
jmp 0x4c5049
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.004dbe00
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 0x4c502b
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 0x4c4fe0
jmp 0x4c5033
lea ecx, [ebp - 0x28]
call fcn.0044a640
push ebx
call fcn.004de518
add esp, 4
mov ecx, esi
call fcn.004c6080
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.004de51d
mov esp, ebp
pop ebp
ret 8
Function at 0x4c5a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51219d
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 0x4c5a96
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 0x4c5ad7
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 0x4c5b00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514fd5
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 0x51ee10
push 0x550bb8
call fcn.0048d880
push dword [edi + 4]
lea esi, [edi + 4]
push dword [ebp - 0x10]
push 0x51ee50
push 0x550bb8
call fcn.0048d880
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.004c54a0
cmp dword [edi + 0x14], 0
jne 0x4c5c88
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 0x51eed8
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.004c54a0
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 0x51ef78
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.004c54a0
push 0x51f004
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 0x51f030
push 0x550bb8
call fcn.0048d540
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x51f078
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.004c54a0
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 0x51f0d0
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 0x4c5f50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4c5f65
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 0x4c5f70
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 0x4c8150
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5154a5
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 0x4c8256
cmp edi, 5
je 0x4c8256
push eax
lea ecx, [ebp - 0x34]
call fcn.004c7870
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 0x4c8220
cmp edi, 5
je 0x4c8220
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.00471690
jmp 0x4c8288
cmp dword [esi], 0
jne 0x4c8239
push 0
push 0x538464
push 0x5203ac
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 0x4c8288
cmp dword [esi], 0
jne 0x4c8275
cmp dword [esi + 0x38], 0
jne 0x4c8275
push 0
push 0x538464
push 0x520340
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 0x4c8600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515535
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 0x4c86fd
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c86fd
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 0x4c86b8
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 0x4c86f6
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0044c0a0
push eax
call fcn.004f4565
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 0x4c8716
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.004de51d
mov esp, ebp
pop ebp
ret 8