Function at 0x10f2585
Capabilities:
Get disk information

Disassembly:
push 8
mov eax, 0x1107f4f
call fcn.0106f7eb
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
jne 0x10f25ae
push 0x10129f8
push 0x92c
push 0x10129c0
call fcn.0107b644
lea ecx, [ebp - 0x14]
mov dword [esi], ebx
call fcn.010f217b
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 0x10f260e
mov ecx, dword [0x111024c]
cmp ecx, 0x111024c
je 0x10f25f9
test byte [ecx + 0x1c], 1
je 0x10f25f9
cmp byte [ecx + 0x19], 2
jb 0x10f25f9
push eax
push 0x1012928
push 0x73
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01019fa8
lea ecx, [ebp - 0x14]
call fcn.010f2346
mov eax, 0x80780063
call fcn.0106f8d7
ret 8
mov edx, dword [esi + 0x14]
cmp edx, 1
je 0x10f261b
cmp edx, 4
jne 0x10f2638
mov eax, dword [esi + 0x18]
cmp eax, 1
je 0x10f262d
cmp eax, 5
je 0x10f262d
cmp eax, 4
jne 0x10f2638
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
jne 0x10f26ec
mov eax, dword [0x111024c]
mov ebx, 0x111024c
mov edi, 0x1012928
cmp eax, ebx
je 0x10f2691
test byte [eax + 0x1c], 1
je 0x10f266b
cmp byte [eax + 0x19], 4
jb 0x10f266b
push edx
push edi
push 0x74
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10f2691
test byte [eax + 0x1c], 1
je 0x10f2691
cmp byte [eax + 0x19], 4
jb 0x10f2691
push dword [esi + 0x18]
push edi
push 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
cmp dword [esi + 0x30], 0
jne 0x10f26ba
cmp eax, ebx
je 0x10f26d8
test byte [eax + 0x1c], 1
je 0x10f26ba
cmp byte [eax + 0x19], 4
jb 0x10f26ba
push edi
push 0x76
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
cmp eax, ebx
je 0x10f26d8
test byte [eax + 0x1c], 1
je 0x10f26d8
cmp byte [eax + 0x19], 3
jb 0x10f26d8
push edi
push 0x77
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov esi, 0x80780063
lea ecx, [ebp - 0x14]
call fcn.010f2346
mov eax, esi
jmp 0x10f2606
mov eax, dword [0x111024c]
mov edi, 0x1012928
cmp eax, 0x111024c
je 0x10f2718
test byte [eax + 0x1c], 1
je 0x10f2718
cmp byte [eax + 0x19], 4
jb 0x10f2718
push ecx
push edi
push 0x78
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019633
lea eax, [ebp - 0x10]
push eax
push 0x10019e4
mov dword [ebp - 0x10], ebx
push dword [esi + 0x30]
call fcn.0107ca99
mov esi, eax
cmp esi, ebx
jl 0x10f26dd
push 0x64
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10f2750
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, 0x8007000e
jmp 0x10f26dd
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 0x10f27c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10f2781
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp + 0xc], eax
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10f27b0
test byte [eax + 0x1c], 1
je 0x10f27b0
cmp byte [eax + 0x19], 2
jb 0x10f27b0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push edi
push 0x79
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01048c37
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push ebx
call esi
mov esi, dword [ebp + 0xc]
jmp 0x10f26dd
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [eax], ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x10f26dd