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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f6f7
mov eax, dword fs:[0]
push eax
sub esp, 0x76c
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x4f8]
call fcn.00460400
mov dword [ebp - 4], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.004688d0
lea ecx, [ebp - 0x3f0]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.004710d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x72c], 0
mov dword [ebp - 0x730], 0
call fcn.00463620
push eax
lea ecx, [ebp - 0x94]
call fcn.004710d0
mov byte [ebp - 4], 2
call fcn.00463630
mov ecx, eax
call fcn.00472200
movzx edx, al
test edx, edx
je 0x48ee99
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x94]
call fcn.004716a0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00471590
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0xffffffff
jne 0x48edbf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
push 0
mov ecx, dword [ebp - 0x738]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x730], eax
cmp dword [ebp - 0x730], 0
jne 0x48edf1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
mov dword [ebp - 0x744], 0
mov edx, dword [ebp - 0x730]
push edx
call fcn.004f1bf5
add esp, 4
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x72c], eax
push 0
lea ecx, [ebp - 0x744]
push ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x738]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x738]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x744]
cmp eax, dword [ebp - 0x730]
je 0x48ee94
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x75c], ecx
mov edx, dword [ebp - 0x75c]
push edx
call fcn.004f19f5
add esp, 4
mov dword [ebp - 0x72c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
jmp 0x48f11b
call fcn.00463630
push eax
lea ecx, [ebp - 0x94]
call fcn.004716a0
mov dword [ebp - 0x734], 0
call fcn.00463a20
movzx eax, al
test eax, eax
je 0x48eed0
call fcn.00463640
mov dword [ebp - 0x734], eax
jmp 0x48ef55
call fcn.00463650
push eax
lea ecx, [ebp - 0x220]
call fcn.004710d0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x220]
call fcn.00471590
push eax
call fcn.0046c450
add esp, 8
mov dword [ebp - 0x740], eax
mov ecx, dword [ebp - 0x740]
push ecx
lea ecx, [ebp - 0x94]
call fcn.00471590
push eax
call fcn.00477a30
add esp, 8
mov dword [ebp - 0x734], eax
cmp dword [ebp - 0x740], 0
je 0x48ef46
mov edx, dword [ebp - 0x740]
mov dword [ebp - 0x760], edx
mov eax, dword [ebp - 0x760]
push eax
call fcn.004f19f5
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.00471320
cmp dword [ebp - 0x734], 0
jne 0x48ef72
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
mov dword [ebp - 0x748], 0
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.004710d0
mov byte [ebp - 4], 4
push 0x540924
push 0x540370
lea ecx, [ebp - 0x118]
call fcn.004725c0
lea edx, [ebp - 0x728]
push edx
lea eax, [ebp - 0x748]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00471590
push eax
mov ecx, dword [ebp - 0x734]
push ecx
call fcn.00476d40
add esp, 0x14
test eax, eax
je 0x48eff9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00471320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
mov edx, dword [ebp - 0x4fc]
mov dword [ebp - 0x730], edx
cmp dword [ebp - 0x730], 0
jne 0x48f031
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00471320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
mov eax, dword [ebp - 0x730]
push eax
call fcn.004f1bf5
add esp, 4
mov dword [ebp - 0x764], eax
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x72c], ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x748]
push ecx
mov edx, dword [ebp - 0x734]
push edx
call fcn.004782a0
add esp, 0x10
mov dword [ebp - 0x74c], eax
cmp dword [ebp - 0x74c], 0
je 0x48f0f1
cmp dword [ebp - 0x74c], 0x600
je 0x48f0f1
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x768], eax
mov ecx, dword [ebp - 0x768]
push ecx
call fcn.004f19f5
add esp, 4
mov dword [ebp - 0x72c], 0
call fcn.00463a20
movzx edx, al
test edx, edx
jne 0x48f0d1
mov eax, dword [ebp - 0x734]
push eax
call fcn.00476980
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00471320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
jmp 0x48f132
call fcn.00463a20
movzx ecx, al
test ecx, ecx
jne 0x48f10c
mov edx, dword [ebp - 0x734]
push edx
call fcn.00476980
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
call fcn.00471320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00471320
xor eax, eax
jne 0x48ed3a
cmp dword [ebp - 0x72c], 0
jne 0x48f230
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x19c]
call fcn.00471590
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x73c], eax
cmp dword [ebp - 0x73c], 0xffffffff
jne 0x48f177
jmp 0x48f230
push 0
mov ecx, dword [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x730], eax
cmp dword [ebp - 0x730], 0
jne 0x48f19a
jmp 0x48f230
mov dword [ebp - 0x750], 0
mov edx, dword [ebp - 0x730]
push edx
call fcn.004f1bf5
add esp, 4
mov dword [ebp - 0x76c], eax
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x72c], eax
push 0
lea ecx, [ebp - 0x750]
push ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x73c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x750]
cmp eax, dword [ebp - 0x730]
je 0x48f229
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x770], ecx
mov edx, dword [ebp - 0x770]
push edx
call fcn.004f19f5
add esp, 4
mov dword [ebp - 0x72c], 0
jmp 0x48f230
mov dword [ebp - 0x754], 0
cmp dword [ebp - 0x72c], 0
je 0x48f284
mov eax, dword [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x72c]
push ecx
call fcn.0048ec20
add esp, 8
mov dword [ebp - 0x754], eax
mov edx, dword [ebp - 0x72c]
mov dword [ebp - 0x774], edx
mov eax, dword [ebp - 0x774]
push eax
call fcn.004f19f5
add esp, 4
mov dword [ebp - 0x72c], 0
mov ecx, dword [ebp - 0x754]
mov dword [ebp - 0x778], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x19c]
call fcn.00471320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.00460b00
mov eax, dword [ebp - 0x778]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret