Function at 0x100b87e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x1001794
mov edi, ecx
xor esi, esi
call fcn.01009627
test al, al
je 0x100bbe2
mov eax, dword [edi + 0x28]
xor ecx, ecx
cmp eax, esi
je 0x100b8ad
cmp word [eax], si
setne cl
test cl, cl
je 0x100bbe2
push ebx
push dword [edi + 0x28]
call fcn.0100f082
mov ebx, eax
test ebx, ebx
je 0x100ba13
push 0x1002108
push ebx
call fcn.010088c0
test al, al
jne 0x100b8ea
push 0x1002100
push ebx
call fcn.010088c0
test al, al
je 0x100ba13
lea ecx, [ebp - 0x14]
call fcn.01008904
mov eax, dword [edi + 0x28]
mov bx, word [eax]
cmp bx, 0x5c
jne 0x100b901
push 0x42
pop ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.01009538
mov esi, eax
test esi, esi
jl 0x100ba0b
push 0x1001728
mov ecx, edi
call fcn.0100b7bc
mov esi, eax
test esi, esi
jl 0x100ba0b
lea ecx, [ebp - 0x2c]
call fcn.01008904
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, edi
call fcn.0100b621
mov esi, eax
test esi, esi
jl 0x100ba03
push 4
push 0x10020f4
lea ecx, [ebp - 0x14]
or esi, 0xffffffff
call fcn.01008ac3
test eax, eax
jne 0x100b9a3
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.msvcrt.dll_iswdigit]
test eax, eax
pop ecx
je 0x100b9a3
lea ecx, [ebp - 0x38]
call fcn.01008904
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
add eax, 8
push eax
lea ecx, [ebp - 0x38]
call fcn.01008eee
test eax, eax
jl 0x100b99b
lea ecx, [ebp - 0x38]
call fcn.01008bd0
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.01008e9a
lea ecx, [ebp - 0x20]
call fcn.01008904
cmp esi, 0xffffffff
push dword [ebp - 0x2c]
movzx eax, bx
je 0x100b9d0
push esi
push eax
push 0x10017e8
lea eax, [ebp - 0x20]
push 0x10020c0
push eax
call fcn.010091a8
add esp, 0x18
jmp 0x100b9e7
push eax
push 0x10017e8
lea eax, [ebp - 0x20]
push 0x1002094
push eax
call fcn.010091a8
add esp, 0x14
mov esi, eax
test esi, esi
jl 0x100b9fb
push dword [ebp - 0x20]
mov ecx, edi
push 1
call fcn.0100b6d7
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.01008e9a
lea ecx, [ebp - 0x2c]
call fcn.01008e9a
lea ecx, [ebp - 0x14]
jmp 0x100bbdc
mov ecx, edi
call fcn.01009e41
cmp eax, 4
jne 0x100bb67
push dword [edi + 0x28]
call fcn.0100e6a6
test al, al
je 0x100bb67
lea ecx, [ebp - 0x20]
call fcn.01008904
lea ecx, [ebp - 0x14]
call fcn.01008904
mov eax, dword [edi + 0x28]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.01008eee
mov esi, eax
test esi, esi
jl 0x100bb5a
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.01008ea4
mov esi, eax
test esi, esi
jl 0x100bb5a
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x100bab6
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.01008ea4
mov esi, eax
test esi, esi
jl 0x100bb5a
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jle 0x100baea
jmp 0x100baf7
test eax, eax
je 0x100bb33
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 4], ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x100bb03
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x100badf
push 0x57
pop eax
test eax, eax
jg 0x100baee
call esi
test eax, eax
jne 0x100baea
push 0x57
pop eax
mov esi, eax
jmp 0x100bb33
call esi
test eax, eax
jne 0x100baf7
push 0x57
pop eax
and eax, 0xffff
or eax, 0x80070000
jmp 0x100baea
push 0x1002084
lea ecx, [ebp - 0x14]
call fcn.01008a27
test eax, eax
jne 0x100bb2e
mov eax, dword [ebp - 0x14]
add eax, 0xe
push eax
lea eax, [ebp - 0x14]
push 0x100207c
push eax
call fcn.010091a8
add esp, 0xc
jmp 0x100baea
mov esi, 0xc00d1327
test esi, esi
jl 0x100bb5a
mov eax, dword [edi + 0x28]
push 0xffffffffffffffff
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.01008f9b
mov esi, eax
test esi, esi
jl 0x100bb5a
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0100a9ec
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.01008e9a
lea ecx, [ebp - 0x20]
jmp 0x100bbdc
test ebx, ebx
je 0x100bbe1
push 0x1002074
push ebx
call fcn.010088c0
test al, al
je 0x100bbe1
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.01009782
mov esi, eax
test esi, esi
jl 0x100bbe1
push 0xffffffffffffffff
push 0x10017c0
lea ecx, [edi + 0x1c]
call fcn.01008eee
mov esi, eax
test esi, esi
jl 0x100bbe1
lea ecx, [ebp - 0x38]
call fcn.01008904
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 8]
push 0x1002068
push eax
call fcn.010091a8
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x100bbd9
push dword [ebp - 0x38]
mov ecx, edi
call fcn.0100a9ec
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.01008e9a
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret