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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
push edi
push 0
push 0
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43ccbc
xor eax, eax
pop edi
add esp, 0x18
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x43cce8
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x18
ret
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
jne 0x43cd09
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
pop esi
xor eax, eax
pop edi
add esp, 0x18
ret
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x1c]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x43ccfa
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43ccfa
lea ecx, [esp + 8]
push ecx
push 0x457b54
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
test eax, eax
jge 0x43cd66
mov dword [esp + 8], 0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 8]
test eax, eax
je 0x43cd01
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x43cda4
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
xor eax, eax
pop edi
add esp, 0x18
ret
mov edi, dword [esp + 0x2c]
cmp edi, 0xffffffff
mov esi, dword [esp + 0x28]
jne 0x43cdf6
test esi, esi
jle 0x43cdf6
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x43ce3e
fild dword [esp + 0x10]
fidiv dword [esp + 0xc]
fimul dword [esp + 0x28]
fadd qword [0x451558]
call fcn.004452f4
mov edi, eax
jmp 0x43ce3e
cmp esi, 0xffffffff
jne 0x43ce3e
test edi, edi
jle 0x43ce4d
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43ce4d
fild dword [esp + 0xc]
fidiv dword [esp + 0x10]
fimul dword [esp + 0x2c]
fadd qword [0x451558]
call fcn.004452f4
mov esi, eax
test esi, esi
jne 0x43ce4d
test edi, edi
jne 0x43ce4d
mov eax, 4
jmp 0x43ce4f
xor eax, eax
mov edx, dword [esp + 0x14]
push eax
push edi
push esi
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov esi, eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, esi
pop esi
pop edi
add esp, 0x18
ret