Function at 0x48fce0
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5333a2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x8e0
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov byte [ebp - 0x8d8], 0
mov dword [ebp - 0x8dc], 0
lea edi, [esi + 0x14c]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
mov dword [ebp - 0x8e4], edi
test ecx, ecx
je 0x48fd66
mov eax, dword [edi + 0x18]
mov edx, fcn.004e1b56
test eax, eax
push ecx
cmove eax, edx
call eax
add esp, 4
mov dword [edi], 0
mov ecx, esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0048ed60
push ecx
test al, al
jne 0x48fef8
lea ecx, [ebp - 0x8b8]
call fcn.0045c820
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x55c], 0
mov byte [ebp - 4], 1
lea eax, [esi + 0x10]
cmp byte [esi + 0x120], 0
jne 0x48fdca
mov eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x160]
push eax
call fcn.00451610
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x8b8]
call fcn.0045c980
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
test al, al
je 0x48fe44
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0
push eax
push dword [ebp - 0x8b4]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x48fe38
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48fe38
xor esi, esi
mov dword [ebp - 0x560], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov byte [ebp - 4], 1
cmp byte [ebp - 0x44], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x48fe71
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
cmp eax, ecx
je 0x48fe71
push eax
call fcn.004e1b56
add esp, 4
push 0x9c
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
mov dword [ebp - 0x8d4], 0
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8b4]
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x48feb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48feb3
xor esi, esi
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd4], esi
push eax
mov ecx, edi
call fcn.00490720
lea ecx, [ebp - 0x8b8]
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0045c8c0
lea ecx, [ebp - 0x8dc]
call fcn.00450c20
mov al, 1
jmp 0x49028b
lea ecx, [ebp - 0x558]
call fcn.0045c820
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 4], 3
lea eax, [esi + 0x10]
cmp byte [esi + 0x120], 0
jne 0x48ff3e
mov eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
push 0
add eax, 4
lea ecx, [ebp - 0x160]
push eax
call fcn.00451610
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x558]
call fcn.0045c980
test al, al
jne 0x48ff83
mov byte [ebp - 0x8cd], 1
jmp 0x48ffc0
lea eax, [ebp - 0x8d4]
mov dword [ebp - 0x8d4], 0
push eax
push dword [ebp - 0x554]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48ffb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x48ffb3
xor edi, edi
mov dword [ebp - 0x200], edi
mov byte [ebp - 0x8cd], 0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x44], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x48ffed
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
cmp eax, ecx
je 0x48ffed
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x8cd], 0
je 0x49001a
lea ecx, [ebp - 0x558]
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0045c8c0
jmp 0x49027e
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x204]
call fcn.00469aa0
test al, al
je 0x48fff6
mov eax, dword [ebp - 0x34]
cmp eax, dword [esi + 0x12c]
jne 0x48fff6
push 0x14
lea eax, [ebp - 0x8cc]
mov dword [ebp - 0x8bc], 0
push eax
lea eax, [ebp - 0x8dc]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x204]
movups xmmword [ebp - 0x8cc], xmm0
call fcn.00469aa0
imul eax, dword [ebp - 0x2c], 0x9ae42313
mov ecx, dword [ebp - 0x8bc]
xor dword [ebp - 0x8cc], eax
imul eax, eax, 0x5b230545
xor dword [ebp - 0x8c8], eax
imul eax, eax, 0x5b230545
xor dword [ebp - 0x8c4], eax
imul eax, eax, 0x5b230545
xor dword [ebp - 0x8c0], eax
imul eax, eax, 0x5b230545
xor ecx, eax
imul esi, eax, 0x5b230545
push ecx
mov dword [ebp - 0x8bc], ecx
call fcn.004e1b5b
mov edi, eax
add esp, 4
mov dword [ebp - 0x8ec], edi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x8dc]
push dword [ebp - 0x8bc]
lea ecx, [ebp - 0x204]
push edi
push eax
call fcn.00469aa0
mov edx, dword [ebp - 0x8bc]
mov ecx, edi
push esi
call fcn.0048ea70
mov eax, dword [ebp - 0x8bc]
add esp, 4
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push eax
lea ecx, [eax + 0x24]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x8e0], ecx
push edi
push eax
call fcn.0045d3d0
add esp, 0xc
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x8cc]
mov esi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49026a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x490130
mov eax, dword [ebp - 0x8bc]
xor ecx, ecx
mov dword [ebp - 0x8d4], ecx
mov esi, edi
mov dword [ebp - 0x8e8], eax
test eax, eax
je 0x49016a
mov ecx, dword [edi]
lea esi, [edi + 4]
mov dword [ebp - 0x8d4], ecx
test ecx, ecx
jle 0x490233
sub esi, edi
cmp esi, eax
jae 0x49019a
lea ecx, [esi + edi]
add esi, 0x98
cmp esi, eax
ja 0x49019a
push 0x98
push ecx
lea eax, [ebp - 0x1f8]
push eax
call fcn.004d9a60
add esp, 0xc
push 0x98
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.004d9fe0
mov eax, dword [ebp - 0x1f8]
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x1e0]
push 0x7f
push eax
lea eax, [ebp - 0xc0]
push 0x80
push eax
call fcn.004ee568
mov eax, dword [ebp - 0x8e0]
add esp, 0x10
movups xmm0, xmmword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x8e4]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xd8]
push eax
movups xmmword [ebp - 0xd0], xmm0
call fcn.00490720
mov eax, dword [ebp - 0x8e0]
add eax, dword [ebp - 0xd4]
sub dword [ebp - 0x8d4], 1
mov dword [ebp - 0x8e0], eax
mov eax, dword [ebp - 0x8e8]
jne 0x490174
push edi
call fcn.004e1b56
add esp, 4
mov dword [ebp - method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
lea ecx, [ebp - 0x558]
mov dword [ebp - method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
call fcn.0045c8c0
lea ecx, [ebp - 0x8dc]
call fcn.00450c20
mov al, 1
jmp 0x49028b
push edi
call fcn.004e1b56
add esp, 4
lea ecx, [ebp - 0x558]
call fcn.00469a20
lea ecx, [ebp - 0x8dc]
call fcn.00450c20
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret