Function at 0x10024ff0
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009c35b
mov eax, dword fs:[0]
push eax
sub esp, 0x778
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x770], eax
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x788]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, 7
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], bl
push 0x2b0
lea ecx, [esp + 0xac]
push ebx
mov dword [esp + 0x798], ebx
push ecx
mov dword [esp + 0xb0], ebx
call fcn.1007aac0
add esp, 0xc
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x100250c9
mov eax, dword [edi]
jmp 0x100250cb
mov eax, edi
push 0x610
push 0x2b4
lea edx, [esp + 0xac]
push edx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x100250f9
lea ecx, [esp + 0x34]
call fcn.10025330
xor al, al
jmp 0x100252fe
lea eax, [esp + 0xb0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10025103
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x3c]
call fcn.10004560
lea eax, [esp + 0x2b8]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10025130
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2bc]
push ecx
lea ecx, [esp + 0x58]
call fcn.10004560
push 0x208
lea edx, [esp + 0x572]
push ebx
push edx
mov word [esp + 0x578], bx
call fcn.1007aac0
push 0x208
lea eax, [esp + 0x36e]
push ebx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x374], bx
call fcn.1007aac0
add esp, 0x18
cmp dword [esi + 0x18], 8
jb 0x100251a0
mov eax, dword [edi]
jmp 0x100251a2
mov eax, edi
push 0x104
lea ecx, [esp + 0x360]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x104
lea ecx, [esp + 0x584]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100252be
lea eax, [esp + 0x35c]
mov word [esp + 0x564], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100251f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x360]
push edx
lea ecx, [esp + 0x74]
call fcn.10004560
cmp dword [esi + 0x18], 8
mov byte [esp + 0x9c], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
jb 0x10025233
mov eax, dword [edi]
jmp 0x10025235
mov eax, edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x100252e8
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, edi
imul eax, esi
mov dword [esp + 0x88], eax
xor eax, eax
push eax
push esi
push ebx
push ecx
call fcn.1007ac90
xor ecx, ecx
push ecx
push edi
push edx
push eax
call fcn.1007ac90
mov dword [esp + 0x8c], eax
xor eax, eax
push eax
push esi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x28]
push ebx
push edx
call fcn.1007ac90
xor ecx, ecx
push ecx
push edi
push edx
push eax
call fcn.1007ac90
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
jmp 0x100252e8
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], bl
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x34]
call fcn.100253a0
mov ecx, edi
call fcn.10025330
mov al, 1
mov ecx, dword [esp + 0x788]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x770]
xor ecx, esp
call fcn.1007a1bc
mov esp, ebp
pop ebp
ret