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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov ebp, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov eax, dword [ebp]
cmp dword [eax], 4
ja 0x6470eb91
mov eax, dword [ebp + 4]
mov edi, dword [eax + 8]
test edi, edi
je 0x6470eb91
mov esi, dword [eax + 0x100]
test esi, esi
jne 0x6470eba0
mov dword [eax + 0xe30], 1
mov dword [eax + 0xe28], 0
mov edx, dword [eax + 0x38]
mov dword [esp + 8], edx
lea edx, [esp + 0x88]
mov dword [esp + 4], edx
mov dword [esp], ebp
call dword [eax + 0x10]
test eax, eax
jne case.0x6470f817.5
mov edi, dword [ebp]
mov dword [esp + 0x50], edi
mov eax, dword [edi]
cmp eax, 1
jbe 0x6470f80c
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x100]
mov ecx, dword [edx]
test ecx, ecx
jne 0x6470ec20
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edx + 0x17f8]
mov ebx, dword [edx + 0x17fc]
test eax, eax
je 0x6470f124
mov esi, dword [edx + 0x138]
mov edi, dword [edx + 0x13c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov edi, dword [edx + 0x118]
mov dword [esp + 0x30], edi
mov eax, dword [edx + 0x11c]
mov dword [esp + 0x20], eax
mov esi, dword [edx + 0x124]
mov dword [esp + 0x48], esi
mov edi, dword [edx + 0x120]
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x50]
mov edi, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov eax, dword [edx + 0x104]
test eax, eax
je 0x6470f114
lea eax, [edx + 0x1c8]
mov dword [esp + 0x58], eax
test edi, edi
jne 0x6470e95e
mov edi, dword [edx + 0x12c]
test esi, esi
jne 0x6470e968
mov esi, dword [edx + 0x130]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6470f670
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x40]
shr eax, 1
inc eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x3c]
or edi, dword [esp + 0x38]
je 0x6470f658
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x58]
test eax, eax
je 0x6470f0bc
mov edi, dword [esp + 0x58]
mov edi, dword [edi]
mov dword [esp + 0x20], edi
mov esi, edi
dec esi
js 0x6470f986
mov edi, dword [esp + 0x58]
mov eax, dword [edi + 4]
mov edi, dword [esp + 0x3c]
or edi, dword [esp + 0x38]
lea edi, [esi + esi*2]
lea edi, [eax + edi*8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], ebp
jne 0x6470ebf5
nop
mov ebp, edi
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov edx, dword [0x64804ebc]
xor edx, ebx
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER]
xor eax, ecx
or edx, eax
je 0x6470eee8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x6470eee8
cmp dword [esp + 0x2c], ebx
ja 0x6470ea50
jb 0x6470eee8
cmp dword [esp + 0x28], ecx
jb 0x6470eee8
nop
mov eax, ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, ecx
mov edi, ebx
add esi, dword [eax + 8]
adc edi, dword [eax + 0xc]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
mov esi, dword [esp + 0x20]
test esi, esi
jle 0x6470f96d
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 4]
mov esi, dword [esp + 0x3c]
or esi, dword [esp + 0x38]
mov esi, 0
jne 0x6470f694
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ebp
nop
mov ebp, edi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ebx, dword [0x64804ebc]
xor ebx, eax
mov ecx, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER]
xor ecx, edx
or ebx, ecx
je 0x6470f7c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x6470f7c0
cmp dword [esp + 0x2c], eax
jb 0x6470eaf4
ja 0x6470f7c0
cmp dword [esp + 0x28], edx
jae 0x6470f7c0
mov edi, ebp
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x20], esi
jle 0x6470f7a6
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
add esi, ecx
adc edi, ebx
cmp edi, dword [esp + 0x6c]
jb 0x6470f0bc
ja 0x6470eb34
cmp esi, dword [esp + 0x68]
jb 0x6470f0bc
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov esi, eax
jmp 0x6470f0d0
mov eax, ebp
call fcn.6470a384
test eax, eax
jne 0x6470f87f
nop
mov eax, dword [ebp + 4]
mov dword [eax + 0xe30], 0
xor eax, eax
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x13c]
mov esi, edx
or esi, ecx
je 0x6470e873
cmp dword [esp + 0x2c], edx
ja 0x6470eb91
jb 0x6470e873
cmp ebx, ecx
jae 0x6470eb91
jmp 0x6470e873
cmp dword [esp + 0x38], ecx
jbe 0x6470ebe8
cmp dword [esp + 0x2c], ebx
ja 0x6470ea50
jb 0x6470ebe8
cmp dword [esp + 0x28], ecx
jae 0x6470ea50
nop
dec esi
sub edi, 0x18
cmp esi, 0xffffffff
je 0x6470f718
mov ebp, edi
mov ecx, dword [edi]
mov ebx, dword [edi + 4]
mov edx, dword [0x64804ebc]
xor edx, ebx
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER]
xor eax, ecx
or edx, eax
je 0x6470ebe8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x6470ebe8
cmp dword [esp + 0x3c], ebx
ja 0x6470ebd1
jb 0x6470ebe8
jmp 0x6470ebcb
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
test eax, eax
je 0x6470f638
mov esi, dword [edx + 0x138]
mov edi, dword [edx + 0x13c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
or edi, esi
je 0x6470f638
mov dword [esp + 0x40], 2
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov dword [edx + 0x1800], ebx
mov dword [edx + 0x1804], esi
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, edx
test ebx, ebx
je 0x6470ed8a
nop
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x2c], eax
jb 0x6470ed8a
ja 0x6470ecd6
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x28], edx
jb 0x6470ed8a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x1c]
cmp edx, 0
ja 0x6470ed8a
cmp eax, 0x1fffe
ja 0x6470ed8a
mov edx, dword [ebp]
mov eax, dword [edx]
mov dword [esp + 0x30], 0
nop
mov dword [ecx + 0x180c], 0
mov ecx, eax
cmp ecx, 7
ja case.0x6470ed19.5
jmp dword [ecx*4 + 0x64804050]
mov ecx, edx
mov dword [ecx], 6
mov edx, dword [ebp + 4]
xor eax, eax
mov dword [edx + 0xe30], 0
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebp
call fcn.6470a0f8
test eax, eax
jne 0x6470eeb4
nop
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0x180c]
test eax, eax
jne 0x6470ef1c
mov edx, dword [esp + 0x30]
test edx, edx
je 0x6470f897
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], 0
inc ebx
test ebx, ebx
jne 0x6470ecb8
cmp ebx, dword [esp + 0x40]
jb 0x6470ef9c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
add esi, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
shrd esi, edi, 1
shr edi, 1
mov eax, dword [ecx + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], ebp
call dword [ecx + 8]
test eax, eax
jne 0x6470f7f8
mov eax, dword [ebp + 4]
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
mov dword [eax + 0xe28], 0
mov edx, dword [eax]
test edx, edx
jne 0x6470f030
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_clear
test eax, eax
je 0x6470ef88
mov edx, dword [ebp]
mov dword [edx], 2
mov ecx, dword [ebp + 4]
mov eax, 2
mov dword [esp + 0x30], 1
jmp 0x6470ed08
mov dword [esp + 0x84], 0
mov eax, dword [ebp + 4]
movzx edx, byte [eax + 0xe04]
mov edx, dword [edx*4 + sym.allegro_5.0.10_monolith_mt.dll_FLAC__crc16_table]
mov dword [esp + 0x64], edx
mov ecx, edx
shr ecx, 8
movzx edx, byte [eax + 0xe05]
xor ecx, edx
mov edx, dword [esp + 0x64]
shl edx, 8
and edx, 0xffff
xor edx, dword [ecx*4 + sym.allegro_5.0.10_monolith_mt.dll_FLAC__crc16_table]
and edx, 0xffff
mov dword [esp + 4], edx
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_reset_read_crc16
mov eax, ebp
call fcn.6470b9e0
test eax, eax
je 0x6470eecf
mov eax, dword [ebp]
cmp dword [eax], 2
je 0x6470eea5
mov ecx, 1
lea edx, [esp + 0x84]
mov eax, ebp
call fcn.6470a8f8
test eax, eax
je 0x6470eecf
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne case.0x6470ed19.4
mov edx, dword [ebp]
mov ecx, dword [edx]
jmp 0x6470ed14
mov eax, ebp
call fcn.6470c1b8
test eax, eax
jne case.0x6470ed19.4
mov ecx, dword [ebp]
jmp 0x6470ed22
mov eax, ebp
call fcn.6470a384
test eax, eax
jne 0x6470eeb4
jmp 0x6470eecf
dec esi
sub edi, 0x18
cmp esi, 0xffffffff
jne 0x6470ea10
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edi
jmp 0x6470ea7c
mov eax, dword [ecx + 0xe30]
test eax, eax
je 0x6470f957
mov eax, dword [ecx + 0xec0]
mov edx, dword [ecx + 0xec4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x30], 0
je 0x6470ed81
cmp dword [esp + 0x2c], edx
jae 0x6470f07c
mov edx, dword [esp + 0x24]
xor edx, edi
mov eax, dword [esp + 0x20]
xor eax, esi
or edx, eax
je 0x6470f897
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
inc ebx
jmp 0x6470ed82
mov eax, dword [ebp]
mov dword [eax], 8
mov edx, dword [ebp + 4]
xor eax, eax
jmp 0x6470ed2d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
fild qword [esp + 0x78]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
fild qword [esp + 0x78]
fdivp st(1)
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
fild qword [esp + 0x78]
fmulp st(1)
fld dword [0x64804750]
fxch st(1)
fucom st(1)
fnstsw ax
test ah, 5
je 0x6470f048
fstp st(1)
fnstcw word [esp + 0x76]
mov ax, word [esp + 0x76]
mov ah, 0xc
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp qword [esp + 0x78]
fldcw word [esp + 0x76]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
jmp 0x6470edaa
mov eax, dword [ebp]
add eax, 0x20
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__ogg_decoder_aspect_flush
mov eax, dword [ebp + 4]
jmp 0x6470edf2
fsubrp st(1)
fnstcw word [esp + 0x76]
mov ax, word [esp + 0x76]
mov ah, 0xc
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp qword [esp + 0x78]
fldcw word [esp + 0x76]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
lea eax, [edi - 0x80000000]
mov edi, eax
jmp 0x6470edaa
ja 0x6470f088
cmp dword [esp + 0x28], eax
jb 0x6470ef53
mov edx, dword [esp + 0x3c]
xor edx, edi
mov eax, dword [esp + 0x38]
xor eax, esi
or edx, eax
je 0x6470f897
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
inc ebx
jmp 0x6470ed82
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov esi, dword [esp + 0x44]
xor esi, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
xor eax, dword [esp + 0x30]
or esi, eax
je 0x6470f888
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [edx + 0x1800], esi
mov dword [edx + 0x1804], edi
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x34], edi
jbe 0x6470f13c
mov edi, dword [esp + 0x50]
mov dword [edi], 6
xor eax, eax
jmp 0x6470ed2d
mov dword [esp + 0x58], 0
jmp 0x6470e954
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x6470e90a
jae 0x6470f740
cmp ebx, dword [esp + 0x1c]
ja 0x6470f102
jae 0x6470f753
mov dword [esp + 0x50], 1
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
sub esi, dword [esp + 0x30]
sbb edi, dword [esp + 0x34]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
fild qword [esp + 0x78]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub esi, dword [esp + 0x30]
sbb edi, dword [esp + 0x34]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
fild qword [esp + 0x78]
fdivp st(1)
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
sub esi, ecx
sbb edi, ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
fild qword [esp + 0x78]
fmulp st(1)
fnstcw word [esp + 0x76]
mov ax, word [esp + 0x76]
mov ah, 0xc
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp qword [esp + 0x78]
fldcw word [esp + 0x76]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
add esi, ecx
adc edi, ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
sub esi, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x1c]
jl 0x6470f206
jg 0x6470f1f8
cmp esi, dword [esp + 0x18]
jb 0x6470f206
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esi, 0xffffffff
adc edi, 0xffffffff
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
cmp edi, ebx
jg 0x6470f220
jl 0x6470f218
cmp esi, ecx
jae 0x6470f220
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], ebp
call dword [edx + 8]
test eax, eax
jne 0x6470f7f8
mov eax, dword [ebp + 4]
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
mov dword [eax + 0xe28], 0
mov edx, dword [eax]
test edx, edx
jne 0x6470f5c4
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_clear
test eax, eax
je 0x6470ef88
mov edx, dword [ebp]
mov dword [edx], 2
mov eax, dword [ebp + 4]
mov dword [eax + 0x1808], 0
mov eax, 2
mov ecx, eax
cmp ecx, 7
jbe switch.0x6470f2b8
mov dword [edx], 6
mov edx, dword [ebp + 4]
xor eax, eax
jmp 0x6470ed2d
jmp dword [ecx*4 + 0x64804070]
mov eax, ebp
call fcn.6470a0f8
test eax, eax
jne 0x6470f424
nop
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0xe30]
test eax, eax
je 0x6470f963
mov ecx, dword [edx + 0xec0]
mov ebx, dword [edx + 0xec4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov eax, dword [edx + 0xfc]
or eax, dword [edx + 0xf8]
je 0x6470f34d
mov ecx, dword [edx + 0xea8]
xor ebx, ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
add dword [esp + 0x38], ecx
adc dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x44]
cmp dword [esp + 0x3c], ebx
jb 0x6470f458
ja 0x6470f341
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x38], eax
jb 0x6470f458
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x6470f458
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
xor eax, dword [esp + 0x90]
or ecx, eax
je 0x6470f464
mov esi, dword [esp + 0x48]
test esi, esi
je 0x6470f5dc
shl dword [esp + 0x48], 1
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x44], ecx
ja 0x6470f482
jae 0x6470f474
mov ebp, dword [ebp]
mov dword [esp + 0x50], ebp
jmp 0x6470f102
mov dword [esp + 0x84], 0
mov eax, dword [ebp + 4]
movzx edx, byte [eax + 0xe04]
mov edx, dword [edx*4 + sym.allegro_5.0.10_monolith_mt.dll_FLAC__crc16_table]
mov ecx, edx
shr ecx, 8
movzx ebx, byte [eax + 0xe05]
xor ecx, ebx
shl edx, 8
and edx, 0xffff
xor edx, dword [ecx*4 + sym.allegro_5.0.10_monolith_mt.dll_FLAC__crc16_table]
and edx, 0xffff
mov dword [esp + 4], edx
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_reset_read_crc16
mov eax, ebp
call fcn.6470b9e0
test eax, eax
je 0x6470f43f
mov eax, dword [ebp]
cmp dword [eax], 2
je 0x6470f415
mov ecx, 1
lea edx, [esp + 0x84]
mov eax, ebp
call fcn.6470a8f8
test eax, eax
je 0x6470f43f
mov eax, dword [esp + 0x84]
test eax, eax
jne case.0x6470f2b8.4
mov edx, dword [ebp]
mov ecx, dword [edx]
jmp 0x6470f2a0
mov eax, ebp
call fcn.6470c1b8
test eax, eax
jne case.0x6470f2b8.4
mov edx, dword [ebp]
jmp case.0x6470f2b8.5
mov eax, ebp
call fcn.6470a384
test eax, eax
jne 0x6470f424
jmp 0x6470f43f
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x5c], ecx
ja 0x6470f4ce
jae 0x6470f4c4
mov eax, dword [ebp]
mov dword [eax], 6
xor eax, eax
jmp 0x6470ed2d
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x40], ebx
jbe 0x6470f38f
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
cmp ebx, edi
jb 0x6470f156
ja 0x6470f38f
cmp ecx, esi
jbe 0x6470f156
jmp 0x6470f38f
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x58], ebx
jb 0x6470f464
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x2c], eax
ja 0x6470f5fa
jae 0x6470f5ec
mov ebx, dword [edx]
test ebx, ebx
jne 0x6470f464
mov eax, dword [edx + 0xc]
test eax, eax
je 0x6470f464
mov edx, dword [edx + 0x38]
mov dword [esp + 8], edx
lea edx, [esp + 0x98]
mov dword [esp + 4], edx
mov dword [esp], ebp
call eax
test eax, eax
jne 0x6470f62e
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_is_consumed_byte_aligned
test eax, eax
je 0x6470f62e
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_get_input_bits_unconsumed
shr eax, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x18]
sbb ebx, dword [esp + 0x1c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
mov eax, ecx
mov edx, ebx
sub eax, esi
sbb edx, edi
add eax, eax
adc edx, edx
mov dword [esp + 8], 3
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.647cb934
add eax, 0x10
mov dword [esp + 0x48], eax
mov edx, dword [ebp + 4]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], 0
jmp 0x6470f37b
mov eax, dword [ebp]
add eax, 0x20
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__ogg_decoder_aspect_flush
mov eax, dword [ebp + 4]
jmp 0x6470f270
mov dword [esp + 0x48], 0x10
jmp 0x6470f37b
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x28], ecx
jb 0x6470f4e2
mov ecx, dword [edx]
test ecx, ecx
jne 0x6470f464
mov eax, dword [edx + 0xc]
test eax, eax
je 0x6470f464
mov edx, dword [edx + 0x38]
mov dword [esp + 8], edx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp], ebp
call eax
test eax, eax
je 0x6470f8a9
mov edx, dword [ebp + 4]
jmp 0x6470f464
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x54], 0xffffffff
jmp 0x6470ec62
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
jmp 0x6470e9c5
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x30], eax
je 0x6470f762
shl edi, 0xc
imul edi, esi
shr edi, 3
add edi, 0x40
mov dword [esp + 0x48], edi
jmp 0x6470e983
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], ebp
mov ebp, edi
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov ebx, dword [0x64804ebc]
xor ebx, eax
mov ecx, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER]
xor ecx, edx
or ebx, ecx
je 0x6470f788
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x6470f788
cmp eax, dword [esp + 0x3c]
jb 0x6470f6e4
ja 0x6470f788
cmp edx, dword [esp + 0x38]
jae 0x6470f788
cmp dword [esp + 0x2c], eax
jb 0x6470f6fa
ja 0x6470f788
cmp dword [esp + 0x28], edx
jae 0x6470f788
mov edi, ebp
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x64]
jmp 0x6470eb0a
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x6470ea7c
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x30], eax
jae 0x6470f102
jmp 0x6470f142
cmp ecx, dword [esp + 0x18]
ja 0x6470f102
jmp 0x6470f14e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6470f67e
imul edi, dword [esp + 0x30]
imul edi, esi
shr edi, 3
add edi, 0x40
mov dword [esp + 0x48], edi
jmp 0x6470e983
inc esi
add edi, 0x18
cmp esi, dword [esp + 0x20]
jne 0x6470f6a4
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x6470eb1e
inc esi
add edi, 0x18
cmp dword [esp + 0x20], esi
jne 0x6470eab4
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x6470eb1e
mov eax, dword [ebp]
mov dword [eax], 6
mov edx, dword [ebp + 4]
xor eax, eax
jmp 0x6470ed2d
mov edx, edi
cmp eax, 7
ja case.0x6470f817.5
jmp dword [eax*4 + 0x64804090]
mov dword [esp + 0x50], edx
mov edx, dword [ebp + 4]
mov eax, dword [edx + 0x100]
test eax, eax
je 0x6470e8c2
mov ecx, dword [edx + 0x138]
mov ebx, dword [edx + 0x13c]
mov esi, ebx
or esi, ecx
je 0x6470e8c2
cmp dword [esp + 0x2c], ebx
jb 0x6470e8c2
ja 0x6470f85f
cmp dword [esp + 0x28], ecx
jb 0x6470e8c2
mov dword [edx + 0xe30], 0
xor eax, eax
jmp 0x6470eb93
mov eax, ebp
call fcn.6470c1b8
test eax, eax
je case.0x6470f817.5
mov edx, dword [ebp]
mov eax, dword [edx]
jmp 0x6470f80e
add dword [esp + 0x40], 1
adc dword [esp + 0x44], 0
jmp 0x6470f0e4
mov edx, ecx
mov eax, dword [ebp]
mov dword [eax], 6
xor eax, eax
jmp 0x6470ed2d
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_is_consumed_byte_aligned
test eax, eax
je 0x6470f62e
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov eax, dword [ebp + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
mov dword [esp + 0x14], ecx
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_get_input_bits_unconsumed
shr eax, 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x18]
sbb ebx, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov eax, ecx
mov edx, ebx
sub eax, esi
sbb edx, edi
add eax, eax
adc edx, edx
mov dword [esp + 8], 3
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.647cb934
add eax, 0x10
mov dword [esp + 0x48], eax
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], 0
jmp 0x6470f37b
mov edx, ecx
mov eax, 1
jmp 0x6470ed2d
mov eax, 1
jmp 0x6470ed2d
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x6470eb1e
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x6470ea7c