Function at 0x48c690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52af30
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebp, eax
mov eax, dword [esp + 0x54]
add esp, 4
test ebp, ebp
mov dword [ebp], esi
mov dword [ebp + 8], eax
mov dword [ebp + 4], ecx
je 0x48c745
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x48]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x48c735
mov ecx, dword [ebx + 0x54]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x4c]
mov esi, dword [ebx + 0x44]
mov edi, eax
mov dword [esp + 0x14], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x44]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x54]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x4c]
add esp, 8
add eax, ecx
mov dword [ebx + 0x4c], eax
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
mov dword [eax + edx*4], ebp
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x48c751
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x48c75d
mov dword [esp + 0x50], esi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0xc
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
mov ebp, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x4c]
cmp ebp, 8
jle 0x48c788
mov edi, dword [esp + 0x50]
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
and edi, 0xffff
push edi
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor ecx, ecx
cmp eax, ecx
je 0x48c966
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], vtable.CBitmap.0
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
and esi, 0xffff
push 0xf1
mov edi, esi
push edi
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, eax
test esi, esi
je 0x48c94d
push 0xf1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48c94d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x48c94d
mov edx, dword [ebx + 0xc0]
xor ecx, ecx
mov cx, word [ebp + 4]
xor eax, eax
mov ax, word [ebp + 2]
test edx, edx
jne 0x48c927
push 0xa
push 0
mov dword [ebx + 0xc0], eax
lea esi, [eax + 8]
push 0xff
mov dword [ebx + 0xc4], ecx
lea edx, [ecx + 4]
push ecx
mov dword [ebx + 0xc8], esi
push eax
lea ecx, [ebx + 0x5c]
mov dword [ebx + 0xcc], edx
call sub.MFC42.DLL_CImageList::Create
mov eax, dword [ebx + 0x60]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x18]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebx + 0x60]
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp word [ebp + 6], 0
mov dword [esp + 0x48], 0
jbe 0x48c907
lea edx, [ebp + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
xor esi, esi
mov si, word [eax]
test esi, esi
jbe 0x48c8e9
lea ecx, [esp + 0x14]
lea edi, [ebx + 0x64]
push ecx
push esi
mov ecx, edi
call sub.MFC42.DLL_CMapWordToPtr::Lookup
test eax, eax
je 0x48c8ce
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x48c8e9
mov eax, dword [esp + 0x50]
push esi
mov dword [esp + 0x14], eax
inc eax
mov ecx, edi
mov dword [esp + 0x54], eax
call sub.MFC42.DLL_CMapWordToPtr::operator__
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
xor ecx, ecx
inc eax
mov cx, word [ebp + 6]
add esi, 2
cmp eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
jl 0x48c8a5
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, 1
jmp 0x48c968
cmp dword [ebx + 0xc0], eax
jne 0x48c93b
cmp dword [ebx + 0xc4], ecx
je 0x48c863
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x40], 2
jmp 0x48c95d
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x40], 1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::DeleteObject
xor eax, eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc