Function at 0x100c981
Capabilities:
Get disk information

Disassembly:
push 0x160
mov eax, 0x1017903
call fcn.01011fb1
mov eax, dword [ebp + 8]
xor edi, edi
push edi
sub esp, 0x58
mov dword [ebp - 0x118], esp
mov esi, ecx
mov ecx, esp
push 0xff
push 7
push 0x69c
push 0x10040e0
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
push 0x1003598
mov ebx, 0x1003530
push ebx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x100], eax
call fcn.01012994
lea ecx, [ebp - 0x16c]
call fcn.01013ba7
push 3
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0100888d
push 6
mov ecx, esi
mov dword [ebp - 0x114], eax
call fcn.0100adf1
push edi
mov ecx, esi
mov dword [ebp - 0x11c], eax
call fcn.0100adf1
mov dword [ebp - 0x118], eax
mov eax, 0x1008320
mov esi, eax
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
or dword [ebp - 0x12c], 0xffffffff
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x104]
push 0xc
mov ecx, esi
mov dword [ebp - 0x128], 0x7fffffff
call fcn.0100888d
test eax, eax
je 0x100caad
lea eax, [ebp - 0x84]
push eax
push 0xc
mov ecx, esi
call fcn.0100888d
push eax
mov ecx, esi
call fcn.010103fd
test al, al
jne 0x100caad
push 0x1003e48
push 0x1004
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 7
push 0x6aa
push 0x10040e0
push 0x1003598
push ebx
call fcn.01012994
lea eax, [ebp - 0x16c]
push eax
call fcn.010143db
push 9
mov ecx, esi
call fcn.0100adf1
mov ecx, dword [esi]
cmp eax, 1
sete al
movzx eax, al
mov edx, dword [ecx]
lea esi, [ebp - 0x16c]
push esi
push eax
sub esp, 0x10
cmp dword [ebp - 0x11c], 1
mov edi, esp
sete al
cmp dword [ebp - 0x118], 1
movzx eax, al
push eax
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
sete al
movsd dword es:[edi], dword [esi]
movzx eax, al
push eax
push dword [ebp - 0x114]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
call dword [edx + 0x2c]
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push eax
sub esp, 0x10
mov edi, esp
mov esi, 0x10022d8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x17
push 0x10022c0
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
mov esi, 0x10022b0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x108], esp
movsd dword es:[edi], dword [esi]
mov esi, 0xff
push esi
push 7
push 0x6b5
push 0x10040e0
mov edi, 0x1003598
push edi
push ebx
mov byte [ebp - 4], 1
call fcn.01012994
lea ecx, [ebp - 0x16c]
call fcn.0101542b
cmp dword [ebp - 0x164], 0
jge 0x100cbaf
push dword [ebp - 0x164]
push 0x1002268
push dword [ebp - 0x164]
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push esi
push 7
push 0x6bc
push 0x10040e0
push edi
push ebx
call fcn.01012994
lea eax, [ebp - 0x16c]
push eax
call fcn.010143db
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x164], eax
test eax, eax
jge 0x100cbe3
push eax
push 0x1003a70
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push esi
push 7
push 0x6c1
jmp 0x100cb97
push 4
pop ecx
mov edi, 0x1008320
lea esi, [ebp - 0x84]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x100cc9c
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x1c]
mov dword [ebp - 0x164], eax
cmp eax, 0x80042308
jne 0x100cc4a
push 0x1004090
push 1
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 7
push 0x6cc
jmp 0x100ca91
push dword [ebp - 0x24]
call fcn.0101068f
test eax, eax
jne 0x100cc7c
push 0x1004010
push 0x100b
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 7
push 0x6d0
jmp 0x100ca91
lea eax, [ebp - 0x70]
push eax
call sub.VSSAPI.DLL_VssFreeSnapshotPropertiesInternal
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x84]
push eax
call fcn.0100c8f2
jmp 0x100cf40
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x114]
add esp, 0xc
test eax, eax
je 0x100cd7a
cmp word [eax], 0x5c
je 0x100cd27
push 0x32
lea ecx, [ebp - 0x74]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x100cd7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x104]
push eax
push 3
call fcn.0100888d
push eax
push 0x1003f80
push 0x80042308
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 1
push 0x6e6
push 0x10040e0
push 0x1003598
push ebx
call fcn.01012994
lea eax, [ebp - 0x16c]
push eax
call fcn.010143db
push eax
push 0x32
lea eax, [ebp - 0x74]
push eax
call fcn.01008bc9
push 0x1003f64
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x104], esp
push 0xff
push 7
push 0x6ed
push 0x10040e0
push 0x1003598
push ebx
mov dword [ebp - 0x164], eax
call fcn.01012994
lea eax, [ebp - 0x16c]
push eax
call fcn.010087ac
add esp, 0x60
xor eax, eax
mov word [ebp - 0x12], ax
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
lea edx, [ebp - 0x108]
push edx
push 3
push 1
sub esp, 0x10
mov edi, esp
mov esi, 0x1008320
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 2
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov dword [ebp - 0x164], eax
test eax, eax
jge 0x100ceb0
push eax
push 0x1002224
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 7
push 0x6f6
push 0x10040e0
push 0x1003598
jmp 0x100cb9d
cmp eax, 1
je 0x100cefd
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x124], 0x1003c04
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xcc]
mov byte [ebp - 4], 3
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x100ce30
cmp dword [ebp - 0x114], 0
jne 0x100cea1
cmp dword [ebp - 0x118], 0
je 0x100cea1
push dword [ebp - 0xa8]
call fcn.0101068f
test eax, eax
jne 0x100ce4a
mov eax, dword [ebp - 0x100]
mov byte [eax], 1
jmp 0x100cea1
cmp dword [ebp - 0x11c], 0
je 0x100ce8f
mov ecx, dword [ebp - 0xa0]
cmp dword [ebp - 0x128], ecx
jl 0x100cea1
mov eax, dword [ebp - 0xa4]
jg 0x100ce71
cmp dword [ebp - 0x12c], eax
jbe 0x100cea1
lea esi, [ebp - 0xf4]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], ecx
jmp 0x100cea1
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0xf4]
push eax
call fcn.0100c8f2
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 2
call fcn.0100bab1
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
lea edx, [ebp - 0xfc]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x164], eax
test eax, eax
jge 0x100cde5
push eax
push 0x10021e8
push eax
sub esp, 0x58
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xff
push 7
push 0x701
jmp 0x100cdd6
cmp dword [ebp - 0x11c], 0
je 0x100cf2c
push 4
pop ecx
mov edi, 0x1008320
lea esi, [ebp - 0x94]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x100cf2c
mov ecx, dword [ebp - 0x110]
lea eax, [ebp - 0x94]
push eax
call fcn.0100c8f2
mov eax, dword [ebp - 0x108]
mov byte [ebp - 4], 1
test eax, eax
je 0x100cf40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10c]
mov byte [ebp - 4], 0
test eax, eax
je 0x100cf54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x16c]
call fcn.01013c60
call fcn.01012043
ret 8