Function at 0x100b6b72
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb219
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x45], 0
mov word [ebp - 0x1c], 0x20
mov word [ebp - 0x1a], 0x3a
mov word [ebp - 0x18], 0x5c
and word [ebp - 0x16], 0
push 9
pop ecx
mov esi, 0x100d17e4
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x50], 0
and dword [ebp - 0x4c], 0
jmp 0x100b6be3
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x20
jge 0x100b6e23
movzx eax, byte [ebp - 0x45]
test eax, eax
jne 0x100b6e23
and dword [ebp - 0x58], 0
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x50]
shl eax, cl
and eax, dword [ebp - 0x10]
jne 0x100b6c0c
jmp 0x100b6bdc
mov eax, dword [ebp - 0x50]
add eax, 0x41
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
je 0x100b6c31
cmp dword [ebp - 0x54], 6
je 0x100b6c31
jmp 0x100b6bdc
mov eax, dword [ebp - 0x4c]
add eax, 0x30
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
push 0
push 0
push 3
push 0
push 7
push 0xc0000000
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
jne 0x100b6c69
jmp 0x100b6e1e
and dword [ebp - 0x74], 0
push 0x18
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.100738a0
add esp, 0xc
push 0
lea eax, [ebp - 0x74]
push eax
push 0x18
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0x74080
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100b6ca4
jmp 0x100b6e15
mov dword [ebp - 0x78], 0x221
push dword [ebp - 0x78]
call fcn.10072fb3
pop ecx
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x100b6e15
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0xa], 0xec
and dword [ebp - 0x80], 0
push 0
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push 0x21
push dword [ebp - 0x7c]
push 0x7c088
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100b6cf4
jmp 0x100b6e0c
mov eax, dword [ebp - 0x7c]
add eax, 0x10
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
je 0x100b6e0c
cmp dword [ebp - 0x84], 0x2e
jbe 0x100b6e0c
push 0x13
push 0xa
push dword [ebp - 0x88]
lea eax, [ebp - 0xa4]
push eax
call fcn.100b60f2
add esp, 0x10
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
and dword [ebp - 4], 0
push dword [ebp - 0xe4]
mov ecx, dword [ebp + 8]
call fcn.10004f50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.100014bf
push 0x2e
push 0x1b
push dword [ebp - 0x88]
lea eax, [ebp - 0xc0]
push eax
call fcn.100b60f2
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov dword [ebp - 4], 1
push dword [ebp - 0xec]
mov ecx, dword [ebp + 0xc]
call fcn.10004f50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.100014bf
push 0x1a
push 0x17
push dword [ebp - 0x88]
lea eax, [ebp - 0xdc]
push eax
call fcn.100b60f2
add esp, 0x10
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 2
push dword [ebp - 0xf4]
mov ecx, dword [ebp + 0x10]
call fcn.10004f50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.100014bf
mov byte [ebp - 0x45], 1
push dword [ebp - 0x7c]
call fcn.1007312d
pop ecx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100b6bdc
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070c21
leave
ret