Function at 0x607140
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 [0x5fc510]
call fcn.0040d1e4
lea eax, [ebp - 0xc]
mov edx, dword [0x5fc454]
call fcn.0040d1e4
xor eax, eax
push ebp
push 0x607460
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [0x5fc4d0]
call fcn.0040f2c4
lea eax, [ebp - 0xc]
mov edx, dword [0x5fc454]
call fcn.0040d5d0
mov edx, 0xc
call fcn.005fd110
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fd110
push 0x20a
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov edi, eax
cmp edi, 0xffffffff
je 0x607432
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 0x607267
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.0043a330
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
call fcn.0040bcec
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.00607470
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
call fcn.0040bcec
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0043a330
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 0x6072ab
mov ebx, dword [ebx - 4]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5fc4d0]
call fcn.0040f1a0
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x6072cf
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 [0x5fc454]
call fcn.0040dd74
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fd110
jmp 0x607412
mov edx, dword [0x5fc454]
lea eax, [ebp - 0xc]
call fcn.0040d5d0
mov edx, 0xc
call fcn.005fd110
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 0x607380
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.0043a330
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0xc]
call fcn.0040bcec
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.00607470
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
call fcn.0040bcec
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.0043a330
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 0x6073c4
mov ebx, dword [ebx - 4]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5fc4d0]
call fcn.0040f1a0
add esp, 4
mov esi, dword [ebp - 0x10]
mov esi, dword [esi]
test esi, esi
je 0x6073e8
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 [0x5fc454]
call fcn.0040dd74
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.005fd110
push 0x20a
lea eax, [ebp - 0x21e]
push eax
push edi
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x6072fe
push edi
call sub.kernel32.dll_FindVolumeClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x607467
lea eax, [ebp - 0x240]
mov edx, 8
call fcn.0040b914
lea eax, [ebp - 0xc]
mov edx, dword [0x5fc454]
call fcn.0040d5d0
pop eax
jmp eax