Function at 0x42b35f
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, 0x4703e0
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 0x42b3cc
push 0x453f30
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 0x42b514
inc esi
cmp si, 0x5a
jbe 0x42b38a
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 0x42b44d
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 0x42b431
push 0x453f30
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 0x42b569
push 0x34
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x42b3ed
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [0x509b30], 0x501
mov ebx, dword [ebp + 0xc]
jb 0x42b50a
push str._Volume
push ebx
call fcn.00428778
test eax, eax
je 0x42b50a
test byte [0x507984], 1
jne 0x42b49f
or dword [0x507984], 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 [0x507980], 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 [0x507980]
test eax, eax
jne 0x42b4db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x42b50a
cmp dword [ebp + 0xc], 5
jb 0x42b50a
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 0x42b50a
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 0x42b55d
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 0x42b50b
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42b50d
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 0x42b5ac
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 0x42b444
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x42b565