Function at 0x10bd9e8
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x103fd90
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 1
call fcn.010bce33
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, edi
jne 0x10bda85
push 0x57
pop ecx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push 0x103d85c
push ecx
push 0x103fc80
push 0x16
jmp 0x10bdc63
cmp ebx, edi
jne 0x10bdac4
push 0x57
pop ecx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push 0x103d724
push ecx
push 0x103fc80
push 0x17
jmp 0x10bdc63
cmp dword [ebp + 0x10], edi
ja 0x10bdb04
push 0x57
pop ecx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push 0x103fd7c
push ecx
push 0x103fc80
push 0x18
jmp 0x10bdc63
push esi
xor eax, eax
mov edi, 0x103a4f8
push edi
mov word [ebx], ax
mov esi, 0x105
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.01047599
add esp, 0x10
test eax, eax
jge 0x10bdb80
and dword [ebp - 0x214], 0
mov ecx, eax
call fcn.010bcebf
mov dword [ebp - 0x218], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push dword [ebp - 0x21c]
lea eax, [ebp - 0x210]
push edi
push esi
push eax
call fcn.01047599
add esp, 0x10
push 0x103fd30
push eax
push 0x103fc80
push 0x19
jmp 0x10bdc02
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10bdb89
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x212], 0x5c
je 0x10bdc14
mov edi, 0x100163c
push edi
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0104753f
test eax, eax
jge 0x10bdc14
and dword [ebp - 0x214], 0
mov ecx, eax
call fcn.010bcebf
mov dword [ebp - 0x218], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push 0x103fcf8
push edi
push esi
lea eax, [ebp - 0x210]
push eax
call fcn.0104753f
push eax
push 0x103fc80
push 0x1a
mov eax, dword [0x10e308c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10bdc6e
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x10bdc6e
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x214], eax
call esi
mov dword [ebp - 0x218], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bdc6e
test byte [eax + 0x1c], 8
je 0x10bdc6e
push 0x103fca8
call esi
push eax
mov eax, dword [0x10e308c]
push 0x103fc80
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
push 0x103fd90
call fcn.010bce68
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010987b7
leave
ret 0xc