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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
push edi
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 [0x5fbd08]
call fcn.0040d1e4
lea eax, [ebp - 0xc]
mov edx, dword [0x5fbc4c]
call fcn.0040d1e4
xor eax, eax
push ebp
push 0x606c58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [0x5fbcc8]
call fcn.0040f2c4
lea eax, [ebp - 0xc]
mov edx, dword [0x5fbc4c]
call fcn.0040d5d0
mov edx, 0xc
call fcn.005fc908
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fc908
push 0x20a
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov edi, eax
cmp edi, 0xffffffff
je 0x606c2a
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c8d8
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x606a5f
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c8d8
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00439c3c
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
call fcn.0040bcec
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.00606c68
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
call fcn.0040bcec
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.00439c3c
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 4]
call fcn.0040bcec
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x606aa3
mov ebx, dword [ebx - 4]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5fbcc8]
call fcn.0040f1a0
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x606ac7
mov ebx, dword [ebx - 4]
dec ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea eax, [edx + eax*4]
lea edx, [ebp - 0xc]
mov ecx, dword [0x5fbc4c]
call fcn.0040dd74
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fc908
jmp 0x606c0a
mov edx, dword [0x5fbc4c]
lea eax, [ebp - 0xc]
call fcn.0040d5d0
mov edx, 0xc
call fcn.005fc908
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c8d8
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x606b78
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c8d8
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00439c3c
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0xc]
call fcn.0040bcec
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.00606c68
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
call fcn.0040bcec
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.00439c3c
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 4]
call fcn.0040bcec
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x606bbc
mov ebx, dword [ebx - 4]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5fbcc8]
call fcn.0040f1a0
add esp, 4
mov esi, dword [ebp - 0x10]
mov esi, dword [esi]
test esi, esi
je 0x606be0
mov esi, dword [esi - 4]
dec esi
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
lea eax, [edx + eax*4]
lea edx, [ebp - 0xc]
mov ecx, dword [0x5fbc4c]
call fcn.0040dd74
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fc908
push 0x20a
lea eax, [ebp - 0x21e]
push eax
push edi
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x606af6
push edi
call sub.kernel32.dll_FindVolumeClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606c5f
lea eax, [ebp - 0x240]
mov edx, 8
call fcn.0040b914
lea eax, [ebp - 0xc]
mov edx, dword [0x5fbc4c]
call fcn.0040d5d0
pop eax
jmp eax