Function at 0x48bcb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4e2204]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
cmp ebx, eax
push esi
push edi
jge 0x48bf16
or edi, 0xffffffff
cmp ebx, edi
jl 0x48bf16
sete al
mov byte [ebp - 9], al
test al, al
je 0x48bcef
lea ebx, [ecx + 0x24]
jmp 0x48bcfb
imul ebx, ebx, 0x168
add ebx, dword [ecx + 0x18c]
mov edx, dword [ebx + 0x164]
mov eax, dword [ecx + 0x59c]
push 0
push edx
push eax
call fcn.0049edbf
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp edx, eax
je 0x48bf35
mov ecx, dword [ebx + 8]
mov esi, dword [ebx]
cmp ecx, esi
je 0x48bf35
cmp word [ebx + 0x10], 4
ja 0x48bf35
sub eax, edx
sub ecx, esi
mov esi, dword [ebp + 0x10]
push eax
mov edx, esi
call fcn.004733e0
test eax, eax
jne 0x48bf18
cmp word [ebx + 0x10], 4
jae 0x48bd87
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
movq xmm0, qword [ebp - 0x34]
movq qword [eax], xmm0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
movq xmm0, qword [ebp - 0x2c]
push 0xff000000
mov edi, esi
movq qword [eax + 8], xmm0
call fcn.004731d0
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
cmp byte [ebp - 9], 0
mov dword [ebp - 0x24], ecx
je 0x48bdad
movzx eax, word [ebx + 0x10]
imul eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x48bdb2
mov dword [ebp - 0x14], ecx
mov eax, ecx
add eax, eax
mov dword [ebp - 0x18], 0
call fcn.004a1bd0
xor edi, edi
xor edx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
cmp dx, word [ebx + 0x10]
jae 0x48bf0a
mov eax, dword [ebx + 0x14]
movsx ecx, word [eax + edi*2]
call fcn.0048b830
cmp byte [ebp - 9], 0
mov dword [ebp - 0x20], eax
je 0x48bded
test edi, edi
jne 0x48be20
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x59c]
push eax
push 1
lea esi, [ebx + 0x154]
push 2
push esi
call fcn.0049ea18
add esp, 0x10
cmp eax, 1
jne 0x48bf35
mov dx, word [esi]
rol dx, 8
mov word [esi], dx
mov esi, dword [ebp + 0x10]
movzx eax, word [ebx + 0x154]
cmp ax, 1
jne 0x48becf
cmp dword [ebp - 0x10], 0
je 0x48bf2e
cmp byte [ebp - 9], 0
je 0x48be45
test edi, edi
jne 0x48be98
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x48be95
mov esi, dword [ebp - 0x10]
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x59c]
push eax
push 1
push 2
push esi
call fcn.0049ea18
add esp, 0x10
cmp eax, 1
jne 0x48bf35
mov cx, word [esi]
rol cx, 8
movzx eax, cx
mov word [esi], cx
cmp ax, word [ebp - 0x18]
jbe 0x48be89
movzx edx, ax
mov dword [ebp - 0x18], edx
inc edi
add esi, 2
cmp edi, dword [ebp - 0x14]
jb 0x48be50
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push edx
mov edx, dword [ebp + 8]
add ecx, eax
push edx
call fcn.0048b870
test eax, eax
jne 0x48bf18
cmp byte [ebp - 9], al
je 0x48befa
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
lea edx, [eax + ecx*2]
mov dword [ebp - 0x10], edx
jmp 0x48befa
test ax, ax
jne 0x48bf35
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov edx, dword [esi + 0x10]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, edx
mov edx, dword [ebp + 8]
push edx
mov esi, eax
call fcn.0048b980
test eax, eax
jne 0x48bf18
mov esi, dword [ebp + 0x10]
movzx eax, word [ebx + 0x10]
inc edi
cmp edi, eax
mov dword [ebp - 0x1c], edi
jl 0x48bdd4
cmp word [ebx + 0x10], 4
jne 0x48bf16
call fcn.00474d60
xor eax, eax
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049ceb0
mov esp, ebp
pop ebp
ret 0xc
mov eax, 4
jmp 0x48bf18
mov eax, 3
jmp 0x48bf18