Function at 0x45c200
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x30
push ebx
mov eax, dword [esp + 0x38]
push ebp
xor ebp, ebp
push ebp
push ebp
push 3
push ebp
push 1
push bind
mov dword [esp + 0x2c], ecx
push eax
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45c23b
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 4
push esi
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [esp + 0x20]
push ebp
push ecx
push edi
push eax
push ebx
mov dword [esp + 0x34], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 + 0x44]
push eax
push 0x4c5f38
push ebp
push edi
push ecx
mov dword [esp + 0x58], ebp
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [esp + 0x44]
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 esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x9ec
push 0x58
push esi
mov edi, eax
call ebp
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x9ec
push 0x5a
push esi
mov ebx, eax
call ebp
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x45c324
call sub.MFC42.DLL_CGdiObject::DeleteObject
push ebp
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [ebp - 1]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x14]
neg edx
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
xor eax, eax
push edx
push 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebp
lea ecx, [ebx - 1]
push ebx
push 0
mov dword [esp + 0x58], ecx
mov ecx, dword [eax]
push 0
push edi
push eax
call dword [ecx + 0x20]
test eax, eax
jge 0x45c386
xor ebx, ebx
jmp 0x45c398
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
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 edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x30
ret 4