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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64818adf
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x64854008]
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 - 0x29c], ebx
mov dword [ebp - 0x2b8], 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 - 0x29c], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
jne 0x647fde03
push str.Unable_to_enumerate_volumes_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.64802140
add esp, 0xc
lea eax, [ebp - 0x2b0]
push 0x64850520
push eax
call fcn.64807648
lea eax, [ebp - 0x90]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x647fde10
sub eax, edx
sar eax, 1
je 0x647fdee0
cmp word [ebp + eax*2 - 0x92], 0x5c
lea edi, [ebp - 0x90]
jne 0x647fde4e
dec eax
add eax, eax
cmp eax, 0x80
jae 0x647fdf37
xor ecx, ecx
mov word [ebp + eax - 0x90], cx
push 4
lea eax, [ebp - 0x90]
push str.__
push eax
call dword [0x6481d490]
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 0x647fdee0
push 0x64820968
lea eax, [ebp - 0x298]
push 0x104
push eax
call dword [0x6481d458]
lea ecx, [ebp - 0x298]
add esp, 0xc
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x647fdeb0
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 dword [0x6481d48c]
add esp, 0xc
test eax, eax
je 0x647fdf3c
push 0x40
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x647fde03
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 8]
cmp eax, 0x12
jne 0x647fe03b
call fcn.647898c0
push eax
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
lea eax, [ebp - 0x2b0]
push 3
push eax
call fcn.64802140
add esp, 0x10
lea eax, [ebp - 0x2b0]
push 0x64850520
push eax
call fcn.64807648
call fcn.64803733
xor eax, eax
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
lea ecx, [ebp - 0x2b4]
lea eax, [ebp + 8]
mov dword [ebp - 0x2a4], 0
push eax
call fcn.64789e90
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x300]
call fcn.6478d2e0
push 0x64820968
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2e8]
call fcn.6478c9b0
add esp, 4
mov edi, eax
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2d0]
call fcn.6478d2e0
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b4]
call fcn.647e2890
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.6478a3e0
lea ecx, [ebp - 0x2d0]
call fcn.647898d0
lea ecx, [ebp - 0x2e8]
call fcn.647898d0
lea ecx, [ebp - 0x300]
call fcn.647898d0
lea ecx, [ebp - 0x2b4]
call fcn.647898d0
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea ecx, [ebp + 8]
call fcn.647898d0
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.648031e0
mov esp, ebp
pop ebp
ret
call fcn.647898c0
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 - 0x2b0]
push eax
call fcn.64802140
add esp, 0x10
lea eax, [ebp - 0x2b0]
push 0x64850520
push eax
call fcn.64807648
int3