Function at 0x492dc0
Capabilities:
Get disk information
Get disk size
Get storage device properties
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9a4
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x9a0], eax
mov ecx, dword [0x621084]
mov eax, dword [0x621080]
mov edx, dword [0x621088]
push ebx
push esi
push edi
mov dword [0x6809e4], ecx
mov ecx, 0x20
xor ebx, ebx
mov dword [0x6809e0], eax
mov eax, dword [0x62108c]
push 0x7fe
mov word [esp + 0x194], cx
mov word [esp + 0x18c], cx
mov word [esp + 0x1a4], cx
mov dword [0x6809e8], edx
mov edx, 0x5c
mov dword [0x6809ec], eax
mov eax, 0x3a
lea ecx, [esp + 0x1ae]
push ebx
push ecx
mov word [esp + 0x19e], ax
mov word [esp + 0x1a0], bx
mov word [esp + 0x196], ax
mov word [esp + 0x198], dx
mov word [esp + 0x19a], bx
mov word [esp + 0x1a4], dx
mov word [esp + 0x1a6], dx
mov word [esp + 0x1a8], 0x3f
mov word [esp + 0x1aa], dx
mov word [esp + 0x1ae], ax
mov word [esp + 0x1b0], bx
mov word [esp + 0x1b4], bx
call fcn.005da970
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0xc8
lea edx, [esp + 0xb4]
push ebx
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.005da970
add esp, 0xc
mov esi, 0x41
xor ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
test ecx, eax
je 0x493068
lea edx, [esp + 0x188]
push edx
mov word [esp + 0x18c], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x493068
push 0x800
lea eax, [esp + 0x1ac]
push ebx
push eax
mov word [esp + 0x19c], si
call fcn.005da970
add esp, 0xc
push 0x400
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jbe 0x492f77
lea eax, [esp + 0x1a8]
push str.DeviceHarddiskVolume
push eax
call fcn.005d2e73
add esp, 8
test eax, eax
je 0x493068
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [esp + 0x1b0]
push ecx
mov dword [esp + 0x38], ebx
mov word [esp + 0x1bc], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x493012
push 0x227
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
call fcn.005d1ef5
add esp, 4
push ebx
lea edx, [esp + 0x48]
push edx
push 0x227
mov esi, eax
push esi
push 0xc
lea eax, [esp + 0x190]
push eax
push 0x2d1400
push edi
mov dword [esi + 4], 0x227
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x492ff8
cmp dword [esi + 0x1c], 7
jne 0x492ff8
mov dword [esp + 0x1c], 1
push esi
call fcn.005d28c2
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x10]
jne 0x493068
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x194]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + eax*8 + 0xa8], edx
mov dword [esp + eax*8 + 0xac], ecx
add eax, 1
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x18]
add esi, 1
add ecx, 1
cmp si, 0x5a
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
jbe 0x492eeb
push 0x5c
lea edx, [esp + 0x4c]
push ebx
push edx
call fcn.005da970
mov eax, dword [esp + 0x20]
lea ecx, [eax*8]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0xbc]
mov dword [esp + 0x5c], 0x67452301
mov dword [esp + 0x60], 0xefcdab89
mov dword [esp + 0x64], 0x98badcfe
mov dword [esp + 0x68], 0x10325476
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0xb4], ebx
call fcn.00492240
push 0x6809e0
lea esi, [esp + 0x60]
call fcn.00492520
mov ecx, dword [esp + 0x9c4]
add esp, 0x18
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x6809e0
call fcn.005d28b3
mov esp, ebp
pop ebp
ret