Function at 0x67812d60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x67980100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x68]
push edi
mov ebp, ecx
push 0xe
push esi
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, eax
push 0xe
push esi
push edi
mov dword [esp + 0x78], edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x67812e97
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x67812f04
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x67812f04
xor ebx, ebx
cmp word [ebp + 4], bx
jbe 0x67812e78
lea ecx, [esp + 0x14]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_void_
mov eax, ebx
xor edx, edx
and eax, 0xffff
mov dword [esp + 0x64], 0
lea ecx, [eax*8]
sub ecx, eax
mov dl, byte [ebp + ecx*2 + 7]
lea eax, [ebp + ecx*2]
xor ecx, ecx
mov edi, edx
mov cl, byte [eax + 6]
mov esi, ecx
mov ecx, dword [esp + 0x74]
cmp ecx, esi
jne 0x67812e15
cmp dword [esp + 0x78], edi
je 0x67812e21
test ecx, ecx
jne 0x67812e5c
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x67812e5c
xor edx, edx
push 0
mov dx, word [eax + 0x12]
mov eax, dword [esp + 0x70]
push edi
push esi
push edx
push eax
lea ecx, [esp + 0x28]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::CreateIconFromResource_struct_HINSTANCE_____char_const___class_CSize__int_
test eax, eax
je 0x67812e82
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x14]
push edi
push esi
lea eax, [esp + 0x20]
push edx
push eax
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManager::SetIcon_class_CMHPImageManagerIconHandle_const___unsigned_int__class_CSize__enum_MHPImageState_
test eax, eax
je 0x67812e82
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
inc ebx
cmp bx, word [ebp + 4]
jb 0x67812dd3
mov eax, 1
jmp 0x67812f04
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
xor eax, eax
jmp 0x67812f04
lea ecx, [esp + 0x38]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_void_
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
push 0
push edi
push ebx
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], 1
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::CreateIconFromResource_char_const___class_CSize__int_
test eax, eax
jne 0x67812ed7
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
xor eax, eax
jmp 0x67812f04
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
push ecx
push edi
push ebx
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManager::SetIcon_class_CMHPImageManagerIconHandle_const___unsigned_int__class_CSize__enum_MHPImageState_
lea ecx, [esp + 0x38]
mov esi, eax
mov dword [esp + 0x64], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
mov eax, esi
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x14