Function at 0x100fa5a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015851b
mov eax, dword fs:[0]
push eax
mov eax, 0x37dc
call fcn.10114160
mov eax, dword [0x10196da4]
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
xor ebx, ebx
xor edi, edi
nop word [eax + eax]
lea eax, [ebp - 0x37e4]
push eax
call fcn.100d3d80
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x100fa5fe
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100d3d50
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x37d0]
cmp edx, 0x10
jb 0x100fa650
mov ecx, dword [ebp - 0x37e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fa646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100fa891
push edx
push ecx
call fcn.10113cb8
add esp, 8
mov dword [ebp - 0x37d4], 0
mov dword [ebp - 0x37d0], 0xf
mov byte [ebp - 0x37e4], 0
call fcn.1000dcc0
push str.CreateFileA
push eax
call fcn.1008e620
add esp, 8
test eax, eax
je 0x100fa869
push 0
push 0
push 3
push 0
push 3
push 0
lea ecx, [ebp - 0x110]
push ecx
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x100fa869
push 0x2710
lea eax, [ebp - 0x37c0]
mov dword [ebp - 0x37e8], 0
push 0
push eax
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37c8], 0
call fcn.10118290
call fcn.1000dcc0
push str.DeviceIoControl
push eax
call fcn.1008e620
add esp, 0x14
test eax, eax
je 0x100fa71e
push 0
lea ecx, [ebp - 0x37e8]
push ecx
push 0x2710
lea ecx, [ebp - 0x37c0]
push ecx
push 0xc
lea ecx, [ebp - 0x37cc]
push ecx
push 0x2d1400
push esi
call eax
test eax, eax
je 0x100fa84f
lea eax, [ebp - 0xcc8]
push eax
push 0
push dword [ebp - 0x37b4]
lea eax, [ebp - 0x37c0]
push eax
call fcn.100fadf0
lea eax, [ebp - 0x8e0]
push eax
push 0
push dword [ebp - 0x37b0]
lea eax, [ebp - 0x37c0]
push eax
call fcn.100fadf0
lea eax, [ebp - 0x10b0]
push eax
push 0
push dword [ebp - 0x37ac]
lea eax, [ebp - 0x37c0]
push eax
call fcn.100fadf0
lea eax, [ebp - 0x4f8]
push eax
push 1
push dword [ebp - 0x37a8]
lea eax, [ebp - 0x37c0]
push eax
call fcn.100fadf0
add esp, 0x40
cmp byte [0x1019a7e0], 0
jne 0x100fa804
mov al, byte [ebp - 0x4f8]
test al, al
je 0x100fa804
cmp al, 0xa
je 0x100fa804
movsx eax, al
push eax
call fcn.1011d5a3
add esp, 4
test eax, eax
jne 0x100fa7d0
movsx eax, byte [ebp - 0x4e5]
push eax
call fcn.1011d5a3
add esp, 4
test eax, eax
je 0x100fa804
lea eax, [ebp - 0x4f8]
push eax
push 0x400
push 0x1019a7e0
call fcn.1011e078
lea eax, [ebp - 0x8e0]
push eax
push 0x400
push 0x1019abe0
call fcn.1011e078
add esp, 0x18
mov ebx, 1
push 0x2710
lea eax, [ebp - 0x37c0]
push 0
push eax
call fcn.10118290
call fcn.1000dcc0
push str.DeviceIoControl
push eax
call fcn.1008e620
add esp, 0x14
test eax, eax
je 0x100fa84f
push 0
lea ecx, [ebp - 0x37e8]
push ecx
push 0x2710
lea ecx, [ebp - 0x37c0]
push ecx
push 0
push 0
push 0x700a0
push esi
call eax
call fcn.1000dcc0
push 0x10174b4c
push eax
call fcn.1008e620
add esp, 8
test eax, eax
je 0x100fa869
push esi
call eax
inc edi
cmp edi, 0x10
jl 0x100fa5e0
mov eax, ebx
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.10113cc6
mov esp, ebp
pop ebp
ret
call fcn.1011b29e
int3