joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a48d1
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
mov eax, 0x50e1cc
call fcn.00484660
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x5760a8
lea edi, [ebx + 0x68]
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
and dword [ebp - 4], 0
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
push 1
pop esi
push dword [eax]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 0x575e58
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp + 8], 8
jne 0x4a498a
push esi
jmp 0x4a498c
push 2
mov ecx, ebx
call fcn.004a52fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4a5e87
Capabilities:
Delete file

Disassembly:
mov eax, 0x50e478
call fcn.00484660
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x144]
push ebx
mov ecx, edi
call dword [sym.imp.BasicCtrlDll.dll_public:_void___thiscall_CTimerEvent::SetEnabled_int_]
xor ecx, ecx
mov eax, 0x4a6b47
push ecx
push eax
push esi
mov ecx, edi
call fcn.0042f609
cmp dword [ebp + 8], ebx
je 0x4a5f7f
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 0xc]
call fcn.004a8e72
pop ecx
cmp eax, ebx
pop ecx
je 0x4a5f65
mov eax, dword [esi + 0xd4]
test al, 2
je 0x4a5efc
push dword [ebp + 8]
mov eax, dword [esi + 0xd8]
push eax
call fcn.004a619b
pop ecx
pop ecx
jmp 0x4a5f04
or al, 2
mov dword [esi + 0xd4], eax
lea edi, [esi + 0xd8]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0042e98f
push dword [edi]
call fcn.004a9c21
pop ecx
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xd4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004a6bd9
cmp dword [ebp - 0x14], ebx
je 0x4a5f53
lea ecx, [ebp - 0x14]
call fcn.004a6bd9
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a5f6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a5f6e
push ebx
lea ecx, [ebp + 8]
call fcn.004c0d1c
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4a5f7f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.004a521c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4a6874
Capabilities:
Delete file

Disassembly:
mov eax, 0x50e5e5
call fcn.00484660
sub esp, 0x14
mov ecx, dword [ebp + 8]
push ebx
push esi
push str.http:__adsgroup.qq.com_groupmsg
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov esi, eax
and dword [ebp - 4], 0
mov dword [esp], str.Gad_tmp.dat
call fcn.0049f939
push eax
push dword [esi]
mov esi, dword [ebp + 0xc]
push str._s_u_s
push esi
call sub.MFC42.DLL_CString::Format
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x51a314
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
push 1
lea eax, [ebp + 8]
pop ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004aa198
test eax, eax
pop ecx
jne 0x4a68fc
xor ebx, ebx
jmp 0x4a69be
push str.url_para_group
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp + 0x10]
mov esi, dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CHttpDownload::AddInfo_class_CString_const___class_CString_const__]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.QQHelperDll.dll_public:_void___thiscall_CHelper_CurUserData::constructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.QQHelperDll.dll_public:_enum_enumQQUSER_GENDER___thiscall_CHelper_CurUserData::GetGender_void_]
dec eax
je 0x4a694a
dec eax
je 0x4a6943
push 0x5760fc
jmp 0x4a694f
push 0x5760f8
jmp 0x4a694f
push 0x5760f4
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator_2
push str.gender
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0x20]
call dword [sym.imp.QQHelperDll.dll_public:_int___thiscall_CHelper_CurUserData::GetAge_void_]
push eax
lea eax, [ebp + 8]
push 0x570898
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x52bd90
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.QQHelperDll.dll_public_virtual:_void___thiscall_CHelper_CurUserData::destructor_void_]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4a6fd6
Capabilities:
Move file

Disassembly:
mov eax, 0x50e738
call fcn.00484660
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor esi, esi
push esi
push dword [edi + 0x1c]
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov dword [ebp - 4], esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Lock
mov byte [ebp - 4], 1
cmp dword [ebp + 8], esi
je 0x4a7016
mov ecx, edi
call fcn.004a6f64
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004a6fb3
push 0x570038
mov ecx, edi
call fcn.004a6fb3
lea esi, [edi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
cmp eax, 0x18000
jbe 0x4a7102
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ebx, [edi + 0x14]
push ebx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 2
push str._Y_m_d_H_M
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CTime::Format
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
add edi, 0x18
push edi
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
push edi
push ebx
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
push edi
push ebx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov edx, dword [esi]
push 0
push 0x3021
push eax
mov ecx, esi
call dword [edx + 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4a7811
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x50e8c8
call fcn.00484660
sub esp, 0x128
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x51a314
lea ecx, [ebp - 0x10]
push esi
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004a77f6
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
jne 0x4a78df
push esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
mov byte [ebp - 4], 1
call fcn.004a771f
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.004a7759
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 8], ebx
jne 0x4a78c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4a7969
mov eax, dword [edi + 4]
push ecx
push str.strNameFile
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
push dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 4
push dword [eax]
push str._sAd_s
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push 0x118
lea eax, [ebp - 0x134]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x134]
push ecx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x4a795b
cmp dword [ebp - 0x128], 0xa
jge 0x4a7958
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4a795b
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4a8955
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x50ece0
call fcn.00484660
sub esp, 0x30
push ebx
lea eax, [ebp - 0x28]
push esi
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xd]
xor ebx, ebx
push ecx
mov eax, dword [esi]
push str.nCount
mov dword [ebp - 4], ebx
push esi
mov byte [ebp - 0xd], bl
call dword [eax + 0x70]
cmp byte [ebp - 0xd], bl
je 0x4a8ae8
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.BasicCtrlDll.dll_void___cdecl_CreateQQDataArray_struct_IQQDataArray___]
mov eax, dword [ebp - 0x14]
pop ecx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
lea ecx, [ebp - 0x3c]
call fcn.004fbb52
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_1
push dword [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.ADgif4.0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push 0x80
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x9002
push dword [ebp - 0x18]
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
je 0x4a8ab4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CStdioFile::Write
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
push ebx
lea ecx, [ebp - 0x14]
call fcn.004c0d1c
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a8aaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop ebx
jmp 0x4a8ae8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a8ae8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4a9c21
Capabilities:
Delete file

Disassembly:
mov eax, 0x50f008
call fcn.00484660
sub esp, 0x14
push ebx
push esi
push edi
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [eax + 0xd4]
cmp edi, ebx
je 0x4a9da4
cmp esi, ebx
je 0x4a9da4
push 0x51a314
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov dword [esp], str.Gad.dat
call fcn.0049f939
push eax
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
push str._s_u_s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push 0x51b358
push esi
mov byte [ebp - 4], 3
call dword [eax + 0x1c]
test eax, eax
jne 0x4a9d77
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4a9ce1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 1
mov ecx, dword [eax]
push str.groupad_stream
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x4a9d77
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 8]
push ecx
push edi
mov dword [ebp + 8], ebx
mov dword [ebp - 0x1c], ebx
call dword [eax + 0x74]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x1c]
mov esi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
cmp esi, ebx
sete al
mov esi, eax
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x4a9d57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a9d67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x4a9da6
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x4a9d88
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x4a9d98
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4a9fb1
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x50f058
call fcn.00484660
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push 0x51a314
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004a9f96
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x4aa067
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
pop ecx
push dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 1
push dword [eax]
push str._sAD_s
push esi
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push 0x118
lea eax, [ebp - 0x12c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [esi]
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x4aa067
cmp dword [ebp - 0x120], 0xa
jge 0x4aa064
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4aa067
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4ab71a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
test edx, edx
je 0x4ab83d
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x4ab83d
mov eax, dword [ebp + 8]
push ebx
cmp esi, 8
push edi
not eax
mov ecx, 0xff
jl 0x4ab81a
mov edi, esi
shr edi, 3
mov ebx, edi
neg ebx
lea esi, [esi + ebx*8]
mov dword [ebp + 0x10], esi
movzx ebx, byte [edx]
mov esi, eax
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x52c440]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x52c440]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x52c440]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x52c440]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x52c440]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x52c440]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x52c440]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x52c440]
xor eax, esi
inc edx
dec edi
jne 0x4ab758
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4ab837
movzx ebx, byte [edx]
mov edi, eax
and edi, ecx
xor edi, ebx
shr eax, 8
mov edi, dword [edi*4 + 0x52c440]
xor eax, edi
inc edx
dec esi
jne 0x4ab81e
pop edi
pop ebx
not eax
jmp 0x4ab840
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret 0xc
Function at 0x4adefa
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x50fc36
call fcn.00484660
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::CString_5
xor edi, edi
lea ecx, [esi + 0x24]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString_5
push 1
lea ecx, [esi + 0x28]
pop ebx
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp - 0xc]
push 2
pop eax
mov byte [ebp - 4], 5
or dword [esi + 8], 0xffffffff
or dword [ebp - 4], 0xffffffff
mov word [esi + 4], di
mov dword [esi], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], 0x196
mov dword [esi + 0x10], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4b98bf
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov eax, 0x511070
call fcn.00484660
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x814]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x81c]
push 0x5760b8
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator_3
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.004840b8
mov eax, dword [esi + 0x814]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b9981
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b9981
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xc
push eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4b9981
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4b9a36
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x58]
call fcn.004840b8
mov eax, dword [esi + 0x814]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b9a10
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [esi + 0x814]
push ebx
push 0x1002
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4b99d2
xor esi, esi
jmp 0x4b99d5
push 1
pop esi
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0048433a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x4b9a36
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret