Function at 0x103d9c0
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 0x103dc5e
cmp ebx, 0xffffffff
je 0x103dc5e
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 0x103dc37
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 0x103dc24
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.0103d740
lea ecx, [ebp - 0xe0]
push ecx
call fcn.010292e0
mov eax, dword [esi + 0x10]
push 0x3f
lea edx, [ebp - 0x9c]
push edx
push 0
push eax
push esi
call fcn.0103d740
lea ecx, [ebp - 0x9c]
push ecx
call fcn.010292e0
cmp dword [ebp + 0x24], 0
je 0x103db25
mov edi, dword [ebp + 0x28]
mov dword [edi], 1
cmp dword [esi + 0x1c], 8
je 0x103db37
mov edx, dword [esi + 0x18]
push 0x100c2e8
add edx, esi
push edx
call fcn.01029980
test eax, eax
jne 0x103db37
mov ecx, dword [ebp + 8]
mov eax, 0x23f0
cmp dword [ecx + 0x81a4], eax
jb 0x103db0d
cmp dword [ebp + 0x2c], eax
jae 0x103db0d
xor eax, eax
jmp 0x103db12
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 0x103db31
mov edx, dword [esi + 0x18]
push 0x3f
lea ecx, [ebp - 0x58]
push ecx
push 1
push edx
push esi
call fcn.0103d740
lea eax, [ebp - 0x58]
push eax
call fcn.010292e0
push 0x100c2e0
lea ecx, [ebp - 0xe0]
push ecx
call fcn.01029310
test eax, eax
jne 0x103dc4c
push 0x100c2d0
lea edx, [ebp - 0x58]
push edx
call fcn.01029310
test eax, eax
jne 0x103dc4c
push 0x100c2e0
lea eax, [ebp - 0x9c]
push eax
call fcn.01029310
test eax, eax
jne 0x103dc4c
push 0x100c2c8
lea ecx, [ebp - 0x9c]
push ecx
call fcn.01029310
test eax, eax
jne 0x103dc4c
push 0x100c2c0
lea edx, [ebp - 0x9c]
push edx
call fcn.01029310
test eax, eax
jne 0x103dc4c
push 0x100c2b4
lea eax, [ebp - 0x9c]
push eax
call fcn.01029310
test eax, eax
jne 0x103dc4c
mov edi, dword [ebp + 0x10]
cmp byte [edi], al
jne 0x103dc24
movzx ecx, byte [ebp - 0x58]
mov ebx, dword [sym.imp.msvcrt.dll_isalnum]
push ecx
call ebx
add esp, 4
test eax, eax
jne 0x103dbf8
movzx edx, byte [ebp - 0x45]
push edx
call ebx
add esp, 4
test eax, eax
je 0x103dc21
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x58]
push ecx
push edi
call fcn.01028030
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x9c]
push eax
push ecx
call fcn.01028030
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 0x103dc24
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28