Function at 0x4290f8
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, 0x46a968
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 0x429165
push 0x44ec18
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 0x4292ad
inc esi
cmp si, 0x5a
jbe 0x429123
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 0x4291e6
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 0x4291ca
push 0x44ec18
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 0x429302
push 0x34
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x429186
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
cmp dword [0x500ac0], 0x501
mov ebx, dword [ebp + 0xc]
jb 0x4292a3
push str._Volume
push ebx
call fcn.00426e06
test eax, eax
je 0x4292a3
test byte [0x4ff5d4], 1
jne 0x429238
or dword [0x4ff5d4], 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 [0x4ff5d0], 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 [0x4ff5d0]
test eax, eax
jne 0x429274
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4292a3
cmp dword [ebp + 0xc], 5
jb 0x4292a3
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 0x4292a3
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 0x4292f6
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 0x4292a4
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4292a6
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 0x429345
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 0x4291dd
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
jmp 0x4292fe