Function at 0x42783e
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, 0x466fc8
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 0x4278ab
push 0x44b8e4
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 0x4279f3
inc esi
cmp si, 0x5a
jbe 0x427869
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 0x42792c
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 0x427910
push 0x44b8e4
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 0x427a48
push 0x34
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x4278cc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [0x4f9f68], 0x501
mov ebx, dword [ebp + 0xc]
jb 0x4279e9
push str._Volume
push ebx
call fcn.0042568e
test eax, eax
je 0x4279e9
test byte [0x4f8aec], 1
jne 0x42797e
or dword [0x4f8aec], 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 [0x4f8ae8], 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 [0x4f8ae8]
test eax, eax
jne 0x4279ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4279e9
cmp dword [ebp + 0xc], 5
jb 0x4279e9
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 0x4279e9
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 0x427a3c
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 0x4279ea
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4279ec
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 0x427a8b
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 0x427923
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x427a44