Function at 0x4cbba4
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4c3854]
call fcn.00407704
lea eax, [ebp - 0xc]
mov edx, dword [0x4c379c]
call fcn.00407704
lea esi, [ebp - 0x21e]
xor eax, eax
push ebp
push 0x4cbe89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [0x4c3814]
call fcn.0040793c
mov edx, dword [0x4c379c]
lea eax, [ebp - 0xc]
call fcn.004077dc
mov edx, 0xc
call fcn.004beca8
mov eax, esi
mov edx, 0x20a
call fcn.004beca8
push 0x20a
push esi
call sub.kernel32.dll_FindFirstVolumeW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4cbe5d
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0x105
call fcn.00406c74
lea eax, [ebp - 0x14]
push eax
push 0x20a
push esi
mov eax, dword [ebp - 4]
call fcn.00406b08
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x4cbcb8
lea eax, [ebp - 0x228]
mov edx, esi
mov ecx, 0x105
call fcn.00406c74
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.004191dc
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
call fcn.00406ad0
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.004cbe98
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
call fcn.00406ad0
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.004191dc
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 4]
call fcn.00406ad0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.0040836c
inc eax
push eax
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4c3814]
call fcn.00408534
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408374
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea eax, [edx + eax*4]
lea edx, [ebp - 0xc]
mov ecx, dword [0x4c379c]
call fcn.00407a6c
mov eax, esi
mov edx, 0x20a
call fcn.004beca8
jmp 0x4cbe43
mov edx, dword [0x4c379c]
lea eax, [ebp - 0xc]
call fcn.004077dc
mov edx, 0xc
call fcn.004beca8
lea eax, [ebp - 4]
mov edx, esi
mov ecx, 0x105
call fcn.00406c74
lea eax, [ebp - 0x14]
push eax
push 0x20a
push esi
mov eax, dword [ebp - 4]
call fcn.00406b08
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x4cbdba
lea eax, [ebp - 0x238]
mov edx, esi
mov ecx, 0x105
call fcn.00406c74
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.004191dc
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0xc]
call fcn.00406ad0
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.004cbe98
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
call fcn.00406ad0
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.004191dc
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 4]
call fcn.00406ad0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.0040836c
inc eax
push eax
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4c3814]
call fcn.00408534
add esp, 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408374
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea eax, [edx + eax*4]
lea edx, [ebp - 0xc]
mov ecx, dword [0x4c379c]
call fcn.00407a6c
mov eax, esi
mov edx, 0x20a
call fcn.004beca8
push 0x20a
push esi
push ebx
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x4cbd46
push ebx
call sub.kernel32.dll_FindVolumeClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbe90
lea eax, [ebp - 0x240]
mov edx, 8
call fcn.00406a74
lea eax, [ebp - 0xc]
mov edx, dword [0x4c379c]
call fcn.004077dc
ret