Function at 0x10a6f79
Capabilities:
Get disk size
Unmount volume via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x111024c]
mov ebx, 0x111024c
mov esi, 0x100ab50
cmp eax, ebx
je 0x10a6fc4
test byte [eax + 0x1c], 4
je 0x10a6fc4
cmp byte [eax + 0x19], 4
jb 0x10a6fc4
push esi
push 0x18a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0
cmp eax, ebx
je 0x10a6ff5
test byte [eax + 0x1c], 4
je 0x10a6ff5
cmp byte [eax + 0x19], 5
jb 0x10a6ff5
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push 0x18b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010197e6
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x1c]
and dword [eax], 0
and dword [edi], 0
push edi
lea ecx, [ebp - 0x14]
call fcn.0109bb47
mov dword [ebp + 0x14], eax
test eax, eax
je 0x10a704e
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10a703c
test byte [eax + 0x1c], 4
je 0x10a703c
cmp byte [eax + 0x19], 2
jb 0x10a703c
push dword [edi]
push dword [ebp + 0x14]
push esi
push 0x18c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
lea ecx, [ebp - 0x14]
call fcn.0109bb81
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x18
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0109f270
mov dword [ebp + 0x14], eax
test eax, eax
je 0x10a709f
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10a7090
test byte [eax + 0x1c], 4
je 0x10a7090
cmp byte [eax + 0x19], 2
jb 0x10a7090
push dword [edi]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
push 0x18d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019c0f
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
call fcn.0109bb81
mov eax, esi
jmp 0x10a7047
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10a70cb
test byte [eax + 0x1c], 4
je 0x10a70cb
cmp byte [eax + 0x19], 4
jb 0x10a70cb
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
push 0x18e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010194e4
lea ecx, [ebp - 0x14]
call fcn.0109bb81
push 0x190
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10a70f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 3
pop esi
jmp 0x10a7093
push 0x190
push 0
push ebx
call sub.msvcrt.dll_memset
mov al, byte [ebp + 0x10]
mov esi, 0x100ab40
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
push dword [ebp + 0x1c]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x170]
push esi
push dword [ebp + 8]
mov byte [ebx + 0x15], al
call fcn.010a0af3
mov edi, eax
test edi, edi
je 0x10a7169
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10a7162
test byte [eax + 0x1c], 4
je 0x10a7162
cmp byte [eax + 0x19], 2
jb 0x10a7162
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push edi
push dword [ebp + 8]
push 0x100ab50
push 0x18f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019c0f
mov esi, edi
jmp 0x10a7093
mov eax, dword [0x111024c]
mov edi, 0x111024c
cmp eax, edi
je 0x10a71a0
test byte [eax + 0x1c], 4
je 0x10a71a0
cmp byte [eax + 0x19], 4
jb 0x10a71a0
push dword [esi]
mov esi, 0x100ab50
push dword [ebp + 8]
push esi
push 0x190
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x10a71a5
mov esi, 0x100ab50
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x10], eax
cmp eax, 0xffffffff
jne 0x10a7211
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a720a
test byte [eax + 0x1c], 4
je 0x10a720a
cmp byte [eax + 0x19], 2
jb 0x10a720a
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push 0xd
push dword [ebp + 8]
push esi
push 0x191
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019c0f
push 0xd
jmp 0x10a70f0
mov ecx, dword [0x111024c]
cmp ecx, edi
je 0x10a723c
test byte [ecx + 0x1c], 4
je 0x10a723c
cmp byte [ecx + 0x19], 4
jb 0x10a723c
push eax
push dword [ebp + 8]
push esi
push 0x192
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push 8
lea ecx, [ebp - 0x1c]
push ecx
push eax
push eax
push 0x7405c
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a72a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a720a
test byte [eax + 0x1c], 4
je 0x10a720a
cmp byte [eax + 0x19], 2
jb 0x10a720a
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push 0xd
push dword [ebp + 8]
push esi
push 0x193
jmp 0x10a71ff
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 8]
jg 0x10a7303
mov edx, dword [ebp - 0xc]
jl 0x10a72b8
cmp dword [ebp - 0x1c], edx
jae 0x10a7303
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a72ec
test byte [eax + 0x1c], 4
je 0x10a72ec
cmp byte [eax + 0x19], 2
jb 0x10a72ec
push dword [ebp - 8]
push edx
push dword [ebp + 0xc]
push ecx
push dword [ebp - 0x1c]
push dword [ebp + 8]
push esi
push 0x194
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109b90f
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xe
jmp 0x10a70f0
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push 0x90018
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a7355
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a7355
test byte [eax + 0x1c], 4
je 0x10a7355
cmp byte [eax + 0x19], 3
jb 0x10a7355
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x111024c]
push esi
push 0x195
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push 0x90020
mov dword [ebp - 4], eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a73c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a720a
test byte [eax + 0x1c], 4
je 0x10a720a
cmp byte [eax + 0x19], 2
jb 0x10a720a
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push 0xd
push dword [ebp + 8]
push esi
push 0x196
jmp 0x10a71ff
push dword [ebp + 0x1c]
push dword [ebx + 0x10]
call fcn.010a6e20
push dword [ebx + 0x10]
mov dword [ebp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x10a7427
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a7090
test byte [eax + 0x1c], 4
je 0x10a7090
cmp byte [eax + 0x19], 2
jb 0x10a7090
push dword [ebp + 0x14]
push dword [ebp + 8]
push esi
push 0x197
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
jmp 0x10a7090
push 0
push 0x40000080
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x10], eax
cmp eax, 0xffffffff
jne 0x10a7492
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a720a
test byte [eax + 0x1c], 4
je 0x10a720a
cmp byte [eax + 0x19], 2
jb 0x10a720a
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push 0xd
push dword [ebp + 8]
push esi
push 0x198
jmp 0x10a71ff
mov ecx, dword [0x111024c]
cmp ecx, edi
je 0x10a74bd
test byte [ecx + 0x1c], 4
je 0x10a74bd
cmp byte [ecx + 0x19], 4
jb 0x10a74bd
push eax
push dword [ebp + 8]
push esi
push 0x199
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01048c37
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push 0x90018
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a750f
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a750f
test byte [eax + 0x1c], 4
je 0x10a750f
cmp byte [eax + 0x19], 3
jb 0x10a750f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
mov eax, dword [0x111024c]
push esi
push 0x19a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push 0x90020
mov dword [ebp - 4], eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10a7580
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a720a
test byte [eax + 0x1c], 4
je 0x10a720a
cmp byte [eax + 0x19], 2
jb 0x10a720a
mov ecx, dword [ebp + 0x1c]
push dword [ecx]
push 0xd
push dword [ebp + 8]
push esi
push 0x19b
jmp 0x10a71ff
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
mov eax, dword [0x111024c]
cmp eax, edi
je 0x10a75ab
test byte [eax + 0x1c], 4
je 0x10a75ab
cmp byte [eax + 0x19], 4
jb 0x10a75ab
push esi
push 0x19c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor esi, esi
jmp 0x10a7093