joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47cf20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cc18
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x47cfa3
cmp dword [esi + 0x38], 2
jne 0x47cfa3
cmp eax, 0xfffffffa
je 0x47cfa3
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x38], 1
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
add esi, 0x34
push esi
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x18]
push edx
push ecx
lea edx, [eax + 0xc]
push edx
lea ecx, [eax + 8]
push ecx
add eax, 4
push eax
call fcn.00479a30
mov ecx, eax
call fcn.0047a460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 8
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea edx, [ebp + 0x10]
push edx
call sym.txupd.exe_class_CTXStringW___cdecl_FS::ConvertToPureFile_wchar_t_const__
add esp, 8
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._NPkgFetcher_check_package_signature_path:_s
push 0x5aa820
push 2
push str.CNPkgFetcher::OnMultiHttpEvt_FinEvent
push 0x116
push str.E:_txupdatecodingTXUpdate_servicelogicNPkgFetcher.cpp
call fcn.004587e0
add esp, 0x1c
lea ecx, [ebp + 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str._NPkgFetcher_check_package_signature_path:_s
call dword [sym.imp.MSVCR80.dll_wprintf]
mov esi, dword [esi + 0x40]
add esp, 8
push 0
push esi
lea ecx, [ebp + 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.txupd.exe_void___cdecl_Util::Misc::AsyncIsTencentTrusted_wchar_t_const___struct_ITXCallbackKey___unsigned_long_int_
add esp, 0xc
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x480dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d588
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x611260
call fcn.0048cd00
push 0x3c
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
push ecx
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push 0x5c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call sym.txupd.exe_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const
add eax, 1
push eax
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], 0x540
mov dword [ebp - 0x44], 0x5a446c
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 0x14]
mov esi, eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x480f30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov word [ebp - 0x218], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x5a3f4c
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0044aaf0
mov ecx, eax
call fcn.0044a300
push str..exe
push eax
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 4], edi
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0xc
mov ecx, eax
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x220]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push 0x3c
lea ecx, [ebp - 0x25c]
push edi
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x25c]
lea edx, [ebp - 0x218]
push eax
mov dword [ebp - 0x25c], 0x3c
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x258], 0x540
mov dword [ebp - 0x250], 0x5a446c
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x240], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
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.00584870
mov esp, ebp
pop ebp
ret
Function at 0x48c9c0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ec39
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
lea edi, [esi + 4]
mov dword [edi + 4], eax
mov dword [edi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
lea ebx, [esi + 0x48]
mov ecx, ebx
mov byte [ebp - 4], 1
mov dword [esi], vtable.CXFDownloader.1.0
mov dword [edi], vtable.CXFDownloader.0
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x47c39501
call fcn.0048adf0
mov dword [ebx + 4], eax
mov byte [eax + 0x49], 1
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [ebx + 8], eax
mov ecx, 2
mov byte [ebp - 4], cl
mov dword [esi + 0x68], ecx
push esi
lea ecx, [esi + 0x70]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
call fcn.0048ae30
mov dword [esi + 0x6c], vtable.CTXTimerCallbackPtr_class_CXFDownloader_.0
lea edx, [esi + 0x30]
push edx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [ebp - 0x14], esp
push 0
mov ecx, edi
mov dword [eax], 0
call fcn.0048c710
mov eax, dword [esi + 0x70]
mov ecx, 0x48bf80
xor edx, edx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov eax, esi
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 0x48f770
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
je 0x48f7d6
cmp dword [esi + 0x50], 0
je 0x48f7dd
mov eax, dword [esi + 0x94]
test eax, eax
je 0x48f7dd
mov ecx, dword [esi + 0x98]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x48f7dd
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x48f4d0
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0x78], eax
je 0x48f7d6
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x80]
test eax, eax
je 0x48f7d6
mov ecx, dword [eax]
push edi
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [ebp - 8]
push edi
push ecx
mov ecx, dword [esi + 0x38]
push 0
push ecx
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, dword [esi + 0x60]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
pop edi
jne 0x48f7d6
push eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x490d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [0x655ef8]
push ebx
push esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov eax, dword [0x655ef8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test esi, esi
mov ebx, eax
je 0x490e4b
test ebx, ebx
je 0x490e4b
mov ecx, dword [0x655ef8]
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x490e39
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x490e32
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x490e32
push edi
push eax
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.004908a0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x490e60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x490ebe
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x490ee4
cmp dword [ebp - 0x110], 2
jne 0x490ee4
cmp dword [ebp - 0x11c], 6
jb 0x490ee4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00584870
mov esp, ebp
pop ebp
ret

Function at 0x490f00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], 0x540
call fcn.00490e60
test eax, eax
mov dword [ebp - 0x30], str.runas
jne 0x490f41
mov dword [ebp - 0x30], 0x5a446c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push esi
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x490f77
cmp dword [ebp + 0x14], 0
je 0x490f77
mov edx, dword [ebp - 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
test eax, eax
je 0x490f85
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x491120
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x491138
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x4910c0
push 0
mov dword [eax], 0
push 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
ret

Function at 0x491200
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x491217
mov eax, 0x80004005
pop esi
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push eax
call edi
cmp eax, 0x102
jne 0x491254
cmp byte [ebp + 8], 0
je 0x491244
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
mov byte [esi + 0xc], 1
mov esi, dword [esi + 8]
test esi, esi
je 0x491254
push 0xffffffffffffffff
push esi
call edi
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x491b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebp + 8]
sub esp, 8
push ebx
push edi
mov edi, dword [0x655ef8]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x491b6a
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x491b8a
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea edx, [ebp - 4]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 4]
push 0x10
mov dword [ebp - 8], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x491bec
mov edx, dword [ebp - 8]
lea ecx, [ebp + 8]
push ecx
push edx
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x491bee
xor esi, esi
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ef66
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x610304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea edi, [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ebx, [esi + 8]
mov ecx, ebx
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0x10], 0
call fcn.00499090
push 0x5ae244
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 3
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0049f0c7
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea edx, [ebp - 0x18]
push edx
call fcn.00499090
add esp, 4
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0049f0c7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea eax, [ebp - 0x18]
push eax
call fcn.00499090
push str.QQProtectBinQQProtect.exe
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 6
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x495589
lea edx, [ebp - 0x10]
push edx
mov ecx, ebx
call fcn.0049f0c7
jmp 0x4955cc
lea eax, [ebp - 0x1c]
push eax
call fcn.00499090
push str.BinQQ.exe
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 9
call sym.txupd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x10
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.0049f0c7
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, esi
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 0x495840
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f006
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4958c2
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.CLinkChange::ChangeQQLink_txupd_do_not_exist:_s_n
push 0x5ae238
push 2
push str.CLinkChange::ChangeQQLink
push 0x33
push str.E:_txupdatecoding_baseutilfunLinkChange.cpp
call fcn.004587e0
add esp, 0x1c
mov ecx, esi
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push str.CLinkChange::ChangeQQLink_txupd_do_not_exist:_s_n
call dword [sym.imp.MSVCR80.dll_wprintf]
add esp, 8
jmp 0x4959af
push 0x206
lea eax, [ebp - 0x216]
push 0
push eax
mov word [ebp - 0x218], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
push 1
push 0x19
lea ecx, [ebp - 0x218]
push ecx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49591c
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
lea ecx, [ebp - 0x21c]
jne 0x4959a3
push 1
lea eax, [ebp - 0x220]
push eax
call sym.txupd.exe_public:_class_CTXStringW___thiscall_CTXStringW::Right_int_
push 0x5d13ac
push eax
mov byte [ebp - 4], 1
call fcn.004a063e
add esp, 8
lea ecx, [ebp - 0x220]
mov bl, al
mov byte [ebp - 4], 0
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
test bl, bl
je 0x495976
push 0x5d13ac
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
push 0x5ae360
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t_const__
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x21c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, esi
call fcn.00495690
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret 4
Function at 0x496030
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x610304]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x118]
push eax
mov dword [esi], vtable.CProcessUtil.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4961e5
mov eax, dword [ebp - 0x108]
cmp eax, 2
push edi
je 0x496154
cmp eax, 1
jne 0x4961e4
push str.Kernel32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x4961e4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5afde4
push eax
call edi
mov edx, dword [esi + 8]
push str.Process32First
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 8]
push str.Process32Next
push eax
call edi
mov ecx, dword [esi + 8]
push str.Module32First
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 8]
push str.Module32Next
push edx
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 0x28], ebx
mov dword [esi + 0x30], eax
je 0x4961d7
cmp dword [esi + 0x24], ebx
je 0x4961d7
cmp eax, ebx
je 0x4961d7
cmp dword [esi + 0x2c], ebx
je 0x4961d7
cmp dword [esi + 0x20], ebx
je 0x4961d7
mov eax, 1
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret
push 0x5afd90
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x4961e4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push eax
call edi
mov ecx, dword [esi + 8]
push str.EnumProcessModules
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 8]
push str.GetModuleBaseNameW
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 8]
push 0x5afd40
push eax
call edi
cmp dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
je 0x4961d1
cmp dword [esi + 0x14], ebx
je 0x4961d1
cmp dword [esi + 0x18], ebx
je 0x4961d1
cmp eax, ebx
je 0x4961d1
pop edi
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00584870
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
push ecx
jmp 0x4961db
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 8], ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00584870
mov esp, ebp
pop ebp
ret