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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5126c5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cc30
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.004855c0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4ce40a
test eax, 0x4800
je 0x4ce40a
xor esi, esi
jmp 0x4ce447
lea eax, [ebp - 0x10]
push eax
call fcn.00485610
lea eax, [ebp - 0x10]
push eax
call fcn.00485710
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0048cf10
test al, al
je 0x4ce432
mov esi, 1
jmp 0x4ce447
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0048cc30
mov ecx, esi
call fcn.004ce3a0
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0044c000
lea ecx, [ebp + 8]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4ce880
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512785
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0xc8
mov dword [ebp - 0x1c], 0
call fcn.0047d0b0
push str.Uninst.exe
lea edi, [esi + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0048bbf0
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cea03
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push str.SupplyID
call fcn.004d3be0
push str.ck_WxS
push 0x32
mov ecx, esi
call fcn.004d3e40
push str._S_skiprtpprotect1setupover1___
lea ecx, [ebp - 0x14]
call fcn.0044f380
push edi
lea ecx, [ebp - 0x14]
call fcn.0048ddb0
cmp dword [esi + 0x38], 0
lea eax, [ebp - 0x10]
push eax
jne 0x4ce985
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0044c020
push eax
lea ecx, [ebp - 0x18]
call fcn.0044c020
push eax
call fcn.004c9d90
push dword [ebp - 0x10]
push str.Uninst.exe:return__d
push 0x54bba8
call fcn.0048d420
mov ecx, dword [ebp - 0x10]
add esp, 0x20
test ecx, ecx
je 0x4ce9ef
cmp ecx, 0x65
je 0x4ce9ef
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x4cea08
mov ecx, esi
call fcn.004ce800
test eax, eax
je 0x4ce9a0
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x4cea08
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048cf10
test al, al
jne 0x4ce9d0
push edi
mov ecx, esi
call fcn.004d3f10
test eax, eax
jne 0x4ce9d0
push 0x51efb0
push 0x54bba8
call fcn.0048d420
add esp, 8
xor esi, esi
jmp 0x4cea08
cmp dword [esi + 4], 0
jne 0x4ce9ef
push 0
push 0
push esi
push 0x4d43c0
push 0
push 0
call fcn.004e5eef
add esp, 0x18
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4cea03
push eax
push str.SupplyID
mov ecx, esi
call fcn.004d5f20
mov esi, 1
lea ecx, [ebp - 0x18]
call fcn.0044c000
lea ecx, [ebp - 0x14]
call fcn.0044c000
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 0x4cf4f0
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x547728
push 0x4dd1e0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1018
call fcn.004db7a0
mov eax, dword [0x54b144]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x1028], 0
push 0x802
push 0
lea eax, [ebp - 0x1024]
push eax
call fcn.004dcc10
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.004dcc10
add esp, 0x18
mov dword [ebp - 0x1030], 0x400
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cf683
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x1024]
push eax
push 0
push 0
push str.AppInit_DLLs
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cf683
push str.RCD_AppInit.dll
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4cf683
mov dword [ebp - 0x102c], 0
lea edi, [ebp - 0x1024]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test edi, edi
je 0x4cf64b
cmp word [edi], 0
je 0x4cf64b
push 0x3b
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x4cf61f
xor eax, eax
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x102c], esi
push str.RCD_AppInit.dll
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x4cf647
push edi
lea eax, [ebp - 0x820]
push eax
call ebx
push 0x535d04
lea eax, [ebp - 0x820]
push eax
call ebx
mov edi, esi
jmp 0x4cf5f2
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf654
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x820]
push eax
push 1
push 0
push str.AppInit_DLLs
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xfffffffe
call fcn.004cf6ab
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4cf6c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51296d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.UpdateTrayIcon.exe
lea eax, [esi + 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048bbf0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cb60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a620
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cf7aa
push str._DoRollback_1
lea ecx, [ebp - 0x2c]
call fcn.0044f000
push str.__d__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0048c120
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048ddb0
push 0x5343d8
lea ecx, [ebp - 0x2c]
call fcn.0048c120
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__ws
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a620
push eax
call fcn.004c9d90
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4cfaf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5129f0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
lea edi, [esi + 0x58]
mov dword [ebp - 0xe4], esi
push edi
lea ecx, [ebp - 0xe0]
call fcn.0048cc30
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call dword [eax + 4]
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x4cfc06
cmp dword [esi + 0x3c], 0
jne 0x4cfc31
push dword [edi]
push 0x51eaa8
push 0x54bba8
call fcn.0048d420
push 0xc8
xor ebx, ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push ebx
push eax
call fcn.004dcc10
add esp, 0x18
lea eax, [ebp - 0xdc]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edi, [ebp - 0xdc]
cmp word [edi + ebx*2], 0
lea edi, [edi + ebx*2]
je 0x4cfc24
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4cfc46
movzx eax, word [edi]
lea ecx, [ebp - 0xe0]
push eax
push 0
call fcn.004d47f0
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4cfc46
movzx eax, word [edi]
lea ecx, [esi + 0x58]
push eax
push 0
call fcn.004d47f0
push dword [esi + 0x58]
push 0x51eadc
push 0x54bba8
call fcn.0048d420
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.0044c000
mov eax, 1
jmp 0x4cfc7b
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4cfc4e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
push 0x51eb0c
jmp 0x4cfc61
add ebx, 4
jmp 0x4cfba0
cmp eax, 2
jne 0x4cfc6e
mov eax, dword [esi]
mov ecx, esi
push 0x13
call dword [eax + 0x1c]
push 0x51eb28
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.0044c000
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4cfd60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512a35
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.00479ad0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0047d0b0
push 0
push 1
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00479b00
lea eax, [ebp - 0x10]
push eax
push str.InstallDir
lea ecx, [ebp - 0x14]
call fcn.00479c60
lea ecx, [ebp - 0x10]
call fcn.0048cf10
test al, al
je 0x4cfdec
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.004d0810
neg eax
sbb esi, esi
neg esi
jmp 0x4cfe31
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4cfe03
xor esi, esi
jmp 0x4cfe31
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Version
call fcn.00479c60
mov esi, eax
test esi, esi
je 0x4cfe31
lea eax, [ebp - 0x10]
push eax
call fcn.004855c0
add esp, 4
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x4c]
push eax
call fcn.0048cea0
lea ecx, [ebp - 0x10]
call fcn.0044c000
lea ecx, [ebp - 0x14]
call fcn.00479ae0
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 0x4d0210
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512b97
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x54b144]
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.0047d0b0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0047d0b0
lea ecx, [ebp - 0x28]
call fcn.0044adb0
push str.QQPCMgrDaemon.exe
add esi, 0x60
mov byte [ebp - 4], 2
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0048bbf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0048cea0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0044c000
lea ecx, [ebp - 0x2c]
call fcn.0044c020
mov ebx, eax
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d034d
mov ecx, esi
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cbc0
lea ecx, [ebp - 0x28]
call fcn.0048ed00
lea ecx, [ebp - 0x28]
call fcn.0048e9b0
push str.QQPCMgrDaemon.exe
push 0x5329c0
lea ecx, [ebp - 0x28]
call fcn.0044a740
mov ecx, eax
call fcn.0044a620
push eax
lea eax, [ebp - 0x30]
push str._s_s_s
push eax
call fcn.0048cb40
add esp, 0x14
lea ecx, [ebp - 0x30]
push 0
call fcn.0044c020
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4d035f
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048cea0
push dword [ebp - 0x2c]
push str.QQPCMgrDaemon.exe_path:_ws
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0048cc30
mov byte [ebp - 4], 4
mov ebx, 1
jmp 0x4d0378
push str.Cant_Find_QQPCMgrDaemon.exe
push 0x54bba8
call fcn.0048d0e0
add esp, 8
push 0x5323dc
lea ecx, [ebp - 0x34]
call fcn.0044f000
mov dword [ebp - 4], 5
mov ebx, 2
push eax
mov ecx, edi
mov dword [ebp - 0x38], ebx
call fcn.0048cc30
or ebx, 4
test bl, 2
je 0x4d0396
lea ecx, [ebp - 0x34]
and ebx, 0xfffffffd
call fcn.0044c000
test bl, 1
je 0x4d03a3
lea ecx, [ebp - 0x3c]
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0044a630
lea ecx, [ebp - 0x2c]
call fcn.0044c000
lea ecx, [ebp - 0x30]
call fcn.0044c000
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.004dafe6
mov esp, ebp
pop ebp
ret 4
Function at 0x4d03e0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x54b144]
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.004dcc10
add esp, 0xc
lea ecx, [ebp - 0x21c]
call fcn.0047d0b0
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 0
je 0x4d0457
push ebx
mov ecx, edi
call fcn.004d0530
test eax, eax
je 0x4d0457
mov esi, 1
jmp 0x4d04f9
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 0x4d04f9
lea eax, [ebp - 0x220]
mov ecx, edi
push eax
call fcn.004d10b0
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0048cea0
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call fcn.0044c000
lea ecx, [ebp - 0x21c]
call fcn.0048cf10
test al, al
jne 0x4d04c4
push 0
lea ecx, [ebp - 0x21c]
call fcn.0048c630
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x5329c0
lea ecx, [edi + 0x5c]
call fcn.0044c020
push eax
push str.TencentQQPCMgr_
lea eax, [ebp - 0x218]
push eax
push str._s_s_s_s
push ebx
call fcn.0048cb40
add esp, 0x18
lea ecx, [ebp - 0x21c]
call fcn.0044c000
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.004dafe6
mov esp, ebp
pop ebp
ret 8

Function at 0x4d0530
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512c25
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x4c]
xor esi, esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0048cc30
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
push eax
call fcn.00485610
lea eax, [ebp - 0x10]
push eax
call fcn.00485710
lea eax, [ebp - 0x10]
push eax
call fcn.004855c0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d05da
push 0x5329c0
lea eax, [edi + 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0048bbf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0048dd90
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0044c000
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0048cea0
mov esi, 1
lea ecx, [ebp - 0x10]
call fcn.0044c000
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 0x4d0900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54b144]
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 + 0x5c]
push edi
push eax
lea ecx, [esi + 0x70]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.004d7110
mov ecx, edi
call fcn.0048cf10
test al, al
je 0x4d0a55
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004c93c0
add esp, 8
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c020
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cb60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c000
lea ecx, [ebp - 0x28]
call fcn.0048e9b0
push str.Info.ini
lea ecx, [ebp - 0x28]
call fcn.0048f080
lea ecx, [ebp - 0x28]
call fcn.0044a620
push eax
call fcn.0048a5e0
add esp, 4
test eax, eax
jne 0x4d09da
mov edx, dword [esi]
mov ecx, esi
push 0x17
call dword [edx + 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0044a630
xor eax, eax
jmp 0x4d0aa5
lea ecx, [ebp - 0x2c]
call fcn.0047d0b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0044a620
push eax
push 0x104
push 0x105
lea ecx, [ebp - 0x2c]
call fcn.0044f550
push eax
push 0x5323dc
push str.PacketVersion
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047d0e0
push 0x51e7fc
push 0x54bba8
call fcn.0048d420
add esp, 8
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0048cea0
lea ecx, [ebp - 0x2c]
call fcn.0044c000
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a630
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.0044c020
push eax
call fcn.0045f400
add esp, 0x18
cmp eax, 4
je 0x4d0a8c
mov eax, dword [esi]
mov ecx, esi
push 0x18
call dword [eax + 0x1c]
xor eax, eax
jmp 0x4d0aa5
push dword [edi]
push 0x51e810
push 0x54bba8
call fcn.0048d420
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.004dafe6
mov esp, ebp
pop ebp
ret 4
Function at 0x4d0f90
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512e22
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x54b144]
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 0x5323dc
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
call fcn.0044f000
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 0x4d1086
call fcn.004876e0
push 0x105
test eax, eax
je 0x4d1062
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.0044f000
lea eax, [ebp - 0x42c]
mov ecx, ebx
push eax
call fcn.004d3350
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0048cea0
lea ecx, [ebp - 0x42c]
call fcn.0044c000
jmp 0x4d107f
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.0044f380
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.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4d1370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x54b144]
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.004dcc10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [edi + 0x60]
test eax, eax
jne 0x4d13df
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x64
jmp 0x4d147f
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.0048cb40
add esp, 0x14
mov ecx, ebx
call fcn.0044c020
push eax
call fcn.00487540
add esp, 4
test eax, eax
jne 0x4d14aa
push eax
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4d14aa
lea eax, [ebp - 0x218]
push eax
call esi
push str.TencentQQPCMgrSetupTemp_
lea eax, [ebp - 0x218]
push eax
push 0x533fb4
push ebx
call fcn.0048cb40
add esp, 0x10
mov ecx, ebx
call fcn.0044c020
push eax
call fcn.00487540
add esp, 4
test eax, eax
jne 0x4d14aa
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 0x54bba8
call fcn.0048d0e0
add esp, 8
mov ecx, ebx
call fcn.0044f630
mov edx, dword [edi]
mov ecx, edi
push 0x16
call dword [edx + 0x1c]
xor eax, eax
jmp 0x4d1510
push dword [ebx]
push str.temp_:__ws
push 0x54bba8
call fcn.0048d0e0
add esp, 0xc
mov ecx, ebx
call fcn.0044c020
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a690
push eax
mov dword [ebp - 4], 0
call fcn.00479dc0
mov ecx, eax
call fcn.0047c180
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.0044a630
mov ecx, ebx
call fcn.0044c020
push eax
call fcn.004a8240
mov ecx, eax
call fcn.004a8ea0
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.004dafe6
mov esp, ebp
pop ebp
ret