Function at 0x4fec30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x589398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], esi
test eax, eax
jne 0x4fee74
cmp edi, 0x60
jge 0x4fee74
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_5
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x140]
test ecx, ecx
je 0x4fee61
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [edi + 1]
push ecx
mov edx, dword [eax + 0x140]
lea eax, [esp + 0x44]
add edx, 0x5488
push edx
push str._s_feiqCustomFace_d.gif
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00440560
add esp, 0x14
test al, al
jne 0x4fee23
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_5
mov ebx, 1
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x140]
lea eax, [esp + 0x38]
add edx, 0x5488
push edx
push str._s_feiqCustomFace
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x38]
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.00443380
add esp, 8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [edi + 0x1c3]
and ecx, 0xffff
push 0x5e4da0
mov edx, dword [eax + 0x6c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4fedbb
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov eax, dword [eax + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4fedbb
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [esp + 0x40]
push 0
push 0x9002
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4fedae
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4feddf
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00573156
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x4feeae
mov eax, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x20]
call dword [eax + 0x30]
mov edx, dword [esp + 0x18]
push ebp
push esi
lea ecx, [esp + 0x20]
call dword [edx + 0x40]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00573156
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
test eax, eax
lea eax, [edi + 0xf000]
je 0x4fee35
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4fee48
push edi
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
jmp 0x4fee55
push eax
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov ecx, esi
call fcn.005012d0
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x4feeae
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x3c]
add ecx, 0xc4
test edx, edx
lea eax, [ecx + 0x24]
jne 0x4fee90
push edi
jmp 0x4fee91
push edx
push 0xffffff
push edi
push eax
call fcn.0051a310
push eax
mov ecx, esi
call sub.MFC42.DLL_CRichEditCtrl::GetIRichEditOle
push eax
call fcn.0046dd00
add esp, 0xc
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x10