Function at 0x10b50c6
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10de03c]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x34]
mov ecx, dword [esi + 0x6c]
xor ebx, ebx
cmp ecx, ebx
push edi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x208], edx
je 0x10b510a
mov di, word [esi + 0x68]
cmp di, word [ebp + 0x10]
je 0x10b510a
mov word [ecx], bx
mov dword [esi + 0x64], ebx
mov cx, word [ebp + 0x10]
mov word [esi + 0x68], cx
mov ecx, dword [0x10ed1a8]
cmp ecx, ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x210], eax
je 0x10b5145
cmp byte [eax + 0x30], 6
jne 0x10b5145
cmp edx, ebx
mov dword [ebp - 0x210], ecx
je 0x10b5145
cmp word [edx + 2], 0x3a
jne 0x10b5145
add edx, 4
mov dword [ebp - 0x208], edx
cmp dword [esi + 0x6c], ebx
mov edi, 0x400
jne 0x10b5168
push 1
push edi
call dword [sym.imp.msvcrt.dll_calloc]
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0x6c], eax
je 0x10b5355
mov dword [esi + 0x70], edi
push dword [ebp - 0x208]
call dword [sym.imp.msvcrt.dll_wcslen]
lea ebx, [eax + eax + 2]
cmp ebx, dword [esi + 0x70]
pop ecx
jl 0x10b519e
and dword [esi + 0x70], 0
add ebx, edi
push ebx
push dword [esi + 0x6c]
call dword [sym.imp.msvcrt.dll_realloc]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x6c], eax
je 0x10b5355
mov dword [esi + 0x70], ebx
mov edi, dword [ebp - 0x208]
and dword [ebp - 0x208], 0
cmp word [edi], 0x5c
mov eax, dword [esi + 0x6c]
mov edx, edi
je 0x10b51cd
cmp word [eax], 0x5c
mov dword [ebp - 0x208], eax
je 0x10b51cd
mov word [eax], 0x5c
inc eax
inc eax
and word [eax], 0
xor ecx, ecx
mov cx, word [edi]
jmp 0x10b51ef
mov bx, word [eax]
cmp cx, bx
jne 0x10b51f4
cmp bx, 0x5c
jne 0x10b51e8
mov dword [ebp - 0x208], eax
inc eax
inc eax
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x10b51d4
xor ebx, ebx
cmp word [edx], bx
jne 0x10b5204
cmp dword [esi + 0x60], ebx
jne 0x10b5370
mov ecx, dword [ebp - 0x208]
cmp ecx, ebx
je 0x10b5212
mov word [ecx + 2], bx
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + 2]
cmp eax, edx
ja 0x10b5232
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x54]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], 1
mov ebx, dword [sym.imp.msvcrt.dll_wcslen]
push ecx
call ebx
cmp word [edi], 0x5c
lea eax, [edi + eax*2]
pop ecx
mov dword [ebp - 0x20c], eax
je 0x10b5252
sub dword [ebp - 0x20c], 2
push dword [esi + 0x6c]
call ebx
pop ecx
mov ecx, dword [esi + 0x6c]
lea edi, [ecx + eax*2]
mov ecx, dword [ebp - 0x20c]
mov ax, word [ecx]
xor edx, edx
cmp ax, dx
mov dword [ebp - 0x218], edi
je 0x10b5282
cmp ax, 0x5c
je 0x10b5282
mov word [edi], ax
jmp 0x10b5340
mov eax, dword [ebp - 0x208]
add eax, 2
cmp edi, eax
je 0x10b5298
mov word [edi], 0x5c
mov word [edi + 2], dx
cmp word [ecx], dx
jne 0x10b52a7
cmp word [ebp + 0x10], dx
jne 0x10b5350
push edx
push 1
lea eax, [ebp - 0x21c]
push eax
push edx
push dword [esi + 0x6c]
push dword [ebp - 0x214]
call fcn.010b5387
test ax, ax
jne 0x10b5355
push 0x200
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10b5326
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax + 0x54]
jmp 0x10b5310
lea eax, [ebp - 0x204]
push eax
lea eax, [edi + 4]
push eax
call dword [sym.imp.msvcrt.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x10b5314
mov edi, dword [edi + 0x404]
test edi, edi
jne 0x10b52f3
push dword [esi + 0x6c]
mov dword [esi + 0x60], edi
call ebx
mov edi, dword [ebp - 0x218]
pop ecx
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 0x34]
and word [eax + 0x26], 0
mov eax, dword [ebp - 0x20c]
cmp word [eax], 0
je 0x10b534e
inc edi
inc edi
add dword [ebp - 0x20c], 2
jmp 0x10b525e
xor edx, edx
cmp dword [esi + 0x60], edx
jne 0x10b535b
mov ax, 1
jmp 0x10b5373
mov ecx, dword [esi + 0x6c]
cmp ecx, edx
je 0x10b5370
mov eax, dword [esi + 0x64]
cmp word [ecx + eax*2], 0x5c
jne 0x10b5370
inc eax
mov dword [esi + 0x64], eax
xor ax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 0xc