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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ebp, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x480]
mov dword [esp + 0x30], ebx
mov esi, dword [eax + 0x478]
cmp esi, dword [eax + 0xe4]
ja 0x6470a933
cmp ebx, dword [eax + 0xe8]
jbe 0x6470b35c
mov edx, dword [eax + 0x44]
test edx, edx
je 0x6470a94f
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x44], 0
mov edx, dword [eax + 0xe08]
test edx, edx
je 0x6470a975
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x64], 0
mov dword [eax + 0xe08], 0
mov edx, dword [eax + 0x48]
test edx, edx
je 0x6470a991
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x48], 0
mov edx, dword [eax + 0xe0c]
test edx, edx
je 0x6470a9b7
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x68], 0
mov dword [eax + 0xe0c], 0
mov edx, dword [eax + 0x4c]
test edx, edx
je 0x6470a9d3
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x4c], 0
mov edx, dword [eax + 0xe10]
test edx, edx
je 0x6470a9f9
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x6c], 0
mov dword [eax + 0xe10], 0
mov edx, dword [eax + 0x50]
test edx, edx
je 0x6470aa15
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x50], 0
mov edx, dword [eax + 0xe14]
test edx, edx
je 0x6470aa3b
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x70], 0
mov dword [eax + 0xe14], 0
mov edx, dword [eax + 0x54]
test edx, edx
je 0x6470aa57
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x54], 0
mov edx, dword [eax + 0xe18]
test edx, edx
je 0x6470aa7d
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x74], 0
mov dword [eax + 0xe18], 0
mov edx, dword [eax + 0x58]
test edx, edx
je 0x6470aa99
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x58], 0
mov edx, dword [eax + 0xe1c]
test edx, edx
je 0x6470aabf
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x78], 0
mov dword [eax + 0xe1c], 0
mov edx, dword [eax + 0x5c]
test edx, edx
je 0x6470aadb
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x5c], 0
mov edx, dword [eax + 0xe20]
test edx, edx
je 0x6470ab01
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x7c], 0
mov dword [eax + 0xe20], 0
mov edx, dword [eax + 0x60]
test edx, edx
je 0x6470ab1d
sub edx, 0x10
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x60], 0
mov edx, dword [eax + 0xe24]
test edx, edx
je 0x6470ab46
mov dword [esp], edx
call fcn.647d4274
mov eax, dword [ebp + 4]
mov dword [eax + 0x80], 0
mov dword [eax + 0xe24], 0
mov edx, dword [esp + 0x30]
test edx, edx
je 0x6470abdf
lea ecx, [esi + 4]
cmp ecx, 3
jbe 0x6470abc0
lea ebx, [ecx*4]
mov dword [esp + 0x3c], ebx
mov eax, 0xffffffff
xor edx, edx
div ecx
cmp eax, 3
jbe 0x6470abc0
xor ebx, ebx
jmp 0x6470ab7f
inc ebx
cmp ebx, dword [esp + 0x30]
je 0x6470abdc
mov edi, dword [esp + 0x3c]
mov dword [esp], edi
call fcn.647d4284
test eax, eax
je 0x6470abc0
mov edi, eax
mov ecx, 0x10
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp + 4]
mov dword [eax + ebx*4 + 0x44], edi
lea edx, [eax + ebx*4 + 0x64]
mov dword [esp + 8], edx
lea eax, [eax + ebx*4 + 0xe08]
mov dword [esp + 4], eax
mov dword [esp], esi
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__memory_alloc_aligned_int32_array
test eax, eax
jne 0x6470ab78
mov eax, dword [ebp]
mov dword [eax], 8
lea esi, [esi]
xor eax, eax
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 4]
mov edx, eax
mov dword [eax + 0xe4], esi
mov ebx, dword [esp + 0x30]
mov dword [eax + 0xe8], ebx
mov esi, dword [eax + 0x480]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6470b091
xor ebx, ebx
mov dword [esp + 0x30], ebp
mov ebp, ebx
nop
mov ebx, dword [edx + 0x488]
mov eax, dword [edx + 0x484]
cmp eax, 2
je 0x6470af24
cmp eax, 3
je 0x6470af14
dec eax
je 0x6470af14
mov dword [esp + 8], 8
lea edi, [esp + 0x64]
mov dword [esp + 4], edi
mov eax, dword [edx + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov edx, dword [esp + 0x64]
mov eax, edx
and eax, 0xfe
mov dword [esp + 0x64], eax
and edx, 1
mov dword [esp + 0x40], edx
jne 0x6470af30
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
lea ecx, [ebp + ebp*8]
lea ecx, [ebp + ecx*8]
mov dword [edx + ecx*4 + 0x5c0], 0
test al, 0x80
jne 0x6470af7c
test eax, eax
je 0x6470afa4
cmp eax, 2
je 0x6470b268
cmp eax, 0xf
jbe 0x6470b1b4
cmp eax, 0x18
jbe 0x6470b1d4
cmp eax, 0x3f
jbe 0x6470b1b4
shr eax, 1
and eax, 0x1f
inc eax
mov dword [esp + 0x3c], eax
lea eax, [ebp + ebp*8]
lea eax, [ebp + eax*8]
shl eax, 2
lea esi, [edx + eax + 0x490]
lea ecx, [esi + 0x14]
mov dword [esp + 0x44], ecx
mov dword [edx + eax + 0x4a0], 3
lea edi, [ebp + 0x18]
mov dword [esp + 0x4c], edi
mov eax, dword [edx + edi*4 + 4]
mov dword [esi + 0x12c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x20], eax
xor edi, edi
mov dword [esp + 0x50], ebp
mov ebp, ecx
mov dword [esp + 0x54], esi
mov esi, edi
mov edi, dword [esp + 0x30]
jmp 0x6470ad1f
mov edx, dword [edi + 4]
mov dword [esp + 8], ebx
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_int32
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x68]
mov dword [ebp + esi*4 + 0x98], eax
inc esi
cmp dword [esp + 0x3c], esi
ja 0x6470ad1c
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__SUBFRAME_LPC_QLP_COEFF_PRECISION_LEN]
mov dword [esp + 8], edi
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov edx, dword [esp + 0x6c]
mov eax, 1
mov ecx, edi
shl eax, cl
dec eax
cmp eax, edx
je 0x6470b532
inc edx
mov edi, dword [esp + 0x44]
mov dword [edi + 0x10], edx
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__SUBFRAME_LPC_QLP_SHIFT_LEN]
mov dword [esp + 8], eax
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_int32
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x68]
mov dword [edi + 0x14], eax
xor edi, edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 0x10]
mov dword [esp + 8], eax
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_int32
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x68]
mov dword [esi + ebp*4 + 0x18], eax
inc ebp
cmp ebx, ebp
ja 0x6470adf0
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__ENTROPY_CODING_METHOD_TYPE_LEN]
mov dword [esp + 8], eax
lea edi, [esp + 0x6c]
mov dword [esp + 4], edi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
cmp eax, 1
ja 0x6470b33b
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN]
mov dword [esp + 8], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov edx, dword [edi + 4]
lea eax, [ebp + ebp*2]
lea eax, [edx + eax*4 + 0x84]
mov edi, dword [esp + 0x44]
mov dword [edi + 8], eax
mov esi, dword [esi + 0x14]
cmp esi, 1
ja 0x6470aee4
mov dword [esp + 8], esi
mov esi, dword [esp + 0x4c]
mov edx, dword [edx + esi*4 + 4]
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
call fcn.6470a620
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x6470b705
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
cmp eax, 2
jne 0x6470b022
mov eax, 1
nop
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebp, 1
jne 0x6470ac35
inc ebx
jmp 0x6470ac35
cmp ebp, 1
adc ebx, 0
jmp 0x6470ac35
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_unary_unsigned
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
inc eax
lea ecx, [ebp + ebp*8]
lea ecx, [ebp + ecx*8]
mov dword [edx + ecx*4 + 0x5c0], eax
sub ebx, eax
mov eax, dword [esp + 0x64]
test al, 0x80
je 0x6470ac96
nop
mov ebp, dword [esp + 0x30]
mov eax, dword [edx + 0xe30]
test eax, eax
je 0x6470b3f0
mov eax, dword [ebp]
mov dword [eax], 2
mov eax, 1
jmp 0x6470af08
mov esi, dword [edx + ebp*4 + 0x44]
lea eax, [ebp + ebp*8]
lea edi, [ebp + eax*8]
shl edi, 2
mov dword [edx + edi + 0x4a0], 0
mov dword [esp + 8], ebx
lea ebx, [esp + 0x6c]
mov dword [esp + 4], ebx
mov eax, dword [edx + 0x40]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_int32
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x6470abcc
mov eax, dword [esp + 0x6c]
mov dword [edx + edi + 0x4a4], eax
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
test edi, edi
je 0x6470b020
mov ecx, dword [eax + 4]
mov ebx, dword [ecx + 0x478]
test ebx, ebx
je 0x6470b020
xor eax, eax
nop
mov edx, dword [esp + 0x6c]
mov dword [esi + eax*4], edx
inc eax
cmp eax, dword [ecx + 0x478]
jb 0x6470b00c
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6470b070
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6470b070
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 4]
lea eax, [ebp + ebp*8]
lea eax, [ebp + eax*8]
mov ecx, dword [ebx + eax*4 + 0x5c0]
mov dword [esp + 0x64], ecx
mov edi, dword [ebx + 0x478]
test edi, edi
je 0x6470b070
mov edx, dword [ebx + ebp*4 + 0x44]
xor eax, eax
jmp 0x6470b064
mov ecx, dword [esp + 0x64]
shl dword [edx + eax*4], cl
inc eax
cmp eax, dword [ebx + 0x478]
jb 0x6470b060
mov eax, dword [esi]
cmp eax, 2
je 0x6470af01
inc ebp
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
cmp ebp, dword [edx + 0x480]
jb 0x6470ac10
mov ebp, eax
mov eax, dword [edx + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_is_consumed_byte_aligned
test eax, eax
je 0x6470b364
mov eax, dword [ebp]
mov eax, dword [eax]
cmp eax, 2
je 0x6470af01
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_get_read_crc16
movzx ebx, ax
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__FRAME_FOOTER_CRC_LEN]
mov dword [esp + 8], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
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_read_raw_uint32
test eax, eax
je 0x6470abcc
cmp ebx, dword [esp + 0x6c]
mov ebx, dword [ebp + 4]
jne 0x6470b54c
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6470b11e
mov eax, dword [ebx + 0x484]
cmp eax, 2
je 0x6470b88b
cmp eax, 3
je 0x6470b7c6
dec eax
je 0x6470b814
mov edx, dword [esp + 0x58]
mov dword [edx], 1
mov eax, dword [ebx + 0xf0]
test eax, eax
je 0x6470b138
mov dword [ebx + 0xec], eax
mov ecx, dword [ebp]
mov edi, dword [ebx + 0x480]
mov dword [ecx + 4], edi
mov eax, dword [ebx + 0x484]
mov dword [ecx + 8], eax
mov esi, dword [ebx + 0x488]
mov dword [esp + 0x3c], esi
mov dword [ecx + 0xc], esi
mov eax, dword [ebx + 0x47c]
mov dword [ecx + 0x10], eax
mov esi, dword [ebx + 0x478]
mov dword [ecx + 0x14], esi
mov eax, dword [ebx + 0x490]
mov edx, dword [ebx + 0x494]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov eax, esi
xor edx, edx
add eax, dword [esp + 0x30]
adc edx, dword [esp + 0x34]
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], edx
cmp dword [esp + 0x48], 0
jne 0x6470b59a
mov dword [ecx], 2
mov eax, 1
jmp 0x6470abce
mov ebp, dword [esp + 0x30]
mov ebx, dword [edx + 0xe30]
test ebx, ebx
je 0x6470b3d4
inc dword [edx + 0x1808]
jmp 0x6470af8e
shr eax, 1
and eax, 7
mov dword [esp + 0x3c], eax
lea eax, [ebp + ebp*8]
lea eax, [ebp + eax*8]
shl eax, 2
lea ecx, [edx + eax + 0x490]
mov dword [esp + 0x44], ecx
mov esi, ecx
add esi, 0x14
mov dword [edx + eax + 0x4a0], 2
lea edi, [ebp + 0x18]
mov dword [esp + 0x4c], edi
mov eax, dword [edx + edi*4 + 4]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xc], eax
test eax, eax
je 0x6470b303
xor edi, edi
mov dword [esp + 0x50], ebp
mov ebp, edi
mov edi, dword [esp + 0x30]
jmp 0x6470b246
mov eax, dword [esp + 0x68]
mov dword [esi + ebp*4 + 0x10], eax
inc ebp
cmp ebp, dword [esp + 0x3c]
je 0x6470b2f8
mov edx, dword [edi + 4]
mov dword [esp + 8], ebx
lea ecx, [esp + 0x68]
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_int32
test eax, eax
jne 0x6470b230
jmp 0x6470abcc
mov eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x44], eax
lea eax, [ebp + ebp*8]
lea eax, [ebp + eax*8]
shl eax, 2
lea ecx, [edx + eax + 0x490]
mov dword [esp + 0x3c], ecx
mov esi, dword [edx + ebp*4 + 0x64]
mov dword [edx + eax + 0x4a0], 1
mov dword [ecx + 0x14], esi
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x478]
test ecx, ecx
je 0x6470b410
xor edi, edi
mov dword [esp + 0x4c], ebp
mov ebp, edi
mov edi, esi
mov esi, dword [esp + 0x44]
jmp 0x6470b2d8
mov eax, dword [esp + 0x6c]
mov dword [edi + ebp*4], eax
inc ebp
mov eax, dword [esi]
mov ecx, dword [eax + 0x478]
cmp ebp, ecx
jae 0x6470b40c
mov dword [esp + 8], ebx
lea edx, [esp + 0x6c]
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_read_raw_int32
test eax, eax
jne 0x6470b2c0
jmp 0x6470abcc
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__ENTROPY_CODING_METHOD_TYPE_LEN]
mov dword [esp + 8], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
mov eax, dword [edx + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x44]
mov dword [ebx + 0x14], eax
cmp eax, 1
jbe 0x6470b433
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0xe30]
test edx, edx
je 0x6470b518
inc dword [eax + 0x1808]
jmp 0x6470af8e
mov edx, eax
jmp 0x6470abfb
mov dword [esp + 0x6c], 0
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_bits_left_for_byte_alignment
mov dword [esp + 8], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
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_read_raw_uint32
test eax, eax
je 0x6470abce
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x6470b0a4
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0xe30]
test edx, edx
jne 0x6470af8e
mov edx, dword [eax + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], ebp
call dword [eax + 0x20]
jmp 0x6470af8e
mov eax, dword [edx + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], 3
mov dword [esp], ebp
call dword [edx + 0x20]
jmp 0x6470af8e
mov eax, dword [edx + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], ebp
call dword [edx + 0x20]
jmp 0x6470af8e
mov ebp, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x6470b01c
mov eax, dword [eax + ebp*4 + 0x44]
shl ecx, 2
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + 0x14]
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x6470b01c
mov eax, dword [sym.allegro_5.0.10_monolith_mt.dll_FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN]
mov dword [esp + 8], eax
lea edi, [esp + 0x6c]
mov dword [esp + 4], edi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov eax, dword [eax + 0x40]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitreader_read_raw_uint32
test eax, eax
je 0x6470abcc
mov ecx, dword [esp + 0x6c]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
lea eax, [ebp + ebp*2]
lea eax, [edx + eax*4 + 0x84]
mov dword [esi + 8], eax
mov edi, dword [esp + 0x44]
mov ebx, dword [edi + 0x14]
cmp ebx, 1
ja 0x6470b4ae
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x4c]
mov edx, dword [edx + ebx*4 + 4]
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
call fcn.6470a620
test eax, eax
je 0x6470abcc
mov edi, dword [esp + 0x48]
test edi, edi
je 0x6470aef0
mov edx, dword [esp + 0x3c]
shl edx, 2
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea eax, [ebp + 0x10]
mov ebx, dword [ecx + eax*4 + 4]
add esi, 0x10
mov edi, ebx
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebx + 4]
add edx, dword [ecx + eax*4 + 4]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov eax, dword [ecx + 0x478]
sub eax, ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x4c]
mov eax, dword [ecx + ebx*4 + 4]
mov dword [esp], eax
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__fixed_restore_signal
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
jmp 0x6470aef8
mov edx, dword [eax + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], 3
mov dword [esp], ebp
call dword [eax + 0x20]
jmp 0x6470af8e
mov ebp, dword [esp + 0x30]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xe30]
test ecx, ecx
jne 0x6470af8e
jmp 0x6470b3b9
mov ecx, dword [ebx + 0xe30]
test ecx, ecx
je 0x6470b6e8
mov edx, dword [esp + 0x48]
test edx, edx
je 0x6470b11e
mov eax, dword [ebx + 0x480]
test eax, eax
je 0x6470b11e
xor edx, edx
xor eax, eax
mov ecx, dword [ebx + 0x478]
shl ecx, 2
mov ebx, dword [ebx + edx*4 + 0x44]
mov edi, ebx
rep stosb byte es:[edi], al
inc edx
mov ebx, dword [ebp + 4]
cmp edx, dword [ebx + 0x480]
jb 0x6470b578
jmp 0x6470b11e
lea ecx, [ebx + 0x44]
mov dword [esp + 0x40], ecx
lea ecx, [ebx + 0x478]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0xe30]
test ecx, ecx
je 0x6470b6b1
mov esi, dword [ebx + 0x1800]
mov dword [esp + 0x3c], esi
mov edi, dword [ebx + 0x1804]
mov dword [esp + 0x48], edi
mov dword [ebx + 0x180c], 1
lea edi, [ebx + 0xea8]
mov ecx, 0x254
mov esi, dword [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x34], ecx
jb 0x6470b606
ja 0x6470b6a9
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x30], esi
ja 0x6470b6a9
cmp edx, dword [esp + 0x48]
ja 0x6470b61c
jb 0x6470b6a9
cmp eax, dword [esp + 0x3c]
jbe 0x6470b6a9
mov eax, dword [ebp + 4]
mov dword [eax + 0xe30], 0
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x30]
je 0x6470b8b5
mov ecx, dword [ebx + 0x480]
lea esi, [esp + 0x70]
test ecx, ecx
je 0x6470b66f
lea edx, [edi*4]
mov dword [esp + 0x30], edx
xor edx, edx
lea esi, [esp + 0x70]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
add ebx, dword [ecx + edx*4]
mov dword [esi + edx*4], ebx
inc edx
cmp edx, dword [esp + 0x3c]
jne 0x6470b65e
sub dword [eax + 0xea8], edi
xor ebx, ebx
add dword [eax + 0xec0], edi
adc dword [eax + 0xec4], ebx
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
lea edx, [eax + 0xea8]
mov dword [esp + 4], edx
mov dword [esp], ebp
call dword [eax + 0x18]
test eax, eax
jne 0x6470abcc
mov ecx, dword [ebp]
jmp 0x6470b1a3
mov eax, dword [ebx + 0x100]
test eax, eax
jne 0x6470b841
mov dword [ebx + 0xe28], 0
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov esi, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], ebp
call dword [ebx + 0x18]
jmp 0x6470b6a1
mov eax, dword [ebx + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov dword [esp], ebp
call dword [ebx + 0x20]
mov ebx, dword [ebp + 4]
jmp 0x6470b55a
mov edi, dword [esp + 0x3c]
shl edi, 2
mov dword [esp + 0x50], edi
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 4]
lea edx, [ebp + 0x10]
mov eax, dword [eax + edx*4 + 4]
mov esi, dword [esp + 0x44]
add esi, 0x98
mov edi, eax
mov ecx, dword [esp + 0x50]
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
mov ecx, dword [esp + 0x44]
add esi, dword [ecx + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 0x2c], edx
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__bitmath_ilog2
add esi, eax
cmp esi, 0x20
mov edx, dword [esp + 0x2c]
ja 0x6470b987
cmp ebx, 0x10
ja 0x6470b92f
mov ebx, dword [esp + 0x44]
cmp dword [ebx + 0x10], 0x10
ja 0x6470b92f
cmp edi, 8
ja 0x6470b8d7
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 4]
mov edx, dword [eax + edx*4 + 4]
add edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov edx, ebx
add edx, 0x18
mov dword [esp + 8], edx
mov edx, dword [eax + 0x478]
sub edx, edi
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov edx, dword [eax + ebx*4 + 4]
mov dword [esp], edx
call dword [eax + 0x30]
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
jmp 0x6470aef8
mov esi, dword [ebx + 0x478]
test esi, esi
je 0x6470b11e
mov edi, dword [ebx + 0x44]
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x30], edx
xor eax, eax
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + eax*4]
mov esi, dword [edi + eax*4]
shl esi, 1
mov edx, ecx
and edx, 1
or edx, esi
lea esi, [ecx + edx]
sar esi, 1
mov dword [edi + eax*4], esi
sub edx, ecx
sar edx, 1
mov ecx, dword [esp + 0x30]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x478]
jb 0x6470b7e0
jmp 0x6470b11e
mov edi, dword [ebx + 0x478]
test edi, edi
je 0x6470b11e
mov esi, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x48]
xor eax, eax
mov edx, dword [esi + eax*4]
sub edx, dword [ecx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x478]
jb 0x6470b82a
jmp 0x6470b11e
mov eax, dword [ebx + 0xe28]
test eax, eax
je 0x6470b6c9
mov eax, dword [esp + 0x3c]
add eax, 7
shr eax, 3
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
add ebx, 0xe34
mov dword [esp], ebx
call sym.allegro_5.0.10_monolith_mt.dll_FLAC__MD5Accumulate
test eax, eax
je 0x6470abcc
mov ebx, dword [ebp + 4]
jmp 0x6470b6c9
mov eax, dword [ebx + 0x478]
test eax, eax
je 0x6470b11e
mov edx, dword [ebx + 0x44]
mov esi, dword [ebx + 0x48]
xor eax, eax
mov ecx, dword [esi + eax*4]
add dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 0x478]
jb 0x6470b8a1
jmp 0x6470b11e
mov edx, dword [eax + 0x38]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x44]
mov dword [esp + 4], esi
mov dword [esp], ebp
call dword [eax + 0x18]
jmp 0x6470b6a1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov edx, dword [eax + edx*4 + 4]
add edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x44]
add edx, 0x18
mov dword [esp + 8], edx
mov edx, dword [eax + 0x478]
sub edx, ebx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov edx, dword [eax + ebx*4 + 4]
mov dword [esp], edx
call dword [eax + 0x2c]
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
jmp 0x6470aef8
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov edx, dword [eax + edx*4 + 4]
add edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x44]
add edx, 0x18
mov dword [esp + 8], edx
mov edx, dword [eax + 0x478]
sub edx, ebx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov edx, dword [eax + ebx*4 + 4]
mov dword [esp], edx
call dword [eax + 0x24]
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
jmp 0x6470aef8
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
mov edx, dword [eax + edx*4 + 4]
add edx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x44]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x44]
add edx, 0x18
mov dword [esp + 8], edx
mov edx, dword [eax + 0x478]
sub edx, ebx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov edx, dword [eax + ebx*4 + 4]
mov dword [esp], edx
call dword [eax + 0x28]
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [esi]
jmp 0x6470aef8