Function at 0x48f1d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf20
push ebx
push esi
mov esi, 0x400
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x720]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xb20]
push ebx
push eax
call fcn.004d9ad0
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.0048f76f
mov edi, 0xf6c
mov dword [ebp - 0x14], eax
push edi
call fcn.0043e8d8
add esp, 0x20
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x48f237
mov eax, 0x332
jmp 0x48f41b
push eax
call fcn.004904d6
mov eax, dword [ebp + 0x14]
mov dword [esp], 0x104
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00491d52
push 0x51b96c
push dword [ebp + 0xc]
call fcn.004de577
add esp, 0x18
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x48f29d
lea eax, [ebp - 0x118]
mov esi, 0x32d
push eax
push 2
push esi
push 0x545598
push dword [ebp - 0x14]
call fcn.0045fd8e
add esp, 0x14
mov ebx, esi
jmp 0x48f410
lea eax, [ebp - 0x320]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00491c8c
mov eax, dword [ebp + 0xc]
add esp, 0xc
test byte [eax + 0xc], 0x10
jne 0x48f3ff
push dword [ebp + 0xc]
lea eax, [ebp - 0x720]
push 1
push esi
push eax
call fcn.004de387
add esp, 0x10
lea eax, [ebp - 0x720]
mov byte [ebp - 0x321], bl
push 0x5f
push ebx
push ebx
push eax
call fcn.004d9400
pop ecx
push eax
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0x720]
push eax
push dword [ebp + 8]
call fcn.004a6667
add esp, 0x1c
cmp byte [ebp - 0xb20], bl
je 0x48f3c9
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0xf20]
push eax
call fcn.004dd750
push esi
lea eax, [ebp - 0x720]
push ebx
push eax
call fcn.004d9ad0
push esi
lea eax, [ebp - 0xb20]
push ebx
push eax
call fcn.004d9ad0
push dword [ebp + 0x1c]
lea eax, [ebp - 0xf20]
push eax
push dword [ebp + 8]
call fcn.0049149b
add esp, 0x2c
cmp eax, 0x382
je 0x48f3c9
cmp dword [ebp - 0xc], ebx
mov eax, dword [ebp + 0x1c]
jne 0x48f38a
cmp dword [eax], 0xffffffff
je 0x48f36e
cmp dword [eax + 4], ebx
jne 0x48f38a
mov ecx, dword [ebp - 4]
push edi
push eax
mov dword [ebp - 0x10], ecx
push dword [ebp - 8]
call fcn.004dcb20
add esp, 0xc
mov dword [ebp - 0xc], 1
jmp 0x48f3b7
lea ecx, [ebp - 0x21c]
add eax, 8
push ecx
push eax
push dword [ebp + 8]
call fcn.00491c8c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004de69c
add esp, 0x14
test eax, eax
je 0x48f3d0
mov eax, dword [ebp + 0xc]
inc dword [ebp - 4]
test byte [eax + 0xc], 0x10
je 0x48f2bf
jmp 0x48f3d9
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
jmp 0x48f3d9
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
cmp dword [ebp - 0xc], 1
jne 0x48f3ff
mov eax, dword [ebp + 0x18]
cmp dword [eax], ebx
jne 0x48f3ff
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
push edi
push dword [ebp - 8]
mov dword [ecx], eax
push dword [ebp + 0x1c]
call fcn.004dcb20
add esp, 0xc
jmp 0x48f407
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
push dword [ebp + 0xc]
call fcn.004de06b
pop ecx
push dword [ebp - 8]
call fcn.004dce85
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret