Function at 0x67933b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67990bd8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x30]
push esi
push edi
call sym.MfcHlpr520.dll_public:_static_int___cdecl_CMHPImageManagerIcon::IsPngBitmapResource_struct_HINSTANCE_____char_const__
add esp, 8
test eax, eax
je 0x67933b64
mov eax, dword [esp + 0x38]
push eax
push esi
push edi
call sym.MfcHlpr520.dll_public:_static_struct_HBITMAP______cdecl_CMHPImageManagerIcon::LoadBitmapFromResource_struct_HINSTANCE_____char_const___int__
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x67933b87
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x67933ba6
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
jne 0x67933bc6
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ax, word [ebp + 0xe]
mov ebx, dword [ebp + 4]
mov ecx, eax
xor edx, edx
and ecx, 0xffff
push esi
imul ebx, ecx
add ebx, 0x1f
push edi
sar ebx, 3
and ebx, 0xfffffffc
imul ebx, dword [ebp + 8]
cmp ax, 0x20
mov eax, dword [esp + 0x40]
sete dl
mov dword [eax], edx
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebx + 0x28]
cmp eax, ecx
jb 0x67933d12
lea ecx, [esp + 0x10]
call fcn.6797d946
push 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::Attach
cmp word [ebp + 0xe], 0x18
jb 0x67933ce0
push 0x34
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x67933c76
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, 0xa
mov esi, ebp
mov edi, eax
push 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
mov dword [eax + 0x14], ebx
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x38]
neg ecx
sbb ecx, ecx
push 0
push edx
and ecx, esi
push 0
push eax
push ecx
mov dword [esp + 0x4c], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
je 0x67933cd0
mov edi, dword [esp + 0x34]
test edi, edi
je 0x67933cd0
mov ecx, ebx
lea esi, [ebp + 0x28]
mov edx, ecx
mov dword [esp + 0x38], eax
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 [esp + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x67933d01
push ebp
call fcn.67933a00
mov esi, eax
push esi
push ebp
call fcn.67933aa0
add esp, 0xc
mov dword [esp + 0x38], eax
test esi, esi
je 0x67933d01
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret