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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c94c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4faa80]
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 0x455ce8
cmp al, 0x2f
je 0x455ce8
cmp byte [esi + 1], 0x3a
je 0x455ce8
push ecx
mov ecx, dword [0x5004a4]
push esi
call fcn.0048a990
test eax, eax
jne 0x455f09
cmp byte [esi], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x455d0c
xor ecx, ecx
jmp 0x455d1a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x455d11
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x12c]
call fcn.00433940
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00448300
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 + 0x60]
cmp dword [eax + 0x14], 8
jb 0x455d5e
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 0x455d90
push dword [ebp - 0x144]
call fcn.004ade67
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 0x455dc4
push dword [ebp - 0x15c]
call fcn.004ade67
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 0x455dff
push dword [ebp - 0x12c]
call fcn.004ade67
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
cmp edi, 0xffffffff
jne 0x455e4a
push esi
push dword [0x4f65b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004afe39
add esp, 0xc
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.00458db0
xor eax, eax
jmp 0x455f09
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x190], eax
call fcn.004b087f
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x455e9b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [0x4f65b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004afe39
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call fcn.00458db0
xor eax, eax
jmp 0x455f09
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 0x455eef
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004afdfc
push esi
push dword [0x4f65b8]
lea eax, [ebp - 0x114]
push eax
call fcn.004afe39
mov ecx, dword [ebp - 0x1b0]
lea eax, [ebp - 0x114]
add esp, 0x10
push eax
call fcn.00458db0
xor eax, eax
jmp 0x455f09
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
je 0x455f07
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.004ae734
mov esp, ebp
pop ebp
ret 0xc