Function at 0x4f8bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x80]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x84]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0x88]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x8c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x90]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x94]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x98]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0x9c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0xa0]
mov edi, dword [ebp + 0x48]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0xa4]
mov dword [ebp - 0x234], ecx
mov ebx, dword [ebp + 0xb0]
mov esi, dword [ebp + 0xb4]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xa8]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xac]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0xb8]
push 0
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc0]
push 0
push dword [ecx]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0xc4]
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x23c], eax
call fcn.00595cb4
mov eax, dword [ebp - 0x234]
push dword [eax]
lea eax, [ebp - 0x204]
push 0x100
push 2
push eax
call fcn.00595b79
add esp, 0x1c
test eax, eax
jne 0x4f8dfb
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004f98e0
mov ecx, dword [ebp - 0x278]
add esp, 8
movsx eax, word [ebp - 0x204]
mov edx, dword [ebp - 0x228]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2ac]
movsx eax, word [ebp - 0x202]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x254]
movsx eax, word [ebp - 0x1e4]
mov dword [ecx], eax
movsx eax, word [ebp - 0x1fc]
mov dword [edx], eax
cmp eax, 0x14
jge 0x4f8e58
mov dword [edx], 1
jmp 0x4f8e61
cmp eax, 0x1e
jge 0x4f8f77
mov eax, dword [ecx]
inc eax
cmp eax, 0xe
ja case.0x4f8e74.3
movzx eax, byte [eax + 0x4f98a4]
jmp dword [eax*4 + 0x4f988c]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx], 0xa
jmp 0x4f8f33
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x218]
mov dword [ecx], 0x64
mov dword [edi], 0x3e8
mov dword [edx], 0x64
mov dword [eax], 0xffffff9c
jmp 0x4f8f51
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x220]
mov dword [ecx], 0x64
mov dword [edi], 0x3e8
mov dword [edx], 1
jmp 0x4f8f45
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x218]
mov dword [ecx], 0x64
mov dword [edi], 0x64
mov dword [edx], 1
mov dword [eax], 0xffffff9c
jmp 0x4f8f51
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x220]
mov dword [ecx], 0xa
mov dword [edi], 0x3e8
mov dword [edx], 0xa
jmp 0x4f8f45
mov ecx, dword [ebp - 0x21c]
mov dword [ecx], 0x64
mov edx, dword [ebp - 0x220]
mov dword [edi], 0x3e8
mov dword [edx], 0x64
mov eax, dword [ebp - 0x218]
mov dword [eax], 0
mov eax, dword [ebp - 0x214]
mov dword [eax], 0
mov eax, dword [ebp - 0x210]
mov dword [eax], 0
mov eax, dword [ebp - 0x208]
mov dword [eax], 0
jmp 0x4f8fd4
movsx eax, word [ebp - 0x1b6]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x210]
mov dword [edi], eax
movsx eax, word [ebp - 0x108]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x214]
movsx eax, word [ebp - 0x106]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x21c]
movsx eax, word [ebp - 0xb4]
mov dword [ecx], eax
movsx eax, word [ebp - 0x8a]
mov dword [edx], eax
mov edx, dword [ebp - 0x208]
movsx eax, word [ebp - 0x24]
mov dword [edx], eax
mov edx, dword [ebp - 0x220]
movsx eax, word [ebp - 6]
mov dword [edx], eax
movd xmm0, dword [ecx]
movsx eax, word [ebp - 0x200]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x218]
divss xmm1, xmm0
movd xmm0, dword [eax]
mov eax, dword [ebp - 0x2bc]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1fe]
movd xmm0, dword [ecx]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp - 0x26c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x214]
divss xmm1, xmm0
movd xmm0, dword [eax]
mov eax, dword [ebp - 0x298]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1fa]
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movsx eax, word [ebp - 0x1f8]
movd xmm3, eax
movaps xmm1, xmm2
mov eax, dword [ebp - 0x250]
divss xmm1, xmm0
cvtdq2ps xmm3, xmm3
movss dword [ecx], xmm1
movd xmm0, dword [edi]
movaps xmm1, xmm3
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1f6]
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x210]
divss xmm1, xmm0
movd xmm0, dword [eax]
mov eax, dword [ebp - 0x2b8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1f4]
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
mov eax, dword [ebp - 0x208]
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movd xmm0, dword [eax]
mov eax, dword [ebp - 0x280]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [eax], xmm1
mov eax, dword [ebp - 0x254]
mov eax, dword [eax]
inc eax
cmp eax, 0xe
ja case.0x4f9109.3
movzx eax, byte [eax + 0x4f98c4]
jmp dword [eax*4 + 0x4f98b4]
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x250]
divss xmm0, xmm2
movss dword [ecx], xmm0
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm3
movss dword [eax], xmm0
jmp case.0x4f9109.0
movsx eax, word [ebp - 0x1fa]
movd xmm0, dword [edi]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movsx eax, word [ebp - 0x1f8]
divsd xmm1, xmm0
mulsd xmm1, qword [0x5c3640]
mulsd xmm1, qword [0x5edb70]
divsd xmm1, qword [0x5edb68]
cvtpd2ps xmm0, xmm1
movd xmm1, eax
movss dword [ecx], xmm0
movd xmm0, dword [edi]
cvtdq2pd xmm1, xmm1
mov eax, dword [ebp - 0x250]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm1, qword [0x5c3640]
mulsd xmm1, qword [0x5edb68]
cvtpd2ps xmm0, xmm1
movss dword [eax], xmm0
jmp case.0x4f9109.0
push str._n__Unrecognized_SIR_option_in_read_sir_header3__n
call fcn.00592f31
add eax, 0x40
push eax
call fcn.0059320e
add esp, 8
mov edi, dword [ebp - 0x2a0]
mov ecx, 1
movsx eax, word [ebp - 0x1f2]
mov edx, dword [ebp - 0x288]
mov dword [edi], eax
movsx eax, word [ebp - 0x1f0]
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 0x2b0]
mov dword [edx], eax
movsx eax, word [ebp - 0x1ee]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x290]
movsx eax, word [ebp - 0x1ec]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2a8]
movsx eax, word [ebp - 0x1ea]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x270]
movsx eax, word [ebp - 0x1e8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x274]
movsx eax, word [ebp - 0x1e6]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x27c]
movsx eax, word [ebp - 0x1e2]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x284]
movsx eax, word [ebp - 0x1e0]
mov dword [ecx], eax
mov ecx, 1
movsx eax, word [ebp - 0x1b4]
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 0x22c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x230]
movsx eax, word [ebp - 0x1b2]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x244]
movsx eax, word [ebp - 0x1b0]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x23c]
movsx eax, word [ebp - 0x1ae]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x28c]
movsx eax, word [ebp - 0x1ac]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x294]
movsx eax, word [ebp - 0x1aa]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x29c]
movsx eax, word [ebp - 0x1a8]
mov dword [ecx], eax
mov ecx, 2
movsx eax, word [ebp - 0x1a6]
test eax, eax
cmove eax, ecx
mov ecx, dword [ebp - 0x2a4]
mov dword [ecx], eax
cmp dword [edx], 0
jne 0x4f92ed
mov dword [edx], 1
cmp dword [ecx], 1
movd xmm3, dword [edx]
movsd xmm1, qword [0x5edb78]
cvtdq2ps xmm3, xmm3
cvtps2pd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
jne 0x4f931f
movsd xmm1, qword [0x5d4e70]
cvtps2pd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm2, xmm1
movsx eax, word [ebp - 0x1a4]
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x258]
divss xmm1, xmm3
addss xmm1, xmm0
addss xmm1, xmm2
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1a2]
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [ebp - 0x260]
divss xmm1, xmm0
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
movss dword [eax], xmm1
movsx eax, word [ebp - 0x1a0]
movd xmm0, dword [edx]
cvtdq2ps xmm0, xmm0
mov edx, dword [ebp - 0x20c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
movd xmm0, dword [edi]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
addss xmm1, xmm2
movss dword [edx], xmm1
cmp dword [ecx], 4
jne 0x4f943b
movzx eax, word [ebp - 0x19e]
mov word [ebp - 0x206], ax
movzx eax, word [ebp - 0x19c]
mov word [ebp - 0x208], ax
movss xmm0, dword [ebp - 0x208]
mov eax, dword [ebp - 0x258]
movss dword [eax], xmm0
movzx eax, word [ebp - 0x19a]
mov word [ebp - 0x206], ax
movzx eax, word [ebp - 0x198]
mov word [ebp - 0x208], ax
mov eax, dword [ebp - 0x260]
movss xmm0, dword [ebp - 0x208]
movss dword [eax], xmm0
movzx eax, word [ebp - 0x196]
mov word [ebp - 0x206], ax
movzx eax, word [ebp - 0x194]
mov word [ebp - 0x208], ax
movss xmm0, dword [ebp - 0x208]
movss dword [edx], xmm0
mov edi, dword [ebp - 0x268]
lea eax, [ebp - 0x1de]
sub eax, edi
mov esi, 0x14
mov dword [ebp - 0x20c], eax
movsx eax, word [eax + edi]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f946a
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec esi
jne 0x4f9454
mov eax, dword [ebp - 0x268]
mov ebx, 0x45
mov edi, dword [ebp - 0x240]
mov byte [eax + 0x28], 0
lea eax, [ebp - 0x192]
sub eax, edi
mov dword [ebp - 0x20c], eax
lea ebx, [ebx]
movsx eax, word [eax + edi]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f94c6
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec ebx
jne 0x4f94b0
mov eax, dword [ebp - 0x240]
mov esi, 0x28
mov edi, dword [ebp - 0x25c]
mov byte [eax + 0x8a], 0
lea eax, [ebp - 0x104]
sub eax, edi
mov dword [ebp - 0x20c], eax
lea esp, [esp]
movsx eax, word [eax + edi]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f9526
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec esi
jne 0x4f9510
mov eax, dword [ebp - 0x25c]
mov ebx, 0x14
mov edi, dword [ebp - 0x248]
mov byte [eax + 0x50], 0
lea eax, [ebp - 0xb2]
sub eax, edi
mov dword [ebp - 0x20c], eax
jmp 0x4f9570
movsx eax, word [eax + edi]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f9586
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec ebx
jne 0x4f9570
mov eax, dword [ebp - 0x248]
mov esi, 0x32
mov edi, dword [ebp - 0x238]
mov byte [eax + 0x28], 0
lea eax, [ebp - 0x88]
sub eax, edi
mov dword [ebp - 0x20c], eax
jmp 0x4f95d0
movsx eax, word [eax + edi]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f95e6
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec esi
jne 0x4f95d0
mov eax, dword [ebp - 0x238]
mov ebx, 0xe
mov edi, dword [ebp - 0x264]
mov esi, dword [ebp - 0x224]
mov byte [eax + 0x64], 0
lea eax, [ebp - 0x22]
sub eax, edi
mov dword [ebp - 0x20c], eax
lea esp, [esp]
movsx eax, word [edi + eax]
mov ecx, eax
and ecx, 0x800000ff
jns 0x4f9646
dec ecx
or ecx, 0xffffff00
inc ecx
cdq
and edx, 0xff
mov byte [edi], cl
add eax, edx
sar eax, 8
mov byte [edi + 1], al
add edi, 2
mov eax, dword [ebp - 0x20c]
dec ebx
jne 0x4f9630
mov eax, dword [ebp - 0x264]
mov edx, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x230]
mov byte [eax + 0x1c], 0
cmp dword [edx], 1
jne 0x4f96d2
mov ecx, dword [ebp - 0x22c]
mov dword [ecx], 1
mov ecx, dword [ebp - 0x244]
mov dword [edi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0x23c]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x240]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x248]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x238]
mov byte [ecx], 0
mov byte [eax], 0
mov dword [edx], 0x14
mov eax, dword [ebp - 0x22c]
cmp dword [eax], 1
jle 0x4f9879
cmp dword [edi], 0
jle 0x4f97f5
mov eax, dword [ebp - 0x244]
mov eax, dword [eax]
cmp eax, ebx
jl 0x4f970e
push ebx
push eax
push str._read_sir_head3_warning:_file_description_too_short__needed:__d_avail:__d__n
call fcn.00592f31
add eax, 0x40
push eax
call fcn.0059320e
add esp, 0x10
mov eax, dword [ebp - 0x234]
push 0
push 0x200
push dword [eax]
call fcn.00595cb4
xor esi, esi
add esp, 0xc
mov dword [ebp - 0x228], esi
cmp dword [edi], esi
jle 0x4f97e9
jmp 0x4f9740
mov eax, dword [ebp - 0x234]
push dword [eax]
lea eax, [ebp - 0x204]
push 0x100
push 2
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4f8de7
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.004f98e0
mov edx, dword [ebp - 0x224]
lea ecx, [ebp - 0x204]
add esp, 8
mov edi, 0x100
jmp 0x4f9790
cmp esi, ebx
jge 0x4f97a8
movsx eax, word [ecx]
and eax, 0x800000ff
jns 0x4f97a5
dec eax
or eax, 0xffffff00
inc eax
mov byte [edx + esi], al
inc esi
cmp esi, ebx
jge 0x4f97c5
movsx eax, word [ecx]
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebp - 0x224]
sar eax, 8
mov byte [edx + esi], al
inc esi
add ecx, 2
dec edi
jne 0x4f9790
mov edi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x230]
inc edi
mov dword [ebp - 0x228], edi
cmp edi, dword [eax]
jl 0x4f9740
mov edi, eax
mov eax, dword [ebp - 0x22c]
mov esi, dword [ebp - 0x224]
test ebx, ebx
jle 0x4f97fe
mov byte [esi + ebx - 1], 0
mov eax, dword [eax]
mov ecx, dword [edi]
sub eax, ecx
dec eax
test eax, eax
jle 0x4f9879
mov ebx, dword [ebp - 0x234]
lea eax, [ecx + 1]
push 0
shl eax, 9
push eax
push dword [ebx]
call fcn.00595cb4
mov esi, dword [ebp - 0x23c]
add esp, 0xc
mov edi, dword [ebp + 0xbc]
mov eax, dword [esi]
cmp eax, edi
jl 0x4f984c
push edi
push eax
push str._read_sir_head3_warning:_header_extra_ints_too_short__needed:__d_avail:__d__n
call fcn.00592f31
add eax, 0x40
push eax
call fcn.0059320e
add esp, 0x10
mov esi, dword [esi]
cmp edi, esi
push dword [ebx]
cmovl esi, edi
mov edi, dword [ebp - 0x2b4]
push esi
push 2
push edi
call fcn.00595b79
add esp, 0x10
test eax, eax
je 0x4f8de7
push esi
push edi
call fcn.004f98e0
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret