Function at 0x10bdf6c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x1040060
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x210], 1
call fcn.010bd0c6
and dword [ebp - 0x21c], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], eax
cmp edi, eax
jne 0x10be026
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103d84c
push ecx
push 0x103fda8
push 0x1c
jmp 0x10be427
cmp esi, eax
jne 0x10be065
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103f0ac
push ecx
push 0x103fda8
push 0x1d
jmp 0x10be427
cmp ebx, eax
jne 0x10be0a4
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x1040044
push ecx
push 0x103fda8
push 0x1e
jmp 0x10be427
mov dword [edi], eax
push 4
mov edi, 0x10192bc
push edi
push esi
mov dword [ebx], eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
push esi
test eax, eax
je 0x10be10e
push edi
call fcn.010bd706
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x10be158
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x1040028
push ecx
push 0x103fda8
push 0x1f
jmp 0x10be427
call fcn.010bd60b
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x10be158
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x1040028
push ecx
push 0x103fda8
push 0x20
jmp 0x10be427
mov eax, dword [ebp - 0x218]
push 2
lea edx, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be164
sub eax, edx
sar eax, 1
lea esi, [eax + 2]
lea eax, [esi + esi]
push eax
call fcn.010bd463
mov edi, eax
mov dword [ebp - 0x21c], edi
test edi, edi
jne 0x10be1c5
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x1040014
push ecx
push 0x103fda8
push 0x21
jmp 0x10be427
push esi
push edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x10be219
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x210], eax
call esi
mov dword [ebp - 0x214], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103ffc0
call esi
push eax
push 0x103fda8
push 0x22
jmp 0x10be301
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be21e
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
je 0x10be2ad
mov edi, 0x100163c
push edi
push esi
push dword [ebp - 0x21c]
call fcn.01047565
test eax, eax
jge 0x10be2a7
and dword [ebp - 0x210], 0
mov ecx, eax
call fcn.010bd152
mov dword [ebp - 0x214], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103ff84
push edi
push esi
push dword [ebp - 0x21c]
call fcn.01047565
push eax
mov eax, dword [0x10e308c]
push 0x103fda8
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10be44b
mov edi, dword [ebp - 0x21c]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x10be30b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x210], eax
call esi
mov dword [ebp - 0x214], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103ff18
call esi
push eax
push 0x103fda8
push 0x24
mov eax, dword [0x10e308c]
jmp 0x10be427
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be314
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
jne 0x10be34e
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be336
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be353
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
jne 0x10be383
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be36e
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.010bd60b
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x10be3d3
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103ff04
push ecx
push 0x103fda8
push 0x25
jmp 0x10be427
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be3d8
mov ecx, dword [ebp - 0x218]
sub eax, edx
sar eax, 1
lea eax, [ecx + eax*2]
push eax
call fcn.010bd60b
test eax, eax
jne 0x10be434
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be44b
test byte [eax + 0x1c], 8
je 0x10be44b
push 0x103fef0
push ecx
push 0x103fda8
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10be44b
mov ecx, dword [ebp - 0x228]
and dword [ebp - 0x220], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x224]
mov dword [eax], esi
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
call esi
push 0
call esi
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x218]
call esi
push 0x1040060
call fcn.010bd0fb
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010989ab
leave
ret 0xc