Function at 0x10006db0
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10039d6c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x1004b3c8]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004b3c8]
xor eax, esp
push eax
lea eax, [esp + 0x4bc]
mov dword fs:[0], eax
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
lea eax, [esp + 0x2b0]
push eax
push 0x104
mov dword [esp + 0x4cc], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000713a
mov edi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea esi, [esp + 0x2b0]
movzx eax, word [esi]
test ax, ax
je 0x10007132
mov word [esp + 0xa0], ax
push 0x104
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xae], 0x3a
call edi
test eax, eax
je 0x10007100
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp word [esp + 0xa0], ax
jne 0x10006e93
xor ecx, ecx
jmp 0x10006eaf
lea ecx, [esp + 0xa0]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006ea0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x60]
call fcn.100018b1
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov dword [esp + 0x54], eax
push 1
push 0x1003ed94
lea ecx, [esp + 0x60]
mov byte [esp + 0x4cc], 2
call fcn.10001dc5
cmp word [esp + 0xa8], 0
jne 0x10006f14
xor eax, eax
jmp 0x10006f2f
lea eax, [esp + 0xa8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006f20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x2c]
call fcn.100018b1
cmp word [esp + 0xa0], 0
jne 0x10006f50
xor ecx, ecx
jmp 0x10006f6f
lea ecx, [esp + 0xa0]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f60
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x44]
call fcn.100018b1
lea ecx, [esp + 0xa8]
lea edx, [ecx + 2]
jmp 0x10006f90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f90
sub ecx, edx
sar ecx, 1
lea eax, [esp + 0x24]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10001a05
cmp dword [esp + 0x6c], 8
lea eax, [esp + 0x58]
cmovae eax, dword [esp + 0x58]
push eax
call ebp
cmp eax, 5
je 0x10007092
cmp eax, 4
je 0x10007092
xor eax, eax
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], 0
mov word [esp + 0x70], ax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x4c8], 3
call fcn.10001208
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x4cc], 4
call fcn.10006c80
add esp, 8
cmp dword [esp + 0x9c], 8
mov bl, al
mov byte [esp + 0x4c4], 3
jb 0x1000704d
push dword [esp + 0x88]
call fcn.10014bfb
add esp, 4
test bl, bl
je 0x1000707c
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x30]
call fcn.100018e8
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.10001a05
cmp dword [esp + 0x84], 8
jb 0x10007092
push dword [esp + 0x70]
call fcn.10014bfb
add esp, 4
cmp dword [esp + 0x50], 8
jb 0x100070a5
push dword [esp + 0x3c]
call fcn.10014bfb
add esp, 4
xor eax, eax
cmp dword [esp + 0x38], 8
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
jb 0x100070cf
push dword [esp + 0x24]
call fcn.10014bfb
add esp, 4
xor eax, eax
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov byte [esp + 0x4c4], al
jb 0x10007100
push dword [esp + 0x58]
call fcn.10014bfb
add esp, 4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007105
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
mov eax, esi
lea ecx, [esp + 0x2b0]
sub eax, ecx
sar eax, 1
cmp eax, 0x104
jb 0x10006e30
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push 0x1004cee0
mov dword [esp + 0xa4], vtable.nfapi::AutoLock.0
mov dword [esp + 0xa8], 0x1004cee0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x1004ced4
mov byte [esp + 0x4c8], 5
call fcn.10001992
push 0x1004cee0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1000719d
push dword [esp + 0xa0]
lea eax, [esp + 0x1b]
push eax
push edi
push esi
call fcn.1000164a
push esi
call fcn.10014bfb
add esp, 0x14
mov ecx, dword [esp + 0x4bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.10015717
add esp, 0x4b4
ret