Function at 0x103efc0
Capabilities:
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x260]
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 ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x103f25e
cmp ebx, 0xffffffff
je 0x103f25e
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 0x103f237
mov ecx, dword [edi + 0x25c]
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 ebx
call ecx
test eax, eax
je 0x103f224
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.0103ed40
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0102a8c0
mov eax, dword [esi + 0x10]
push 0x3f
lea edx, [ebp - 0x9c]
push edx
push 0
push eax
push esi
call fcn.0103ed40
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0102a8c0
cmp dword [ebp + 0x24], 0
je 0x103f125
mov edi, dword [ebp + 0x28]
mov dword [edi], 1
cmp dword [esi + 0x1c], 8
je 0x103f137
mov edx, dword [esi + 0x18]
push 0x100c1d0
add edx, esi
push edx
call fcn.0102af60
test eax, eax
jne 0x103f137
mov ecx, dword [ebp + 8]
mov eax, 0x23f0
cmp dword [ecx + 0x81a4], eax
jb 0x103f10d
cmp dword [ebp + 0x2c], eax
jae 0x103f10d
xor eax, eax
jmp 0x103f112
mov eax, 1
push 0x3f
lea edx, [ebp - 0x58]
push edx
push eax
mov dword [edi], 0
mov eax, dword [esi + 0x18]
push eax
jmp 0x103f131
mov edx, dword [esi + 0x18]
push 0x3f
lea ecx, [ebp - 0x58]
push ecx
push 1
push edx
push esi
call fcn.0103ed40
lea eax, [ebp - 0x58]
push eax
call fcn.0102a8c0
push 0x100c1c8
lea ecx, [ebp - 0xe0]
push ecx
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
push 0x100c1b8
lea edx, [ebp - 0x58]
push edx
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
push 0x100c1c8
lea eax, [ebp - 0x9c]
push eax
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
push 0x100c1b0
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
push 0x100c1a8
lea edx, [ebp - 0x9c]
push edx
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
push 0x100c19c
lea eax, [ebp - 0x9c]
push eax
call fcn.0102a8f0
test eax, eax
jne 0x103f24c
mov edi, dword [ebp + 0x10]
cmp byte [edi], al
jne 0x103f224
movzx ecx, byte [ebp - 0x58]
mov ebx, dword [sym.imp.msvcrt.dll_isalnum]
push ecx
call ebx
add esp, 4
test eax, eax
jne 0x103f1f8
movzx edx, byte [ebp - 0x45]
push edx
call ebx
add esp, 4
test eax, eax
je 0x103f221
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.010295d0
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x9c]
push eax
push ecx
call fcn.010295d0
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x1c0]
push ebx
call eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov edx, dword [ebp + 0x20]
mov dword [edx], 1
mov dword [ebp - 4], 1
jmp 0x103f224
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28