Function at 0x42b031
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4a86c4
call fcn.0044c320
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 - 0x14]
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 - 0x14]
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
jle 0x42b1ee
mov esi, dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CBitmapImageList::Create_int__int_]
mov dword [ebp - 0x20], ebx
lea ebx, [edi + 0x48]
push 0x20
push 0x20
mov ecx, ebx
call esi
test eax, eax
je 0x42b1eb
lea ecx, [edi + 0x74]
push 0x10
push 0x10
mov dword [ebp - 0x18], ecx
call esi
test eax, eax
je 0x42b1eb
cmp dword [ebp - 0x1c], 0
push 1
pop edi
mov dword [ebp - 0x20], edi
jle 0x42b1eb
mov esi, dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CBitmapImageList::AddDelayBitmap_class_CString__int_]
push edi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_ld.bmp
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x10]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebx
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, ebx
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, ebx
mov byte [ebp - 4], 1
call esi
push edi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_ld_1.bmp
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x10]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp - 0x18]
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 - 0x18]
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 - 0x18]
mov byte [ebp - 4], 1
call esi
inc edi
lea eax, [edi - 1]
cmp eax, dword [ebp - 0x1c]
jl 0x42b11b
mov ebx, dword [ebp - 0x20]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
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]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret