Function at 0x100b690
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push 0x100178c
mov edi, ecx
xor esi, esi
call fcn.01009447
test al, al
je 0x100b9f4
mov eax, dword [edi + 0x28]
xor ecx, ecx
cmp eax, esi
je 0x100b6bf
cmp word [eax], si
setne cl
test cl, cl
je 0x100b9f4
push ebx
push dword [edi + 0x28]
call fcn.0100ee92
mov ebx, eax
test ebx, ebx
je 0x100b825
push 0x1002100
push ebx
call fcn.010086e0
test al, al
jne 0x100b6fc
push 0x10020f8
push ebx
call fcn.010086e0
test al, al
je 0x100b825
lea ecx, [ebp - 0x14]
call fcn.01008724
mov eax, dword [edi + 0x28]
mov bx, word [eax]
cmp bx, 0x5c
jne 0x100b713
push 0x42
pop ebx
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.01009358
mov esi, eax
test esi, esi
jl 0x100b81d
push 0x1001720
mov ecx, edi
call fcn.0100b5ce
mov esi, eax
test esi, esi
jl 0x100b81d
lea ecx, [ebp - 0x2c]
call fcn.01008724
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, edi
call fcn.0100b441
mov esi, eax
test esi, esi
jl 0x100b815
push 4
push 0x10020ec
lea ecx, [ebp - 0x14]
or esi, 0xffffffff
call fcn.010088e3
test eax, eax
jne 0x100b7b5
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 0x100b7b5
lea ecx, [ebp - 0x38]
call fcn.01008724
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
add eax, 8
push eax
lea ecx, [ebp - 0x38]
call fcn.01008d0e
test eax, eax
jl 0x100b7ad
lea ecx, [ebp - 0x38]
call fcn.010089f0
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.01008cba
lea ecx, [ebp - 0x20]
call fcn.01008724
cmp esi, 0xffffffff
push dword [ebp - 0x2c]
movzx eax, bx
je 0x100b7e2
push esi
push eax
push 0x10017e0
lea eax, [ebp - 0x20]
push 0x10020b8
push eax
call fcn.01008fc8
add esp, 0x18
jmp 0x100b7f9
push eax
push 0x10017e0
lea eax, [ebp - 0x20]
push 0x100208c
push eax
call fcn.01008fc8
add esp, 0x14
mov esi, eax
test esi, esi
jl 0x100b80d
push dword [ebp - 0x20]
mov ecx, edi
push 1
call fcn.0100b4f7
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.01008cba
lea ecx, [ebp - 0x2c]
call fcn.01008cba
lea ecx, [ebp - 0x14]
jmp 0x100b9ee
mov ecx, edi
call fcn.01009c61
cmp eax, 4
jne 0x100b979
push dword [edi + 0x28]
call fcn.0100e4b6
test al, al
je 0x100b979
lea ecx, [ebp - 0x20]
call fcn.01008724
lea ecx, [ebp - 0x14]
call fcn.01008724
mov eax, dword [edi + 0x28]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.01008d0e
mov esi, eax
test esi, esi
jl 0x100b96c
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.01008cc4
mov esi, eax
test esi, esi
jl 0x100b96c
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x100b8c8
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.01008cc4
mov esi, eax
test esi, esi
jl 0x100b96c
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jle 0x100b8fc
jmp 0x100b909
test eax, eax
je 0x100b945
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 0x100b915
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x100b8f1
push 0x57
pop eax
test eax, eax
jg 0x100b900
call esi
test eax, eax
jne 0x100b8fc
push 0x57
pop eax
mov esi, eax
jmp 0x100b945
call esi
test eax, eax
jne 0x100b909
push 0x57
pop eax
and eax, 0xffff
or eax, 0x80070000
jmp 0x100b8fc
push 0x100207c
lea ecx, [ebp - 0x14]
call fcn.01008847
test eax, eax
jne 0x100b940
mov eax, dword [ebp - 0x14]
add eax, 0xe
push eax
lea eax, [ebp - 0x14]
push 0x1002074
push eax
call fcn.01008fc8
add esp, 0xc
jmp 0x100b8fc
mov esi, 0xc00d1327
test esi, esi
jl 0x100b96c
mov eax, dword [edi + 0x28]
push 0xffffffffffffffff
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.01008dbb
mov esi, eax
test esi, esi
jl 0x100b96c
push dword [ebp - 0x14]
mov ecx, edi
call fcn.0100a80c
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.01008cba
lea ecx, [ebp - 0x20]
jmp 0x100b9ee
test ebx, ebx
je 0x100b9f3
push 0x100206c
push ebx
call fcn.010086e0
test al, al
je 0x100b9f3
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov ecx, edi
call fcn.010095a2
mov esi, eax
test esi, esi
jl 0x100b9f3
push 0xffffffffffffffff
push 0x10017b8
lea ecx, [edi + 0x1c]
call fcn.01008d0e
mov esi, eax
test esi, esi
jl 0x100b9f3
lea ecx, [ebp - 0x38]
call fcn.01008724
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 8]
push 0x1002060
push eax
call fcn.01008fc8
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x100b9eb
push dword [ebp - 0x38]
mov ecx, edi
call fcn.0100a80c
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.01008cba
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret