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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d853f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x300], 0
push 0x40
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, eax
mov dword [ebp - 0x2b4], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x472153
push str.Unable_to_enumerate_volumes_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004770a0
add esp, 0xc
lea eax, [ebp - 0x2a8]
push 0x513ed8
push eax
call fcn.004a4f7b
lea eax, [ebp - 0x90]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472160
sub eax, edx
sar eax, 1
je 0x47222f
cmp word [ebp + eax*2 - 0x92], 0x5c
lea edi, [ebp - 0x90]
jne 0x47219e
dec eax
add eax, eax
cmp eax, 0x80
jae 0x472286
xor ecx, ecx
mov word [ebp + eax - 0x90], cx
push 4
lea eax, [ebp - 0x90]
push 0x4f1f80
push eax
call fcn.004b88a2
add esp, 0xc
lea ecx, [ebp - 0x88]
test eax, eax
lea eax, [ebp - 0x298]
cmovne ecx, edi
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x47222f
push 0x4ec0fc
lea eax, [ebp - 0x298]
push 0x104
push eax
call fcn.004b2a0c
lea ecx, [ebp - 0x298]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472200
sub ecx, edx
lea eax, [ebp + 8]
sar ecx, 1
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x298]
push ecx
push eax
call fcn.004b88dc
add esp, 0xc
test eax, eax
je 0x47228b
push 0x40
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x472153
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 8]
cmp eax, 0x12
jne 0x472457
call fcn.004140f0
push eax
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
lea eax, [ebp - 0x2a8]
push 3
push eax
call fcn.004770a0
add esp, 0x10
lea eax, [ebp - 0x2a8]
push 0x513ed8
push eax
call fcn.004a4f7b
call fcn.0048be52
xor eax, eax
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
lea ecx, [ebp - 0x2b0]
lea eax, [ebp + 8]
mov dword [ebp - 0x2a0], 0
push eax
call fcn.00413a50
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2fc]
call fcn.00414090
push 0x4ec0fc
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e4]
call fcn.00413750
add esp, 4
mov edi, eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2cc]
call fcn.00414090
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b0]
call fcn.0042b330
add esp, 4
mov dword [ebx + 0x14], 7
xor ecx, ecx
mov dword [ebx + 0x10], 0
mov word [ebx], cx
push 0xffffffffffffffff
push ecx
push eax
mov ecx, ebx
call fcn.00413c40
mov eax, dword [ebp - 0x2b8]
cmp eax, 8
jb 0x47234f
inc eax
lea ecx, [ebp - 0x2cc]
push eax
push dword [ebp - 0x2cc]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x2bc], 0
cmp eax, 8
jb 0x47238a
inc eax
lea ecx, [ebp - 0x2e4]
push eax
push dword [ebp - 0x2e4]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x2d0], 7
mov word [ebp - 0x2e4], ax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d4], 0
cmp eax, 8
jb 0x4723c5
inc eax
lea ecx, [ebp - 0x2fc]
push eax
push dword [ebp - 0x2fc]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x2e8], 7
mov word [ebp - 0x2fc], ax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x2ec], 0
cmp eax, 8
jb 0x472400
inc eax
lea ecx, [ebp - 0x2b0]
push eax
push dword [ebp - 0x2b0]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x29c], 7
push esi
mov dword [ebp - 0x2a0], 0
mov word [ebp - 0x2b0], ax
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x472439
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00414120
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
call fcn.004140f0
push eax
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004770a0
add esp, 0x10
lea eax, [ebp - 0x2a8]
push 0x513ed8
push eax
call fcn.004a4f7b
int3