Function at 0x1000f3b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042aae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
mov dword [ebp - 0x10], 0
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [ebp - 0x170]
mov dword [ebp - 4], 0
push eax
push 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x1000f838
cmp byte [ebp - 0x170], 0
push esi
lea esi, [ebp - 0x170]
mov dword [ebp - 0x14], esi
je 0x1000f837
nop dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000f5ef
mov ecx, esi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f460
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.10003350
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 3
push 0x1004e194
cmp eax, 3
jb 0x1000f4b4
cmp edx, 0xf
lea esi, [ebp - 0x44]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x44]
add esi, ecx
mov dword [ebp - 0x34], eax
push esi
call fcn.10026350
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x44]
jmp 0x1000f4c5
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x48]
push 3
call fcn.10003430
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
or esi, 2
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x10], esi
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 5
push str.Fixed
cmp eax, 5
jb 0x1000f546
cmp edx, 0xf
lea esi, [ebp - 0x2c]
lea eax, [ecx + 5]
cmova esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.10026350
mov byte [esi + 5], 0
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x1000f557
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
push 5
call fcn.10003430
movups xmm0, xmmword [eax]
or esi, 4
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x5c], xmm1
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1000f5a2
movups xmmword [eax], xmm0
mov ecx, 0xf
mov byte [ebp - 0x6c], 0
movq qword [eax + 0x10], xmm1
add dword [edi + 4], 0x18
jmp 0x1000f5b1
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.100119d0
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x1000f5e6
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f5dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f84b
push ecx
push edx
call fcn.10024bea
add esp, 8
mov byte [ebp - 4], 1
jmp 0x1000f79c
cmp eax, 2
jne 0x1000f819
mov ecx, esi
mov dword [ebp - 0x34], 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f612
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.10003350
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 3
push 0x1004e194
cmp eax, 3
jb 0x1000f666
cmp edx, 0xf
lea esi, [ebp - 0x44]
lea eax, [ecx + 3]
cmova esi, dword [ebp - 0x44]
add esi, ecx
mov dword [ebp - 0x34], eax
push esi
call fcn.10026350
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x44]
jmp 0x1000f677
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x50]
push 3
call fcn.10003430
mov esi, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
or esi, 8
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x10], esi
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
mov eax, edx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
push 9
push str.Removable
cmp eax, 9
jb 0x1000f6f8
cmp edx, 0xf
lea esi, [ebp - 0x2c]
lea eax, [ecx + 9]
cmova esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.10026350
mov byte [esi + 9], 0
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x1000f709
mov byte [ebp - 0x54], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x54]
push 9
call fcn.10003430
movups xmm0, xmmword [eax]
or esi, 0x10
movq xmm1, qword [eax + 0x10]
movups xmmword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
movq qword [ebp - 0x5c], xmm1
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 6
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x1000f754
movups xmmword [eax], xmm0
mov ecx, 0xf
mov byte [ebp - 0x6c], 0
movq qword [eax + 0x10], xmm1
add dword [edi + 4], 0x18
jmp 0x1000f763
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.100119d0
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x1000f798
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f78e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f84b
push ecx
push edx
call fcn.10024bea
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000f7d0
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f7c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f84b
push ecx
push edx
call fcn.10024bea
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
cmp ecx, 0xf
jbe 0x1000f816
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f80c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f84b
push ecx
push edx
call fcn.10024bea
add esp, 8
mov esi, dword [ebp - 0x14]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f820
sub ecx, edx
inc esi
add esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi], al
jne 0x1000f430
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1002b8d6
int3