Function at 0x43241b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b6f3d
call fcn.00458b70
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], edi
call fcn.0045842e
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.0045842e
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push str._snewface_face.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x34]
push eax
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push str._snewface_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x1c]
push ebx
push str.MAXFACE
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], esi
jg 0x4324c7
xor esi, esi
jmp 0x432736
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CImagePro::constructor_void_]
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], ebx
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0x2000
push ebx
push ebx
push ebx
push 0x731
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CImagePro::Init_void_]
test eax, eax
je 0x43270f
cmp dword [ebp - 0x24], ebx
je 0x43271d
push ebx
push esi
push 0xff
push 0x14
push 0x14
lea ecx, [edi + 0x28]
call sub.MFC42.DLL_CImageList::Create
test eax, eax
je 0x43270f
lea ecx, [ebp - 0x50]
call fcn.0045842e
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0045842e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0045842e
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0045842e
push 0xffffffffffffffff
mov byte [ebp - 4], 8
push dword [edi + 0x2c]
mov dword [ebp - 0x34], 1
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
xor eax, eax
cmp esi, ebx
jle 0x4326df
mov esi, 0x808000
inc eax
push eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push str._s_ld.bmp
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0x2010
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edi, eax
cmp edi, ebx
je 0x4326b7
push ebx
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x38], eax
push ecx
push edi
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CImagePro::HbittoRGB_struct_HDC_____struct_HBITMAP_____struct_HBITMAP_____]
test eax, eax
je 0x4325e4
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
fld dword [0x4cd554]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push ecx
lea ecx, [ebp - 0x10]
fstp dword [esp]
push edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CImagePro::HbitZoom24_struct_HBITMAP_____float__struct_HBITMAP_____]
test eax, eax
je 0x43261f
cmp dword [ebp - 0x20], ebx
je 0x43261f
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
push esi
push 1
push edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CImagePro::HbitGray24_struct_HBITMAP_____int__unsigned_long_int__struct_HBITMAP_____]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
push edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CImagePro::HbitAlpha24_struct_HBITMAP_____struct_HBITMAP_____struct_HBITMAP_____]
cmp edi, ebx
je 0x4326b7
cmp dword [ebp - 0x14], ebx
je 0x4326b0
cmp dword [ebp - 0x18], ebx
je 0x4326b0
push edi
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebx
jne 0x43265d
xor eax, eax
jmp 0x432660
mov eax, dword [eax + 4]
push esi
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [ebp - 0x14]
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebx
jne 0x43267e
xor eax, eax
jmp 0x432681
mov eax, dword [eax + 4]
push esi
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push dword [ebp - 0x18]
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebx
jne 0x43269f
xor eax, eax
jmp 0x4326a2
mov eax, dword [eax + 4]
push esi
push eax
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x14], ebx
je 0x4326c5
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x18], ebx
je 0x4326d3
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x40]
jl 0x432582
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x24], ebx
je 0x43271d
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CImagePro::UnInit_void_]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CImagePro::destructor_void_]
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret