Function at 0x48920e
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a48
push 0x4a8984
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
push 0x80
mov eax, dword [ebp + 8]
push eax
call dword [0x54b4e0]
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [0x54b4dc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x489298
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
jmp 0x489456
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x8000002
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4892db
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
jmp 0x489456
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x489312
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
jmp 0x489456
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042e5a0
add esp, 4
test eax, eax
jne 0x489348
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x20]
jmp 0x489456
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
lea edx, [ecx + eax + 0x28]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0048916f
add esp, 4
test eax, eax
je 0x4893f6
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0xffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
jmp 0x489456
mov dword [ebp - 4], 0xffffffff
jmp 0x48940f
cmp dword [ebp - 0x24], 0
je 0x489426
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x2c], 0xffffffff
je 0x48943d
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x2c], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x489454
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x30], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4