Function at 0x6471a108
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebp, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xf8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebx
cmp dword [ebp + 0x58], 1
jle 0x6471a16c
mov eax, dword [ebp + 4]
test eax, eax
je 0x6471a887
mov edi, dword [ebp + 0x34]
test edi, edi
js 0x6471a891
mov eax, ebp
call fcn.64718c10
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x44]
test ecx, ecx
js 0x6471a16c
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x44], ebx
jle 0x6471a17e
mov esi, 0xffffff7d
mov eax, esi
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
jge 0x6471a7ed
mov ecx, edi
dec ecx
mov dword [esp + 0x38], ecx
js 0x6471a8a6
mov esi, dword [ebp + 0x44]
mov dword [esp + 0x4c], ecx
mov ebx, ecx
shl ebx, 4
mov dword [esp + 0x20], ebx
mov ecx, dword [esi + ebx + 8]
mov ebx, dword [esi + ebx + 0xc]
sub dword [esp + 0x50], ecx
sbb dword [esp + 0x54], ebx
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x44], edx
jle 0x6471a75c
nop
mov edi, dword [ebp + 0x38]
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + edx*8 + 8]
mov edx, dword [edi + edx*8 + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov eax, dword [edi + edx*8]
mov edx, dword [edi + edx*8 + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
mov eax, dword [esi + edx]
mov edx, dword [esi + edx + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
add eax, ecx
adc edx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
sub ecx, dword [esp + 0x50]
sbb ebx, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
add dword [esp + 0x58], ebx
adc dword [esp + 0x5c], esi
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x1c], esi
jge 0x6471a250
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
jmp 0x6471a456
jle 0x6471a800
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x4c]
shl ecx, 2
mov dword [esp + 0x48], ecx
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
lea ebx, [ebp + 0x18]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, dword [esp + 0x28]
sbb edx, dword [esp + 0x2c]
cmp edx, 0
jl 0x6471a362
jle 0x6471a850
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
sub esi, dword [esp + 0x60]
sbb edi, dword [esp + 0x64]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
fild qword [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
fild qword [esp + 0x88]
fmulp st(1)
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub eax, dword [esp + 0x60]
sbb edx, dword [esp + 0x64]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
fild qword [esp + 0x88]
fdivp st(1)
fnstcw word [esp + 0x86]
mov ax, word [esp + 0x86]
mov ah, 0xc
mov word [esp + 0x84], ax
fldcw word [esp + 0x84]
fistp qword [esp + 0x30]
fldcw word [esp + 0x86]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add dword [esp + 0x30], esi
adc dword [esp + 0x34], edi
add dword [esp + 0x30], 0xffff0000
adc dword [esp + 0x34], 0xffffffff
mov eax, esi
mov edx, edi
add eax, 0xffff
adc edx, 0
cmp dword [esp + 0x34], edx
jge 0x6471a7d8
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x34]
xor edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
xor eax, dword [esp + 0x20]
or edx, eax
je 0x6471a3e0
mov edx, dword [ebp]
test edx, edx
je 0x6471a873
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471a61e
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471a61e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
nop
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
sub esi, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
cmp edi, 0
jle 0x6471a748
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea esi, [esi]
cmp edi, 0
jl 0x6471a528
jle 0x6471a51c
cmp dword [ebp + 0xc], edi
jl 0x6471a528
jle 0x6471a668
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
nop
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esi, 1
adc edi, 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x34]
cmp edi, eax
jle 0x6471a680
mov edx, dword [ebp]
test edx, edx
je 0x6471a873
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471a61e
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471a61e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
lea ebx, [ebp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov dword [ebp + 0x50], 0xffffffff
mov dword [ebp + 0x54], 0xffffffff
lea ebx, [esp + 0xa0]
mov edx, ebx
mov eax, ebp
call fcn.64717140
test edx, edx
js 0x6471a8c3
mov esi, dword [esp + 0x38]
cmp dword [ebp + 0x60], esi
lea esi, [ebp + 0x1e0]
mov dword [esp + 0x28], esi
mov dword [esp], esi
je 0x6471aaf8
call sym.allegro_5.0.10_monolith_mt.dll_vorbis_dsp_clear
lea eax, [ebp + 0x250]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_vorbis_block_clear
mov edi, dword [esp + 0x38]
mov dword [ebp + 0x60], edi
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x58], 3
jmp 0x6471ab00
cmp esi, 0
ja 0x6471a413
lea esi, [esi]
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_pageseek
cmp eax, 0
jl 0x6471a5e4
jne 0x6471a5f0
mov eax, edi
or eax, esi
je 0x6471a422
call fcn.647d428c
mov dword [eax], 0
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x6471a61e
mov ecx, dword [ebp]
test ecx, ecx
je 0x6471a5cd
mov dword [esp + 4], 0x800
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_buffer
mov edx, dword [ebp]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x800
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ebp + 0x2c0]
cmp eax, 0
jle 0x6471a5bc
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_wrote
jmp 0x6471a404
jne 0x6471a678
call fcn.647d428c
mov edx, dword [eax]
test edx, edx
jne 0x6471a61e
mov dword [esp + 0x10], 0xfffffffe
mov dword [esp + 0x14], 0xffffffff
jmp 0x6471a434
cdq
sub dword [ebp + 8], eax
sbb dword [ebp + 0xc], edx
jmp 0x6471a404
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
cdq
add eax, esi
adc edx, edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [esp + 0x10]
xor eax, 0xffffff80
or edx, eax
jne 0x6471a8d4
mov esi, 0xffffff80
lea ebx, [ebp + 0x1e0]
mov dword [esp + 0x28], ebx
mov dword [ebp + 0x50], 0xffffffff
mov dword [ebp + 0x54], 0xffffffff
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_vorbis_dsp_clear
lea eax, [ebp + 0x250]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_vorbis_block_clear
mov dword [ebp + 0x58], 2
mov eax, esi
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp + 8], esi
jb 0x6471a528
jmp 0x6471a422
jge 0x6471a404
jmp 0x6471a61e
jl 0x6471a68e
mov edx, dword [esp + 0x30]
cmp esi, edx
jae 0x6471a456
mov ecx, dword [esp + 0x34]
or ecx, dword [esp + 0x30]
je 0x6471a860
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add eax, 0xffff0000
adc edx, 0xffffffff
cmp edx, dword [esp + 0x2c]
jl 0x6471a6c2
jg 0x6471a6ba
cmp eax, dword [esp + 0x28]
jbe 0x6471a6c2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov edx, dword [ebp]
test edx, edx
je 0x6471a873
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471a61e
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471a61e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x1c], edi
jg 0x6471a733
jl 0x6471a456
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
jbe 0x6471a456
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
jmp 0x6471a3e0
jl 0x6471a528
cmp esi, 0
jbe 0x6471a404
jmp 0x6471a3f9
jl 0x6471a76c
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x40], eax
jae 0x6471a1c0
sub edi, 2
shl edi, 4
mov dword [esp + 0x20], edi
mov edi, esi
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], ebp
dec dword [esp + 0x38]
cmp dword [esp + 0x38], 0xffffffff
je 0x6471a827
nop
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + esi + 8]
mov ebx, dword [edi + esi + 0xc]
sub eax, ecx
sbb edx, ebx
lea ebp, [esi - 0x10]
mov dword [esp + 0x18], ebp
cmp dword [esp + 0x44], edx
jg 0x6471a7c1
jl 0x6471a814
cmp dword [esp + 0x40], eax
jb 0x6471a814
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], esi
mov esi, edi
mov ebp, dword [esp + 0x28]
jmp 0x6471a1c0
jg 0x6471a372
cmp dword [esp + 0x30], eax
jbe 0x6471a362
jmp 0x6471a372
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], esi
ja 0x6471a16c
jmp 0x6471a184
mov edi, dword [esp + 0x28]
cmp dword [esp + 0x18], edi
jbe 0x6471a23b
jmp 0x6471a256
mov esi, dword [esp + 0x18]
dec dword [esp + 0x38]
cmp dword [esp + 0x38], 0xffffffff
jne 0x6471a798
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov esi, edi
mov ebp, dword [esp + 0x28]
mov ecx, dword [edi - 8]
mov ebx, dword [edi - 4]
mov dword [esp + 0x20], 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
jmp 0x6471a1c0
cmp eax, 0xffff
jbe 0x6471a362
jmp 0x6471a2a1
mov esi, dword [esp + 0x10]
lea ebx, [ebp + 0x1e0]
mov dword [esp + 0x28], ebx
jmp 0x6471a62d
mov esi, 0xffffff7f
lea ebx, [ebp + 0x1e0]
mov dword [esp + 0x28], ebx
jmp 0x6471a62d
mov esi, 0xffffff76
jmp 0x6471a171
mov dword [esp + 0x50], 0xffffff7d
mov dword [esp + 0x54], 0xffffffff
jmp 0x6471a15a
mov dword [esp + 0x4c], ecx
mov ebx, ecx
shl ebx, 4
mov dword [esp + 0x20], ebx
mov esi, dword [ebp + 0x44]
mov ecx, dword [esi + ebx + 8]
mov ebx, dword [esi + ebx + 0xc]
jmp 0x6471a1c0
mov esi, eax
lea ebx, [ebp + 0x1e0]
mov dword [esp + 0x28], ebx
jmp 0x6471a62d
mov eax, dword [esp + 0x14]
test eax, eax
js 0x6471a434
lea edi, [esp + 0x90]
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_page_serialno
mov edx, dword [ebp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, dword [edx + ecx]
jne 0x6471a715
lea esi, [esp + 0x90]
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_page_granulepos
mov ecx, eax
and ecx, edx
inc ecx
je 0x6471a715
cmp dword [esp + 0x5c], edx
jl 0x6471a9bc
jg 0x6471a92f
cmp dword [esp + 0x58], eax
jbe 0x6471a9bc
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
sub esi, eax
sbb edi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
cmp edi, 0
jle 0x6471aaa0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x1c], edi
jg 0x6471a282
jl 0x6471a456
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
ja 0x6471a282
jmp 0x6471a456
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esi, 1
adc edi, 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x34]
cmp edi, ecx
jg 0x6471a456
jl 0x6471a9ec
mov edi, dword [esp + 0x30]
cmp esi, edi
jae 0x6471a456
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov esi, dword [esp + 0x24]
xor esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x18]
or ecx, esi
jne 0x6471aadb
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add eax, 0xffff0000
adc edx, 0xffffffff
cmp edx, dword [esp + 0x2c]
jl 0x6471aa38
jg 0x6471aa30
cmp eax, dword [esp + 0x28]
jbe 0x6471aa38
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov edx, dword [ebp]
test edx, edx
je 0x6471a873
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471a61e
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471a61e
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x6471a715
jl 0x6471aaae
cmp esi, 0xac44
ja 0x6471a95a
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
jmp 0x6471a715
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x6471a992
call sym.allegro_5.0.10_monolith_mt.dll_vorbis_synthesis_restart
mov eax, dword [ebp + 0x5c]
lea edi, [ebp + 0x78]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_stream_reset_serialno
mov dword [esp + 4], ebx
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_stream_pagein
lea esi, [esp + 0xb0]
mov dword [esp + 0x20], ebx
jmp 0x6471ab59
test ebx, ebx
js 0x6471ae1f
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
mov ecx, eax
and ecx, edx
inc ecx
jne 0x6471ad7b
mov dword [esp + 4], 0
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_stream_packetout
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_stream_packetpeek
mov ebx, eax
sar ebx, 0x1f
or eax, ebx
jne 0x6471ab28
mov ebx, dword [esp + 0x20]
mov edx, dword [ebp]
test edx, edx
je 0x6471adc5
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471ae4d
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471ae4d
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov esi, dword [esp + 0x18]
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov esi, edx
mov edi, ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
jmp 0x6471abf1
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
and eax, edx
inc eax
jne 0x6471aed1
add dword [esp + 0x40], 0xffff0000
adc dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x44]
test eax, eax
js 0x6471aebc
mov edx, dword [ebp]
test edx, edx
je 0x6471adc5
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471ae4d
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], edx
call eax
inc eax
je 0x6471ae4d
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], edi
mov esi, dword [esp + 0x18]
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
cmp dword [esp + 0x34], edi
jg 0x6471ac8d
jl 0x6471abe0
cmp dword [esp + 0x30], esi
jbe 0x6471abe0
mov edi, ebx
mov ecx, 0x10
xor eax, eax
rep stosb byte es:[edi], al
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
sub esi, dword [esp + 0x38]
sbb edi, dword [esp + 0x3c]
cmp edi, 0
jle 0x6471ae74
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea esi, [esi]
cmp edi, 0
jl 0x6471acdc
jle 0x6471ae5b
cmp dword [ebp + 0xc], edi
jg 0x6471abe0
jl 0x6471acdc
cmp dword [ebp + 8], esi
jae 0x6471abe0
nop
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_pageseek
cmp eax, 0
jl 0x6471ae30
jne 0x6471ae88
mov ecx, edi
or ecx, esi
je 0x6471abe0
call fcn.647d428c
mov dword [eax], 0
mov eax, dword [ebp + 0x2c0]
test eax, eax
je 0x6471ae4d
mov eax, dword [ebp]
test eax, eax
je 0x6471abe0
mov dword [esp + 4], 0x800
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_buffer
mov edx, dword [ebp]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x800
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ebp + 0x2c0]
cmp eax, 0
jle 0x6471ae3c
mov dword [esp + 4], eax
mov edx, dword [esp + 0x18]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_wrote
jmp 0x6471acbc
mov ecx, dword [ebp + 0x60]
shl ecx, 4
add ecx, dword [ebp + 0x44]
mov esi, eax
mov edi, edx
sub esi, dword [ecx]
sbb edi, dword [ecx + 4]
mov ecx, esi
mov ebx, edi
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], edi
xor eax, eax
xor edx, edx
cmp edx, edi
jg 0x6471ada9
jl 0x6471ada5
cmp eax, esi
jae 0x6471ada9
mov eax, ecx
mov edx, ebx
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], edx
cmp dword [esp + 0x44], edx
jl 0x6471adc5
jg 0x6471add3
cmp dword [esp + 0x40], eax
jae 0x6471add3
mov esi, 0xffffff7f
mov ebx, dword [esp + 0x28]
jmp 0x6471a62d
cmp dword [ebp + 0x58], 1
jle 0x6471adc5
mov esi, dword [ebp + 4]
test esi, esi
je 0x6471adc5
mov ebx, dword [ebp + 0x34]
test ebx, ebx
js 0x6471adc5
mov eax, ebp
call fcn.64718c10
cmp dword [esp + 0x44], edx
jg 0x6471adc5
jl 0x6471adfc
cmp dword [esp + 0x40], eax
ja 0x6471adc5
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 0
mov dword [ebp + 0x74], 0
xor esi, esi
jmp 0x6471a171
mov esi, 0xffffff78
mov ebx, dword [esp + 0x28]
jmp 0x6471a62d
cdq
sub dword [ebp + 8], eax
sbb dword [ebp + 0xc], edx
jmp 0x6471acbc
jne 0x6471ae69
call fcn.647d428c
mov eax, dword [eax]
test eax, eax
je 0x6471abe0
mov esi, 0xffffff80
mov ebx, dword [esp + 0x28]
jmp 0x6471a62d
cmp esi, 0
jbe 0x6471acdc
jmp 0x6471acc7
jge 0x6471acbc
jmp 0x6471ae4d
jl 0x6471acdc
cmp esi, 0
jbe 0x6471acbc
jmp 0x6471acb1
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
add eax, esi
adc edx, edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov edx, edi
not edx
mov eax, esi
xor eax, 0xffffff80
or edx, eax
je 0x6471ae4d
test edi, edi
js 0x6471abe0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
jmp 0x6471ac69
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x6471ac0a
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x6471af18
test esi, esi
js 0x6471afb8
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_page_serialno
cmp eax, dword [ebp + 0x5c]
je 0x6471af7d
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x6471abd3
mov edx, dword [ebp]
test edx, edx
je 0x6471adc5
mov eax, dword [ebp + 0x2c4]
test eax, eax
je 0x6471ae4d
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp], edx
call eax
inc eax
je 0x6471ae4d
mov eax, dword [esp + 0x20]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
mov edx, dword [esp + 0x18]
mov dword [esp], edx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_sync_reset
mov edx, ebx
mov eax, ebp
call fcn.6471723c
test edx, edx
jns 0x6471aee4
jmp 0x6471adc5
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_page_granulepos
test edx, edx
jns 0x6471af99
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_ogg_page_continued
test eax, eax
jne 0x6471aefd
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll_ov_raw_seek
mov esi, eax
jmp 0x6471a171
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
jmp 0x6471a62d