Function at 0x667774
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 [0x65ca38]
call fcn.0040c428
lea eax, [ebp - 0xc]
mov edx, dword [0x65c97c]
call fcn.0040c428
xor eax, eax
push ebp
push 0x667a9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [0x65c9f8]
call fcn.0040e0b8
lea eax, [ebp - 0xc]
mov edx, dword [0x65c97c]
call fcn.0040c7dc
mov edx, 0xc
call fcn.0065d4f4
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0065d4f4
push 0x20a
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov edi, eax
cmp edi, 0xffffffff
je 0x667a6e
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040baa4
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b9ec
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x66789b
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040baa4
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0042f578
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
call fcn.0040af74
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.00667aac
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
call fcn.0040af74
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0042f578
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 4]
call fcn.0040af74
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6678e1
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x65c9f8]
call fcn.0040df94
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x667907
sub ebx, 4
mov ebx, dword [ebx]
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 [0x65c97c]
call fcn.0040cdc4
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0065d4f4
jmp 0x667a4e
lea eax, [ebp - 0xc]
mov edx, dword [0x65c97c]
call fcn.0040c7dc
mov edx, 0xc
call fcn.0065d4f4
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040baa4
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b9ec
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x6679b8
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040baa4
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.0042f578
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0xc]
call fcn.0040af74
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.00667aac
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
call fcn.0040af74
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0042f578
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 4]
call fcn.0040af74
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6679fe
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x65c9f8]
call fcn.0040df94
add esp, 4
mov esi, dword [ebp - 0x10]
mov esi, dword [esi]
test esi, esi
je 0x667a24
sub esi, 4
mov esi, dword [esi]
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 [0x65c97c]
call fcn.0040cdc4
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0065d4f4
push 0x20a
lea eax, [ebp - 0x21e]
push eax
push edi
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x667936
push edi
call sub.kernel32.dll_FindVolumeClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x667aa3
lea eax, [ebp - 0x240]
mov edx, 8
call fcn.0040abac
lea eax, [ebp - 0xc]
mov edx, dword [0x65c97c]
call fcn.0040c7dc
pop eax
jmp eax