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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ec8b
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b300
call fcn.00476340
push eax
lea ecx, [ebp - 0x94]
call fcn.004844c0
mov dword [ebp - 4], 0
call fcn.00476350
mov ecx, eax
call fcn.004852d0
movzx eax, al
test eax, eax
je 0x48ad69
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.00484800
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00403be0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0xffffffff
jne 0x48ab92
push 0
push 0x5615d8
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2c9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2c9]
jmp 0x48b03e
push 0
mov edx, dword [ebp - 0x2ec]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jne 0x48abe5
push 0
push 0x561600
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2ca], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2ca]
jmp 0x48b03e
cmp dword [ebp - 0x2dc], 0x400000
jbe 0x48ac26
push 0
push 0x56161c
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2cb], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2cb]
jmp 0x48b03e
mov dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2dc]
add eax, 1
push eax
call fcn.004724c8
add esp, 4
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2e4]
add edx, dword [ebp - 0x2dc]
mov byte [edx], 0
push 0
lea eax, [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2ec]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2f4]
cmp edx, dword [ebp - 0x2dc]
je 0x48acfd
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.004722b6
add esp, 4
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b300
push 0
push 0x56163c
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2cc], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2cc]
jmp 0x48b03e
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b060
mov byte [ebp - 0x2cd], al
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x304]
push eax
call fcn.004722b6
add esp, 4
mov cl, byte [ebp - 0x2cd]
mov byte [ebp - 0x2ce], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2ce]
jmp 0x48b03e
call fcn.00476350
push eax
lea ecx, [ebp - 0x94]
call fcn.004847d0
mov dword [ebp - 0x2e0], 0
call fcn.00476680
movzx edx, al
test edx, edx
je 0x48ad9d
call fcn.00476360
mov dword [ebp - 0x2e0], eax
jmp 0x48adbd
call fcn.00476370
push eax
lea ecx, [ebp - 0x94]
call fcn.00403be0
push eax
call fcn.00413500
add esp, 8
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x48adfb
push 0
push 0x561664
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2cf], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2cf]
jmp 0x48b03e
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x30c]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
call fcn.004135d0
add esp, 0x14
test eax, eax
je 0x48ae57
push 0
push 0x561694
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2d0], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2d0]
jmp 0x48b03e
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x2e8], ecx
cmp dword [ebp - 0x2e8], 0
jne 0x48aea1
push 0
push 0x561600
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2d1], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2d1]
jmp 0x48b03e
cmp dword [ebp - 0x2e8], 0x400000
jbe 0x48aee2
push 0
push 0x56161c
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2d2], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2d2]
jmp 0x48b03e
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.004724c8
add esp, 4
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.004136d0
add esp, 0x10
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x48afad
cmp dword [ebp - 0x2f8], 0x600
je 0x48afad
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x310], edx
mov eax, dword [ebp - 0x310]
push eax
call fcn.004722b6
add esp, 4
call fcn.00476680
movzx ecx, al
test ecx, ecx
jne 0x48af78
mov edx, dword [ebp - 0x2e0]
push edx
call fcn.00413750
add esp, 4
push 0
push 0x5616c8
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b350
mov byte [ebp - 0x2d3], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2d3]
jmp 0x48b03e
call fcn.00476680
movzx eax, al
test eax, eax
jne 0x48afc8
mov ecx, dword [ebp - 0x2e0]
push ecx
call fcn.00413750
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2f0]
push ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.0048b060
mov byte [ebp - 0x2d4], al
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x314], edx
mov eax, dword [ebp - 0x314]
push eax
call fcn.004722b6
add esp, 4
mov cl, byte [ebp - 0x2d4]
mov byte [ebp - 0x2d5], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00484630
mov al, byte [ebp - 0x2d5]
jmp 0x48b03e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 8