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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfa46
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x515de0]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1b0], ebx
mov al, byte [esi]
mov dword [ebp - 0x1b4], ecx
cmp al, 0x5c
je 0x456fc8
cmp al, 0x2f
je 0x456fc8
cmp byte [esi + 1], 0x3a
je 0x456fc8
push ecx
mov ecx, dword [0x51d33c]
push esi
call fcn.00497750
test eax, eax
jne 0x4571e9
cmp byte [esi], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x456fec
xor ecx, ecx
jmp 0x456ffa
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456ff1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.00433e00
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00448b00
add esp, 8
mov ecx, dword [ebx]
push eax
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
push eax
push ebx
call dword [ecx + 0x68]
cmp dword [eax + 0x14], 8
jb 0x45703e
mov eax, dword [eax]
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp - 0x130], 8
mov edi, eax
jb 0x457070
push dword [ebp - 0x144]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x130], 7
cmp dword [ebp - 0x148], 8
mov dword [ebp - 0x134], 0
mov word [ebp - 0x144], ax
jb 0x4570a4
push dword [ebp - 0x15c]
call fcn.004c3c8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x148], 7
cmp dword [ebp - 0x118], 0x10
mov dword [ebp - 0x14c], 0
mov word [ebp - 0x15c], ax
mov dword [ebp - 4], 0xffffffff
jb 0x4570df
push dword [ebp - 0x12c]
call fcn.004c3c8b
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp edi, 0xffffffff
jne 0x45712a
push esi
push dword [0x511630]
lea eax, [ebp - 0x114]
push eax
call fcn.004c5c71
add esp, 0xc
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.0045a190
xor eax, eax
jmp 0x4571e9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x190], eax
call fcn.004c675b
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x45717b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [0x511630]
lea eax, [ebp - 0x114]
push eax
call fcn.004c5c71
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call fcn.0045a190
xor eax, eax
jmp 0x4571e9
push 0
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x190]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
test eax, eax
jne 0x4571cf
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004c566d
push esi
push dword [0x511630]
lea eax, [ebp - 0x114]
push eax
call fcn.004c5c71
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0x10
push eax
call fcn.0045a190
xor eax, eax
jmp 0x4571e9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
je 0x4571e7
mov eax, dword [ebp - 0x190]
mov dword [ecx], eax
mov eax, ebx
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.004c4554
mov esp, ebp
pop ebp
ret 0xc