joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b04f7
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x4e02bb
call fcn.0046fad0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046f58e
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CImageList::CImageList
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageList::constructor_void_]
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xb
call edi
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xc
call edi
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 0xd
call edi
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0xe
call edi
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0xf
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageListEx::constructor_void_]
lea ecx, [esi + 0x154]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CImageList::CImageList
mov byte [ebp - 4], 0x11
mov dword [esi + 0x198], 0x4f7718
mov dword [esi], 0x4f76b8
mov dword [esi + 0x174], ebx
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x160], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x188], 1
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x15c], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4b0680
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x4e039f
call fcn.0046fad0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4f76b8
lea ebx, [esi + 0x20]
mov dword [ebp - 4], 0x11
mov ecx, ebx
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0x30]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0x38]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0x40]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0x48]
call sub.MFC42.DLL_CImageList::DeleteImageList
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageList::DeleteAllBitmaps_void_]
lea ecx, [esi + 0x78]
call edi
lea ecx, [esi + 0xa4]
call edi
lea ecx, [esi + 0xd0]
call edi
lea ecx, [esi + 0xfc]
call edi
lea ecx, [esi + 0x68]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CImageList::DeleteImageList
lea edi, [esi + 0x154]
mov ecx, edi
call sub.MFC42.DLL_CImageList::DeleteImageList
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.004cb784
lea ecx, [esi + 0x128]
mov byte [ebp - 4], 0xf
call dword [sym.imp.QQBaseClassInDll.dll_public_virtual:_void___thiscall_CbmpImageListEx::destructor_void_]
mov edi, dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageList::destructor_void_]
lea ecx, [esi + 0xfc]
mov byte [ebp - 4], 0xe
call edi
lea ecx, [esi + 0xd0]
mov byte [ebp - 4], 0xd
call edi
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 0xc
call edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0xb
call edi
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0xa
call fcn.004cb784
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 9
call fcn.004cb784
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 8
call fcn.004cb784
mov byte [ebp - 4], 7
lea ecx, [esi + 0x58]
call fcn.004cb784
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 6
call fcn.004cb784
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 5
call fcn.004cb784
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004cb784
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.004cb784
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004cb784
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.004cb784
and byte [ebp - 4], 0
mov ecx, ebx
call fcn.004cb784
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sub.MFC42.DLL_CCmdTarget::CCmdTarget
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4b352b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4e0945
call fcn.0046fad0
sub esp, 0x20c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0046f58e
and dword [ebp - 4], 0
lea edi, [esi + 0x20]
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CHttpDownloadUIInterface::constructor_void_]
lea ebx, [esi + 0x24]
push 0x10
push 0x23
push ebx
mov byte [ebp - 4], 1
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebx + 0x10], 0x24
mov byte [ebp - 4], 2
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], 0x4f8248
call fcn.004b481c
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x64]
mov byte [ebp - 4], 4
mov ecx, ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::constructor_void_]
xor eax, eax
mov byte [ebp - 4], 5
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov eax, esi
neg eax
sbb eax, eax
mov ecx, ebx
and eax, edi
mov dword [esi], 0x4f81f0
push eax
mov dword [edi], 0x4f81d0
mov dword [esi + 0x54], 1
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::SetUIInterface_class_CHttpDownloadUIInterface__]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0x114]
push str.tempswf
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::SetDownloadTempDir_char_const__]
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4b5452
Capabilities:
Create directory

Disassembly:
mov eax, 0x4e0e47
call fcn.0046fad0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.QQBaseClassInDll.dll_protected:_void___thiscall_CHttpDownloadUIInterface::constructor_void_]
and dword [ebp - 4], 0
lea ebx, [esi + 4]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0xc]
mov byte [ebp - 4], 2
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::constructor_void_]
mov byte [ebp - 4], 3
push esi
mov ecx, edi
mov dword [esi], 0x4f8344
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::SetUIInterface_class_CHttpDownloadUIInterface__]
mov edi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x14]
push eax
call edi
mov dword [esp], str.QQSuperbag
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
push eax
call edi
mov dword [esp], str.QQSuperbag_superbag.xml
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 7
call fcn.0046f498
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push str.http:__theme.qq.com_superbag.xml
mov ecx, ebx
call fcn.0046f48c
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4b5c61
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4e106c
call fcn.0046fad0
sub esp, 0x48
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0046f570
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b5cda
push 0xc
lea eax, [ebp - 0x18]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push 1
pop esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4b5cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x4b5d60
push 1
pop esi
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x38]
call fcn.0046f570
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b5d3a
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1002
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4b5d24
xor esi, esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0046f7f8
jmp 0x4b5d47
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4b64cf
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e1393
call fcn.0046fad0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4b655c
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e13c4
call fcn.0046fad0
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x13c]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CMapStringToOb::operator__
mov ebx, dword [ebp + 0x10]
lea ecx, [esi + 0x174]
mov dword [eax], ebx
push dword [ebp + 0xc]
call sub.MFC42.DLL_CMapStringToOb::operator__
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
push dword [ebp + 0xc]
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x190]
call sub.MFC42.DLL_CMapStringToPtr::operator__
cmp ebx, 1
mov dword [eax], edi
je 0x4b662a
cmp ebx, 2
je 0x4b6633
jle 0x4b6699
cmp ebx, 4
jg 0x4b6699
and dword [esi + 0x74], 0
push 0x148
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp + 0x10], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x4b65f2
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::constructor_void_]
mov dword [edi], 0x4f30d8
mov ecx, edi
jmp 0x4b65f4
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [esi + 0x74], ecx
test ecx, ecx
je 0x4b6699
push esi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::SetUIInterface_class_CHttpDownloadUIInterface__]
push dword [ebp + 0xc]
mov edi, dword [esi + 0x74]
lea ecx, [esi + 0x1ac]
call sub.MFC42.DLL_CMapStringToPtr::operator__
push 0
mov dword [eax], edi
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x74]
push dword [ebp + 8]
jmp 0x4b6693
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [esi + 0x20], 0
push 0x148
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp + 0x10], edi
test edi, edi
mov byte [ebp - 4], 2
je 0x4b6661
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::constructor_void_]
mov dword [edi], 0x4f30d8
mov ecx, edi
jmp 0x4b6663
xor ecx, ecx
mov byte [ebp - 4], 1
mov dword [esi + 0x20], ecx
test ecx, ecx
je 0x4b6699
push esi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CHttpDownload::SetUIInterface_class_CHttpDownloadUIInterface__]
push dword [ebp + 0xc]
mov edi, dword [esi + 0x20]
lea ecx, [esi + 0x190]
call sub.MFC42.DLL_CMapStringToPtr::operator__
push 0
mov dword [eax], edi
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x20]
push dword [ebp + 8]
call dword [sym.imp.QQBaseClassInDll.dll_public:_unsigned_int___thiscall_CHttpDownload::Download_char_const___char_const___struct__SYSTEMTIME__]
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4b7f04
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov eax, 0x4e1694
call fcn.0046fad0
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push 0x52cc2c
lea eax, [ebp - 0x10]
lea edi, [esi + 0x5c]
push edi
push eax
call sub.MFC42.DLL_operator_3
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.0046f570
mov eax, dword [esi + 0x60]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b7fa6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b7fa6
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 0x4b7fa6
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 0x4b8070
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x58]
call fcn.0046f570
mov eax, dword [esi + 0x60]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b802f
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [esi + 0x60]
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 0x4b7ff1
xor esi, esi
jmp 0x4b7ff4
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.0046f7f8
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 0x4b8070
cmp dword [ebp + 8], 1
jne 0x4b804a
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esi + 0x60]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
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 4
Function at 0x4b8517
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e176c
call fcn.0046fad0
sub esp, 0x108
and byte [ebp - 0x114], 0
push esi
push edi
mov esi, ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x10]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_4
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push 0x528f88
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [esi + 0x60]
push 0x104
push eax
push 0x4e51ec
push str.userpanelver
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
test eax, eax
je 0x4b8599
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push eax
call fcn.0046f48c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4b9266
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e183c
call fcn.0046fad0
sub esp, 0x120
push ebx
push esi
push edi
mov edi, ecx
push ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x60]
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call sub.MFC42.DLL_CString::CString_3
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004b9386
test eax, eax
jne 0x4b92a0
push 1
jmp 0x4b92cc
push dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x12c]
mov ebx, 0x4e51ec
push 0x104
push eax
push ebx
push str.PanelArray
push str.PanelInfo
call edi
test eax, eax
jne 0x4b92d2
push 2
pop eax
jmp 0x4b9377
lea ecx, [ebp - 0x28]
call fcn.004a2bef
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 0x78]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CDataProcessing::GetPanelIDArray_class_CArray_class_CString__class_CString___]
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
dec eax
test eax, eax
jl 0x4b935d
mov eax, dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x12c]
push 0x104
mov ecx, dword [ecx + edx*4]
push eax
push ebx
push str.syspanel
push ecx
call edi
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
push str.TRUE
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
mov byte [ebp - 4], 1
pop ecx
test eax, eax
lea ecx, [ebp - 0x10]
je 0x4b9362
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x14]
dec eax
cmp dword [ebp - 0x14], eax
jle 0x4b92fd
push 3
pop esi
jmp 0x4b9369
call sub.MFC42.DLL_CString::CString
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004a2c3c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4b9544
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
mov eax, 0x4e1898
call fcn.0046fad0
sub esp, 0x28
push esi
mov esi, ecx
lea ecx, [ebp - 0x34]
call fcn.0046f570
push dword [esi + 0x68]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b95b3
push 0xc
lea eax, [ebp - 0x18]
push 0
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [esi + 0x68]
and dword [ebp - 0x14], 0
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4b95b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x4b95d8
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::Close
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFileFind::CFileFind
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4b95e7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4e18bc
call fcn.0046fad0
sub esp, 0x48
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.0046f570
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b9660
push 0xc
lea eax, [ebp - 0x18]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push 1
pop esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4b9663
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x4b96e6
push 1
pop esi
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x38]
call fcn.0046f570
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4b96c0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1002
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x4b96aa
xor esi, esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0046f7f8
jmp 0x4b96cd
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4b96f6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4e18ef
call fcn.0046fad0
sub esp, 0x10c
and dword [ebp - 0x10], 0
push ebx
push 1
lea eax, [ebp - 0x118]
pop ebx
push dword [ecx + 0x6c]
mov dword [ebp - 4], ebx
push 0x104
push eax
push 0x4e51ec
push 0x52efa4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.0046f48c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret 8