Function at 0x4cd7d8
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x513800
call fcn.00484660
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_5
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_5
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push str._snewface_face.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x20]
push eax
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push str._snewface_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
push ebx
push str.MAXFACE
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jg 0x4cd87f
xor esi, esi
jmp 0x4cd976
lea esi, [edi + 0x78]
mov dword [ebp - 0x20], ebx
mov ecx, esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageList::DeleteAllBitmaps_void_]
push 0x28
push 0x28
mov ecx, esi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::Create_int__int_]
test eax, eax
je 0x4cd973
mov dword [ebp - 0x20], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x2000
push ebx
push ebx
mov edi, 0x72f
push ebx
push edi
push eax
call esi
cmp eax, ebx
je 0x4cd878
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::SetAwayMask_struct_HBITMAP____]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0x2000
push ebx
push ebx
push ebx
push edi
push eax
call esi
cmp eax, ebx
je 0x4cd878
mov ecx, dword [ebp - 0x14]
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::SetInvisibleMask_struct_HBITMAP____]
xor eax, eax
cmp dword [ebp - 0x1c], ebx
jle 0x4cd973
mov esi, dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::AddDelayBitmap_class_CString__int_]
lea edi, [eax + 1]
lea eax, [ebp - 0x10]
push edi
push dword [ebp - 0x18]
push str._s_ld.bmp
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x10]
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
push 1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
push 2
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
mov eax, edi
cmp eax, dword [ebp - 0x1c]
jl 0x4cd907
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
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
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret