Function at 0x10007d30
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 0x10007dcd
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 0x10007dd4
mov eax, edi
lea edx, [eax + 2]
jmp 0x10007d90
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007d90
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x10007ddd
lea eax, [esi + 0x3634]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007db0
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x10007dcd
cmp word [esi + 0x3636], bx
je 0x10007ddd
xor eax, eax
jmp 0x100080ad
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 0x10007e44
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007e00
sub eax, edx
sar eax, 1
cmp eax, 1
je 0x10007e4d
lea eax, [esi + 0x3a44]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007e20
sub eax, edx
sar eax, 1
cmp eax, 2
jne 0x10007e3d
cmp word [esi + 0x3a46], bx
je 0x10007e4d
xor eax, eax
jmp 0x100080ad
add eax, 2
mov dword [ebp - 0xbc], eax
mov eax, dword [esi + 0x160]
test eax, eax
je 0x10007e67
push 0
push 0
push 0x467
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.1001064f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10007e81
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
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.10001aa0
push 0x3ea
call fcn.1001056a
test eax, eax
je 0x10007eda
push 0x3ea
push eax
lea ecx, [ebp - 0xb4]
call fcn.100018f0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x10007f1f
mov ecx, dword [esi + 0x6f14]
xor eax, eax
cmp eax, ecx
sbb eax, eax
and eax, ecx
push eax
push edx
push 0x1ff
push edi
call fcn.10103620
mov eax, dword [esi + 0x160]
add esp, 0x10
test eax, eax
jne 0x10007f17
mov dword [esi + 0xe0], edi
jmp 0x10007f1f
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor ecx, ecx
cmp word [esi + 0x360c], 2
setne cl
lea edi, [ecx + 0x3f4]
lea ecx, [ebp - 0xb4]
call fcn.10001aa0
push edi
call fcn.1001056a
test eax, eax
je 0x10007f54
push edi
push eax
lea ecx, [ebp - 0xb4]
call fcn.100018f0
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x10007fa6
mov ecx, dword [esi + 0x6f14]
xor eax, eax
cmp eax, ecx
sbb eax, eax
and eax, ecx
push eax
push edx
lea edi, [esi + 0x608]
push 0x1ff
push edi
call fcn.10103620
mov eax, dword [esi + 0x160]
add esp, 0x10
test eax, eax
jne 0x10007f97
mov dword [esi + 0xe8], edi
jmp 0x10007fa6
push edi
push 3
push 0x46c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xb4]
call fcn.10001aa0
push 0x3ec
call fcn.1001056a
test eax, eax
je 0x10007fd0
push 0x3ec
push eax
lea ecx, [ebp - 0xb4]
call fcn.100018f0
mov ecx, dword [ebp - 0xb4]
cmp dword [ecx - 0xc], 0
je 0x1000807f
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 0x1000802d
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 0x1000802d
lea ebx, [ebp - 0xb0]
mov edx, dword [ebp - 0xbc]
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, 0x1c
test eax, eax
jne 0x10008070
mov dword [esi + 0xec], edi
jmp 0x1000807f
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 0x100080a8
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