Function at 0x10b4f38
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 0x10b4f7c
mov di, word [esi + 0x68]
cmp di, word [ebp + 0x10]
je 0x10b4f7c
mov word [ecx], bx
mov dword [esi + 0x64], ebx
mov cx, word [ebp + 0x10]
mov word [esi + 0x68], cx
mov ecx, dword [0x10ed1a0]
cmp ecx, ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x210], eax
je 0x10b4fb7
cmp byte [eax + 0x30], 6
jne 0x10b4fb7
cmp edx, ebx
mov dword [ebp - 0x210], ecx
je 0x10b4fb7
cmp word [edx + 2], 0x3a
jne 0x10b4fb7
add edx, 4
mov dword [ebp - 0x208], edx
cmp dword [esi + 0x6c], ebx
mov edi, 0x400
jne 0x10b4fda
push 1
push edi
call dword [sym.imp.msvcrt.dll_calloc]
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0x6c], eax
je 0x10b51c7
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 0x10b5010
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 0x10b51c7
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 0x10b503f
cmp word [eax], 0x5c
mov dword [ebp - 0x208], eax
je 0x10b503f
mov word [eax], 0x5c
inc eax
inc eax
and word [eax], 0
xor ecx, ecx
mov cx, word [edi]
jmp 0x10b5061
mov bx, word [eax]
cmp cx, bx
jne 0x10b5066
cmp bx, 0x5c
jne 0x10b505a
mov dword [ebp - 0x208], eax
inc eax
inc eax
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x10b5046
xor ebx, ebx
cmp word [edx], bx
jne 0x10b5076
cmp dword [esi + 0x60], ebx
jne 0x10b51e2
mov ecx, dword [ebp - 0x208]
cmp ecx, ebx
je 0x10b5084
mov word [ecx + 2], bx
mov ecx, dword [esi + 0x6c]
lea edx, [ecx + 2]
cmp eax, edx
ja 0x10b50a4
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 0x10b50c4
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 0x10b50f4
cmp ax, 0x5c
je 0x10b50f4
mov word [edi], ax
jmp 0x10b51b2
mov eax, dword [ebp - 0x208]
add eax, 2
cmp edi, eax
je 0x10b510a
mov word [edi], 0x5c
mov word [edi + 2], dx
cmp word [ecx], dx
jne 0x10b5119
cmp word [ebp + 0x10], dx
jne 0x10b51c2
push edx
push 1
lea eax, [ebp - 0x21c]
push eax
push edx
push dword [esi + 0x6c]
push dword [ebp - 0x214]
call fcn.010b51f9
test ax, ax
jne 0x10b51c7
push 0x200
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x10b5198
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 0x5c]
mov edi, dword [eax + 0x54]
jmp 0x10b5182
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 0x10b5186
mov edi, dword [edi + 0x404]
test edi, edi
jne 0x10b5165
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 0x10b51c0
inc edi
inc edi
add dword [ebp - 0x20c], 2
jmp 0x10b50d0
xor edx, edx
cmp dword [esi + 0x60], edx
jne 0x10b51cd
mov ax, 1
jmp 0x10b51e5
mov ecx, dword [esi + 0x6c]
cmp ecx, edx
je 0x10b51e2
mov eax, dword [esi + 0x64]
cmp word [ecx + eax*2], 0x5c
jne 0x10b51e2
inc eax
mov dword [esi + 0x64], eax
xor ax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075aef
leave
ret 0xc