Function at 0x42ae1e
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, 0x46f390
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 0x42ae8b
push 0x452f08
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 0x42afd3
inc esi
cmp si, 0x5a
jbe 0x42ae49
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 0x42af0c
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 0x42aef0
push 0x452f08
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 0x42b028
push 0x34
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x42aeac
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [0x508720], 0x501
mov ebx, dword [ebp + 0xc]
jb 0x42afc9
push str._Volume
push ebx
call fcn.0042838f
test eax, eax
je 0x42afc9
test byte [0x506574], 1
jne 0x42af5e
or dword [0x506574], 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 [0x506570], 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 [0x506570]
test eax, eax
jne 0x42af9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x42afc9
cmp dword [ebp + 0xc], 5
jb 0x42afc9
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 0x42afc9
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 0x42b01c
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 0x42afca
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42afcc
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 0x42b06b
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 0x42af03
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x42b024