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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516ae7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x55f2b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x2a4], edi
push 0x40
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, eax
mov dword [ebp - 0x2a4], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x46481c
nop word [eax + eax]
lea eax, [ebp - 0x98]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4643b0
sub eax, edx
sar eax, 1
je 0x46447f
cmp word [ebp + eax*2 - 0x9a], 0x5c
jne 0x4643e8
dec eax
add eax, eax
cmp eax, 0x80
jae 0x46486d
xor ecx, ecx
mov word [ebp + eax - 0x98], cx
push 4
lea eax, [ebp - 0x98]
push 0x544fc4
push eax
call fcn.004f0a84
add esp, 0xc
lea ecx, [ebp - 0x90]
test eax, eax
lea eax, [ebp - 0x98]
cmovne ecx, eax
lea eax, [ebp - 0x2a0]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46447f
push 0x53fc98
lea eax, [ebp - 0x2a0]
push 0x104
push eax
call fcn.004f6b57
lea ecx, [ebp - 0x2a0]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464450
sub ecx, edx
lea eax, [ebx + 8]
sar ecx, 1
cmp dword [ebx + 0x1c], 8
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call fcn.004f0827
add esp, 0xc
test eax, eax
je 0x4644ae
push 0x40
lea eax, [ebp - 0x98]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x4643a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebx + 8]
cmp eax, 0x12
je 0x464844
jmp 0x464806
movups xmm0, xmmword [ebx + 8]
xor eax, eax
mov word [ebx + 8], ax
movups xmmword [ebp - 0x2bc], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [ebp - 0x2ac], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2f4], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464500
sub ecx, edx
lea eax, [ebp - 0x98]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x304]
call fcn.00414320
push 1
push 0x53fc98
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 3
call fcn.0041b860
mov dword [ebp - 0x2dc], 0
xor ecx, ecx
mov dword [ebp - 0x2d8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2ec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2dc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2ec]
cmp dword [ebp - 0x2d8], 8
mov dword [ebp - 0x2c4], ecx
lea ecx, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2ec]
lea edx, [ecx + 2]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x308], eax
xor eax, eax
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4645c2
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00414320
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2d4]
cmp dword [ebp - 0x2c0], 8
lea edx, [ebp - 0x314]
lea ecx, [ebp - 0x2bc]
cmovae eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x30c]
push eax
call fcn.00419850
add esp, 4
mov ecx, edi
push eax
call fcn.00414920
mov edx, dword [ebp - 0x2c0]
cmp edx, 8
jb 0x464671
mov ecx, dword [ebp - 0x2d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464667
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464872
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x2d8]
xor eax, eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2c0], 7
mov word [ebp - 0x2d4], ax
cmp edx, 8
jb 0x4646ce
mov ecx, dword [ebp - 0x2ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4646c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464872
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x2f0]
xor eax, eax
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 7
mov word [ebp - 0x2ec], ax
cmp edx, 8
jb 0x46472b
mov ecx, dword [ebp - 0x304]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x464721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464872
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 7
mov word [ebp - 0x304], ax
cmp edx, 8
jb 0x464788
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46477e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464872
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 0x2ac], 0
push esi
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov edx, dword [ebx + 0x1c]
cmp edx, 8
jb 0x4647e6
mov ecx, dword [ebx + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4647dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464872
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d0675
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004146e0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
push eax
jmp 0x464851
push str.Unable_to_enumerate_volumes_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00468e50
push 0x55c1ac
lea eax, [ebp - 0x2d0]
push eax
call fcn.004e81cb
call fcn.004146e0
push eax
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
push 3
lea ecx, [ebp - 0x2d0]
call fcn.00416ba0
push 0x55c1ac
lea eax, [ebp - 0x2d0]
push eax
call fcn.004e81cb
call fcn.004d11b2
call fcn.004ebf29
int3