Function at 0x10a0329
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1444
call fcn.0106f850
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_BackupRead]
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [eax], edi
jmp 0x10a03c7
cmp dword [ebp - 8], 0x14
jb 0x10a070b
jmp 0x10a0393
mov eax, 0x1002
cmp dword [ebp - 0x228], eax
jae 0x10a036d
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0x1444]
push eax
push esi
call ebx
mov ecx, dword [ebp - 8]
sub dword [ebp - 0x228], ecx
cmp eax, edi
je 0x10a039d
cmp ecx, edi
je 0x10a039d
cmp dword [ebp - 0x228], edi
jne 0x10a035a
jmp 0x10a039f
xor eax, eax
cmp eax, edi
je 0x10a070b
cmp dword [ebp - 0x238], 8
je 0x10a03ea
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_BackupSeek]
lea eax, [ebp - 0xc]
push eax
push edi
push edi
lea eax, [ebp - 8]
push eax
push 0x14
lea eax, [ebp - 0x238]
push eax
push esi
call ebx
cmp eax, edi
jne 0x10a034e
jmp 0x10a070b
cmp dword [ebp - 0x230], 0x1002
lea esi, [ebp - 0x1444]
mov dword [ebp - 4], esi
jbe 0x10a0411
push dword [ebp - 0x230]
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 4], eax
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x230]
push esi
push dword [ebp + 0x14]
call ebx
test eax, eax
je 0x10a070b
cmp dword [ebp - 8], edi
je 0x10a070b
cmp esi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
je 0x10a06f7
mov edx, dword [esi]
cmp edx, 0x80000007
mov ebx, dword [ebp + 0x10]
jne 0x10a05a9
mov ecx, dword [eax + 0x3c]
cmp ecx, edi
mov dword [ebp + 0x10], ecx
je 0x10a05a9
cmp byte [ebx], 9
jne 0x10a05a9
cmp word [eax + 0x40], di
mov eax, dword [0x10dba40]
je 0x10a04a3
cmp eax, edi
je 0x10a05a0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebx + 0xa8]
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x10]
push ecx
push edi
push dword [ebp - 0x230]
push esi
push dword [ebp + 0x10]
call dword [eax + 8]
jmp 0x10a04c9
cmp eax, edi
je 0x10a05a0
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebx + 0xa8]
push ecx
push dword [ebp - 0x230]
mov dword [ebp - 4], ecx
push esi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [eax + 0x14]
cmp eax, edi
je 0x10a05a0
mov eax, dword [ebp - 4]
cmp dword [eax], edi
mov word [ebx + 0xa4], 2
mov dword [ebp + 0x10], edi
jbe 0x10a0588
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
shl edi, 2
push dword [edi + eax]
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
call fcn.010981ff
test eax, eax
mov dword [ebp - 0x18], eax
je 0x10a0577
mov eax, dword [ebp + 0xc]
push 0x5c
push dword [edi + eax]
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x10a0527
inc eax
inc eax
jmp 0x10a052d
mov eax, dword [ebp + 0xc]
mov eax, dword [edi + eax]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll_wcscpy]
cmp dword [ebp + 0x10], 0
pop ecx
pop ecx
jne 0x10a054b
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xac], eax
mov eax, dword [0x10dba40]
test eax, eax
je 0x10a0562
mov ecx, dword [ebp + 0xc]
push dword [edi + ecx]
call dword [eax + 0x20]
mov eax, dword [0x10dba40]
inc dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ecx]
jb 0x10a04e8
xor edi, edi
jmp 0x10a058d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
or ax, 0xffff
jmp 0x10a0720
mov eax, dword [0x10dba40]
cmp eax, edi
je 0x10a06ea
push dword [ebp + 0xc]
call dword [eax + 0x20]
jmp 0x10a06ea
mov ax, 0xfe16
jmp 0x10a0720
cmp edx, 0xa0000003
jne 0x10a06ea
cmp byte [ebx], 8
jne 0x10a06ea
or byte [ebx + 0x84], 4
xor eax, eax
mov ax, word [esi + 0xe]
cmp ax, di
je 0x10a0634
add eax, 2
push eax
push dword [ebp + 8]
call fcn.010981ff
mov edx, eax
cmp edx, edi
mov dword [ebx + 0x88], edx
je 0x10a06ea
movzx ecx, word [esi + 0xe]
mov edi, dword [edx + 0x18]
inc ecx
inc ecx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
movzx eax, word [esi + 0xc]
movzx ecx, word [esi + 0xe]
shr eax, 1
lea esi, [esi + eax*2 + 0x10]
mov eax, dword [ebx + 0x88]
mov edi, dword [eax + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
xor edi, edi
jmp 0x10a06ea
movzx eax, word [esi + 8]
shr eax, 1
push 4
lea eax, [esi + eax*2 + 0x10]
push 0x1011dac
push eax
mov dword [ebp + 0x10], eax
mov word [ebp - 0x12], 0x3a
mov word [ebp - 0x10], 0x5c
mov word [ebp - 0xe], di
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10a066f
mov eax, dword [ebp + 0x10]
mov word [eax + 2], 0x5c
mov word [ebp - 0x14], 0x41
push 0x104
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10a06a5
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10a06b2
inc word [ebp - 0x14]
cmp word [ebp - 0x14], 0x5a
jbe 0x10a0675
jmp 0x10a06ea
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
call fcn.010981ff
cmp eax, edi
mov dword [ebx + 0x88], eax
je 0x10a06ea
lea ecx, [ebp - 0x14]
push ecx
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll_wcscpy]
or byte [ebx + 0x84], 4
pop ecx
pop ecx
mov eax, dword [esi]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_BackupRead]
mov dword [ecx], eax
cmp dword [ebp - 0x230], 0x1002
jbe 0x10a070b
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
lea eax, [ebp - 0xc]
push eax
push edi
push 1
lea eax, [ebp - 8]
push eax
push edi
push edi
push dword [ebp + 0x14]
call ebx
xor ax, ax
pop edi
pop esi
pop ebx
leave
ret 0x14