Function at 0x406a08
Capabilities:
Get disk information

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
call fcn.0041a560
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d37c
push eax
call fcn.004053e3
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d644
push eax
call fcn.004053e3
pop eax
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d980
push eax
call fcn.004053e3
pop eax
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47faf4
push eax
call fcn.004053e3
pop eax
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47ec28
push eax
call fcn.004053e3
pop eax
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f8f6
push eax
call fcn.004053e3
pop eax
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d246
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47ed42
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
lea eax, [esp + 4]
push eax
call fcn.0041a490
mov eax, 0x47d47a
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d37c
push eax
call fcn.004053e3
mov edx, 0x47d086
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47d644
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f758
push eax
call fcn.004053e3
pop eax
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f330
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f81c
push eax
call fcn.004053e3
pop eax
mov edx, 0x47ef26
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f018
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47ed42
push eax
call fcn.004053e3
pop eax
mov edx, 0x47d086
push edx
call fcn.0041a430
lea eax, [esp + 4]
push eax
call fcn.0041a490
push dword [0x1703c18]
call fcn.004127f3
push 0x226
push 0x190
push 0
push 0
call fcn.00403c78
push edx
call fcn.0041a3f0
pop edx
push eax
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f1aa
push eax
call fcn.004053e3
mov edx, dword [0x1703c14]
push edx
call fcn.0041a430
call fcn.0041a5c0
push 0
call fcn.00408282
add dword [esp + 4], edx
call fcn.0040eec6
call fcn.004082a0
push edx
call fcn.0041a3f0
pop edx
push eax
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f1aa
push eax
call fcn.004053e3
mov edx, dword [0x1703c14]
push edx
call fcn.0041a430
call fcn.0041a5c0
push 2
call fcn.00408282
add dword [esp + 4], edx
call fcn.0040daae
call fcn.004082a0
push edx
call fcn.0041a3f0
pop edx
push eax
push edx
call fcn.0041a3f0
pop edx
push eax
mov edx, 0x47d1f2
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
push edx
call fcn.0041a3f0
pop edx
push eax
push 3
push dword [0x1703c18]
call fcn.004181e0
pop eax
mov edx, 0x47d02e
push edx
call fcn.0041a430
push edx
call fcn.0041a3f0
pop edx
push eax
push edx
call fcn.0041a3f0
pop edx
push eax
push 3
push dword [0x1703c18]
call fcn.00418a10
pop eax
call fcn.0041a5c0
push 4
call fcn.00408282
add dword [esp + 4], edx
call fcn.0040daae
call fcn.004082a0
push 5
call fcn.0040daf9
push dword [esp]
push 3
call fcn.0040daae
push 5
push 0xff
push 0xe
mov eax, 0x47db8a
push eax
push 0
push 0
push 3
call fcn.00403a33
push 0
push 0xff0000
push 0xc
mov eax, 0x47db8a
push eax
push 0xb
push 1
push 3
call fcn.00403a33
push 1
push 0xff
push 0xc
mov eax, 0x47db8a
push eax
push 0xe
push 0xd
push 3
call fcn.00403a33
push dword [esp + 8]
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
cmp ebx, 2
je 0x406dbf
mov eax, 1
jmp 0x406dc1
xor eax, eax
and eax, eax
je 0x406e65
push 1
push 4
call fcn.0040db34
push 1
push 5
call fcn.0040db34
mov eax, 0x47d02e
push eax
push 4
call fcn.0040daae
push 1
push 0
call fcn.0040db34
push edx
call fcn.0041a3f0
pop edx
push eax
push 0x181000
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f140
push eax
call fcn.004053e3
call fcn.0041a5c0
push edx
call fcn.0041a3f0
pop edx
push eax
mov eax, 0x47f1aa
push eax
call fcn.004053e3
mov edx, dword [0x1703c14]
push edx
call fcn.0041a430
call fcn.00408282
add dword [esp], edx
call fcn.00408282
add dword [esp + 4], edx
call fcn.004095be
call fcn.004082a0
push 0
push 0x1b
push 0
call fcn.0040eeef
push 1
push 0xd
push 0
call fcn.0040eeef
call fcn.0040eb2c
push eax
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x406eca
call fcn.00411817
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x406eb5
call fcn.00403f24
mov dword [esp + 0xc], eax
jmp 0x406ec7
mov ebx, 1
cmp ebx, dword [esp]
jne 0x406ec7
mov dword [esp + 0xc], 1
pop eax
jmp 0x406f13
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x406f01
call fcn.00411826
push eax
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x406eeb
mov dword [esp + 0xc], 1
jmp 0x406efe
mov ebx, 1
cmp ebx, dword [esp]
jne 0x406efe
call fcn.00403f24
mov dword [esp + 0xc], eax
pop eax
jmp 0x406f13
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x406f13
mov dword [esp + 8], 1
pop eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x406e8d
push 0
call fcn.0040e8f9
mov ebx, dword [esp + 4]
dec ebx
mov eax, ebx
jmp 0x406f35
push dword [esp]
call fcn.0041a620
add esp, 0xc
pop ebx
ret