Function at 0x489e00
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 0x4ea220
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x521104]
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 - 0x4c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 0
lea ecx, [ebx + 8]
cmp dword [ebx + 0x1c], 8
mov eax, dword [ebx + 0x18]
cmovae ecx, dword [ebx + 8]
setae byte [ebp - 0x4d]
mov dword [ebp - 0x4c], ecx
cmp eax, 4
jbe 0x489e9f
lea edx, [eax - 4]
add ecx, 8
xor edi, edi
test edx, edx
je 0x489e94
cmp word [ecx], 0x5c
je 0x489e8f
nop dword [eax]
cmp edx, 1
je 0x489e91
add ecx, 2
dec edx
cmp word [ecx], 0x5c
jne 0x489e80
mov edi, ecx
mov eax, dword [ebx + 0x18]
test edi, edi
je 0x489e9f
sub edi, dword [ebp - 0x4c]
sar edi, 1
jmp 0x489ea2
or edi, 0xffffffff
lea ecx, [edi + 1]
mov dword [ebp - 0x1c], 0
cmp eax, ecx
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
cmovb ecx, eax
lea eax, [ebx + 8]
cmp byte [ebp - 0x4d], 0
push ecx
cmovne eax, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.0040a370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
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.004a391f
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x2c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x48a078
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x489f45
sub eax, edx
sar eax, 1
jne 0x489f94
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 0x48a03f
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 - 0x60], eax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489fd0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x70]
call fcn.0040a370
mov byte [ebp - 4], 4
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419930
add esp, 4
mov ecx, esi
push eax
call fcn.0040e330
lea ecx, [ebp - 0x70]
call fcn.0040a450
lea ecx, [ebp - 0x48]
call fcn.0040a450
push edi
call fcn.004a3911
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.0040a450
lea ecx, [ebx + 8]
call fcn.0040a450
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.004a389b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x2c]
call fcn.0040a4f0
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 - 0x6c]
call fcn.004131f0
push 0x51dce8
lea eax, [ebp - 0x6c]
push eax
call fcn.004a629b
int3