Function at 0x10007000
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a890
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x440], edi
push 0x418
call fcn.1007faf4
mov ebx, eax
mov dword [ebp - 0x458], ebx
push 0x418
push 0
push ebx
mov dword [ebp - 4], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebx], vtable.IAVCMedia.0
lea esi, [ebx + 8]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x450], esi
call fcn.10010980
mov dword [ebx], vtable.CAVCMediaImpl.1.0
mov dword [esi], vtable.CAVCMediaImpl.0
mov dword [ebp - 0x43c], ebx
add edi, 4
mov dword [ebp - 4], 2
mov dword [ebp - 0x44c], edi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x100070a5
mov eax, dword [edi]
push eax
mov ecx, ebx
call fcn.10017970
push 0xa
push str._f_libcdio
lea ecx, [esi + 0x3dc]
call fcn.100052a0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov dword [ebp - 0x454], eax
test eax, eax
jne 0x100074b7
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xd0]
test eax, eax
jle 0x1000715a
xor edi, edi
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0xd4]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x448], eax
call dword [edx + 0xc8]
mov esi, eax
mov eax, dword [ebp - 0x448]
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
cmp eax, esi
jne 0x10007142
push 0xe4
call fcn.1007faf4
add esp, 4
mov dword [ebp - 0x444], eax
mov ecx, dword [ebp - 0x448]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10005c50
mov ecx, dword [ebp - 0x440]
mov byte [ebp - 4], 2
mov dword [ecx + 0x34], eax
mov eax, dword [ebx]
mov ecx, ebx
inc edi
call dword [eax + 0xd0]
cmp edi, eax
jl 0x100070e3
mov edi, dword [ebp - 0x44c]
lea esi, [ebx + 8]
mov eax, dword [ebx + 0x2b8]
sub eax, dword [ebx + 0x2b4]
mov ecx, dword [ebp - 0x440]
sar eax, 2
mov dword [ecx + 0x38], eax
xor ecx, ecx
mov dword [ebp - 0x448], ecx
test eax, eax
jle 0x10007354
mov ebx, dword [ebp - 0x44c]
push ecx
mov ecx, esi
call fcn.10015c40
mov dword [ebp - 0x444], eax
test eax, eax
je 0x1000732c
push 0x420
call fcn.1007faf4
mov edi, eax
mov dword [ebp - 0x45c], edi
push 0x420
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [edi], vtable.IAVCDiscAudiotrack.0
lea ecx, [edi + 8]
mov byte [ebp - 4], 5
call fcn.10010980
mov eax, dword [ebp - 0x440]
lea ecx, [edi + 0x3e4]
push 0xa
push str._f_libcdio
mov dword [edi], vtable.CAVCDiscAudioTrackImpl.1.0
mov dword [edi + 8], vtable.CAVCDiscAudioTrackImpl.0
mov dword [edi + 0x418], 0
mov dword [edi + 0x3b0], 3
mov dword [edi + 0x41c], eax
mov byte [ebp - 4], 2
call fcn.100052a0
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x1000721f
mov edx, dword [ebx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007224
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x3b4]
call fcn.100052a0
mov eax, dword [ebp - 0x448]
inc eax
push eax
lea eax, [ebp - 0x420]
push str.track__d
push eax
call fcn.100077f0
mov eax, dword [edi]
lea ecx, [ebp - 0x420]
add esp, 0xc
push ecx
mov ecx, edi
call dword [eax + 0x60]
mov eax, dword [ebp - 0x444]
movsd xmm0, qword [eax + 0x10]
subsd xmm0, qword [eax + 8]
mulsd xmm0, qword [0x100a6648]
call fcn.100898e0
mov esi, dword [edi]
mov ecx, edi
push edx
push eax
call dword [esi + 0xa4]
mov eax, dword [ebp - 0x444]
mov esi, dword [edi]
movsd xmm0, qword [eax + 8]
mulsd xmm0, qword [0x100a6648]
call fcn.100898e0
push edx
push eax
mov ecx, edi
call dword [esi + 0xa8]
mov eax, dword [ebp - 0x444]
mov esi, dword [edi]
movsd xmm0, qword [eax + 0x10]
mulsd xmm0, qword [0x100a6648]
call fcn.100898e0
push edx
push eax
mov ecx, edi
call dword [esi + 0xac]
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x440]
mov dword [edi + 0x278], 1
mov dword [ebp - 0x444], edi
mov eax, dword [ecx + 0x34]
add ecx, 0x3c
mov dword [edi + 0x418], eax
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x10007319
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x10007326
lea edx, [ebp - 0x444]
push edx
push eax
call fcn.10007810
mov esi, dword [ebp - 0x450]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x440]
inc ecx
mov dword [ebp - 0x448], ecx
cmp ecx, dword [eax + 0x38]
jl 0x10007188
mov ebx, dword [ebp - 0x458]
mov edi, dword [ebp - 0x44c]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push eax
push 0x10091b60
call fcn.100052a0
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x100073ae
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100074a6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100073e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.100052a0
lea ecx, [ebp - 0x438]
call fcn.1007c750
lea ecx, [ebp - 0x438]
cmp ecx, eax
je 0x10007430
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10007421
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x438]
call fcn.100052a0
lea ecx, [ebp - 0x438]
call fcn.1007cf90
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x438]
add ecx, 0x1c
cmp ecx, eax
je 0x10007468
cmp dword [ebp - 0x424], 8
push dword [ebp - 0x428]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.100052a0
mov esi, dword [ebp - 0x454]
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x100074ba
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100074ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100074ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
or esi, 0xffffffff
jmp 0x1000746e
push edx
push ecx
call fcn.1007face
add esp, 8
jmp 0x100074ba
or esi, 0xffffffff
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x128]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
ret 4