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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x718]
sub rsp, 0x800
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x6f0], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rsp + 0x50], xmm1
xor r14d, r14d
mov word [rsp + 0x40], r14w
lea rdx, str.Shell32.dll
lea rcx, [rsp + 0x40]
call fcn.1800034c0
nop
call fcn.180025300
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1800253e0
mov rsi, rax
lea rcx, [rsp + 0x40]
call fcn.180003440
test rsi, rsi
je 0x180025d91
lea rdx, str.SHGetFileInfoW
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x180025d91
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r14w
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r14w
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180025d59
mov rcx, qword [rbx]
mov dword [rsp + 0x20], 0x610
mov r9d, 0x2b8
lea r8, [rbp + 0x10]
xor edx, edx
call rsi
test rax, rax
jne 0x180025d98
lea rcx, [rbp - 0x30]
call fcn.180003440
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
nop
lea rcx, [rbp - 0x70]
call fcn.180003440
xor al, al
jmp 0x180025f88
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800034c0
lea rdx, [rbp + 0x228]
lea rcx, [rbp - 0x50]
call fcn.1800034c0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x4e0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x80], r14d
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x78], r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x180025df8
mov rcx, qword [rbx]
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8d, 0x104
lea rdx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x180025ed1
mov word [rbp + 0x4d8], r14w
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x30]
call fcn.1800034c0
mov byte [rbp + 8], 1
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x68], r14d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x70], r14d
cmp qword [rbx + 0x18], 8
jb 0x180025e79
mov rbx, qword [rbx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x6c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x180025ee1
mov edx, dword [rsp + 0x68]
mov eax, edx
mov ecx, dword [rsp + 0x6c]
imul eax, ecx
mov dword [rbp - 0x10], eax
mov eax, dword [rsp + 0x70]
imul rax, rcx
imul rax, rdx
mov qword [rbp - 8], rax
mov eax, dword [rsp + 0x74]
imul rax, rcx
imul rax, rdx
mov qword [rbp], rax
jmp 0x180025ee1
mov dword [rbp - 0x10], r14d
mov qword [rbp - 8], r14
mov qword [rbp], r14
mov byte [rbp + 8], 0
lea rax, [rbp - 0x70]
cmp rdi, rax
je 0x180025f04
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
mov rcx, rdi
call fcn.180003540
lea rcx, [rdi + 0x20]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x180025f28
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
call fcn.180003540
lea rcx, [rdi + 0x40]
lea rax, [rbp - 0x30]
cmp rcx, rax
je 0x180025f4c
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
call fcn.180003540
mov eax, dword [rbp - 0x10]
mov dword [rdi + 0x60], eax
mov rax, qword [rbp - 8]
mov qword [rdi + 0x68], rax
mov rax, qword [rbp]
mov qword [rdi + 0x70], rax
movzx eax, byte [rbp + 8]
mov byte [rdi + 0x78], al
lea rcx, [rbp - 0x30]
call fcn.180003440
nop
lea rcx, [rbp - 0x50]
call fcn.180003440
nop
lea rcx, [rbp - 0x70]
call fcn.180003440
mov al, 1
mov rcx, qword [rbp + 0x6f0]
xor rcx, rsp
call fcn.1800bd270
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret