Function at 0x100a2c5
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1017064]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov edi, 0x100178c
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
call fcn.01009447
test al, al
jne 0x100a306
push 0x10017f0
mov ecx, ebx
call fcn.01009447
test al, al
mov dword [ebp - 0x14], 0x800
je 0x100a30d
mov dword [ebp - 0x14], 0x104
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, dword [ebp - 0x14]
pop ecx
jae 0x100a5be
push dword [ebx + 0x1c]
call fcn.0100e432
and word [ebp - 8], 0
push edi
mov ecx, ebx
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], 0x2e
mov dword [ebp - 0x14], eax
mov word [ebp - 0xc], 0x2e
mov word [ebp - 0xa], ax
call fcn.01009447
test al, al
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
je 0x100a3c5
push 0x1001ee8
push esi
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x100a3bb
push 3
lea eax, [ebp - 0xe]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x100a3bb
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
test eax, eax
pop ecx
pop ecx
jne 0x100a3bb
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 3
pop ecx
jb 0x100a3b4
push 3
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [esi + eax*2 - 6]
push eax
call ebx
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x100a3b7
xor eax, eax
inc eax
test eax, eax
jne 0x100a3c5
mov ebx, 0xc00d132b
jmp 0x100a5c3
push edi
mov edi, dword [ebp - 0x18]
mov ecx, edi
call fcn.01009447
test al, al
je 0x100a3f7
push esi
call fcn.0100eaaf
test al, al
je 0x100a42c
push 4
push 0x1001edc
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x100a42c
add esi, 4
jmp 0x100a59d
push 0x10017b8
mov ecx, edi
call fcn.01009447
test al, al
je 0x100a45d
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x100a411
inc esi
inc esi
xor eax, eax
mov ax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x100a40f
mov ax, word [esi]
cmp ax, word [ebp - 0x14]
je 0x100a436
test ax, ax
je 0x100a44a
mov ebx, 0xc00d1327
jmp 0x100a5c3
test ax, ax
je 0x100a44a
inc esi
xor eax, eax
inc esi
mov ax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x100a43b
mov bx, word [esi]
neg bx
sbb ebx, ebx
and ebx, 0xc00d1327
jmp 0x100a5a6
push 0x10017b0
mov ecx, edi
call fcn.01009447
test al, al
jne 0x100a59d
push 0x10017e0
mov ecx, edi
call fcn.01009447
test al, al
je 0x100a4f8
mov ax, word [esi]
cmp ax, 0x41
mov ebx, 0xc00d1327
jb 0x100a495
cmp ax, 0x5a
jbe 0x100a4a9
cmp ax, 0x61
jb 0x100a5c3
cmp ax, 0x7a
ja 0x100a5c3
mov ax, word [esi + 2]
cmp ax, word [ebp - 0x14]
jne 0x100a4f3
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
add esi, 4
jmp 0x100a4c0
inc esi
inc esi
xor eax, eax
mov ax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x100a4be
mov ax, word [esi]
cmp ax, word [ebp - 0x14]
jne 0x100a4f3
inc esi
xor eax, eax
inc esi
mov ax, word [esi]
push eax
call edi
test eax, eax
pop ecx
jne 0x100a4d6
cmp word [esi], ax
jne 0x100a5c3
jmp 0x100a59d
test ax, ax
jmp 0x100a4e8
push 0x10017f0
mov ecx, edi
call fcn.01009447
test al, al
je 0x100a594
lea ecx, [ebp - 0x30]
mov ebx, 0xc00d1327
call fcn.01008724
push 3
push esi
lea ecx, [ebp - 0x30]
call fcn.01008d0e
test eax, eax
jl 0x100a58a
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x100a58a
push 0x1003060
lea ecx, [ebp - 0x3c]
call fcn.0100911f
push esi
lea ecx, [ebp - 0x24]
call fcn.0100911f
lea ecx, [ebp - 0x3c]
call fcn.010087de
mov edi, eax
inc edi
lea ecx, [ebp - 0x24]
inc edi
call fcn.010087de
cmp eax, edi
jne 0x100a57a
push 2
push 0x1003060
lea ecx, [ebp - 0x24]
call fcn.0100887e
cmp eax, 2
jne 0x100a57a
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.01008cba
lea ecx, [ebp - 0x3c]
call fcn.01008cba
lea ecx, [ebp - 0x30]
call fcn.01008cba
jmp 0x100a5a6
mov ax, word [ebp - 0x14]
cmp word [esi], ax
jne 0x100a5a1
xor ebx, ebx
jmp 0x100a5aa
mov ebx, 0xc00d1327
test ebx, ebx
jl 0x100a5c3
mov ecx, dword [ebp - 0x18]
push esi
call fcn.01009880
test eax, eax
je 0x100a5c3
mov ebx, 0xc00d1325
jmp 0x100a5c3
mov ebx, 0xc00d1355
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.010080ca
leave
ret 4