Function at 0x10007d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dea11
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x10115034]
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 0x100081a1
mov dword [ebp - 0xa6c], 0
jle 0x100081a1
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0xa50], 0x5c
jmp 0x10007df0
xor eax, eax
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], ax
cmp word [ebp - 0xa1c], ax
jne 0x10007e1a
xor ecx, ecx
jmp 0x10007e32
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007e23
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0xa1c]
push eax
lea ecx, [ebp - 0xa34]
call fcn.10001df0
push 1
push 0
lea eax, [ebp - 0xa50]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xa34]
call fcn.10005890
cmp eax, 0xffffffff
je 0x10007f2a
push eax
push 0
lea eax, [ebp - 0xa94]
push eax
lea ecx, [ebp - 0xa34]
call fcn.1000c110
mov esi, eax
lea eax, [ebp - 0xa34]
cmp eax, esi
je 0x10007f16
cmp dword [ebp - 0xa20], 8
jb 0x10007ea4
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 0x10007ee3
mov eax, dword [esi + 0x10]
inc eax
je 0x10007ef1
add eax, eax
push eax
lea eax, [ebp - 0xa34]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x10007ef1
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 0x10007f2a
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 0x1000818d
xor eax, eax
mov dword [ebp - 0xa38], 7
mov dword [ebp - 0xa3c], 0
mov word [ebp - 0xa4c], ax
cmp word [ebp - 0x21c], ax
jne 0x10007fa1
xor ecx, ecx
jmp 0x10007fbf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007fb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xa4c]
call fcn.10001df0
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.10001a60
mov byte [ebp - 4], 2
mov esi, dword [edi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x1000805b
jmp 0x10008020
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.100063b0
test eax, eax
jns 0x10008051
mov edi, dword [edi + 8]
jmp 0x10008055
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10008020
mov edi, dword [ebp - 0xa74]
cmp esi, dword [edi]
je 0x1000808c
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x10008073
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0xa3c]
lea ecx, [ebp - 0xa4c]
push 0
call fcn.100063b0
test eax, eax
jns 0x100080c2
lea eax, [ebp - 0xa4c]
push ecx
mov dword [ebp - 0xa7c], eax
lea eax, [ebp - 0xa7c]
push eax
push ecx
mov ecx, edi
call fcn.1000b5f0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xa78]
push eax
call fcn.1000b6b0
mov esi, dword [ebp - 0xa78]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0xa68]
cmp ecx, eax
je 0x100080d9
push 0xffffffffffffffff
push 0
push eax
call fcn.10001a60
lea ecx, [ebp - 0xa1c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100080e2
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 0x10008116
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 0x10008147
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 0x1000817f
push dword [ebp - 0xa34]
call ebx
add esp, 4
cmp esi, dword [ebp - 0xa70]
jl 0x10007df0
jmp 0x100081a1
cmp dword [ebp - 0xa20], 8
jb 0x100081a1
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.100dc8fb
mov esp, ebp
pop ebp
ret 4