Function at 0x6e8368
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a58f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x14], ecx
call dword [eax + 4]
movzx eax, al
test eax, eax
je 0x6e83b3
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x14]
lea ebx, [eax + 0x1c]
mov ecx, ebx
mov dword [eax + 0xc], 0
call fcn.006ecda8
mov ecx, dword [ebp + 8]
call fcn.006e9ebc
cmp eax, 1
je 0x6e83ec
mov eax, 1
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.006e9d34
mov esi, DirectSoundEnumerateA
mov edi, 3
mov al, byte [ebp + 0x14]
mov dword [ebp - 0x18], esi
test al, al
mov dword [ebp - 0x1c], edi
je 0x6e84cc
mov al, byte [0x84e950]
test al, al
je 0x6e8425
mov eax, 0x20000000
mov dword [ebp - 0x20], eax
jmp 0x6e842d
mov eax, 0x10000000
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov byte [eax + 0x24], 1
call fcn.006eaf9c
movzx eax, al
test eax, eax
jne 0x6e8452
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0x200
jmp 0x6e84d4
lea ecx, [ebp - 0x48]
call fcn.00736414
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov ecx, dword [ebp + 8]
push 1
push eax
call fcn.006eaefc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x48]
push dword [ebp - 0x44]
push 0x88e7b8
push eax
call fcn.007020f0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00701810
lea ebx, [ebp - 0x34]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
push edx
push ecx
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00701810
jmp 0x6e84d4
mov eax, 0x8000000
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 0xc]
test al, al
je 0x6e84e3
mov eax, 0xc0000000
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 0x10]
test al, al
je 0x6e84f2
mov eax, 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
mov ecx, dword [ebp + 8]
push 0
push eax
call fcn.006ecde8
mov dword [ebp - 4], 2
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
mov ebx, dword [ebp - 0x18]
push eax
push edx
push ecx
push 1
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00701810
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
cmp edx, 0xffffffff
je 0x6e855d
xor eax, eax
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
call fcn.006e9048
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14