Function at 0x1006e9d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2dab
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
mov eax, dword [0x100eb6ac]
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 esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x1006ec72
xor eax, eax
push ebx
mov word [ebp - 0x2c], ax
or edi, 0xffffffff
push esi
mov eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.100166c0
mov dword [ebp - 4], ebx
push 0x2f
lea eax, [ebp - 0x2c]
call fcn.1007ca90
add esp, 4
push 0x5c
lea eax, [ebp - 0x2c]
call fcn.1007ca90
mov ebx, 3
add esp, 4
cmp dword [ebp - 0x1c], ebx
ja case.default.0x1006ea71
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x1006ea61
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
ja case.default.0x1006ea71
jmp dword [eax*4 + 0x1006ec90]
lea ecx, [ebp - 0x368]
push ecx
call fcn.10013470
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c]
push edx
push ecx
push str.._tmpPath:
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x368]
push str.return_false._GetLastError:
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1006fa80
add esp, 4
push eax
call fcn.1001c530
add esp, 0xc
push eax
call fcn.1001dca0
add esp, 8
push str.CFileUtility::IsDirPath
lea ecx, [ebp - 0x48]
call fcn.10011a40
mov byte [ebp - 4], 2
push str.FileUtility.cpp
lea ecx, [ebp - 0x64]
call fcn.10011a40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x368]
push edx
call fcn.10013570
mov byte [ebp - 4], 4
push eax
push 0x268
push 0
call fcn.10013c70
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x64]
call fcn.10072520
mov byte [ebp - 4], bl
lea esi, [ebp - 0x80]
call fcn.10012b80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.10011aa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.10011aa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x368]
call fcn.10002af0
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.10012b80
jmp 0x1006ec72
mov dword [ebp - 4], edi
lea esi, [ebp - 0x2c]
call fcn.10012b80
mov al, 1
jmp 0x1006ec74
mov eax, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x1006eb7c
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, edi
jne 0x1006ec08
mov eax, dword [esi + 0x10]
lea ecx, [eax - 1]
cmp eax, ecx
ja 0x1006eba2
push str.invalid_string_position
call fcn.1009b636
mov ebx, dword [esi + 0x14]
cmp ebx, 8
jb 0x1006ebae
mov eax, dword [esi]
jmp 0x1006ebb0
mov eax, esi
lea edx, [ecx + ecx]
cmp word [edx + eax], 0x5c
je 0x1006ebdb
cmp dword [esi + 0x10], ecx
ja 0x1006ebc9
push str.invalid_string_position
call fcn.1009b636
cmp ebx, 8
jb 0x1006ebd0
mov esi, dword [esi]
cmp word [edx + esi], 0x2f
jne 0x1006eb4a
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 8
jb 0x1006ebf0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1009c0c0
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 0x1006ec74
test byte [ebp - 0x2d0], 0x10
push eax
je 0x1006ec44
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x1006ec2c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1009c0c0
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 0x1006ec74
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], ebx
jb 0x1006ec5e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1009c0c0
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.1009c0cb
mov esp, ebp
pop ebp
ret