Function at 0x100086d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126837
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
lea esi, [edi + 0x3634]
push 0x5c
push esi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ecx
call fcn.10102ec2
add esp, 8
mov dword [ebp - 0xb8], eax
mov ebx, 0x3a
test eax, eax
jne 0x10008784
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008740
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x1000878d
lea eax, [edi + 0x3634]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008760
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x1000877d
cmp word [edi + 0x3636], bx
je 0x1000878d
xor eax, eax
jmp 0x100089d2
add eax, 2
mov dword [ebp - 0xb8], eax
lea esi, [edi + 0x3a44]
push 0x5c
push esi
call fcn.10102ec2
add esp, 8
mov dword [ebp - 0xc0], eax
test eax, eax
jne 0x100087f4
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100087b0
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x100087fd
lea eax, [edi + 0x3a44]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100087d0
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x100087ed
cmp word [edi + 0x3a46], bx
je 0x100087fd
xor eax, eax
jmp 0x100089d2
add eax, 2
mov dword [ebp - 0xc0], eax
call fcn.1001064f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10008817
push 0x80004005
call fcn.10001cb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xbc], esi
mov dword [ebp - 4], 1
cmp dword [esi - 0xc], 0
mov ebx, dword [esi - 0x10]
lea eax, [esi - 0x10]
je 0x1000888b
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x10008863
cmp dword [esi - 8], 0
jge 0x10008855
push 0x80070057
call fcn.10001cb0
xor ecx, ecx
mov dword [esi - 0xc], 0
mov word [esi], cx
jmp 0x1000888b
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008879
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
mov ecx, ebx
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xbc], esi
push 0x3eb
call fcn.1001056a
test eax, eax
je 0x100088b0
push 0x3eb
push eax
lea ecx, [ebp - 0xbc]
call fcn.100018f0
mov esi, dword [ebp - 0xbc]
cmp dword [esi - 0xc], 0
je 0x100089aa
mov ebx, dword [ebp - 0xb8]
xor ecx, ecx
push 0x9e
push ecx
lea edx, [ebp - 0xb2]
push edx
mov word [ebp - 0xb4], cx
call fcn.10105240
add esp, 0xc
test ebx, ebx
jne 0x10008907
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x50
lea eax, [ebp - 0xb4]
push eax
lea eax, [edi + 0x3634]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10008907
lea ebx, [ebp - 0xb4]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
push ecx
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.10008590
mov byte [ebp - 4], 2
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc4]
push edx
lea eax, [ecx + 0x3a44]
push eax
mov eax, dword [ebp - 0xc0]
push eax
lea eax, [ecx + 0x3634]
push eax
push ebx
push esi
add edi, 0xa08
push 0x1ff
push edi
call fcn.10103620
add esp, 0x24
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx + 0x160]
test eax, eax
jne 0x1000899b
mov dword [ecx + 0xec], edi
jmp 0x100089aa
push edi
push 0
push 0x46c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100089cd
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret 0xc