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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
test edx, edx
jle 0x6472e4a5
mov dword [esp + 0x20], 0
xor eax, eax
xor ebx, ebx
mov esi, dword [esp + 0x78]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x6472e2cc
mov edi, dword [esi + eax*4]
mov dword [esi + ebx*4], edi
inc ebx
inc eax
cmp eax, edx
jne 0x6472e2be
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x6472e4a5
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, eax
mov eax, dword [eax + 4]
sub eax, dword [edx]
cdq
idiv dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, ebx
shl eax, 2
mov dword [esp + 4], eax
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll__vorbis_block_alloc
mov dword [esp + 0x24], eax
fld dword [0x648135c0]
fidiv dword [esp + 0x1c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
mov esi, dword [esp + 0x40]
shl esi, 2
xor ebx, ebx
fstp dword [esp + 0x30]
mov dword [esp + 4], esi
mov dword [esp], ebp
call sym.allegro_5.0.10_monolith_mt.dll__vorbis_block_alloc
mov edx, eax
mov eax, dword [esp + 0x24]
mov dword [eax + ebx*4], edx
mov edi, edx
mov ecx, esi
xor eax, eax
rep stosb byte es:[edi], al
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x6472e339
fld dword [esp + 0x30]
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x6472e483
mov esi, dword [esp + 0x2c]
dec esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
fldz
fnstcw word [esp + 0x4a]
mov ax, word [esp + 0x4a]
mov ah, 0xc
mov word [esp + 0x48], ax
mov ecx, dword [esp + 0x38]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
add eax, dword [edx]
lea ecx, [eax*4]
mov dword [esp + 0x30], ecx
add eax, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x34], eax
xor ebx, ebx
lea esi, [esi]
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x6472e498
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + ebx*4]
mov edx, dword [esp + 0x30]
add edx, ebp
add ebp, dword [esp + 0x34]
xor edi, edi
xor ecx, ecx
jmp 0x6472e3f7
cmp ecx, eax
jge 0x6472e3ee
mov ecx, eax
add edi, eax
add edx, 4
cmp edx, ebp
je 0x6472e404
mov eax, dword [edx]
test eax, eax
jns 0x6472e3e8
neg eax
jmp 0x6472e3e8
mov dword [esp + 0x44], edi
fild dword [esp + 0x44]
fmul st(2)
fldcw word [esp + 0x48]
fistp dword [esp + 0x44]
fldcw word [esp + 0x4a]
mov ebp, dword [esp + 0x44]
test esi, esi
jle 0x6472e4a1
mov eax, dword [esp + 0x28]
add eax, 0x918
xor edx, edx
lea esi, [esi]
cmp dword [eax], ecx
jl 0x6472e442
mov edi, dword [eax + 0x100]
test edi, edi
js 0x6472e44a
cmp ebp, edi
jl 0x6472e44a
inc edx
add eax, 4
cmp edx, esi
jne 0x6472e430
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ecx], edx
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x6472e3c4
inc dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x3c], edx
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x38], eax
jne 0x6472e394
fstp st(0)
fstp st(0)
jmp 0x6472e485
fstp st(0)
mov edx, dword [esp + 0x74]
inc dword [edx + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
fld st(0)
xor ecx, ecx
jmp 0x6472e40c
xor edx, edx
jmp 0x6472e44a
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret