Function at 0x1067ce8
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ebx, 0x1010a98
push ebx
mov dword [ebp - 0x18], edi
call fcn.01067664
test al, al
jne 0x1067d2b
push 0x1010b08
mov ecx, edi
call fcn.01067664
mov dword [ebp - 0x14], 0x800
test al, al
je 0x1067d32
mov dword [ebp - 0x14], 0x104
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067d37
sub eax, edx
sar eax, 1
cmp eax, dword [ebp - 0x14]
jae 0x1068063
push dword [edi + 0x1c]
call fcn.0106e615
mov ecx, dword [ebp - 0x18]
movzx edi, ax
push 0x2e
pop eax
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], ax
xor eax, eax
push ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x10], di
mov word [ebp - 0xa], di
mov word [ebp - 8], ax
call fcn.01067664
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
test al, al
je 0x1067e37
mov ecx, 0x1009f84
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1067db9
test dx, dx
je 0x1067db5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1067db9
add eax, 4
add ecx, 4
test dx, dx
jne 0x1067d93
xor eax, eax
jmp 0x1067dbe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1067e2d
push 3
lea eax, [ebp - 0xe]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1067e2d
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x1067e2d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067de8
sub eax, edx
sar eax, 1
cmp eax, 3
jb 0x1067e26
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067e00
sub eax, edx
sar eax, 1
push 3
lea ecx, [ebp - 0x10]
push ecx
lea eax, [esi + eax*2 - 6]
push eax
call ebx
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x1067e29
xor eax, eax
inc eax
test eax, eax
jne 0x1067e37
mov ebx, 0xc00d132b
jmp 0x1068068
mov ecx, dword [ebp - 0x18]
push 0x1010a98
call fcn.01067664
test al, al
je 0x1067e6d
push esi
call fcn.0106eb18
test al, al
je 0x1067ea2
push 4
push 0x1010d78
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1067ea2
add esi, 4
xor ebx, ebx
jmp 0x106804f
mov ebx, dword [ebp - 0x18]
push 0x1010ad0
mov ecx, ebx
call fcn.01067664
test al, al
je 0x1067ed0
mov ebx, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x1067e8a
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x1067e88
movzx eax, word [esi]
cmp ax, di
je 0x1067eac
test ax, ax
je 0x1067ebe
mov ebx, 0xc00d1327
jmp 0x1068068
test ax, ax
je 0x1067ebe
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x1067eb1
movzx ebx, word [esi]
neg ebx
sbb ebx, ebx
and ebx, 0xc00d1327
jmp 0x106804b
push 0x1010ac8
mov ecx, ebx
call fcn.01067664
test al, al
jne 0x1067e66
push 0x1010af8
mov ecx, ebx
call fcn.01067664
test al, al
je 0x1067f63
movzx eax, word [esi]
mov ebx, 0xc00d1327
cmp ax, 0x41
jb 0x1067f04
cmp ax, 0x5a
jbe 0x1067f18
cmp ax, 0x61
jb 0x1068068
cmp ax, 0x7a
ja 0x1068068
movzx eax, word [esi + 2]
cmp ax, di
jne 0x1067f5e
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
add esi, 4
jmp 0x1067f2e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x1067f2c
movzx eax, word [esi]
cmp ax, word [ebp - 0x14]
jne 0x1067f5e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x1067f42
cmp word [esi], 0
jne 0x1068068
jmp 0x1067e66
test ax, ax
jmp 0x1067f53
push 0x1010b08
mov ecx, ebx
call fcn.01067664
test al, al
je 0x1067fff
lea ecx, [ebp - 0x30]
mov ebx, 0xc00d1327
call fcn.0106d6aa
push 3
push esi
lea ecx, [ebp - 0x30]
call fcn.0106de7c
test eax, eax
jl 0x1067ff5
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x1067ff5
mov edi, 0x100efb8
push edi
lea ecx, [ebp - 0x3c]
call fcn.0106e3b5
push esi
lea ecx, [ebp - 0x24]
call fcn.0106e3b5
lea ecx, [ebp - 0x3c]
call fcn.0106d775
add eax, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.0106d775
cmp eax, dword [ebp - 0x14]
jne 0x1067fe5
push 2
push edi
lea ecx, [ebp - 0x24]
call fcn.0106d8d8
cmp eax, 2
jne 0x1067fe5
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.0106de2a
lea ecx, [ebp - 0x3c]
call fcn.0106de2a
lea ecx, [ebp - 0x30]
call fcn.0106de2a
jmp 0x106804b
push 0x1010b44
mov ecx, ebx
call fcn.01067664
test al, al
jne 0x106802d
push 0x1010b64
mov ecx, ebx
call fcn.01067664
test al, al
jne 0x106802d
cmp word [esi], di
jne 0x1067ea2
jmp 0x1067e66
push 4
push 0x1010d6c
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x1067e66
mov ebx, 0xc00d1327
test ebx, ebx
jl 0x1068068
mov ecx, dword [ebp - 0x18]
push esi
call fcn.01067c5e
test eax, eax
je 0x1068068
mov ebx, 0xc00d1325
jmp 0x1068068
mov ebx, 0xc00d1331
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01047480
leave
ret 4