Function at 0x10d378f
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x111024c]
mov edi, 0x100ffa4
cmp eax, 0x111024c
je 0x10d37c5
test byte [eax + 0x1c], 1
je 0x10d37c5
cmp byte [eax + 0x19], 4
jb 0x10d37c5
push edi
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10d37e0
push 0x1002618
push 0x552
push 0x100ffb4
call fcn.0107b644
mov dword [ebp - 4], esi
mov dword [ebp - 8], 4
mov dword [ebp - 0x68], 0x10100d4
mov dword [ebp - 0x64], 0x10100cc
mov dword [ebp - 0x60], 0x10100c4
mov dword [ebp - 0x5c], 0x10100bc
mov dword [ebp - 0x58], 0x10100b4
mov dword [ebp - 0x54], 0x10100ac
mov dword [ebp - 0x50], 0x10100a4
mov dword [ebp - 0x4c], 0x101009c
mov dword [ebp - 0x48], 0x1010094
mov dword [ebp - 0x44], 0x101008c
mov dword [ebp - 0x40], 0x1010084
mov dword [ebp - 0x3c], 0x101007c
mov dword [ebp - 0x38], 0x1010074
mov dword [ebp - 0x34], 0x101006c
mov dword [ebp - 0x30], 0x1010064
mov dword [ebp - 0x2c], 0x101005c
mov dword [ebp - 0x28], 0x1010054
mov dword [ebp - 0x24], 0x101004c
mov dword [ebp - 0x20], 0x1010044
mov dword [ebp - 0x1c], 0x101003c
mov dword [ebp - 0x18], 0x1010034
mov dword [ebp - 0x14], 0x101002c
mov dword [ebp - 0x10], 0x1010024
mov dword [ebp - 0xc], 0x101001c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
cmp ebx, esi
jne 0x10d38ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10d38b2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d3a38
test byte [eax + 0x1c], 1
je 0x10d3a17
cmp byte [eax + 0x19], 2
jb 0x10d3a17
push dword [ebp - 4]
push edi
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
jmp 0x10d3a12
mov eax, dword [0x111024c]
test dword [ebp - 8], ebx
je 0x10d3933
cmp eax, 0x111024c
je 0x10d3923
test byte [eax + 0x1c], 1
je 0x10d3923
cmp byte [eax + 0x19], 5
jb 0x10d3923
push dword [ebp + esi*4 - 0x68]
push edi
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [0x111024c]
shl dword [ebp - 8], 1
inc esi
cmp esi, 0x18
jb 0x10d38f4
mov ebx, 0x111024c
jmp 0x10d395f
mov ebx, 0x111024c
cmp eax, ebx
je 0x10d395f
test byte [eax + 0x1c], 1
je 0x10d395f
cmp byte [eax + 0x19], 4
jb 0x10d395f
push dword [ebp + esi*4 - 0x68]
push edi
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [0x111024c]
cmp esi, 0x18
jne 0x10d3996
cmp eax, ebx
je 0x10d398a
test byte [eax + 0x1c], 1
je 0x10d398a
cmp byte [eax + 0x19], 4
jb 0x10d398a
push dword [ebp + 8]
push edi
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
mov eax, dword [0x111024c]
mov dword [ebp - 4], 1
jmp 0x10d3a17
push dword [ebp + 8]
mov esi, dword [ebp + esi*4 - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x10d39eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10d39bc
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10d3a38
test byte [eax + 0x1c], 1
je 0x10d3a17
cmp byte [eax + 0x19], 2
jb 0x10d3a17
push dword [ebp - 4]
push dword [ebp + 8]
push esi
push edi
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010198ad
jmp 0x10d3a12
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10d3a38
test byte [eax + 0x1c], 1
je 0x10d3a17
cmp byte [eax + 0x19], 4
jb 0x10d3a17
push dword [ebp + 8]
push esi
push edi
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010197e6
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10d3a38
test byte [eax + 0x1c], 1
je 0x10d3a38
cmp byte [eax + 0x19], 4
jb 0x10d3a38
push edi
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4