Function at 0x100096d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ee0a1
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x1012d034]
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 0x10009b21
mov dword [ebp - 0xa6c], 0
jle 0x10009b21
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xa50], 0x5c
jmp 0x10009770
xor eax, eax
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], ax
cmp word [ebp - 0xa1c], ax
jne 0x1000979a
xor ecx, ecx
jmp 0x100097b2
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100097a3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa34]
call fcn.10001e10
push 1
push 0
lea eax, [ebp - 0xa50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xa34]
call fcn.10006d30
cmp eax, 0xffffffff
je 0x100098aa
push eax
push 0
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa34]
call fcn.1000da60
mov esi, eax
lea eax, [ebp - 0xa34]
cmp eax, esi
je 0x10009896
cmp dword [ebp - 0xa20], 8
jb 0x10009824
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 0x10009863
mov eax, dword [esi + 0x10]
inc eax
je 0x10009871
add eax, eax
push eax
lea eax, [ebp - 0xa34]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10009871
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 0x100098aa
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 0x10009b0d
xor eax, eax
mov dword [ebp - 0xa38], 7
mov dword [ebp - 0xa3c], 0
mov word [ebp - 0xa4c], ax
cmp word [ebp - 0x21c], ax
jne 0x10009921
xor ecx, ecx
jmp 0x1000993f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009930
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xa4c]
call fcn.10001e10
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.10001a70
mov byte [ebp - 4], 2
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x100099db
jmp 0x100099a0
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.100032d0
test eax, eax
jns 0x100099d1
mov edi, dword [edi + 8]
jmp 0x100099d5
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100099a0
mov edi, dword [ebp - 0xa74]
cmp esi, dword [edi]
je 0x10009a0c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x100099f3
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0xa3c]
lea ecx, [ebp - 0xa4c]
push 0
call fcn.100032d0
test eax, eax
jns 0x10009a42
lea eax, [ebp - 0xa4c]
push ecx
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa7c]
push eax
push ecx
mov ecx, edi
call fcn.1000cf40
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xa78]
push eax
call fcn.1000d000
mov esi, dword [ebp - 0xa78]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0xa68]
cmp ecx, eax
je 0x10009a59
push 0xffffffffffffffff
push 0
push eax
call fcn.10001a70
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009a62
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 0x10009a96
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 0x10009ac7
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 0x10009aff
push dword [ebp - 0xa34]
call ebx
add esp, 4
cmp esi, dword [ebp - 0xa70]
jl 0x10009770
jmp 0x10009b21
cmp dword [ebp - 0xa20], 8
jb 0x10009b21
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.100ebd7b
mov esp, ebp
pop ebp
ret 4