Function at 0x1067cc8
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.01067646
test al, al
jne 0x1067d0b
push 0x1010b08
mov ecx, edi
call fcn.01067646
mov dword [ebp - 0x14], 0x800
test al, al
je 0x1067d12
mov dword [ebp - 0x14], 0x104
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067d17
sub eax, edx
sar eax, 1
cmp eax, dword [ebp - 0x14]
jae 0x1068043
push dword [edi + 0x1c]
call fcn.0106e5f5
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.01067646
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
test al, al
je 0x1067e17
mov ecx, 0x1009f84
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1067d99
test dx, dx
je 0x1067d95
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1067d99
add eax, 4
add ecx, 4
test dx, dx
jne 0x1067d73
xor eax, eax
jmp 0x1067d9e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1067e0d
push 3
lea eax, [ebp - 0xe]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1067e0d
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x1067e0d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067dc8
sub eax, edx
sar eax, 1
cmp eax, 3
jb 0x1067e06
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1067de0
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 0x1067e09
xor eax, eax
inc eax
test eax, eax
jne 0x1067e17
mov ebx, 0xc00d132b
jmp 0x1068048
mov ecx, dword [ebp - 0x18]
push 0x1010a98
call fcn.01067646
test al, al
je 0x1067e4d
push esi
call fcn.0106eaf8
test al, al
je 0x1067e82
push 4
push 0x1010d78
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x1067e82
add esi, 4
xor ebx, ebx
jmp 0x106802f
mov ebx, dword [ebp - 0x18]
push 0x1010ad0
mov ecx, ebx
call fcn.01067646
test al, al
je 0x1067eb0
mov ebx, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x1067e6a
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x1067e68
movzx eax, word [esi]
cmp ax, di
je 0x1067e8c
test ax, ax
je 0x1067e9e
mov ebx, 0xc00d1327
jmp 0x1068048
test ax, ax
je 0x1067e9e
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x1067e91
movzx ebx, word [esi]
neg ebx
sbb ebx, ebx
and ebx, 0xc00d1327
jmp 0x106802b
push 0x1010ac8
mov ecx, ebx
call fcn.01067646
test al, al
jne 0x1067e46
push 0x1010af8
mov ecx, ebx
call fcn.01067646
test al, al
je 0x1067f43
movzx eax, word [esi]
mov ebx, 0xc00d1327
cmp ax, 0x41
jb 0x1067ee4
cmp ax, 0x5a
jbe 0x1067ef8
cmp ax, 0x61
jb 0x1068048
cmp ax, 0x7a
ja 0x1068048
movzx eax, word [esi + 2]
cmp ax, di
jne 0x1067f3e
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
add esi, 4
jmp 0x1067f0e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x1067f0c
movzx eax, word [esi]
cmp ax, word [ebp - 0x14]
jne 0x1067f3e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x1067f22
cmp word [esi], 0
jne 0x1068048
jmp 0x1067e46
test ax, ax
jmp 0x1067f33
push 0x1010b08
mov ecx, ebx
call fcn.01067646
test al, al
je 0x1067fdf
lea ecx, [ebp - 0x30]
mov ebx, 0xc00d1327
call fcn.0106d68a
push 3
push esi
lea ecx, [ebp - 0x30]
call fcn.0106de5c
test eax, eax
jl 0x1067fd5
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x1067fd5
mov edi, 0x100efb8
push edi
lea ecx, [ebp - 0x3c]
call fcn.0106e395
push esi
lea ecx, [ebp - 0x24]
call fcn.0106e395
lea ecx, [ebp - 0x3c]
call fcn.0106d755
add eax, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.0106d755
cmp eax, dword [ebp - 0x14]
jne 0x1067fc5
push 2
push edi
lea ecx, [ebp - 0x24]
call fcn.0106d8b8
cmp eax, 2
jne 0x1067fc5
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.0106de0a
lea ecx, [ebp - 0x3c]
call fcn.0106de0a
lea ecx, [ebp - 0x30]
call fcn.0106de0a
jmp 0x106802b
push 0x1010b44
mov ecx, ebx
call fcn.01067646
test al, al
jne 0x106800d
push 0x1010b64
mov ecx, ebx
call fcn.01067646
test al, al
jne 0x106800d
cmp word [esi], di
jne 0x1067e82
jmp 0x1067e46
push 4
push 0x1010d6c
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x1067e46
mov ebx, 0xc00d1327
test ebx, ebx
jl 0x1068048
mov ecx, dword [ebp - 0x18]
push esi
call fcn.01067c40
test eax, eax
je 0x1068048
mov ebx, 0xc00d1325
jmp 0x1068048
mov ebx, 0xc00d1331
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01047464
leave
ret 4