Function at 0x102cde0
Capabilities:
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x258]
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
push eax
mov dword [ebp - 4], esi
call ecx
mov edi, eax
mov dword [ebp + 0xc], edi
test edi, edi
je 0x102d068
cmp edi, 0xffffffff
je 0x102d068
push 0x2712
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x102d053
mov ecx, dword [ebx + 0x254]
push eax
lea edx, [ebp - 0x14]
push edx
push 0x2710
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push edi
call ecx
test eax, eax
je 0x102d040
push 0x41
lea edx, [ebp - 0x58]
push 0
push edx
call sub.msvcrt.dll_memset
push 0x41
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x41
lea ecx, [ebp - 0xe0]
push 0
push ecx
call sub.msvcrt.dll_memset
mov eax, dword [esi + 0xc]
add esp, 0x24
push 0x3f
lea edx, [ebp - 0xe0]
push edx
push 0
push eax
push esi
call fcn.0102cb60
mov ebx, dword [sym.imp.msvcrt.dll__strupr]
lea ecx, [ebp - 0xe0]
push ecx
call ebx
mov eax, dword [esi + 0x10]
add esp, 4
push 0x3f
lea edx, [ebp - 0x9c]
push edx
push 0
push eax
push esi
call fcn.0102cb60
lea ecx, [ebp - 0x9c]
push ecx
call ebx
add esp, 4
cmp dword [ebp + 0x24], 0
je 0x102d019
mov edi, dword [ebp + 0x28]
mov dword [edi], 1
cmp dword [esi + 0x1c], 8
je 0x102cf32
mov edx, dword [esi + 0x18]
push 0x100a088
add edx, esi
push edx
call fcn.0101d7a0
test eax, eax
jne 0x102cf32
push 0x3f
mov dword [edi], eax
mov ecx, dword [esi + 0x18]
lea eax, [ebp - 0x58]
push eax
push 1
push ecx
push esi
call fcn.0102cb60
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x58]
push ecx
call ebx
lea edx, [ebp - 0xe0]
push 0x100a080
push edx
call dword [sym.imp.msvcrt.dll_strstr]
add esp, 0xc
test eax, eax
jne 0x102d030
push 0x100a070
lea eax, [ebp - 0x58]
push eax
call fcn.0101d150
test eax, eax
jne 0x102d030
push 0x100a080
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0101d150
test eax, eax
jne 0x102d030
push 0x100a068
lea edx, [ebp - 0x9c]
push edx
call fcn.0101d150
test eax, eax
jne 0x102d030
push 0x100a060
lea eax, [ebp - 0x9c]
push eax
call fcn.0101d150
test eax, eax
jne 0x102d030
push 0x100a054
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0101d150
test eax, eax
jne 0x102d030
mov ebx, dword [ebp + 0x10]
cmp byte [ebx], al
jne 0x102d040
movzx edx, byte [ebp - 0x58]
push edx
call dword [sym.imp.msvcrt.dll_isalnum]
add esp, 4
test eax, eax
jne 0x102cff5
movzx eax, byte [ebp - 0x45]
push eax
call dword [sym.imp.msvcrt.dll_isalnum]
add esp, 4
test eax, eax
je 0x102d040
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x58]
push edx
push ebx
call fcn.0101c040
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x9c]
push ecx
push edx
call fcn.0101c040
jmp 0x102d039
mov eax, dword [esi + 0x18]
push 0x3f
lea edx, [ebp - 0x58]
push edx
push 1
push eax
push esi
call fcn.0102cb60
jmp 0x102cf35
mov eax, dword [ebp + 0x20]
mov dword [eax], 1
mov dword [ebp - 4], 1
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1bc]
push edi
call ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24