Function at 0x1069915
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.01067664
test al, al
je 0x1069ca7
lea edi, [ebx + 0x28]
mov eax, dword [edi]
xor ecx, ecx
test eax, eax
je 0x106994a
cmp word [eax], cx
setne cl
test cl, cl
je 0x1069ca7
push eax
call fcn.0106f0c1
mov dword [ebp - 4], eax
test eax, eax
je 0x1069af3
push 0x1010fec
push eax
call fcn.0106d666
test al, al
jne 0x1069987
push 0x1010fe4
push dword [ebp - 4]
call fcn.0106d666
test al, al
je 0x1069af3
push edi
lea ecx, [ebp - 0x44]
call fcn.0106e42e
lea ecx, [ebp - 0x20]
call fcn.0106d6aa
mov eax, dword [edi]
movzx edi, word [eax]
push 0x5c
pop eax
cmp ax, di
jne 0x10699a8
push 0x42
pop edi
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.0106746d
mov esi, eax
test esi, esi
jl 0x1069ae6
push 0x1001e44
mov ecx, ebx
call fcn.01069283
mov esi, eax
test esi, esi
jl 0x1069ae6
lea ecx, [ebp - 0x14]
call fcn.0106d6aa
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, ebx
call fcn.010691d0
mov esi, eax
test esi, esi
jl 0x1069ade
push dword [ebp - 0x14]
call fcn.01067962
test eax, eax
je 0x1069a27
push dword [ebp - 0x44]
mov ecx, ebx
call fcn.0106865c
lea ecx, [ebp - 0x14]
call fcn.0106de2a
lea ecx, [ebp - 0x20]
call fcn.0106de2a
lea ecx, [ebp - 0x44]
call fcn.0106de2a
xor eax, eax
jmp 0x1069ca9
push 4
push 0x1010fd8
lea ecx, [ebp - 0x20]
or esi, 0xffffffff
call fcn.0106d955
test eax, eax
jne 0x1069a7e
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 0x1069a7e
lea ecx, [ebp - 0x38]
call fcn.0106d6aa
mov eax, dword [ebp - 0x20]
add eax, 8
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.0106de7c
test eax, eax
jl 0x1069a76
lea ecx, [ebp - 0x38]
call fcn.0106da0a
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.0106de2a
lea ecx, [ebp - 0x2c]
call fcn.0106d6aa
push dword [ebp - 0x14]
movzx eax, di
cmp esi, 0xffffffff
je 0x1069aab
push esi
push eax
push 0x1010af8
lea eax, [ebp - 0x2c]
push 0x1010fa4
push eax
call fcn.0106e1fe
add esp, 0x18
jmp 0x1069ac2
push eax
push 0x1010af8
lea eax, [ebp - 0x2c]
push 0x1010f78
push eax
call fcn.0106e1fe
add esp, 0x14
mov esi, eax
test esi, esi
jl 0x1069ad6
push dword [ebp - 0x2c]
mov ecx, ebx
push 1
call fcn.0106983e
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.0106de2a
lea ecx, [ebp - 0x14]
call fcn.0106de2a
lea ecx, [ebp - 0x20]
call fcn.0106de2a
jmp 0x1069c9f
mov ecx, ebx
call fcn.010684f7
cmp eax, 4
jne 0x1069c2b
push dword [edi]
call fcn.0106e699
test al, al
je 0x1069c2b
lea ecx, [ebp - 0x20]
call fcn.0106d6aa
lea ecx, [ebp - 0x14]
call fcn.0106d6aa
mov eax, dword [edi]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.0106de7c
mov esi, eax
test esi, esi
jl 0x1069c1e
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0106de34
mov esi, eax
test esi, esi
jl 0x1069c1e
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
cmp eax, 0xea
jne 0x1069b90
push dword [ebp - 4]
lea ecx, [ebp - 0x14]
call fcn.0106de34
mov esi, eax
test esi, esi
jl 0x1069c1e
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call sub.MPR.dll_WNetGetConnectionW
jmp 0x1069bb5
test eax, eax
je 0x1069bf7
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 0x1069bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1069bb7
push 0x57
pop eax
test eax, eax
jle 0x1069bee
and eax, 0xffff
or eax, 0x80070000
jmp 0x1069bee
push 0x1010f68
lea ecx, [ebp - 0x14]
call fcn.0106d81f
test eax, eax
jne 0x1069bf2
mov eax, dword [ebp - 0x14]
add eax, 0xe
push eax
lea eax, [ebp - 0x14]
push 0x100dcf0
push eax
call fcn.0106e1fe
add esp, 0xc
mov esi, eax
jmp 0x1069bf7
mov esi, 0xc00d1327
test esi, esi
jl 0x1069c1e
mov eax, dword [edi]
add eax, 4
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x14]
call fcn.0106e051
mov esi, eax
test esi, esi
jl 0x1069c1e
push dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
call fcn.0106865c
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.0106de2a
lea ecx, [ebp - 0x20]
jmp 0x1069ca2
cmp dword [ebp - 4], esi
je 0x1069ca7
push 0x1010f60
push dword [ebp - 4]
call fcn.0106d666
test al, al
je 0x1069ca7
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.01066f40
mov esi, eax
test esi, esi
jl 0x1069ca7
push 0xffffffffffffffff
push 0x1010ad0
lea ecx, [ebx + 0x1c]
call fcn.0106de7c
mov esi, eax
test esi, esi
jl 0x1069ca7
lea ecx, [ebp - 0x44]
call fcn.0106d6aa
push dword [ebp - 8]
lea eax, [ebp - 0x44]
push dword [ebp - 4]
push 0x1010f54
push eax
call fcn.0106e1fe
mov esi, eax
add esp, 0x10
test esi, esi
jl 0x1069c9f
push dword [ebp - 0x44]
mov ecx, ebx
call fcn.0106865c
mov esi, eax
lea ecx, [ebp - 0x44]
call fcn.0106de2a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret