Function at 0x10025f23
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x730
mov eax, 0x1004323b
call fcn.1002a6aa
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x6ac], 0
mov ebx, edx
mov dword [ebp - 0x6bc], ebx
mov dword [ebp - 0x6b0], ecx
mov dword [ebp - 0x6b4], eax
mov dword [ebp - 0x6b8], esi
call fcn.100255c2
test eax, eax
je 0x10025f6d
or eax, 0xffffffff
call fcn.1002a72d
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
mov edx, ebx
mov ecx, edi
shl edx, cl
test edx, eax
jne 0x10025f62
push 0x2e0
lea eax, [ebp - 0x6a8]
push 0
push eax
call fcn.1002bdc0
mov eax, dword [esi + 0x5c]
xor edx, edx
mov dword [ebp - 0x3d0], eax
mov eax, dword [esi + 0x60]
add esp, 0xc
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x448], edx
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x6b4], edx
je 0x10025fec
mov esi, dword [ebp - 0x6b4]
push 0x12
pop ecx
lea edi, [ebp - 0x490]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x6b8]
jmp 0x10025ff2
mov dword [ebp - 0x490], edx
mov eax, dword [esi]
cmp eax, edx
jne 0x10026019
cmp dword [esi + 8], edx
je 0x10026019
push 0x12
add esi, 0x14
pop ecx
lea edi, [ebp - 0x418]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x6b8]
mov dword [ebp - 0x41c], ebx
jmp 0x1002601f
mov dword [ebp - 0x41c], edx
push dword [ebp - 0x6b0]
mov dword [ebp - 0x43c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x438], eax
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x33c]
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], ebx
call fcn.10001ad2
push 0x1004be58
lea eax, [ebp - 0x33c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.1000726f
test eax, eax
jne 0x100260c7
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x33c]
push eax
lea esi, [ebp - 0x700]
call fcn.10007290
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 1
call fcn.10001c94
push edi
push ebx
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.10001d94
cmp dword [ebp - 0x324], 0x10
mov eax, dword [ebp - 0x338]
jae 0x100260b3
lea eax, [ebp - 0x338]
push eax
push 0x104
push dword [ebp - 0x6b0]
call fcn.1002ba32
add esp, 0xc
push str.Volume
lea eax, [ebp - 0x33c]
push eax
call fcn.1000726f
test eax, eax
jne 0x100263ae
push 2
lea eax, [ebp - 0x33c]
call fcn.1002701a
mov ecx, dword [ebp - 0x328]
lea edx, [ecx - 2]
cmp eax, edx
jne 0x100263ae
dec ecx
push ecx
push edi
lea eax, [ebp - 0x33c]
push eax
lea esi, [ebp - 0x700]
call fcn.10007290
cmp dword [eax + 0x18], 0x10
jb 0x1002611e
mov eax, dword [eax + 4]
jmp 0x10026121
add eax, 4
mov esi, 0x104
push esi
push dword [ebp - 0x6b0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
test eax, eax
push 1
lea ecx, [ebp - 0x700]
setne bl
call fcn.10001d94
test bl, bl
je 0x10026389
mov ecx, dword [ebp - 0x6bc]
lea eax, [ebp - 0x6dc]
push eax
call fcn.1002581c
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x6d0]
cmp esi, dword [ebp - 0x6cc]
jbe 0x10026179
call fcn.100299cf
mov eax, dword [ebp - 0x6cc]
mov edi, dword [ebp - 0x6dc]
mov dword [ebp - 0x6c0], esi
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6d0], eax
jbe 0x1002619e
call fcn.100299cf
mov eax, dword [ebp - 0x6dc]
mov dword [ebp - 0x6e4], eax
test edi, edi
je 0x100261b6
cmp edi, dword [ebp - 0x6e4]
je 0x100261bb
call fcn.100299cf
cmp esi, dword [ebp - 0x6b4]
je 0x10026377
test edi, edi
jne 0x10026223
call fcn.100299cf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100261dc
call fcn.100299cf
lea eax, [ebp - 0x3c8]
push eax
mov ecx, esi
call fcn.10026583
mov byte [ebp - 4], 3
cmp byte [ebp - 0x3c6], 0
jne 0x10026306
lea eax, [ebp - 0x388]
push eax
lea ecx, [ebp - 0x720]
call fcn.10025ce4
mov byte [ebp - 4], 4
or dword [ebp - 0x6ac], 1
cmp dword [eax + 0x18], 8
jb 0x10026227
mov eax, dword [eax + 4]
jmp 0x1002622a
mov eax, dword [edi]
jmp 0x100261d2
add eax, 4
mov ebx, dword [ebp - 0x6bc]
lea ecx, [ebp - 0x320]
push ecx
mov ecx, eax
call fcn.1002569c
test eax, eax
je 0x10026296
push dword [ebp - 0x6b0]
lea ecx, [ebp - 0x700]
call fcn.10001ad2
lea eax, [ebp - 0x700]
mov dword [ebp - 4], 5
or dword [ebp - 0x6ac], 2
push eax
lea ecx, [ebp - 0x73c]
call fcn.10025ce4
lea ecx, [ebp - 0x320]
mov dword [ebp - 4], 6
or dword [ebp - 0x6ac], 4
push ecx
call fcn.10016430
pop ecx
test al, al
je 0x10026296
mov bl, 1
jmp 0x10026298
xor bl, bl
test byte [ebp - 0x6ac], 4
je 0x100262b7
and dword [ebp - 0x6ac], 0xfffffffb
push 0
push 1
lea esi, [ebp - 0x73c]
call fcn.10001e8c
test byte [ebp - 0x6ac], 2
je 0x100262d6
and dword [ebp - 0x6ac], 0xfffffffd
push 0
push 1
lea ecx, [ebp - 0x700]
call fcn.10001d94
mov dword [ebp - 4], 3
test byte [ebp - 0x6ac], 1
je 0x100262fc
and dword [ebp - 0x6ac], 0xfffffffe
push 0
push 1
lea esi, [ebp - 0x720]
call fcn.10001e8c
test bl, bl
jne 0x1002633f
mov esi, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 2
call fcn.1002525d
test edi, edi
jne 0x1002633b
call fcn.100299cf
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1002632a
call fcn.100299cf
add esi, 0x88
mov dword [ebp - 0x6c0], esi
jmp 0x100261aa
mov eax, dword [edi]
jmp 0x10026320
cmp dword [ebp - 0x370], 0x10
mov eax, dword [ebp - 0x384]
jae 0x10026354
lea eax, [ebp - 0x384]
push eax
push 0x104
push dword [ebp - 0x6b0]
call fcn.1002ba32
add esp, 0xc
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 2
call fcn.1002525d
lea eax, [ebp - 0x6dc]
push eax
mov byte [ebp - 4], 0
call fcn.10026daa
jmp 0x100263ae
cmp dword [ebp - 0x324], 0x10
mov eax, dword [ebp - 0x338]
jae 0x1002639e
lea eax, [ebp - 0x338]
push eax
push esi
push dword [ebp - 0x6b0]
call fcn.1002ba32
add esp, 0xc
lea eax, [ebp - 0x6b4]
push eax
push dword [ebp - 0x6b0]
lea ebx, [ebp - 0x698]
call fcn.10025d6c
xor ebx, ebx
cmp dword [ebp - 0x6b4], ebx
jne 0x100264e4
push 0x1004b698
lea eax, [ebp - 0x33c]
push eax
call fcn.1000726f
test eax, eax
jne 0x10026457
push 0xffffffffffffffff
push 1
lea eax, [ebp - 0x33c]
push eax
lea esi, [ebp - 0x73c]
call fcn.10007290
push eax
lea eax, [ebp - 0x720]
push 0x1004be6c
push eax
mov byte [ebp - 4], 7
call fcn.10022336
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x10026423
mov eax, dword [eax + 4]
jmp 0x10026426
add eax, 4
push eax
lea eax, [ebp - 0x698]
push 0x104
push eax
call fcn.1002ba32
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x720]
call fcn.10001d94
push ebx
push 1
lea ecx, [ebp - 0x73c]
call fcn.10001d94
push 0x103
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
test eax, eax
je 0x100264e4
lea eax, [ebp - 0x6b0]
push eax
push eax
lea eax, [ebp - 0x6b4]
push eax
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100264a6
mov eax, dword [ebp - 0x6b4]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x43c], ebx
jne 0x100264e4
push ebx
push ebx
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100264e4
mov eax, dword [ebp - 0x6ac]
shr eax, 0x13
and eax, 1
mov dword [ebp - 0x43c], eax
lea edi, [ebp - 0x698]
call fcn.1002556b
mov eax, dword [ebp - 0x6b8]
cmp dword [eax + 0x10], ebx
je 0x10026520
push 4
lea eax, [ebp - 0x424]
push eax
mov eax, edi
push 0x1004be70
push eax
call fcn.1002bb0a
xor ecx, ecx
inc ecx
add esp, 0x10
cmp eax, ecx
jne 0x1002656b
mov dword [ebp - 0x428], ecx
push ebx
lea eax, [ebp - 0x704]
push eax
mov eax, 0x2e0
push eax
lea ecx, [ebp - 0x6a8]
push ecx
push eax
mov eax, ecx
push eax
push 0x22200c
push dword [ebp - 0x6bc]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002656b
cmp dword [ebp - 0x6a8], ebx
jne 0x10026563
push dword [ebp + 8]
push 0x8000
call fcn.10025dd3
mov esi, dword [ebp - 0x6a8]
jmp 0x1002656e
or esi, 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x33c]
call fcn.10001d94
mov eax, esi
jmp 0x10025f65