Function at 0x67d560
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72970e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x7e6410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x800b2c]
mov dword [ebp - 0x44], edi
test al, 1
jne 0x67d5e5
or eax, 1
mov dword [0x800b2c], eax
mov ecx, 0x800b24
mov dword [ebp - 4], 0
mov dword [0x800b24], 0
mov dword [0x800b28], 0
call fcn.00536cc0
push 0x73b540
mov dword [0x800b24], eax
call fcn.006b31e3
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x67d6d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 0x14], 0
jne 0x67d6cf
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.005b3e90
add esp, 8
cmp dword [0x7f79c0], 1
mov dword [ebp - 4], 1
je 0x67d6c0
push str..cda
lea ecx, [ebp - 0x3c]
call fcn.00429150
test eax, eax
je 0x67d6c0
push edi
lea ecx, [ebp - 0x40]
call fcn.00428840
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, 0x800b24
call fcn.0067cff0
push eax
lea ecx, [ebp - 0x44]
call fcn.00428690
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00428810
lea ecx, [ebp - 0x44]
call fcn.004290f0
test eax, eax
jne 0x67d6b4
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.004289a0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00428810
mov eax, 1
jmp 0x67d85a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
xor eax, eax
jmp 0x67d85a
xor edi, edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005b3e90
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 5
call fcn.00429020
push str..mp3
lea eax, [ebp - 0x4c]
push eax
call fcn.004291f0
test al, al
je 0x67d71e
push esi
call fcn.0067d2e0
add esp, 4
jmp 0x67d781
push str..ogg
lea eax, [ebp - 0x4c]
push eax
call fcn.004291f0
test al, al
je 0x67d74b
push esi
lea ecx, [ebp - 0x4d]
call fcn.0067d3a0
mov edi, eax
test edi, edi
je 0x67d783
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x67d783
add edi, 0xb
jmp 0x67d783
push str..wma
lea eax, [ebp - 0x4c]
push eax
call fcn.004291f0
test al, al
je 0x67d783
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x67d783
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push esi
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x14], ax
call fcn.0067d0d0
mov edi, eax
mov ecx, dword [ebp - 0x3c]
sub ecx, edi
cmp dword [ebp + 0x10], ecx
cmovl ecx, dword [ebp + 0x10]
push ecx
mov dword [ebp - 0x3c], ecx
call fcn.006b6815
add esp, 4
mov dword [ebp - 0x40], eax
test eax, eax
je 0x67d7c6
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x54]
push 0
push eax
push edi
push dword [ebp - 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x67d7d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x67d849
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x40]
push edi
push esi
push eax
call fcn.0067d880
add esp, 0xc
mov edi, dword [ebp - 0x48]
mov ecx, edi
push eax
mov byte [ebp - 4], 6
call fcn.004289a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00428810
push esi
call fcn.006b31f8
add esp, 4
cmp dword [ebp + 0x14], 0
jne 0x67d844
push dword [ebp - 0x44]
lea ecx, [ebp - 0x48]
call fcn.00428840
push edi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x800b24
call fcn.0067cff0
mov ecx, eax
call fcn.004289a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00428810
mov esi, 1
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00428810
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006b3266
mov esp, ebp
pop ebp
ret