Function at 0x10067d40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dea9b
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x10], esi
je 0x10067ffa
push 0xffffffffffffffff
push esi
xor eax, eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.10005f30
mov dword [ebp - 4], esi
push 0x2f
lea esi, [ebp - 0x2c]
call fcn.1005f3f0
add esp, 4
push 0x5c
call fcn.1005f3f0
mov ebx, 3
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja case.default.0x10067dda
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10067dca
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x10067dda
jmp dword [eax*4 + 0x10068018]
push 1
push 2
lea ecx, [ebp - 0x368]
call fcn.100042d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push ecx
push ecx
push str.._tmpPath:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea edx, [ebp - 0x368]
push str.return_false._GetLastError:
push edx
call fcn.10007530
add esp, 0xc
mov ecx, eax
call fcn.1005be10
add esp, 4
push eax
call fcn.10007530
add esp, 0xc
push eax
call fcn.1000f0c0
add esp, 8
push str.CFileUtility::IsDirPath
lea ecx, [ebp - 0x48]
call fcn.100038c0
mov byte [ebp - 4], 2
push str.FileUtility.cpp
lea ecx, [ebp - 0x64]
call fcn.100038c0
mov byte [ebp - 4], bl
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x368]
call fcn.100043f0
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0x268
lea edx, [ebp - 0x64]
push edx
push 0
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
call fcn.100041b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10003930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10003930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.100029c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100041b0
jmp 0x10067ffa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100041b0
mov al, 1
jmp 0x10067ffc
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10067eef
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or esi, 0xffffffff
cmp eax, esi
jne 0x10067f8e
mov eax, dword [edi + 0x10]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x10067f1c
push str.invalid_string_position
call fcn.100b1c44
mov ebx, dword [edi + 0x14]
cmp ebx, 8
jb 0x10067f28
mov eax, dword [edi]
jmp 0x10067f2a
mov eax, edi
lea edx, [ecx + ecx]
cmp word [edx + eax], 0x5c
je 0x10067f61
cmp dword [edi + 0x10], ecx
ja 0x10067f43
push str.invalid_string_position
call fcn.100b1c44
cmp ebx, 8
jb 0x10067f4a
mov edi, dword [edi]
cmp word [edx + edi], 0x2f
je 0x10067f61
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x2c]
call fcn.100041b0
jmp 0x10067ffa
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 8
jb 0x10067f76
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov al, 1
jmp 0x10067ffc
test byte [ebp - 0x2d0], 0x10
push eax
je 0x10067fcb
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 8
jb 0x10067fb3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
mov al, 1
jmp 0x10067ffc
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 8
jb 0x10067fe6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret