Function at 0x1014554
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1015449
call fcn.01011388
sub esp, 0x4f0
mov eax, dword [0x101704c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x10079f8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x49c], esp
push 0
push 0x4000
push 0x603
mov ebx, 0x1007200
push ebx
mov esi, 0x1007170
push esi
mov dword [ebp - 0x14], eax
call fcn.01007e91
lea ecx, [ebp - 0x4b8]
call fcn.01007fe5
and dword [ebp - 4], 0
mov edi, 0x105
push edi
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
mov dword [ebp - 0x49c], eax
jne 0x101460a
push eax
push edi
lea eax, [ebp - 0x490]
push eax
push 0x10079a8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
push 0x4000
push 0x60c
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.01012d83
add esp, 0x54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x49c]
lea eax, [ebp - 0x490]
push edi
push eax
push 0x1007940
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
push 0x4000
push 0x60e
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.0100821c
and word [ebp - 0x284], 0
xor eax, eax
add esp, 0x58
mov ecx, 0x82
lea edi, [ebp - 0x282]
rep stosd dword es:[edi], eax
mov edi, 0x105
push edi
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x10146ca
push edi
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x490]
push eax
push 0x10078fc
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
mov edi, 0x4000
push edi
push 0x617
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.01012d83
add esp, 0x54
jmp 0x10146cf
mov edi, 0x4000
push 0x32
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x101471b
lea eax, [ebp - 0x284]
push eax
push 0x1007860
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
push edi
push 0x61d
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.01012d83
add esp, 0x4c
lea eax, [ebp - 0x78]
push eax
push 0x1007830
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
push edi
push 0x61f
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.0100821c
add esp, 0x4c
push 0
lea ecx, [ebp - 0x4fc]
call fcn.0101450c
push 0x80
push 3
push 0x80000000
push 2
push 1
push 1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4fc]
mov byte [ebp - 4], 2
call fcn.01014190
push 0
push 0
push 1
push 0x534058
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.01013a59
push 1
push 1
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x4fc]
call fcn.01013f81
push dword [ebp - 0x49c]
push dword [ebp - 0x4a0]
push 0x10077f8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x494], esp
push 0
push edi
push 0x62e
push ebx
push esi
call fcn.01007e91
lea eax, [ebp - 0x4b8]
push eax
call fcn.0100821c
add esp, 0x50
lea ecx, [ebp - 0x4fc]
call fcn.0101413c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b8]
call fcn.01008075
mov eax, dword [ebp - 0x4a0]
mov edx, dword [ebp - 0x49c]
jmp 0x101495d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.010110c9
pop edi
pop esi
pop ebx
leave
ret