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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1118dbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x34], eax
xor edi, edi
call fcn.110efec0
add esp, 4
dec eax
je 0x11154802
dec eax
je 0x11154637
dec eax
jne 0x1115480f
push 0x11198dd8
call dword [sym.imp.KeRneL32.DLl_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x11154624
push 0x11198dc0
push ebx
call dword [sym.imp.KeRneL32.DLl_GetProcAddress]
test eax, eax
je 0x1115461d
push esi
call eax
mov edi, eax
add esp, 4
test edi, edi
jne 0x1115462b
push ebx
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
xor eax, eax
jmp 0x11154811
push ebx
call dword [sym.imp.KeRneL32.DLl_FreeLibrary]
jmp 0x1115480f
lea ecx, [ebp - 0x24]
call fcn.110ed130
push 0
push 0x80
push 3
push 0
push 1
push bind
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KeRneL32.DLl_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x11154683
push eax
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.110cfc00
xor eax, eax
jmp 0x11154811
push 0
push edi
call dword [sym.imp.KeRneL32.DLl_GetFileSize]
mov esi, eax
push esi
push 0x62
call dword [sym.imp.KeRneL32.DLl_GlobalAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KeRneL32.DLl_GlobalLock]
push 0
lea ecx, [ebp - 0x44]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KeRneL32.DLl_ReadFile]
push ebx
call dword [sym.imp.KeRneL32.DLl_GlobalUnlock]
push edi
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
lea edx, [ebp - 0x30]
push edx
push 1
push ebx
mov dword [ebp - 0x30], 0
call dword [sym.imp.OLE32.dlL_CreateStreamOnHGlobal]
test eax, eax
je 0x111546e1
push ebx
call dword [sym.imp.KeRneL32.DLl_GlobalFree]
jmp 0x1115466d
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push 0x111c1acc
push 0
push esi
push ecx
call dword [sym.imp.OLeAuT32.dLL_OleCreatePictureIndirect]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.uSEr32.dll_GetDC]
mov edi, dword [sym.imp.Gdi32.Dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call edi
push 0x5a
push esi
mov ebx, eax
call edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp - 0x3c]
imul ecx, ebx
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
mov ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0x28]
sar edx, 0xa
mov edi, edx
shr edi, 0x1f
add edi, edx
add ecx, 0x4f6
mov eax, 0x6734d007
imul ecx
sar edx, 0xa
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
push ebx
push edi
push esi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleBitmap]
push ebx
push edi
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.uSEr32.dll_SetRect]
push esi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x28]
mov edi, dword [sym.imp.Gdi32.Dll_SelectObject]
push edx
push eax
mov dword [ebp - 0x2c], eax
call edi
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x24]
call fcn.110cfc60
mov eax, dword [ebp - 0x2c]
push ebx
push eax
call edi
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.Gdi32.Dll_DeleteDC]
mov edx, dword [ebp - 0x34]
push esi
push edx
call dword [sym.imp.uSEr32.dll_ReleaseDC]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KeRneL32.DLl_GlobalFree]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x111547ee
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.110cfc00
mov eax, dword [ebp - 0x28]
jmp 0x11154811
push 0
push esi
call fcn.110f0f10
add esp, 8
mov edi, eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret