Function at 0x432ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
xor ebp, ebp
cmp edi, ebp
jne 0x432cf9
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebp
jne 0x432d1a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebp
jne 0x432d4e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push 0x43f700
push ebp
push edi
push ecx
mov dword [esp + 0x44], ebp
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 0x9ec
push 0x58
push esi
call edi
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push edx
call ebp
push 0x9ec
push 0x5a
push esi
mov ebx, eax
call edi
push eax
mov eax, dword [esp + 0x18]
push eax
call ebp
push esi
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
push ebx
push esi
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x14]
neg edx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push edx
push 0
push ebp
push ebx
push 0
push 0
push edi
push eax
call dword [ecx + 0x20]
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x34]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
jge 0x432e9f
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret