Function at 0x10f2775
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x11081d6
call fcn.0106f64b
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
jne 0x10f279e
push 0x1012a70
push 0x92c
push 0x1012a38
call fcn.0107b4be
lea ecx, [ebp - 0x14]
mov dword [esi], ebx
call fcn.010f22dd
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x10f27fe
mov ecx, dword [0x111124c]
cmp ecx, 0x111124c
je 0x10f27e9
test byte [ecx + 0x1c], 1
je 0x10f27e9
cmp byte [ecx + 0x19], 2
jb 0x10f27e9
push eax
push 0x10129a0
push 0x73
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010189f6
lea ecx, [ebp - 0x14]
call fcn.010f250b
mov eax, 0x80780063
call fcn.0106f737
ret 8
mov edx, dword [esi + 0x14]
cmp edx, 1
je 0x10f280b
cmp edx, 4
jne 0x10f2828
mov eax, dword [esi + 0x18]
cmp eax, 1
je 0x10f281d
cmp eax, 5
je 0x10f281d
cmp eax, 4
jne 0x10f2828
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
jne 0x10f28dc
mov eax, dword [0x111124c]
mov ebx, 0x111124c
mov edi, 0x10129a0
cmp eax, ebx
je 0x10f2881
test byte [eax + 0x1c], 1
je 0x10f285b
cmp byte [eax + 0x19], 4
jb 0x10f285b
push edx
push edi
push 0x74
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10f2881
test byte [eax + 0x1c], 1
je 0x10f2881
cmp byte [eax + 0x19], 4
jb 0x10f2881
push dword [esi + 0x18]
push edi
push 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
cmp dword [esi + 0x30], 0
jne 0x10f28aa
cmp eax, ebx
je 0x10f28c8
test byte [eax + 0x1c], 1
je 0x10f28aa
cmp byte [eax + 0x19], 4
jb 0x10f28aa
push edi
push 0x76
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
cmp eax, ebx
je 0x10f28c8
test byte [eax + 0x1c], 1
je 0x10f28c8
cmp byte [eax + 0x19], 3
jb 0x10f28c8
push edi
push 0x77
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov esi, 0x80780063
lea ecx, [ebp - 0x14]
call fcn.010f250b
mov eax, esi
jmp 0x10f27f6
mov eax, dword [0x111124c]
mov edi, 0x10129a0
cmp eax, 0x111124c
je 0x10f2908
test byte [eax + 0x1c], 1
je 0x10f2908
cmp byte [eax + 0x19], 4
jb 0x10f2908
push ecx
push edi
push 0x78
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019680
lea eax, [ebp - 0x10]
push eax
push 0x10019e4
mov dword [ebp - 0x10], ebx
push dword [esi + 0x30]
call fcn.0107c90e
mov esi, eax
cmp esi, ebx
jl 0x10f28cd
push 0x64
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10f2940
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 0x8007000e
jmp 0x10f28cd
push 0x64
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x32
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x10f29b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10f2971
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp + 0xc], eax
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10f29a0
test byte [eax + 0x1c], 1
je 0x10f29a0
cmp byte [eax + 0x19], 2
jb 0x10f29a0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push edi
push 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010196ed
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push ebx
call esi
mov esi, dword [ebp + 0xc]
jmp 0x10f28cd
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10f28cd