Function at 0x1001f810
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba3bf
mov eax, dword fs:[0]
push eax
mov eax, 0x18f4
call fcn.10091480
mov eax, dword [0x100fc068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x18d0], eax
mov dword [ebp - 0x18c4], 0
mov dword [ebp - 0x1888], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push eax
push 0x800
mov dword [ebp - 0x18c4], 1
call esi
cmp eax, 0x7ff
jae 0x1001f8e6
lea eax, [ebp - 0x810]
push eax
push 0x800
call esi
test eax, eax
je 0x1001f8c1
cmp eax, 0x801
jb 0x1001f8eb
mov edi, dword [ebp - 0x1888]
mov eax, edi
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.100902f6
mov esp, ebp
pop ebp
ret 4
mov eax, 0x7ff
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x1818], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1814], 0
push eax
lea ecx, [ebp - 0x1828]
movups xmmword [ebp - 0x1828], xmm0
call fcn.10002880
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18c0]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x18b0], 0
push 0x100ca4cc
movups xmmword [ebp - 0x18c0], xmm0
mov dword [ebp - 0x18ac], 0
call fcn.10002880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18a8]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x1898], 0
push 0x100caff4
movups xmmword [ebp - 0x18a8], xmm0
mov dword [ebp - 0x1894], 0
call fcn.10002880
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1818], 0
je 0x1001fbd0
cmp dword [ebp - 0x18ac], 0x10
lea ecx, [ebp - 0x18c0]
mov edi, dword [ebp - 0x18c0]
lea edx, [ebp - 0x18a8]
mov esi, dword [ebp - 0x1898]
cmovae ecx, edi
cmp dword [ebp - 0x1894], 0x10
cmovae edx, dword [ebp - 0x18a8]
cmp esi, dword [ebp - 0x18b0]
jne 0x1001fa2f
sub esi, 4
jb 0x1001f9e6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1001f9eb
add edx, 4
add ecx, 4
sub esi, 4
jae 0x1001f9d5
cmp esi, 0xfffffffc
je 0x1001fa1f
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1001fa18
cmp esi, 0xfffffffd
je 0x1001fa1f
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1001fa18
cmp esi, 0xfffffffe
je 0x1001fa1f
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1001fa18
cmp esi, 0xffffffff
je 0x1001fa1f
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1001fa1f
sbb eax, eax
or eax, 1
jmp 0x1001fa21
xor eax, eax
test eax, eax
je 0x1001fbd6
mov esi, dword [ebp - 0x1898]
xor edi, edi
mov eax, 0xa
mov dword [ebp - 0x1884], eax
mov byte [ebp - 0x187d], 0
cmp dword [ebp - 0x1894], 0x10
lea edx, [ebp - 0x18a8]
lea ecx, [ebp - 0x1828]
cmovae edx, dword [ebp - 0x18a8]
cmp dword [ebp - 0x1814], 0x10
mov dword [ebp - 0x18c8], edx
cmovae ecx, dword [ebp - 0x1828]
mov dword [ebp - 0x188c], ecx
cmp esi, dword [ebp - 0x1818]
ja 0x1001fb5f
mov eax, dword [ebp - 0x1818]
sub eax, esi
cmp edi, eax
ja 0x1001fb59
test esi, esi
je 0x1001fb86
movsx edx, byte [edx]
inc eax
add eax, ecx
mov dword [ebp - 0x1890], edx
add ecx, edi
mov dword [ebp - 0x18cc], eax
sub eax, ecx
push eax
push edx
push ecx
call fcn.10093d90
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001fb59
nop word [eax + eax]
mov eax, dword [ebp - 0x18c8]
mov edx, edi
sub esi, 4
jb 0x1001faf1
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1001faf6
add edx, 4
add eax, 4
sub esi, 4
jae 0x1001fae0
cmp esi, 0xfffffffc
je 0x1001fb2a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1001fb23
cmp esi, 0xfffffffd
je 0x1001fb2a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x1001fb23
cmp esi, 0xfffffffe
je 0x1001fb2a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x1001fb23
cmp esi, 0xffffffff
je 0x1001fb2a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x1001fb2a
sbb eax, eax
or eax, 1
jmp 0x1001fb2c
xor eax, eax
test eax, eax
je 0x1001fb7a
mov eax, dword [ebp - 0x18cc]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x1890]
push edi
call fcn.10093d90
mov esi, dword [ebp - 0x1898]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001fad0
mov eax, dword [ebp - 0x1884]
cmp byte [ebp - 0x187d], 0
je 0x1001fbd0
test eax, eax
je 0x1001fbd0
mov esi, dword [ebp - 0x1898]
xor edi, edi
dec eax
jmp 0x1001fa36
sub edi, dword [ebp - 0x188c]
mov esi, dword [ebp - 0x1898]
cmp edi, 0xffffffff
je 0x1001fb59
cmp dword [ebp - 0x18ac], 0x10
lea eax, [ebp - 0x18c0]
push dword [ebp - 0x18b0]
cmovae eax, dword [ebp - 0x18c0]
lea ecx, [ebp - 0x1828]
push eax
push esi
push edi
mov byte [ebp - 0x187d], 1
call fcn.10030610
add edi, dword [ebp - 0x18b0]
cmp edi, 0xffffffff
je 0x1001fbd0
mov eax, dword [ebp - 0x1884]
jmp 0x1001fa43
mov edi, dword [ebp - 0x18c0]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1894]
cmp eax, 0x10
jb 0x1001fc16
mov edx, dword [ebp - 0x18a8]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001fc0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff2d
push ecx
push edx
call fcn.10090935
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18ac]
cmp eax, 0x10
jb 0x1001fc50
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1001fc46
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff2d
push ecx
push edi
call fcn.10090935
add esp, 8
lea eax, [ebp - 0x187d]
mov dword [ebp - 0x182c], 0
push eax
lea eax, [ebp - 0x187e]
mov byte [ebp - 0x187d], 0
xorps xmm0, xmm0
mov byte [ebp - 0x187e], 0
push eax
lea edx, [ebp - 0x1828]
movq qword [ebp - 0x1834], xmm0
lea ecx, [ebp - 0x1834]
call fcn.100213f0
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1854], 0
movups xmmword [ebp - 0x1864], xmm0
mov dword [ebp - 0x1850], 0xf
movups xmmword [ebp - 0x184c], xmm0
mov byte [ebp - 0x1864], 0
mov dword [ebp - 0x183c], 0
mov dword [ebp - 0x1838], 0xf
mov byte [ebp - 0x184c], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1830]
mov esi, dword [ebp - 0x1834]
mov dword [ebp - 0x188c], eax
cmp esi, eax
je 0x1001fed2
nop word [eax + eax]
lea eax, [ebp - 0x1864]
cmp eax, esi
je 0x1001fd23
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1001fd14
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x1864]
push eax
call fcn.10019a40
cmp dword [ebp - 0x1838], 0x10
lea eax, [ebp - 0x184c]
mov dword [ebp - 0x183c], 0
lea ecx, [ebp - 0x187c]
cmovae eax, dword [ebp - 0x184c]
mov edx, esi
mov byte [eax], 0
call fcn.100211c0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1810]
cmp dword [ebp - 0x1868], 8
lea eax, [ebp - 0x187c]
push 0x800
cmovae eax, dword [ebp - 0x187c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1001fe5c
xorps xmm0, xmm0
mov dword [ebp - 0x18f0], 0
lea ecx, [ebp - 0x1810]
mov dword [ebp - 0x18ec], 0
movups xmmword [ebp - 0x1900], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fdb5
sub ecx, edx
lea eax, [ebp - 0x1810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1900]
call fcn.1001b520
lea edx, [ebp - 0x1900]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18e8]
call fcn.10021080
push eax
lea ecx, [ebp - 0x184c]
call fcn.10017270
mov ecx, dword [ebp - 0x18d4]
cmp ecx, 0x10
jb 0x1001fe32
mov edx, dword [ebp - 0x18e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001fe28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff2d
push ecx
push edx
call fcn.10090935
add esp, 8
lea ecx, [ebp - 0x1900]
mov dword [ebp - 0x18d8], 0
mov dword [ebp - 0x18d4], 0xf
mov byte [ebp - 0x18e8], 0
mov byte [ebp - 4], 6
call fcn.100170d0
mov eax, dword [ebp - 0x1888]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x1001fe9d
lea eax, [ebp - 0x1864]
mov dword [ebp - 0x1890], edi
push eax
mov ecx, edi
call fcn.10017440
lea eax, [ebp - 0x184c]
mov byte [ebp - 4], 8
lea ecx, [edi + 0x18]
push eax
call fcn.10017440
mov edi, dword [ebp - 0x1888]
add dword [edi + 4], 0x30
jmp 0x1001feb2
lea ecx, [ebp - 0x1864]
push ecx
push edi
mov ecx, eax
call fcn.10035fb0
mov edi, dword [ebp - 0x1888]
lea ecx, [ebp - 0x187c]
mov byte [ebp - 4], 5
call fcn.100170d0
add esi, 0x18
cmp esi, dword [ebp - 0x188c]
jne 0x1001fd00
jmp 0x1001fed8
mov edi, dword [ebp - 0x1888]
lea ecx, [ebp - 0x1864]
call fcn.1001ddb0
lea ecx, [ebp - 0x1834]
call fcn.10018f20
mov ecx, dword [ebp - 0x1814]
cmp ecx, 0x10
jb 0x1001f8c7
mov edx, dword [ebp - 0x1828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ff1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001ff2d
push ecx
push edx
call fcn.10090935
add esp, 8
jmp 0x1001f8c7
call fcn.1009f4b4
int3