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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbc46
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4fdb40]
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 0x455528
cmp al, 0x2f
je 0x455528
cmp byte [esi + 1], 0x3a
je 0x455528
push ecx
mov ecx, dword [0x5c4b94]
push esi
call fcn.0048c4b0
test eax, eax
jne 0x455749
cmp byte [esi], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x45554c
xor ecx, ecx
jmp 0x45555a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455551
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.00433b20
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00447b60
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 0x45559e
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 0x4555d0
push dword [ebp - 0x144]
call fcn.004b05b7
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 0x455604
push dword [ebp - 0x15c]
call fcn.004b05b7
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 0x45563f
push dword [ebp - 0x12c]
call fcn.004b05b7
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp edi, 0xffffffff
jne 0x45568a
push esi
push dword [0x4f95b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004b2589
add esp, 0xc
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.004586e0
xor eax, eax
jmp 0x455749
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x190], eax
call fcn.004b2fd2
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4556db
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [0x4f95b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004b2589
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call fcn.004586e0
xor eax, eax
jmp 0x455749
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 0x45572f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004b254c
push esi
push dword [0x4f95b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004b2589
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0x10
push eax
call fcn.004586e0
xor eax, eax
jmp 0x455749
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
je 0x455747
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.004b0e84
mov esp, ebp
pop ebp
ret 0xc