Function at 0x10009b50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c401
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x10152034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa1c], ax
lea eax, [ebp - 0xa1a]
push eax
mov dword [ebp - 0xa74], edi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa1c]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa70], eax
test eax, eax
je 0x10009fa1
mov dword [ebp - 0xa6c], 0
jle 0x10009fa1
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xa50], 0x5c
jmp 0x10009bf0
xor eax, eax
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], ax
cmp word [ebp - 0xa1c], ax
jne 0x10009c1a
xor ecx, ecx
jmp 0x10009c32
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009c23
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa34]
call fcn.10002100
push 1
push 0
lea eax, [ebp - 0xa50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xa34]
call fcn.10007090
cmp eax, 0xffffffff
je 0x10009d2a
push eax
push 0
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa34]
call fcn.1000e030
mov esi, eax
lea eax, [ebp - 0xa34]
cmp eax, esi
je 0x10009d16
cmp dword [ebp - 0xa20], 8
jb 0x10009ca4
push dword [ebp - 0xa34]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], ax
cmp dword [esi + 0x14], 8
jae 0x10009ce3
mov eax, dword [esi + 0x10]
inc eax
je 0x10009cf1
add eax, eax
push eax
lea eax, [ebp - 0xa34]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10009cf1
mov eax, dword [esi]
mov dword [ebp - 0xa34], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xa24], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xa20], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [ebp - 0xa80], 8
jb 0x10009d2a
push dword [ebp - 0xa94]
call ebx
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x21c]
cmp dword [ebp - 0xa20], 8
lea eax, [ebp - 0xa34]
cmovae eax, dword [ebp - 0xa34]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10009f8d
xor eax, eax
mov dword [ebp - 0xa38], 7
mov dword [ebp - 0xa3c], 0
mov word [ebp - 0xa4c], ax
cmp word [ebp - 0x21c], ax
jne 0x10009da1
xor ecx, ecx
jmp 0x10009dbf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009db0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xa4c]
call fcn.10002100
xor eax, eax
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push eax
mov word [ebp - 0xa68], ax
lea ecx, [ebp - 0xa68]
lea eax, [ebp - 0xa34]
mov dword [ebp - 0xa54], 7
push eax
mov dword [ebp - 0xa58], 0
call fcn.10001d60
mov byte [ebp - 4], 2
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x10009e5b
jmp 0x10009e20
cmp dword [ebp - 0xa38], 8
lea eax, [ebp - 0xa4c]
push dword [ebp - 0xa3c]
cmovae eax, dword [ebp - 0xa4c]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.100035e0
test eax, eax
jns 0x10009e51
mov edi, dword [edi + 8]
jmp 0x10009e55
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10009e20
mov edi, dword [ebp - 0xa74]
cmp esi, dword [edi]
je 0x10009e8c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x10009e73
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0xa3c]
lea ecx, [ebp - 0xa4c]
push 0
call fcn.100035e0
test eax, eax
jns 0x10009ec2
lea eax, [ebp - 0xa4c]
push ecx
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa7c]
push eax
push ecx
mov ecx, edi
call fcn.1000d2d0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xa78]
push eax
call fcn.1000d390
mov esi, dword [ebp - 0xa78]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0xa68]
cmp ecx, eax
je 0x10009ed9
push 0xffffffffffffffff
push 0
push eax
call fcn.10001d60
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009ee2
mov esi, dword [ebp - 0xa6c]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
add esi, eax
cmp dword [ebp - 0xa54], 8
mov dword [ebp - 0xa6c], esi
jb 0x10009f16
push dword [ebp - 0xa68]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0xa54], 7
cmp dword [ebp - 0xa38], 8
mov dword [ebp - 0xa58], 0
mov word [ebp - 0xa68], ax
jb 0x10009f47
push dword [ebp - 0xa4c]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa20], 8
mov dword [ebp - 0xa38], 7
mov dword [ebp - 0xa3c], 0
mov word [ebp - 0xa4c], ax
jb 0x10009f7f
push dword [ebp - 0xa34]
call ebx
add esp, 4
cmp esi, dword [ebp - 0xa70]
jl 0x10009bf0
jmp 0x10009fa1
cmp dword [ebp - 0xa20], 8
jb 0x10009fa1
push dword [ebp - 0xa34]
call ebx
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1010a06b
mov esp, ebp
pop ebp
ret 4