Function at 0x10d8464
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x111027c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp + 8]
lea edi, [ebp - 0x62c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x18]
mov eax, dword [0x111024c]
mov ebx, 0x10103e0
cmp eax, 0x111024c
je 0x10d84b7
test byte [eax + 0x1c], 1
je 0x10d84b7
cmp byte [eax + 0x19], 4
jb 0x10d84b7
push ebx
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
test edi, edi
jne 0x10d84cf
push 0x10105d4
push 0x890
push 0x10103f0
call fcn.0107b644
and dword [edi], 0
mov esi, 0x208
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x61c]
push 0
push eax
call sub.msvcrt.dll_memset
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x634], 0
add esp, 0x24
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x698]
call fcn.0107c998
push eax
push 0x10105c0
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01025c20
add esp, 0x10
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d8582
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d869e
test byte [eax + 0x1c], 1
je 0x10d869e
cmp byte [eax + 0x19], 2
jb 0x10d869e
push dword [ebp - 0x630]
push ebx
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x10d8699
push esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x10d85f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10d85af
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x630], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d869e
test byte [eax + 0x1c], 1
je 0x10d869e
cmp byte [eax + 0x19], 2
jb 0x10d869e
push dword [ebp - 0x630]
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x10d8699
lea eax, [ebp - 0x61c]
push eax
push 0x101059c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01025c20
add esp, 0x10
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d8645
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d869e
test byte [eax + 0x1c], 1
je 0x10d869e
cmp byte [eax + 0x19], 2
jb 0x10d869e
push dword [ebp - 0x630]
push ebx
push 0x45
jmp 0x10d8572
push 0
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0107c9fc
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d868a
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d869e
test byte [eax + 0x1c], 1
je 0x10d869e
cmp byte [eax + 0x19], 2
jb 0x10d869e
push dword [ebp - 0x630]
push ebx
push 0x46
jmp 0x10d8572
mov eax, dword [ebp - 0x634]
and dword [ebp - 0x634], 0
mov dword [edi], eax
mov eax, dword [0x111024c]
cmp dword [ebp - 0x634], 0
je 0x10d86bf
push dword [ebp - 0x634]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x634], 0
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d86e0
test byte [eax + 0x1c], 1
je 0x10d86e0
cmp byte [eax + 0x19], 4
jb 0x10d86e0
push ebx
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x630]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f798
leave
ret 0x14