Function at 0x100080d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126041
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [esi + 0x3610], 0
je 0x1000816d
lea edi, [esi + 0x3634]
push 0x5c
push edi
call fcn.10102ec2
add esp, 8
mov dword [ebp - 0xb8], eax
mov ebx, 0x3a
test eax, eax
jne 0x10008174
mov eax, edi
lea edx, [eax + 2]
jmp 0x10008130
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008130
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x1000817d
lea eax, [esi + 0x3634]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10008150
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x1000816d
cmp word [esi + 0x3636], bx
je 0x1000817d
xor eax, eax
jmp 0x100083fe
add eax, 2
mov dword [ebp - 0xb8], eax
lea edi, [esi + 0x3a44]
push 0x5c
push edi
call fcn.10102ec2
add esp, 8
mov dword [ebp - 0xbc], eax
test eax, eax
jne 0x100081e4
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100081a0
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x100081ed
lea eax, [esi + 0x3a44]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100081c0
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x100081dd
cmp word [esi + 0x3a46], bx
je 0x100081ed
xor eax, eax
jmp 0x100083fe
add eax, 2
mov dword [ebp - 0xbc], eax
or dword [esi + 0xd8], 0x408
or dword [esi + 0xdc], 8
call fcn.1001064f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10008218
push 0x80004005
call fcn.10001cb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb4], eax
mov dword [ebp - 4], 1
push 0xc00
lea edi, [esi + 0x208]
push 0
push edi
call fcn.10105240
xor ebx, ebx
add esp, 0xc
cmp word [esi + 0x360c], 2
lea ecx, [ebp - 0xb4]
setne bl
lea ebx, [ebx*4 + 0x3ed]
call fcn.10001aa0
push ebx
call fcn.1001056a
test eax, eax
je 0x1000827d
push ebx
push eax
lea ecx, [ebp - 0xb4]
call fcn.100018f0
mov ebx, dword [ebp - 0xb4]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x100082b3
push ebx
push 0x1ff
push edi
call fcn.10103620
mov eax, dword [esi + 0x160]
add esp, 0xc
test eax, eax
jne 0x100082ab
mov dword [esi + 0xe0], edi
jmp 0x100082b3
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x100082f0
push ebx
lea edi, [esi + 0x608]
push 0x1ff
push edi
call fcn.10103620
mov eax, dword [esi + 0x160]
add esp, 0xc
test eax, eax
jne 0x100082e1
mov dword [esi + 0xe8], edi
jmp 0x100082f0
push edi
push 3
push 0x46c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xb4]
call fcn.10001aa0
push 0x3eb
call fcn.1001056a
test eax, eax
je 0x1000831a
push 0x3eb
push eax
lea ecx, [ebp - 0xb4]
call fcn.100018f0
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx - 0xc], 0
je 0x100083d0
mov ebx, dword [ebp - 0xb8]
xor edx, edx
push 0x9e
push edx
lea eax, [ebp - 0xae]
push eax
mov word [ebp - 0xb0], dx
call fcn.10105240
add esp, 0xc
test ebx, ebx
jne 0x10008377
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x50
lea ecx, [ebp - 0xb0]
push ecx
lea eax, [esi + 0x3634]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10008377
lea ebx, [ebp - 0xb0]
mov edx, dword [ebp - 0xbc]
push 0x10152ff0
push 0
lea eax, [esi + 0x3a44]
push eax
push edx
lea eax, [esi + 0x3634]
push eax
mov eax, dword [ebp - 0xb4]
push ebx
push eax
lea edi, [esi + 0xa08]
push 0x1ff
push edi
call fcn.10103620
mov eax, dword [esi + 0x160]
add esp, 0x24
test eax, eax
jne 0x100083c1
mov dword [esi + 0xec], edi
jmp 0x100083d0
push edi
push 0
push 0x46c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100083f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret