Function at 0x48b810
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 0x48ba76
or edi, 0xffffffff
cmp ebx, edi
jl 0x48ba76
sete al
mov byte [ebp - 9], al
test al, al
je 0x48b84f
lea ebx, [ecx + 0x24]
jmp 0x48b85b
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.0049e92f
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp edx, eax
je 0x48ba95
mov ecx, dword [ebx + 8]
mov esi, dword [ebx]
cmp ecx, esi
je 0x48ba95
cmp word [ebx + 0x10], 4
ja 0x48ba95
sub eax, edx
sub ecx, esi
mov esi, dword [ebp + 0x10]
push eax
mov edx, esi
call fcn.00472f80
test eax, eax
jne 0x48ba78
cmp word [ebx + 0x10], 4
jae 0x48b8e7
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.00472d70
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 0x48b90d
movzx eax, word [ebx + 0x10]
imul eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x48b912
mov dword [ebp - 0x14], ecx
mov eax, ecx
add eax, eax
mov dword [ebp - 0x18], 0
call fcn.004a1730
xor edi, edi
xor edx, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edi
cmp dx, word [ebx + 0x10]
jae 0x48ba6a
mov eax, dword [ebx + 0x14]
movsx ecx, word [eax + edi*2]
call fcn.0048b390
cmp byte [ebp - 9], 0
mov dword [ebp - 0x20], eax
je 0x48b94d
test edi, edi
jne 0x48b980
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x59c]
push eax
push 1
lea esi, [ebx + 0x154]
push 2
push esi
call fcn.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48ba95
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 0x48ba2f
cmp dword [ebp - 0x10], 0
je 0x48ba8e
cmp byte [ebp - 9], 0
je 0x48b9a5
test edi, edi
jne 0x48b9f8
xor edi, edi
cmp dword [ebp - 0x14], edi
jbe 0x48b9f5
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.0049e588
add esp, 0x10
cmp eax, 1
jne 0x48ba95
mov cx, word [esi]
rol cx, 8
movzx eax, cx
mov word [esi], cx
cmp ax, word [ebp - 0x18]
jbe 0x48b9e9
movzx edx, ax
mov dword [ebp - 0x18], edx
inc edi
add esi, 2
cmp edi, dword [ebp - 0x14]
jb 0x48b9b0
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.0048b3d0
test eax, eax
jne 0x48ba78
cmp byte [ebp - 9], al
je 0x48ba5a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
lea edx, [eax + ecx*2]
mov dword [ebp - 0x10], edx
jmp 0x48ba5a
test ax, ax
jne 0x48ba95
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.0048b4e0
test eax, eax
jne 0x48ba78
mov esi, dword [ebp + 0x10]
movzx eax, word [ebx + 0x10]
inc edi
cmp edi, eax
mov dword [ebp - 0x1c], edi
jl 0x48b934
cmp word [ebx + 0x10], 4
jne 0x48ba76
call fcn.00474900
xor eax, eax
lea esp, [ebp - 0x44]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049ca20
mov esp, ebp
pop ebp
ret 0xc
mov eax, 4
jmp 0x48ba78
mov eax, 3
jmp 0x48ba78