Function at 0x4bac76
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ee208
call fcn.00471450
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_4
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
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 0x4bad1d
xor esi, esi
jmp 0x4bae14
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 0x4bae11
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 0x4bad16
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 0x4bad16
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 0x4bae11
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_3
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_3
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_3
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
mov eax, edi
cmp eax, dword [ebp - 0x1c]
jl 0x4bada5
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