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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x68c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
mov word [ecx], ax
mov esi, 0x467fe0
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x41
pop esi
push 0x104
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xc], si
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4279bd
push 0x44c7f8
lea eax, [ebp - 0x27c]
push eax
call edi
lea eax, [ebp - 0x27c]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebx
je 0x427b05
inc esi
cmp si, 0x5a
jbe 0x42797b
push 0x34
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x427a3e
xor eax, eax
mov word [ebp - 0x14], ax
push 0x104
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x427a22
push 0x44c7f8
lea eax, [ebp - 0x27c]
push eax
call edi
lea eax, [ebp - 0x27c]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebx
je 0x427b5a
push 0x34
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x4279de
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [0x4fabd8], 0x501
mov ebx, dword [ebp + 0xc]
jb 0x427afb
push str._Volume
push ebx
call fcn.0042580f
test eax, eax
je 0x427afb
test byte [0x4f96ec], 1
jne 0x427a90
or dword [0x4f96ec], 1
push str.GetVolumePathNamesForVolumeNameW
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f96e8], eax
push 0x32
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x208
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [0x4f96e8]
test eax, eax
jne 0x427acc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x427afb
cmp dword [ebp + 0xc], 5
jb 0x427afb
lea eax, [ebx + 0x62]
push eax
lea eax, [ebp - 0x68c]
push eax
call edi
lea eax, [ebp - 0x68c]
push eax
call esi
cmp eax, dword [ebp + 0x10]
jge 0x427afb
lea eax, [ebp - 0x68c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x27c]
push eax
call esi
mov dword [ebp + 8], 2
sub dword [ebp + 8], eax
push ebx
call esi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x10]
jge 0x427b4e
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x27c]
push eax
call esi
lea eax, [ebx + eax*2 - 2]
push eax
push dword [ebp + 0xc]
call edi
push dword [ebp + 0xc]
jmp 0x427afc
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x427afe
lea eax, [ebp - 0x27c]
push eax
call esi
mov dword [ebp + 8], 2
sub dword [ebp + 8], eax
push ebx
call esi
add eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x10]
jge 0x427b9d
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x27c]
push eax
call esi
lea eax, [ebx + eax*2 - 2]
push eax
push dword [ebp + 0xc]
call edi
jmp 0x427a35
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x427b56