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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0x200
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x24]
call fcn.0048eec0
cmp dword [ebp + 8], 0
jne 0x48ed1b
jmp 0x48ee93
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x48ed4a
jmp 0x48ee93
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0xffffffff
jne 0x48ed6f
jmp 0x48ee93
push 8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
call fcn.0048ec60
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004963f3
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x48edac
jmp 0x48ee93
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0x200
jae 0x48edcb
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
jmp 0x48edd2
mov dword [ebp - 0x28], 0x200
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x48ee3b
cmp dword [ebp - 0x18], 0
je 0x48ee3b
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 4]
cmp ecx, 0x200
jae 0x48ee2c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
sub ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [edx + 4]
mov dword [ebp - 0x2c], ecx
jmp 0x48ee33
mov dword [ebp - 0x2c], 0x200
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
jmp 0x48edd8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ecx]
mov eax, dword [ebp - 0x24]
cmp edx, dword [eax + 4]
je 0x48ee4f
jmp 0x48ee93
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.0048eb30
add esp, 8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 4]
je 0x48ee8c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 4]
push eax
call fcn.00497490
add esp, 0xc
mov dword [ebp - 0xc], 1
cmp dword [ebp - 4], 0xffffffff
je 0x48eea3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0xc], 0
jne 0x48eeb1
mov ecx, dword [ebp - 0x24]
call fcn.0048eec0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4