Function at 0x4ac6a6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc121
mov eax, dword fs:[0]
push eax
sub esp, 0x6c0
mov eax, dword [0x4ec06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x630]
call fcn.0040c84a
and dword [ebp - 4], 0
push 0x4cd248
lea ecx, [ebp - 0x690]
call fcn.0041185a
mov byte [ebp - 4], 1
push 0x4cd24c
lea ecx, [ebp - 0x678]
call fcn.0041185a
mov byte [ebp - 4], 2
lea eax, [ebp - 0x690]
push eax
lea edx, [ebp - 0x678]
lea ecx, [ebp - 0x630]
call 0x4212ea
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x678]
call fcn.004123b1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x690]
call fcn.004123b1
lea ecx, [ebp - 0x630]
call fcn.0040c5e0
test eax, eax
jbe 0x4ac789
lea ecx, [ebp - 0x630]
call fcn.0040c5e0
dec eax
push eax
lea ecx, [ebp - 0x630]
call fcn.00412b23
movzx eax, word [eax]
cmp eax, 0x5c
jne 0x4ac789
lea ecx, [ebp - 0x630]
call fcn.0040c5e0
dec eax
push eax
lea ecx, [ebp - 0x630]
call fcn.00412f1d
mov ecx, dword [ebp + 8]
call fcn.00412374
mov ecx, eax
call fcn.0041fcd2
mov byte [ebp - 0x691], al
movzx eax, byte [ebp - 0x691]
test eax, eax
je 0x4ac7da
mov ecx, dword [ebp + 8]
call fcn.0040c5e0
add eax, 0x1e
cmp eax, 0x104
jae 0x4ac7c7
mov dword [ebp - 0x69c], 1
jmp 0x4ac7ce
and dword [ebp - 0x69c], 0
mov al, byte [ebp - 0x69c]
mov byte [ebp - 0x691], al
movzx eax, byte [ebp - 0x691]
test eax, eax
je 0x4ac7f4
push dword [ebp + 8]
call fcn.004acb44
pop ecx
mov byte [ebp - 0x691], al
movzx eax, byte [ebp - 0x691]
test eax, eax
je 0x4acb0a
push 0x100
lea eax, [ebp - 0x618]
push eax
push 0x100
lea eax, [ebp - 0x418]
push eax
push 0x100
lea eax, [ebp - 0x218]
push eax
push 3
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00412374
push eax
call fcn.00472434
add esp, 0x24
mov dword [ebp - 0x6cc], eax
cmp dword [ebp - 0x6cc], 0
jne 0x4ac87d
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4ac868
mov dword [ebp - 0x6a0], 1
jmp 0x4ac86f
and dword [ebp - 0x6a0], 0
mov al, byte [ebp - 0x6a0]
mov byte [ebp - 0x691], al
jmp 0x4ac884
mov byte [ebp - 0x691], 0
movzx eax, byte [ebp - 0x691]
test eax, eax
je 0x4acb0a
lea ecx, [ebp - 0x6c8]
call fcn.0040c090
mov byte [ebp - 4], 3
push SysReAllocString
push 0x5c
lea edx, [ebp - 0x6c8]
lea ecx, [ebp - 0x218]
call 0x4212d4
pop ecx
pop ecx
lea ecx, [ebp - 0x6c8]
call fcn.0040c30a
mov dword [ebp - 0x6a4], eax
cmp dword [ebp - 0x6a4], 2
jae 0x4ac8e2
mov byte [ebp - 0x691], 0
jmp 0x4ac9f1
and dword [ebp - 0x698], 0
mov dword [ebp - 0x698], 1
jmp 0x4ac902
mov eax, dword [ebp - 0x698]
inc eax
mov dword [ebp - 0x698], eax
mov eax, dword [ebp - 0x6a4]
dec eax
cmp dword [ebp - 0x698], eax
jae 0x4ac9f1
push dword [ebp - 0x698]
lea ecx, [ebp - 0x6c8]
call fcn.0040c2ed
mov ecx, eax
call fcn.0040c5e0
test eax, eax
jbe 0x4ac93d
mov dword [ebp - 0x6a8], 1
jmp 0x4ac944
and dword [ebp - 0x6a8], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6a8]
mov byte [ebp - 0x691], al
push dword [ebp - 0x698]
lea ecx, [ebp - 0x6c8]
call fcn.0040c2ed
mov ecx, eax
call fcn.0040c5e0
inc eax
cmp eax, 0xf5
jae 0x4ac983
mov dword [ebp - 0x6ac], 1
jmp 0x4ac98a
and dword [ebp - 0x6ac], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6ac]
mov byte [ebp - 0x691], al
push 0x4cd250
push dword [ebp - 0x698]
lea ecx, [ebp - 0x6c8]
call fcn.0040c2ed
mov ecx, eax
call fcn.00412374
push eax
call fcn.0047248d
pop ecx
pop ecx
test eax, eax
jne 0x4ac9d2
mov dword [ebp - 0x6b0], 1
jmp 0x4ac9d9
and dword [ebp - 0x6b0], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6b0]
mov byte [ebp - 0x691], al
jmp 0x4ac8f5
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x660]
call fcn.0041185a
mov byte [ebp - 4], 4
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041185a
lea ecx, [ebp - 0x660]
call fcn.0040c5e0
test eax, eax
jbe 0x4aca34
mov dword [ebp - 0x6b4], 1
jmp 0x4aca3b
and dword [ebp - 0x6b4], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6b4]
mov byte [ebp - 0x691], al
push 0x4cd264
lea ecx, [ebp - 0x660]
call fcn.00412374
push eax
call fcn.0047248d
pop ecx
pop ecx
test eax, eax
jne 0x4aca76
mov dword [ebp - 0x6b8], 1
jmp 0x4aca7d
and dword [ebp - 0x6b8], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6b8]
mov byte [ebp - 0x691], al
lea ecx, [ebp - 0x648]
call fcn.0040c5e0
test eax, eax
jbe 0x4acae1
push str.__:___
lea ecx, [ebp - 0x648]
call fcn.00412374
push eax
call fcn.0047248d
pop ecx
pop ecx
test eax, eax
jne 0x4acac7
mov dword [ebp - 0x6bc], 1
jmp 0x4acace
and dword [ebp - 0x6bc], 0
movzx eax, byte [ebp - 0x691]
and eax, dword [ebp - 0x6bc]
mov byte [ebp - 0x691], al
lea ecx, [ebp - 0x648]
call fcn.004123b1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x660]
call fcn.004123b1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c8]
call fcn.0040c335
mov al, byte [ebp - 0x691]
mov byte [ebp - 0x692], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x630]
call fcn.004123b1
mov al, byte [ebp - 0x692]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004690ca
mov esp, ebp
pop ebp
ret