Function at 0x1000ef50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041f0e
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 0x1000f3d8
cmp byte [ebp - 0x170], 0
push esi
lea esi, [ebp - 0x170]
mov dword [ebp - 0x14], esi
je 0x1000f3d7
nop dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x1000f18f
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 0x1000f000
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.10003320
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 3
push 0x1004d188
cmp eax, 3
jb 0x1000f054
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.10025860
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x44]
jmp 0x1000f065
mov byte [ebp - 0x48], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x48]
push 3
call fcn.10003400
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 0x1000f0e6
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.10025860
mov byte [esi + 5], 0
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x1000f0f7
mov byte [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x4c]
push 5
call fcn.10003400
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 0x1000f142
movups xmmword [eax], xmm0
mov ecx, 0xf
mov byte [ebp - 0x6c], 0
movq qword [eax + 0x10], xmm1
add dword [edi + 4], 0x18
jmp 0x1000f151
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.10011480
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 2
cmp ecx, 0xf
jbe 0x1000f186
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f17c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f3eb
push ecx
push edx
call fcn.100240fa
add esp, 8
mov byte [ebp - 4], 1
jmp 0x1000f33c
cmp eax, 2
jne 0x1000f3b9
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 0x1000f1b2
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.10003320
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x30]
mov eax, edx
mov ecx, dword [ebp - 0x34]
sub eax, ecx
push 3
push 0x1004d188
cmp eax, 3
jb 0x1000f206
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.10025860
add esp, 0xc
mov byte [esi + 3], 0
lea eax, [ebp - 0x44]
jmp 0x1000f217
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x44]
push dword [ebp - 0x50]
push 3
call fcn.10003400
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 0x1000f298
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.10025860
mov byte [esi + 9], 0
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x1000f2a9
mov byte [ebp - 0x54], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x54]
push 9
call fcn.10003400
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 0x1000f2f4
movups xmmword [eax], xmm0
mov ecx, 0xf
mov byte [ebp - 0x6c], 0
movq qword [eax + 0x10], xmm1
add dword [edi + 4], 0x18
jmp 0x1000f303
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov ecx, edi
call fcn.10011480
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
cmp ecx, 0xf
jbe 0x1000f338
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f32e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f3eb
push ecx
push edx
call fcn.100240fa
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000f370
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f366
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f3eb
push ecx
push edx
call fcn.100240fa
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 0x1000f3b6
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f3ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f3eb
push ecx
push edx
call fcn.100240fa
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 0x1000f3c0
sub ecx, edx
inc esi
add esi, ecx
mov dword [ebp - 0x14], esi
cmp byte [esi], al
jne 0x1000efd0
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.1002ade6
int3