Function at 0x10d3829
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 [0x111124c]
mov edi, 0x100ffa4
cmp eax, 0x111124c
je 0x10d385f
test byte [eax + 0x1c], 1
je 0x10d385f
cmp byte [eax + 0x19], 4
jb 0x10d385f
push edi
push 0x41
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10d387a
push 0x1002618
push 0x552
push 0x100ffb4
call fcn.0107b4be
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 0x10d3989
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10d394c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d3ad2
test byte [eax + 0x1c], 1
je 0x10d3ab1
cmp byte [eax + 0x19], 2
jb 0x10d3ab1
push dword [ebp - 4]
push edi
push 0x42
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
jmp 0x10d3aac
mov eax, dword [0x111124c]
test dword [ebp - 8], ebx
je 0x10d39cd
cmp eax, 0x111124c
je 0x10d39bd
test byte [eax + 0x1c], 1
je 0x10d39bd
cmp byte [eax + 0x19], 5
jb 0x10d39bd
push dword [ebp + esi*4 - 0x68]
push edi
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
mov eax, dword [0x111124c]
shl dword [ebp - 8], 1
inc esi
cmp esi, 0x18
jb 0x10d398e
mov ebx, 0x111124c
jmp 0x10d39f9
mov ebx, 0x111124c
cmp eax, ebx
je 0x10d39f9
test byte [eax + 0x1c], 1
je 0x10d39f9
cmp byte [eax + 0x19], 4
jb 0x10d39f9
push dword [ebp + esi*4 - 0x68]
push edi
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
mov eax, dword [0x111124c]
cmp esi, 0x18
jne 0x10d3a30
cmp eax, ebx
je 0x10d3a24
test byte [eax + 0x1c], 1
je 0x10d3a24
cmp byte [eax + 0x19], 4
jb 0x10d3a24
push dword [ebp + 8]
push edi
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
mov eax, dword [0x111124c]
mov dword [ebp - 4], 1
jmp 0x10d3ab1
push dword [ebp + 8]
mov esi, dword [ebp + esi*4 - 0x68]
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
jne 0x10d3a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10d3a56
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10d3ad2
test byte [eax + 0x1c], 1
je 0x10d3ab1
cmp byte [eax + 0x19], 2
jb 0x10d3ab1
push dword [ebp - 4]
push dword [ebp + 8]
push esi
push edi
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019a40
jmp 0x10d3aac
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10d3ad2
test byte [eax + 0x1c], 1
je 0x10d3ab1
cmp byte [eax + 0x19], 4
jb 0x10d3ab1
push dword [ebp + 8]
push esi
push edi
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019979
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10d3ad2
test byte [eax + 0x1c], 1
je 0x10d3ad2
cmp byte [eax + 0x19], 4
jb 0x10d3ad2
push edi
push 0x48
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4