Function at 0x76a4a4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7abe28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ebx
mov al, byte [ecx + 5]
mov dword [ebp - 0x1c], ecx
test al, al
je 0x76a639
mov esi, ecx
mov al, byte [esi + 4]
test al, al
je 0x76a56a
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ebx, 0x43
mov eax, 0x43
mov edx, 1
lea ecx, [eax - 0x41]
shl edx, cl
test edx, esi
je 0x76a55c
lea edx, [ebp - 0xd4]
push eax
push 0x8a18c4
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edi, [ebp - 0xd4]
mov ecx, 3
xor edx, edx
push edx
push edx
push ecx
push edx
push ecx
push DirectSoundEnumerateA
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x76a55c
lea edx, [ebp - 0xd4]
mov ecx, dword [ebp - 0x1c]
push ebx
push edx
push edi
call fcn.00769218
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
movsx eax, bl
cmp eax, 0x5a
jle 0x76a4fb
jmp 0x76a649
mov eax, ecx
call dword [eax + 8]
movzx edx, al
xor eax, eax
mov dword [ebp - 0x48], edx
test edx, edx
mov dword [esi + 0x6c], edx
mov dword [ebp - 0x3c], eax
jle 0x76a6aa
lea eax, [ebp - 0x1cc]
lea edx, [ebp - 0x1c4]
lea ecx, [ebp - 0x1b4]
mov dword [ebp - 0x38], eax
mov ebx, esi
lea esi, [ebx + 0x74]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
xor eax, eax
mov edx, dword [ebp - 0x3c]
movzx ecx, dl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov edx, dword [ebp - 0x24]
movzx ecx, dl
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
lea ebx, [ebp - 0x230]
xor eax, eax
and eax, 0xff
mov edx, eax
shl edx, 8
or eax, edx
mov ecx, eax
shl ecx, 0x10
or eax, ecx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov byte [ebp - 0x230], 1
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x22e], bl
mov edx, dword [ebp - 0x14]
movzx ebx, dl
mov byte [ebp - 0x228], al
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x227], bl
push ecx
call dword [esi + 0xc]
pop ecx
mov al, byte [ebp - 0x22f]
cmp al, 1
je 0x76a6c6
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, 8
mov dword [ebp - 0x14], eax
jl 0x76a5c4
jmp 0x76abfc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor edx, edx
lea eax, [ebp - 0x94]
push edx
push 0x8a1914
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x94]
mov edx, 3
xor eax, eax
push eax
push eax
push edx
push eax
push edx
push DirectSoundEnumerateA
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x76a6aa
lea edx, [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
push 0
push edx
push esi
call fcn.00769218
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
movsx edx, bl
cmp edx, 0x7f
jle 0x76a64d
mov eax, 1
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x226]
cmp al, 5
je 0x76a6d8
test al, al
jne 0x76a628
lea esi, [ebp - 0x224]
xor eax, eax
and eax, 0xff
mov edx, eax
shl edx, 8
or eax, edx
mov ecx, eax
shl ecx, 0x10
or eax, ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [ebp - 0x224], 2
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x222], al
lea esi, [ebp - 0x1d4]
xor cl, cl
mov byte [ebp - 0x21c], dl
lea edi, [ebp - 0x224]
mov byte [ebp - 0x21b], bl
mov ebx, 0x60
mov byte [ebp - 0x221], 0x48
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], esi
mov byte [ebp - 0x210], 0xe
mov byte [ebp - 0x20f], 6
mov byte [ebp - 0x1f4], 0x12
mov byte [ebp - 0x1f2], cl
mov byte [ebp - 0x1f1], cl
mov byte [ebp - 0x1f0], bl
mov byte [ebp - 0x1ef], cl
push edi
mov ecx, dword [ebp - 0x1c]
call fcn.00768f98
mov dword [ebp - 0x10c], 0
push 0x38
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x28], eax
add esp, 4
test eax, eax
mov dword [ebp - 0x108], eax
je 0x76abf2
mov dword [ebp - 0x10c], 1
mov dword [ebp - 4], 0
mov esi, 0x8a17f0
mov edi, eax
xor eax, eax
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], eax
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], eax
mov dword [edi], eax
mov byte [edi + 0x2c], al
mov dword [edi + 0x28], 0x1f
mov byte [edi + 0x2d], 1
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp - 0x24]
xor esi, esi
mov dword [ebx + 0x24], edx
lea edx, [ebp - 0x104]
mov dword [ebx + 0x20], ecx
and esi, 0xff
mov edi, esi
shl edi, 8
or esi, edi
mov eax, esi
shl eax, 0x10
or esi, eax
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], esi
mov dword [edx + 0x1c], esi
lea ebx, [ebp - 0x104]
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ebx], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 4], ecx
mov dword [ebp - 0xe4], 0x8a17f0
mov dword [ebp - 0xe0], 0
lea edi, [ebp - 0x104]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76a8a4
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76a89c
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xe0], eax
lea edi, [ebp - 0x104]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76a8ba
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28]
lea edx, [eax + 4]
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0x30], edx
test edi, edi
je 0x76a92c
mov eax, edx
mov eax, dword [eax + 4]
test eax, eax
je 0x76a8f4
push eax
call fcn.007703b0
pop ecx
mov edi, dword [ebp - 0xe0]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76a906
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76a8fe
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edx, dword [ebp - 0x30]
mov esi, eax
mov dword [edx + 4], eax
mov edi, dword [ebp - 0xe0]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76a91c
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xe4], 0x8a17f0
test edi, edi
je 0x76a948
push edi
call fcn.007703b0
pop ecx
mov dword [ebp - 0xe0], 0
lea ebx, [ebp - 0x104]
xor eax, eax
and eax, 0xff
mov edx, eax
shl edx, 8
or eax, edx
mov ecx, eax
shl ecx, 0x10
or eax, ecx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
lea edi, [ebp - 0x104]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov dword [edi], eax
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [edi + 4], edx
mov esi, dword [ebx + 0xc]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
mov dword [ebp - 0x238], 0x8a17f0
mov dword [ebp - 0x234], 0
lea edi, [ebp - 0x104]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76a9cf
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76a9c7
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x234], eax
lea edi, [ebp - 0x104]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76a9e5
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0xc]
mov edi, dword [ebp - 0x234]
mov dword [ebp - 0x2c], edx
test edi, edi
je 0x76aa57
mov eax, edx
mov eax, dword [eax + 4]
test eax, eax
je 0x76aa1f
push eax
call fcn.007703b0
pop ecx
mov edi, dword [ebp - 0x234]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76aa31
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76aa29
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edx, dword [ebp - 0x2c]
mov esi, eax
mov dword [edx + 4], eax
mov edi, dword [ebp - 0x234]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76aa47
mov edi, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x238], 0x8a17f0
test edi, edi
je 0x76aa73
push edi
call fcn.007703b0
pop ecx
mov dword [ebp - 0x234], 0
lea ebx, [ebp - 0x104]
xor eax, eax
and eax, 0xff
mov edx, eax
shl edx, 8
or eax, edx
mov ecx, eax
shl ecx, 0x10
or eax, ecx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
lea ecx, [ebp - 0x104]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [ebp - 0xdc], 0x8a17f0
mov dword [ebp - 0xd8], 0
lea edi, [ebp - 0x104]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76aae8
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76aae0
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xd8], eax
lea edi, [ebp - 0x104]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76aafe
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 0x14]
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x76ab68
mov eax, dword [ebx + 4]
test eax, eax
je 0x76ab33
push eax
call fcn.007703b0
pop ecx
mov edi, dword [ebp - 0xd8]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x76ab45
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x76ab3d
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebx + 4], eax
mov edi, dword [ebp - 0xd8]
mov esi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x76ab58
mov edi, dword [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xdc], 0x8a17f0
test edi, edi
je 0x76ab84
push edi
call fcn.007703b0
pop ecx
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push edx
push ebx
push ecx
mov ebx, dword [ebp - 0x30]
push ebx
call fcn.0076845c
add esp, 0x14
mov ebx, dword [ebp - 0x28]
mov byte [ebx + 0x2c], al
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x7c]
test edx, edx
je 0x76abc6
mov eax, dword [eax + 0x7c]
mov ebx, eax
mov eax, dword [eax + 8]
test eax, eax
jne 0x76abbd
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x76abee
mov dword [eax], 0x8a17f8
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [ebx + 8], eax
jmp 0x76a628
xor eax, eax
jmp 0x76abe6
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x76a816
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 0xf
mov dword [ebp - 0x24], eax
jl 0x76a5b6
mov eax, dword [ebp - 0x3c]
inc eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
cmp eax, edx
jl 0x76a5a8
jmp 0x76a6aa