Function at 0x10698f5
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ebx, ecx
push 0x1010a98
mov dword [ebp - 8], ebx
xor esi, esi
call fcn.01067646
test al, al
je 0x1069c87
lea edi, [ebx + 0x28]
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
je 0x106992a
cmp word [eax], cx
setne cl
test cl, cl
je 0x1069c87
push eax
call fcn.0106f0a1
mov dword [ebp - 4], eax
test eax, eax
je 0x1069ad3
push 0x1010fec
push eax
call fcn.0106d646
test al, al
jne 0x1069967
push 0x1010fe4
push dword [ebp - 4]
call fcn.0106d646
test al, al
je 0x1069ad3
push edi
lea ecx, [ebp - 0x44]
call fcn.0106e40e
lea ecx, [ebp - 0x20]
call fcn.0106d68a
mov eax, dword [edi]
movzx edi, word [eax]
push 0x5c
pop eax
cmp ax, di
jne 0x1069988
push 0x42
pop edi
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.0106744f
mov esi, eax
test esi, esi
jl 0x1069ac6
push 0x1001e44
mov ecx, ebx
call fcn.01069263
mov esi, eax
test esi, esi
jl 0x1069ac6
lea ecx, [ebp - 0x14]
call fcn.0106d68a
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, ebx
call fcn.010691b0
mov esi, eax
test esi, esi
jl 0x1069abe
push dword [ebp - 0x14]
call fcn.01067944
test eax, eax
je 0x1069a07
push dword [ebp - 0x44]
mov ecx, ebx
call fcn.0106863c
lea ecx, [ebp - 0x14]
call fcn.0106de0a
lea ecx, [ebp - 0x20]
call fcn.0106de0a
lea ecx, [ebp - 0x44]
call fcn.0106de0a
xor eax, eax
jmp 0x1069c89
push 4
push 0x1010fd8
lea ecx, [ebp - 0x20]
or esi, 0xffffffff
call fcn.0106d935
test eax, eax
jne 0x1069a5e
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 8]
push eax
call dword [sym.imp.msvcrt.dll_iswdigit]
pop ecx
test eax, eax
je 0x1069a5e
lea ecx, [ebp - 0x38]
call fcn.0106d68a
mov eax, dword [ebp - 0x20]
add eax, 8
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.0106de5c
test eax, eax
jl 0x1069a56
lea ecx, [ebp - 0x38]
call fcn.0106d9ea
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.0106de0a
lea ecx, [ebp - 0x2c]
call fcn.0106d68a
push dword [ebp - 0x14]
movzx eax, di
cmp esi, 0xffffffff
je 0x1069a8b
push esi
push eax
push 0x1010af8
lea eax, [ebp - 0x2c]
push 0x1010fa4
push eax
call fcn.0106e1de
add esp, 0x18
jmp 0x1069aa2
push eax
push 0x1010af8
lea eax, [ebp - 0x2c]
push 0x1010f78
push eax
call fcn.0106e1de
add esp, 0x14
mov esi, eax
test esi, esi
jl 0x1069ab6
push dword [ebp - 0x2c]
mov ecx, ebx
push 1
call fcn.0106981e
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.0106de0a
lea ecx, [ebp - 0x14]
call fcn.0106de0a
lea ecx, [ebp - 0x20]
call fcn.0106de0a
jmp 0x1069c7f
mov ecx, ebx
call fcn.010684d7
cmp eax, 4
jne 0x1069c0b
push dword [edi]
call fcn.0106e679
test al, al
je 0x1069c0b
lea ecx, [ebp - 0x20]
call fcn.0106d68a
lea ecx, [ebp - 0x14]
call fcn.0106d68a
mov eax, dword [edi]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.0106de5c
mov esi, eax
test esi, esi
jl 0x1069bfe
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0106de14
mov esi, eax
test esi, esi
jl 0x1069bfe
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x1069b70
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0106de14
mov esi, eax
test esi, esi
jl 0x1069bfe
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
jmp 0x1069b95
test eax, eax
je 0x1069bd7
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 0x1069ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1069b97
push 0x57
pop eax
test eax, eax
jle 0x1069bce
and eax, 0xffff
or eax, 0x80070000
jmp 0x1069bce
push 0x1010f68
lea ecx, [ebp - 0x14]
call fcn.0106d7ff
test eax, eax
jne 0x1069bd2
mov eax, dword [ebp - 0x14]
add eax, 0xe
push eax
lea eax, [ebp - 0x14]
push 0x100dcf0
push eax
call fcn.0106e1de
add esp, 0xc
mov esi, eax
jmp 0x1069bd7
mov esi, 0xc00d1327
test esi, esi
jl 0x1069bfe
mov eax, dword [edi]
add eax, 4
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x14]
call fcn.0106e031
mov esi, eax
test esi, esi
jl 0x1069bfe
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.0106863c
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.0106de0a
lea ecx, [ebp - 0x20]
jmp 0x1069c82
cmp dword [ebp - 4], esi
je 0x1069c87
push 0x1010f60
push dword [ebp - 4]
call fcn.0106d646
test al, al
je 0x1069c87
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.01066f22
mov esi, eax
test esi, esi
jl 0x1069c87
push 0xffffffffffffffff
push 0x1010ad0
lea ecx, [ebx + 0x1c]
call fcn.0106de5c
mov esi, eax
test esi, esi
jl 0x1069c87
lea ecx, [ebp - 0x44]
call fcn.0106d68a
push dword [ebp - 8]
lea eax, [ebp - 0x44]
push dword [ebp - 4]
push 0x1010f54
push eax
call fcn.0106e1de
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x1069c7f
push dword [ebp - 0x44]
mov ecx, ebx
call fcn.0106863c
mov esi, eax
lea ecx, [ebp - 0x44]
call fcn.0106de0a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret