Function at 0x101b9100
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102005a8
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10252964]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x100], esi
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movq xmm0, qword [0x1005e59c]
mov eax, dword [0x1005e5a4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x108], 1
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x104], eax
mov cl, 0x41
mov byte [ebp - 0xf9], cl
test eax, eax
je 0x101b9490
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x18], cl
test al, 1
je 0x101b9478
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
sub eax, 2
je 0x101b91d5
sub eax, 2
je 0x101b946c
jmp 0x101b91e4
mov cl, byte [ebp - 0xf9]
cmp cl, 0x41
je 0x101b9472
push 0
push 0x40000000
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov byte [ebp - 0x110], 1
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 1
cmp esi, 0xffffffff
je 0x101b932c
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0
push 0
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 0x118], 1
mov dword [ebp - 0xe8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0xf8], xmm0
push eax
push 0x18
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0xf0], xmm0
push eax
push 0
push 0
push 0x74080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x101b92ad
mov byte [ebp - 4], 3
jmp 0x101b92e0
push 0xc8
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101b9316
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xf8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x101b9316
mov byte [ebp - 4], 4
push dword [ebp - 0xdc]
call edi
cmp byte [ebp - 0x3d], 0
mov byte [ebp - 4], 1
jbe 0x101b9326
lea eax, [ebp - 0x40]
push eax
push esi
mov esi, dword [ebp - 0x100]
push esi
call fcn.101b8bb0
add esp, 0xc
test al, al
je 0x101b9326
mov dword [ebp - 4], 6
jmp 0x101b945a
push dword [ebp - 0xdc]
mov byte [ebp - 4], 5
call edi
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0xe4]
mov dword [ebp - 0x20], 0
cmp esi, 0xffffffff
jne 0x101b935c
push 0
push 0x40000000
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x101b944d
push 0x96
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.101d82a0
add esp, 0xc
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x120], 1
mov dword [ebp - 0xe8], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x20]
movlpd qword [ebp - 0xf8], xmm0
push eax
push 0x96
lea eax, [ebp - 0xd8]
movlpd qword [ebp - 0xf0], xmm0
push eax
push 0x96
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x101b93e9
mov byte [ebp - 4], 8
jmp 0x101b941c
push 0xc8
push dword [ebp - 0xe0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101b9441
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xf8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x101b9441
mov byte [ebp - 4], 9
push dword [ebp - 0xe0]
call edi
mov esi, dword [ebp - 0x100]
lea eax, [ebp - 0xd8]
push eax
push eax
push esi
mov byte [ebp - 4], 1
call fcn.101b8d90
add esp, 0xc
jmp 0x101b9453
push dword [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call edi
mov esi, dword [ebp - 0x100]
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0xe4]
cmp eax, 0xffffffff
je 0x101b9468
push eax
call edi
mov byte [ebp - 4], 0
mov cl, byte [ebp - 0xf9]
mov eax, dword [ebp - 0x104]
shr eax, 1
inc cl
mov dword [ebp - 0x104], eax
mov byte [ebp - 0xf9], cl
test eax, eax
jne 0x101b91b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c1860
mov esp, ebp
pop ebp
ret