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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c181
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x46706c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x21c]
push 0x208
push eax
mov dword [ebp - 0x49c], ebx
mov dword [ebp - 0x498], 0
movq qword [ebp - 0x430], xmm0
mov dword [ebp - 0x428], 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x494], eax
test eax, eax
je 0x407f00
nop dword [eax + eax]
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00437aec
add esp, 8
lea esi, [eax + eax]
cmp word [ebp + esi - 0x21e], 0x5c
jne 0x407bef
lea esi, [eax*2 - 2]
cmp esi, 0x208
jae 0x407f1e
xor eax, eax
mov word [ebp + esi - 0x21c], ax
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x407ea6
cmp word [ebp - 0x21c], 0x5c
jne 0x407ea6
cmp word [ebp - 0x21a], 0x5c
jne 0x407ea6
cmp word [ebp - 0x218], 0x3f
jne 0x407ea6
cmp word [ebp - 0x216], 0x5c
jne 0x407ea6
cmp esi, 0x208
jae 0x407f1e
xor eax, eax
mov word [ebp + esi - 0x21c], ax
lea eax, [ebp - 0x424]
push 0x104
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x407eee
push 0
lea eax, [ebp - 0x4a8]
push eax
push 0xc
lea eax, [ebp - 0x430]
push eax
push 0
push 0
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x407ea6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x490]
call fcn.00403820
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x478]
call fcn.0040b050
mov edi, eax
push ebx
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 1
call fcn.00403820
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x448]
call fcn.0040b050
cmp dword [edi + 0x14], 8
mov edx, eax
mov eax, edi
jb 0x407d08
mov eax, dword [edi]
cmp dword [edx + 0x14], 8
mov esi, edx
jb 0x407d12
mov esi, dword [edx]
mov edx, dword [edx + 0x10]
cmp edx, dword [edi + 0x10]
jne 0x407d35
test edx, edx
je 0x407d31
sub esi, eax
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x407d35
add eax, 2
sub edx, 1
jne 0x407d20
mov bl, 1
jmp 0x407d37
xor bl, bl
mov edx, dword [ebp - 0x434]
cmp edx, 8
jb 0x407d77
mov ecx, dword [ebp - 0x448]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407d6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f23
push edx
push ecx
call fcn.004153c5
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
cmp edx, 8
jb 0x407dd8
mov ecx, dword [ebp - 0x460]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407dce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f23
push edx
push ecx
call fcn.004153c5
add esp, 8
xor eax, eax
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
cmp edx, 8
jb 0x407e38
mov ecx, dword [ebp - 0x478]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407e2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f23
push edx
push ecx
call fcn.004153c5
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x47c]
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
cmp edx, 8
jb 0x407e9c
mov ecx, dword [ebp - 0x490]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407e92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407f23
push edx
push ecx
call fcn.004153c5
add esp, 8
test bl, bl
jne 0x407ec8
mov ebx, dword [ebp - 0x49c]
push 0x208
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x494]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x407bb0
jmp 0x407eee
mov ecx, dword [ebp - 0x4a0]
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x498], 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4a4]
mov eax, dword [ebp - 0x428]
mov dword [ecx], eax
push dword [ebp - 0x494]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, dword [ebp - 0x498]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414dec
mov esp, ebp
pop ebp
ret 0xc
call fcn.00414f23
call fcn.004375f1
int3