Function at 0x4480b0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1078
call fcn.00543e90
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0x800
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4480ef
xor eax, eax
jmp 0x4482f4
mov ecx, dword [ebp - 0x24]
and ecx, 0x10
neg ecx
sbb ecx, ecx
and ecx, 0x2000000
mov dword [ebp - 0x18], ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x44812d
xor eax, eax
jmp 0x4482f4
lea ecx, [ebp - 0x1068]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1068]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [ebp - 0x1060]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push 0x24
push 0
lea edx, [ebp - 0x58]
push edx
call fcn.0053ef70
add esp, 0xc
movzx eax, word [ebp - 8]
shl eax, 0x10
movzx ecx, word [ebp - 0x1060]
or eax, ecx
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x38]
or edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
call fcn.004a52e0
push 9
push 8
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 4]
call fcn.0041c870
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004065a0
add esp, 0x28
test eax, eax
je 0x4481d0
jmp 0x4482c7
mov eax, dword [ebp - 0x24]
and eax, 0x10
je 0x4481dd
jmp 0x4482c7
mov dword [ebp - 0x105c], 0x1000
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44820a
jmp 0x4482c7
cmp dword [ebp - 0x2c], 0
jl 0x4482c0
jg 0x448220
cmp dword [ebp - 0x30], 0
jbe 0x4482c0
cmp dword [ebp - 0x2c], 0
jl 0x44823d
jg 0x448231
cmp dword [ebp - 0x30], 0x1000
jbe 0x44823d
mov dword [ebp - 0x1078], 0x1000
jmp 0x448246
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1078], ecx
mov edx, dword [ebp - 0x1078]
mov dword [ebp - 0x106c], edx
mov dword [ebp - 0x1070], 0
push 0
lea eax, [ebp - 0x1070]
push eax
mov ecx, dword [ebp - 0x106c]
push ecx
lea edx, [ebp - 0x1058]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448283
jmp 0x4482c7
mov ecx, dword [ebp - 0x1070]
push ecx
lea edx, [ebp - 0x1058]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00406700
add esp, 0xc
test eax, eax
jge 0x4482a3
jmp 0x4482c7
mov ecx, dword [ebp - 0x1070]
xor edx, edx
mov eax, dword [ebp - 0x30]
sub eax, ecx
mov ecx, dword [ebp - 0x2c]
sbb ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x44820a
mov dword [ebp - 0x20], 1
mov edx, dword [ebp + 8]
push edx
call fcn.00407030
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1074], ecx
lea ecx, [ebp - 4]
call fcn.0041c850
mov eax, dword [ebp - 0x1074]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret