Function at 0x10004760
Capabilities:
Enumerate disk volumes
Get disk information
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055e33
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x454], 0xffffffff
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.10033d10
add esp, 0xc
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.10033d10
add esp, 0xc
mov dword [ebp - 0x44c], 0
xor edx, edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x444]
call fcn.10005620
mov byte [ebp - 4], 1
push 0x208
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jne 0x1000485b
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x460], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov eax, dword [ebp - 0x460]
jmp 0x10004a96
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x450]
movzx ecx, word [ebp + eax*2 - 0x21a]
cmp ecx, 0x5c
jne 0x100048c3
mov edx, dword [ebp - 0x450]
lea eax, [edx + edx - 2]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0x208
jae 0x1000489f
jmp 0x100048a4
call fcn.1002fd8f
xor ecx, ecx
mov edx, dword [ebp - 0x458]
mov word [ebp + edx - 0x218], cx
mov eax, dword [ebp - 0x450]
sub eax, 1
mov dword [ebp - 0x450], eax
push 0
push 0
push 3
push 0
push 3
push 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0xffffffff
jne 0x100048f0
jmp 0x10004a2f
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x464], eax
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x218]
cmp edx, 0x5c
jne 0x10004956
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x218]
cmp ecx, 0x5c
jne 0x10004956
mov edx, 2
shl edx, 1
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x3f
jne 0x10004956
mov ecx, 2
imul edx, ecx, 3
movzx eax, word [ebp + edx - 0x218]
cmp eax, 0x5c
je 0x1000495b
jmp 0x10004a2f
mov ecx, dword [ebp - 0x464]
shl ecx, 1
mov dword [ebp - 0x45c], ecx
cmp dword [ebp - 0x45c], 0x208
jae 0x10004977
jmp 0x1000497c
call fcn.1002fd8f
xor edx, edx
mov eax, dword [ebp - 0x45c]
mov word [ebp + eax - 0x218], dx
push 0x104
lea ecx, [ebp - 0x420]
push ecx
mov edx, 2
shl edx, 2
lea eax, [ebp + edx - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0x470], eax
push 0
lea ecx, [ebp - 0x474]
push ecx
push 0xc
lea edx, [ebp - 0x42c]
push edx
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100049e2
jmp 0x10004a2f
cmp dword [ebp - 0x448], 0
je 0x100049f8
mov ecx, dword [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x444]
call fcn.100053c0
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.10006fb0
add esp, 8
test eax, eax
jne 0x10004a2f
mov edx, dword [ebp - 0x428]
mov dword [ebp - 0x454], edx
jmp 0x10004a50
push 0x208
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1000485b
cmp dword [ebp - 0x44c], 0
je 0x10004a66
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005450
mov eax, dword [ebp - 0x468]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 0x18