Function at 0x466a94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404564
xor eax, eax
push ebp
push 0x466d52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x466d68
call fcn.004043c0
mov edx, dword [ebp - 0x28]
mov eax, ebx
call fcn.00466a30
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046691c
cmp dword [0x46b1c8], 0
je 0x466d2a
cmp dword [ebp - 0x14], 0
je 0x466d2a
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x105
push 0
mov eax, dword [ebp - 4]
call fcn.00404574
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea edx, [ebp - 0x30]
mov eax, 0x466d8c
call fcn.0040df64
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.0040ced8
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.004086a4
push dword [ebp - 0x34]
push 0x466d9c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404434
mov eax, 0x46b1c0
mov ecx, 0x466da8
mov edx, dword [ebp - 0x18]
call fcn.004043c0
mov eax, 0x46b1c4
mov ecx, 0x466db8
mov edx, dword [ebp - 0x18]
call fcn.004043c0
mov eax, dword [0x46b1c0]
call fcn.00408af4
mov eax, dword [0x46b1c4]
call fcn.00408af4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x46b1c0]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
lea edx, [ebp - 0x3c]
xor ecx, ecx
mov eax, 0x466dc8
call fcn.004096c4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x46b1c4]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [0x46b1c0]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x4c]
mov ecx, 1
mov eax, 0x466dfc
call fcn.004096c4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x46b1c0]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [0x46b1c4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x4c]
mov ecx, 1
mov eax, 0x466e40
call fcn.004096c4
mov edx, 0x466e84
mov eax, ebx
call fcn.00466a30
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0xc]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x24c]
mov edx, dword [ebp - 0x14]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x24c]
mov cx, 1
pop edx
call fcn.004662fc
mov edx, 0x466ea0
mov eax, ebx
call fcn.00466a30
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 8]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x24c]
mov edx, dword [0x46b1c8]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x24c]
mov cx, 1
pop edx
call fcn.004662fc
mov edx, 0x466ec0
mov eax, ebx
call fcn.00466a30
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 0x10]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x24c]
mov edx, dword [ebp - 0x14]
mov ecx, 0xff
call fcn.00404350
lea eax, [ebp - 0x24c]
mov cx, 1
pop edx
call fcn.004662fc
mov edx, 0x466edc
mov eax, ebx
call fcn.00466a30
mov eax, dword [ebp - 0x18]
call fcn.004660a8
mov eax, dword [ebp - 0x18]
call fcn.00408fd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466d59
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004040d8
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004040d8
ret