Function at 0x687598
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 [0x67db70]
call fcn.0040d214
lea eax, [ebp - 0xc]
mov edx, dword [0x67dab4]
call fcn.0040d214
xor eax, eax
push ebp
push 0x6878c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [0x67db30]
call fcn.0040f04c
lea eax, [ebp - 0xc]
mov edx, dword [0x67dab4]
call fcn.0040d600
mov edx, 0xc
call fcn.0067a0cc
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0067a0cc
push 0x20a
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_FindFirstVolumeW
mov edi, eax
cmp edi, 0xffffffff
je 0x687892
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c95c
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x6876bf
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c95c
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.00432ae4
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0xc]
call fcn.0040bddc
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 4]
call fcn.006878d0
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 8]
call fcn.0040bddc
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.00432ae4
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 4]
call fcn.0040bddc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x687705
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x67db30]
call fcn.0040ef28
add esp, 4
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x68772b
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 [0x67dab4]
call fcn.0040dda4
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0067a0cc
jmp 0x687872
lea eax, [ebp - 0xc]
mov edx, dword [0x67dab4]
call fcn.0040d600
mov edx, 0xc
call fcn.0067a0cc
lea eax, [ebp - 4]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c95c
lea eax, [ebp - 0x14]
push eax
push 0x20a
lea eax, [ebp - 0x21e]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c8a8
push eax
call sub.kernel32.dll_GetVolumePathNamesForVolumeNameW
test eax, eax
je 0x6877dc
lea eax, [ebp - 0x238]
lea edx, [ebp - 0x21e]
mov ecx, 0x105
call fcn.0040c95c
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00432ae4
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0xc]
call fcn.0040bddc
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 4]
call fcn.006878d0
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 8]
call fcn.0040bddc
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.00432ae4
mov edx, dword [ebp - 0x240]
lea eax, [ebp - 4]
call fcn.0040bddc
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x687822
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x67db30]
call fcn.0040ef28
add esp, 4
mov esi, dword [ebp - 0x10]
mov esi, dword [esi]
test esi, esi
je 0x687848
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 [0x67dab4]
call fcn.0040dda4
lea eax, [ebp - 0x21e]
mov edx, 0x20a
call fcn.0067a0cc
push 0x20a
lea eax, [ebp - 0x21e]
push eax
push edi
call sub.kernel32.dll_FindNextVolumeW
test eax, eax
jne 0x68775a
push edi
call sub.kernel32.dll_FindVolumeClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6878c7
lea eax, [ebp - 0x240]
mov edx, 8
call fcn.0040ba04
lea eax, [ebp - 0xc]
mov edx, dword [0x67dab4]
call fcn.0040d600
pop eax
jmp eax