Function at 0x10bdca0
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 0x103ff38
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x210], 1
call fcn.010bce33
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 0x10bdd5a
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103d724
push ecx
push 0x103fc80
push 0x1c
jmp 0x10be15b
cmp esi, eax
jne 0x10bdd99
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103ef84
push ecx
push 0x103fc80
push 0x1d
jmp 0x10be15b
cmp ebx, eax
jne 0x10bddd8
push 0x57
pop ecx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103ff1c
push ecx
push 0x103fc80
push 0x1e
jmp 0x10be15b
mov dword [edi], eax
push 4
mov edi, 0x101918c
push edi
push esi
mov dword [ebx], eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
push esi
test eax, eax
je 0x10bde42
push edi
call fcn.010bd43d
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x10bde8c
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103ff00
push ecx
push 0x103fc80
push 0x1f
jmp 0x10be15b
call fcn.010bd342
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x10bde8c
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103ff00
push ecx
push 0x103fc80
push 0x20
jmp 0x10be15b
mov eax, dword [ebp - 0x218]
push 2
lea edx, [eax + 2]
pop ebx
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10bde98
sub eax, edx
sar eax, 1
lea esi, [eax + 2]
lea eax, [esi + esi]
push eax
call fcn.010bd1d1
mov edi, eax
mov dword [ebp - 0x21c], edi
test edi, edi
jne 0x10bdef9
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103feec
push ecx
push 0x103fc80
push 0x21
jmp 0x10be15b
push esi
push edi
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x10bdf4d
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 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103fe98
call esi
push eax
push 0x103fc80
push 0x22
jmp 0x10be035
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10bdf52
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
je 0x10bdfe1
mov edi, 0x100163c
push edi
push esi
push dword [ebp - 0x21c]
call fcn.0104753f
test eax, eax
jge 0x10bdfdb
and dword [ebp - 0x210], 0
mov ecx, eax
call fcn.010bcebf
mov dword [ebp - 0x214], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103fe5c
push edi
push esi
push dword [ebp - 0x21c]
call fcn.0104753f
push eax
mov eax, dword [0x10e308c]
push 0x103fc80
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10be17f
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 0x10be03f
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 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103fdf0
call esi
push eax
push 0x103fc80
push 0x24
mov eax, dword [0x10e308c]
jmp 0x10be15b
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be048
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
jne 0x10be082
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be06a
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 0x10be087
sub eax, edx
sar eax, 1
cmp word [edi + eax*2 - 2], 0x5c
jne 0x10be0b7
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be0a2
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
lea eax, [ebp - 0x20c]
push eax
call fcn.010bd342
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x10be107
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103fddc
push ecx
push 0x103fc80
push 0x25
jmp 0x10be15b
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x10be10c
mov ecx, dword [ebp - 0x218]
sub eax, edx
sar eax, 1
lea eax, [ecx + eax*2]
push eax
call fcn.010bd342
test eax, eax
jne 0x10be168
and dword [ebp - 0x210], eax
push 0xe
pop ecx
mov dword [ebp - 0x214], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10be17f
test byte [eax + 0x1c], 8
je 0x10be17f
push 0x103fdc8
push ecx
push 0x103fc80
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10be17f
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 0x103ff38
call fcn.010bce68
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.010987b7
leave
ret 0xc