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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System__LStrAddRef_qqrpv
mov eax, dword [ebp + 8]
call sub.rtl160.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x44af55
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x44ad3d
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call sub.rtl160.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_CreateFileW
mov edi, eax
jmp 0x44ad6c
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x5c]
call sub.rtl160.bpl__System__LStrToPChar_qqrx27System__AnsiStringT_us_i0__
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x44af0d
push 0
push edi
call sub.kernel32.dll_GetFileSize
mov ebx, eax
test ebx, ebx
jbe 0x44af07
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1d], 1
test ebx, ebx
jbe 0x44aef7
cmp ebx, 0x39
jbe 0x44adaa
mov esi, 0x39
jmp 0x44adac
mov esi, ebx
push 0
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x56]
push eax
push edi
call sub.kernel32.dll_ReadFile
test eax, eax
je 0x44adc6
cmp esi, dword [ebp - 0x18]
je 0x44ade2
cmp byte [ebp - 0x1d], 0
jne 0x44add9
mov edx, 0x44af78
mov eax, dword [ebp - 0x10]
call fcn.0044a34c
mov byte [ebp - 0x11], 0
jmp 0x44aef7
lea ecx, [ebp - 0x60]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.0040a270
mov eax, dword [ebp - 0x60]
mov edx, 0x44af88
call fcn.0040a4a0
test al, al
je 0x44ae12
lea eax, [ebp - 0xc]
mov edx, 0x44afa0
call sub.rtl160.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
jmp 0x44ae1f
lea eax, [ebp - 0xc]
mov edx, 0x44afb8
call sub.rtl160.bpl__System__LStrLAsg_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
cmp byte [ebp - 0x1d], 0
je 0x44aea2
push 0x44afe0
lea eax, [ebp - 0x68]
mov edx, dword [0x535d7c]
mov ecx, 0
call sub.rtl160.bpl__System__LStrFromPChar_qqrr27System__AnsiStringT_us_i0__pcus
push dword [ebp - 0x68]
push 0x44af78
push 0x44aff0
push dword [ebp - 0xc]
push 0x44b00c
push 0x44b01c
push dword [ebp - 8]
push 0x44b030
push 0x44af78
push 0x44b040
push 0x44af78
push 0x44b070
push 0x44b0a0
push dword [ebp - 8]
push 0x44b030
push 0x44af78
push 0x44af78
lea eax, [ebp - 0x64]
mov edx, 0x12
call sub.rtl160.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
call fcn.0044a34c
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x56]
mov edx, esi
call fcn.0041c148
lea eax, [ebp - 0x6c]
mov edx, 0x44af78
call sub.rtl160.bpl__System__LStrCat_qqrr27System__AnsiStringT_us_i0__x27System__AnsiStringT_us_i0__
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
call fcn.0044a34c
sub ebx, esi
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
sub eax, ebx
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test ebx, ebx
ja 0x44ad9e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44af5c
lea eax, [ebp - 0x6c]
mov edx, 3
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x60]
call sub.rtl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x5c]
call sub.rtl160.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0xc]
mov edx, 2
call sub.rtl160.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 4]
call sub.rtl160.bpl__System__UStrClr_qqrpv
lea eax, [ebp + 8]
call sub.rtl160.bpl__System__LStrClr_qqrpv
ret