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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], SysStringLen
mov dword [ebp - 0xc], 3
push 0
push 0x80
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4b7ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push 0x68b840
mov ecx, dword [ebp + 8]
push ecx
call fcn.00578e18
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.CreateFileW__s____d__0x_08x__f___p
call fcn.004b9dd0
add esp, 0x14
cmp dword [ebp - 0x24], 0
jne 0x4b7e48
mov eax, 0xf0000003
jmp 0x4b7fa1
push 2
push 0
mov eax, dword [ebp - 0x24]
push eax
call fcn.00577c85
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00577b02
add esp, 4
mov dword [ebp - 0x20], eax
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.00577c85
add esp, 0xc
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004991d0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 1
mov ecx, dword [ebp + 0xc]
call fcn.0049eca0
push eax
call fcn.0057754b
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.005771ad
add esp, 4
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x28]
jne 0x4b7ebe
xor eax, eax
jmp 0x4b7fa1
mov ecx, dword [ebp + 0xc]
call fcn.0049a870
mov eax, 0xf0000000
jmp 0x4b7fa1
push 0
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4b7f28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
push str.GetFileSize___d__0x_08x__error___d
call fcn.004e7c70
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xf0000001
jmp 0x4b7fa1
push 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004991d0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0049eca0
push eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b7f95
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.ReadFile___d__0x_08x
call fcn.004e7c70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.0049a510
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xf0000002
jmp 0x4b7fa1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret