Function at 0x472490
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8598
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x64], 0
mov eax, 0x5c
mov dword [ebp - 4], 0
push 1
mov word [ebp - 0x14], ax
lea ecx, [ebp + 8]
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.004157f0
inc eax
lea ecx, [ebp + 8]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00415410
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
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 - 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048bf2e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x47258d
lea ecx, [ebp - 0x2c]
call fcn.004140f0
push eax
push str.Unable_to_retrieve_volume_paths_for_volume__ls_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004770a0
add esp, 0x10
lea eax, [ebp - 0x58]
push 0x513ed8
push eax
call fcn.004a4f7b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472592
sub ecx, edx
sar ecx, 1
jne 0x47260a
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
mov word [edi], ax
lea eax, [ebp + 8]
push eax
call fcn.00413a50
test esi, esi
je 0x4725ce
push esi
call fcn.0048bd21
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4725e3
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414120
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x472705
inc ecx
push ecx
jmp 0x4726fa
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp + 8]
mov dword [ebp - 0x34], 0
push eax
call fcn.00413a50
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00414090
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.0042b330
add esp, 4
mov dword [edi + 0x14], 7
xor ecx, ecx
mov dword [edi + 0x10], 0
mov word [edi], cx
push 0xffffffffffffffff
push ecx
push eax
mov ecx, edi
call fcn.00413c40
mov eax, dword [ebp - 0x4c]
cmp eax, 8
jb 0x47267d
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x50], 0
cmp eax, 8
jb 0x4726a6
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
test esi, esi
je 0x4726c7
push esi
call fcn.0048bd21
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4726dc
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00414120
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x472705
inc eax
push eax
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00414120
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret