Function at 0x10d8517
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x111127c]
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 [0x111124c]
mov ebx, 0x10103e0
cmp eax, 0x111124c
je 0x10d856a
test byte [eax + 0x1c], 1
je 0x10d856a
cmp byte [eax + 0x19], 4
jb 0x10d856a
push ebx
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
test edi, edi
jne 0x10d8582
push 0x10105d4
push 0x890
push 0x10103f0
call fcn.0107b4be
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.0107c80d
push eax
push 0x10105c0
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01025c69
add esp, 0x10
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d8635
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d8751
test byte [eax + 0x1c], 1
je 0x10d8751
cmp byte [eax + 0x19], 2
jb 0x10d8751
push dword [ebp - 0x630]
push ebx
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x10d874c
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 0x10d86ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10d8662
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x630], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d8751
test byte [eax + 0x1c], 1
je 0x10d8751
cmp byte [eax + 0x19], 2
jb 0x10d8751
push dword [ebp - 0x630]
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
jmp 0x10d874c
lea eax, [ebp - 0x61c]
push eax
push 0x101059c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01025c69
add esp, 0x10
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d86f8
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d8751
test byte [eax + 0x1c], 1
je 0x10d8751
cmp byte [eax + 0x19], 2
jb 0x10d8751
push dword [ebp - 0x630]
push ebx
push 0x45
jmp 0x10d8625
push 0
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0107c871
mov dword [ebp - 0x630], eax
test eax, eax
jge 0x10d873d
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d8751
test byte [eax + 0x1c], 1
je 0x10d8751
cmp byte [eax + 0x19], 2
jb 0x10d8751
push dword [ebp - 0x630]
push ebx
push 0x46
jmp 0x10d8625
mov eax, dword [ebp - 0x634]
and dword [ebp - 0x634], 0
mov dword [edi], eax
mov eax, dword [0x111124c]
cmp dword [ebp - 0x634], 0
je 0x10d8772
push dword [ebp - 0x634]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [ebp - 0x634], 0
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d8793
test byte [eax + 0x1c], 1
je 0x10d8793
cmp byte [eax + 0x19], 4
jb 0x10d8793
push ebx
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x630]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0106f5f8
leave
ret 0x14