Function at 0x10025400
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1009e29b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xb8], 1
call fcn.10024e10
add esp, 4
test al, al
jne 0x100254e0
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x1002549e
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.10007a40
mov eax, dword [esp + 0x2c]
push eax
call fcn.10079508
add esp, 0x14
mov esi, dword [esp + 0xc4]
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x100254d9
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
push ecx
lea edx, [esp + 0xc4]
push edx
push eax
push esi
call fcn.10007a40
push esi
call fcn.10079508
add esp, 0x14
xor al, al
jmp 0x10025775
mov eax, 7
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edi
mov word [esp + 0x58], di
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], edi
mov byte [esp + 0xa0], 0
xor ebp, ebp
mov byte [esp + 0xb4], 2
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x17], 0
xor ebx, ebx
mov esi, dword [esp + 0x1c]
cmp esi, edi
mov dword [esp + 0x2c], ebx
je 0x10025703
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x10025703
cmp dword [ebx + esi + 0x18], 8
jb 0x10025594
mov esi, dword [ebx + esi + 4]
jmp 0x10025598
lea esi, [ebx + esi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x100256f8
mov eax, dword [esp + 0xc4]
xor ebx, ebx
lea esi, [eax + 4]
cmp eax, edi
je 0x10025648
mov ecx, dword [esp + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10025648
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x10025601
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1002560a
call fcn.10079637
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x10]
add ecx, edi
cmp dword [esi + 0x14], 8
jb 0x1002561d
mov eax, dword [esi]
jmp 0x1002561f
mov eax, esi
push edx
mov edx, dword [ecx + 0x14]
push eax
push edx
push 0
call fcn.10003120
test eax, eax
je 0x100256f2
mov eax, dword [esp + 0xc4]
add ebx, 1
add esi, 0x1c
xor edi, edi
jmp 0x100255b4
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x1002566d
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10025676
call fcn.10079637
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
add eax, esi
push ecx
push eax
call fcn.10024ff0
add esp, 8
test al, al
je 0x100256f4
cmp byte [esp + 0xa0], 0
je 0x100256f4
lea ecx, [esp + 0x70]
call fcn.10025940
test al, al
je 0x100256f4
mov ecx, dword [esp + 0x9c]
cmp dword [esp + 0x34], ecx
ja 0x100256f4
mov eax, dword [esp + 0x98]
jb 0x100256c1
cmp dword [esp + 0x30], eax
jae 0x100256f4
mov dword [esp + 0x34], ecx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.10008420
cmp dword [eax + 0x18], 8
jb 0x100256de
mov eax, dword [eax + 4]
jmp 0x100256e1
add eax, 4
mov bx, word [eax]
mov esi, dword [esp + 0x28]
call fcn.10010c10
mov byte [esp + 0x17], 1
xor edi, edi
mov ebx, dword [esp + 0x2c]
add ebp, 1
add ebx, 0x1c
jmp 0x10025556
lea ecx, [esp + 0x38]
call fcn.10025330
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x10025736
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.10007a40
mov eax, dword [esp + 0x2c]
push eax
call fcn.10079508
add esp, 0x14
mov esi, dword [esp + 0xc4]
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x10025771
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc8]
push ecx
lea edx, [esp + 0xc4]
push edx
push eax
push esi
call fcn.10007a40
push esi
call fcn.10079508
add esp, 0x14
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1007a1bc
add esp, 0xa4
ret