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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5137f5
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.0048c0d0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a6b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044a640
test esi, esi
je 0x4bb61a
push str._Service
push eax
mov ecx, edi
call fcn.004bb650
mov esi, eax
test esi, esi
je 0x4bb606
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.0048d900
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4bb62d
push str.InstallTAOFrameService::reg_service_failed
push 0x550bb8
call fcn.0048d900
add esp, 8
jmp 0x4bb62d
push eax
push str.InstallTAOFrameService::can_not_find_taoframe.exe:_s
push 0x550bb8
call fcn.0048d900
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.0044a650
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.004de0fd
mov esp, ebp
pop ebp
ret

Function at 0x4bb650
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.004dfec0
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 0x4bb6ef
push edi
push esi
mov ecx, ebx
call fcn.004bb760
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
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.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4bb760
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 0x4bb7ff
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 0x4bb860
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 0x4bb8ae
cmp word [0x552e00], 0
je 0x4bb8ae
push 0x552e00
push 0x104
push esi
call fcn.004bbe60
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004dfec0
add esp, 0xc
xor eax, eax
test esi, esi
je 0x4bb98b
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.00487780
add esp, 4
test eax, eax
jne 0x4bb952
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.00487780
add esp, 4
test eax, eax
jne 0x4bb952
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMGetQMMasterStorePath_failed__last_err___d
push 0x550bb8
call fcn.0048d900
add esp, 0xc
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
push 0x104
push esi
call fcn.004bbe60
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0x552e00
call fcn.004bbe60
mov edi, 1
mov dword [0x553008], 1
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4bb9a0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51385c
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.0048d040
push str.QMRealTimeSpeedupSkinCenter.zip
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.0048f560
lea ecx, [ebp - 0x234]
call fcn.0044ae30
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4bba52
lea eax, [ebp - 0x280]
push eax
call fcn.00489390
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x234]
call fcn.0048d0a0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.0044c080
push str.QMRealTimeSpeedupSkinCenterQMRealTimeSpeedupSkinCenter.zip
lea ecx, [ebp - 0x234]
call fcn.0048f560
jmp 0x4bba98
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dfec0
lea eax, [ebp - 0x21c]
push eax
call fcn.004bb860
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.0048d0a0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0048f020
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0044a640
push eax
lea ecx, [ebp - 0x24c]
call fcn.0044a6b0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.0044a650
lea ecx, [ebp - 0x24c]
call fcn.0044a640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4bbb0e
lea ecx, [ebp - 0x24c]
call fcn.0044a630
cmp eax, 0xf8
jae 0x4bbb0e
push 0
lea ecx, [ebp - 0x24c]
call fcn.0044a640
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 1
lea ecx, [ebp - 0x234]
call fcn.0044a640
push eax
lea ecx, [ebp - 0x264]
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x24c]
call fcn.0044a650
lea ecx, [ebp - 0x234]
call fcn.0044a650
lea ecx, [ebp - 0x264]
call fcn.0044a650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4bbc00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5138dd
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.004bb9a0
push 1
push esi
call fcn.004bb9a0
push str.pluginsSoftUninstall_
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.0048c0d0
add esp, 0x1c
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a6b0
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.0047d390
push str.SoftUninstall_ForGC.dll
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0047d390
add esp, 0x18
lea ecx, [ebp - 0x40]
push 1
call fcn.0044a640
push eax
lea ecx, [ebp - 0x58]
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x40]
call fcn.0044a650
lea ecx, [ebp - 0x58]
call fcn.0044a650
lea ecx, [ebp - 0x28]
call fcn.0044a650
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4bfbf0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0044a640
push eax
call fcn.0048a840
add esp, 4
test eax, eax
je 0x4bfc41
mov ecx, dword [ebp + 0xc]
push 1
call fcn.0044a640
push eax
mov ecx, esi
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4bfc41
mov ecx, dword [ebp + 0xc]
push 5
call fcn.0044a640
push eax
mov ecx, esi
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x4c22b0
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.004dfec0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4c2338
lea eax, [ebp - 0x20c]
push eax
push 0x51eb38
push 0x550bb8
call fcn.0048d5c0
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x5c
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f32e0
add esp, 0x1c
jmp 0x4c234a
push 0x51eb54
push 0x550bb8
call fcn.0048d5c0
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.004de0fd
mov esp, ebp
pop ebp
ret 4
Function at 0x4c3770
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514625
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.00479c60
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00479c90
test eax, eax
je 0x4c37cf
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push str.autostart
call fcn.00492d70
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00479c90
test eax, eax
je 0x4c384b
cmp dword [ebp + 0xc], 0
jne 0x4c37fe
push str._QQPCTray
lea ecx, [ebp - 0x10]
call fcn.00492df0
jmp 0x4c384b
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0xc]
push 0x538378
push eax
call fcn.0048cb80
push str.QQPCTray.exe___regrun
push eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0048c0d0
add esp, 0x18
mov ecx, eax
call fcn.0044c0a0
push eax
push str._QQPCTray
lea ecx, [ebp - 0x10]
call fcn.00492da0
lea ecx, [ebp + 8]
call fcn.0044c080
lea ecx, [ebp + 0xc]
call fcn.0044c080
lea ecx, [ebp - 0x10]
call fcn.00479c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4c38e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514660
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.004dfec0
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 0x4c3991
cmp word [ebp - 0x21c], ax
je 0x4c3991
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.00463af0
push str.UninstReg.ini
mov ecx, esi
call fcn.00463af0
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4c4b70
Capabilities:
Get file size
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51493d
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.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c4bee
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 0x4c4bee
xor eax, eax
jmp 0x4c4ca9
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.004db9e0
push esi
mov ebx, eax
push edi
push ebx
call fcn.00450220
mov ecx, dword [ebp - 0x34]
add esp, 0x10
call fcn.0044a640
mov ecx, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push ebx
push edi
push edi
call fcn.0044a640
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.0044a6b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004557f0
test al, al
jne 0x4c4c8b
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0048f8b0
lea ecx, [ebp - 0x28]
call fcn.0044a630
inc eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
add edi, eax
call fcn.0044a650
cmp edi, dword [ebp - 0x2c]
jbe 0x4c4c40
jmp 0x4c4c93
lea ecx, [ebp - 0x28]
call fcn.0044a650
push ebx
call fcn.004de0f8
add esp, 4
mov ecx, esi
call fcn.004c5ce0
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.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4c5690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511d7d
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.0048d110
push str.TSClinicWebListener.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c650
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c56f6
push esi
call fcn.004b06b0
add esp, 4
push ebx
lea ecx, [ebp - 0x10]
call fcn.0048d380
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.0048c650
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c5737
push esi
call fcn.004b06b0
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 0x4c5760
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514aa5
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.0048d110
push str.libraryWin_msvc2015x86System
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c600
push 0x51ec28
push 0x550bb8
call fcn.0048d900
push dword [edi + 4]
lea esi, [edi + 4]
push dword [ebp - 0x10]
push 0x51ec68
push 0x550bb8
call fcn.0048d900
add esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, edi
push 0
push esi
push eax
call fcn.004c5100
cmp dword [edi + 0x14], 0
jne 0x4c58e8
push str.QMUpdate
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0048c0d0
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push 0x51ecf0
push 0x550bb8
call fcn.0048d900
add esp, 0x1c
lea eax, [ebp - 0x1c]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c5100
push str.pluginsQMNetMon
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0048c0d0
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push 0x51ed90
push 0x550bb8
call fcn.0048d900
add esp, 0x1c
lea eax, [ebp - 0x18]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c5100
push 0x51ee1c
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0048c0d0
add esp, 0xc
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b5ab0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x51ee48
push 0x550bb8
call fcn.0048d5c0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push 0x51ee90
push 0x550bb8
call fcn.0048d5c0
add esp, 0x20
lea eax, [ebp - 0x14]
mov ecx, edi
push 0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004c5100
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 0x51eee8
push 0x550bb8
call fcn.0048d900
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 0x4c5bb0
Capabilities:
Set registry value

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514f75
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 0x4c7eb6
cmp edi, 5
je 0x4c7eb6
push eax
lea ecx, [ebp - 0x34]
call fcn.004c74d0
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.0048e1c0
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 0x4c7e80
cmp edi, 5
je 0x4c7e80
lea ecx, [ebp - 0x10]
xor esi, esi
call fcn.00471700
jmp 0x4c7ee8
cmp dword [esi], 0
jne 0x4c7e99
push 0
push 0x53826c
push 0x5201c4
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.00471700
jmp 0x4c7ee8
cmp dword [esi], 0
jne 0x4c7ed5
cmp dword [esi + 0x38], 0
jne 0x4c7ed5
push 0
push 0x53826c
push 0x520158
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.00471700
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 0x4c8260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515005
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.0047d240
push 0x2e
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0048c330
mov edi, eax
cmp edi, 0xffffffff
je 0x4c835d
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c835d
push edi
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0048d250
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0048d380
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0044c080
cmp dword [ebp + 8], 0
je 0x4c8318
push str..dat
lea ecx, [ebp - 0x44]
call fcn.0048c650
push 0
lea ecx, [ebp - 0x44]
call fcn.0044c0a0
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call fcn.00472720
jmp 0x4c8356
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0044c0a0
push eax
call fcn.004f4145
add esp, 8
lea ecx, [ebp - 0x44]
push str..xml
call fcn.0048c650
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.00472820
add esp, 0xc
test eax, eax
jne 0x4c8376
push dword [esi]
push 0
push dword [ebp + 8]
push str.encrypttype_d_err_d_path_s.
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret 8