Function at 0x486c00
Capabilities:
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 0x4e6940
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x51c100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
push 4
push 0x5c
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.00420760
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [eax + 1]
cmp dword [ebx + 0x18], ecx
lea eax, [ebx + 8]
cmovb ecx, dword [ebx + 0x18]
cmp dword [ebx + 0x1c], 8
push ecx
cmovae eax, dword [ebx + 8]
lea ecx, [ebp - 0x30]
push eax
call fcn.0040a4a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push 0
push 0
push eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a05ff
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push ecx
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x30]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x486e38
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x486d00
sub eax, edx
sar eax, 1
jne 0x486d4f
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebx + 8]
mov dword [esi + 0x14], 0
mov word [ebx + 8], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
jmp 0x486dff
movups xmm0, xmmword [ebx + 8]
xor eax, eax
mov word [ebx + 8], ax
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebx + 0x18]
movq qword [ebp - 0x38], xmm0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov ecx, edi
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x5c], eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x58], eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486d90
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.0040a4a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00419af0
add esp, 4
mov ecx, esi
push eax
call fcn.0040e700
lea ecx, [ebp - 0x6c]
call fcn.0040a590
lea ecx, [ebp - 0x48]
call fcn.0040a590
push edi
call fcn.004a05f1
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.0040a590
lea ecx, [ebx + 8]
call fcn.0040a590
mov eax, esi
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.004a057b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x30]
call fcn.0040a630
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.Unable_to_retrieve_volume_paths_for_volume__ls_
push eax
lea ecx, [ebp - 0x68]
call fcn.00413560
push 0x518f50
lea eax, [ebp - 0x68]
push eax
call fcn.004a2f8b
int3