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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1025472d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x760
xor eax, eax
mov dword [ebp - 0x80], 0
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 7
push esi
push edi
mov word [ebp - 0x90], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 0x48], eax
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], al
push 0x2b4
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x558]
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10246c6c
mov eax, dword [esi]
push 0x610
push 0x2b4
lea ecx, [ebp - 0x558]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x10246c91
xor bl, bl
jmp 0x10246eb3
lea ecx, [ebp - 0x54c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10246ca0
sub ecx, edx
lea eax, [ebp - 0x54c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.1001a600
lea ecx, [ebp - 0x344]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10246cd0
sub ecx, edx
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.1001a600
push 0x20a
lea eax, [ebp - 0x768]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x24], 0
push 0
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10246d37
mov eax, dword [esi]
push 0x104
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0x104
lea ecx, [ebp - 0x768]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10246e1c
xor eax, eax
lea ecx, [ebp - 0x2a0]
mov word [ebp - 0x98], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10246d80
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1001a600
cmp dword [esi + 0x14], 8
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x10], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jb 0x10246dc7
mov esi, dword [esi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x10246e34
mov esi, dword [ebp + 8]
mov eax, esi
mov edi, dword [ebp - 0x10]
imul eax, edi
push 0
push edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mul esi
push edx
push eax
call fcn.10247080
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.10247080
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x10246e34
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov byte [ebp - 0x30], 0
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x90]
cmp esi, eax
je 0x10246e57
cmp dword [ebp - 0x7c], 8
mov ecx, esi
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
push eax
call fcn.1001a600
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x78]
cmp ecx, eax
je 0x10246e72
cmp dword [ebp - 0x64], 8
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
call fcn.1001a600
lea ecx, [esi + 0x30]
lea eax, [ebp - 0x60]
cmp ecx, eax
je 0x10246e8d
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.1001a600
mov eax, dword [ebp - 0x48]
mov bl, 1
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x5c], eax
mov al, byte [ebp - 0x30]
mov byte [esi + 0x60], al
lea ecx, [ebp - 0x60]
call fcn.1001a5a0
lea ecx, [ebp - 0x78]
call fcn.1001a5a0
lea ecx, [ebp - 0x90]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret