Function at 0x140026b80
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0xe80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0xe70], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
call fcn.140025d50
mov edi, 1
test al, al
jne 0x140026bf5
mov ebx, edi
mov ecx, dword [0x1401bdd80]
cmp ecx, ebx
jle 0x140026bed
nop dword [rax + rax]
mov eax, ecx
cdq
idiv ebx
inc ebx
add ebx, edx
cmp ebx, ecx
jl 0x140026be0
mov dword [0x1401bdd80], ebx
jmp 0x140026bfb
mov ebx, dword [0x1401bdd80]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400d0f20
mov dword [rsp + 0x50], 0x70
lea ecx, [rbx + 1]
imul ecx, ebx
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
xor ebp, ebp
cmp ecx, 8
jne 0x140026cbc
mov word [rsp + 0x450], bp
xor edx, edx
mov r8d, 0xa1e
lea rcx, [rsp + 0x452]
call fcn.1400d0f20
mov r10d, ebp
mov r9d, ebp
nop
mov rax, rbp
test r10, r10
je 0x140026c95
test rax, rax
je 0x140026c95
lea rcx, [r9 + rax]
lea r8, [rsp + 0x450]
lea r8, [r8 + rcx*2]
lea rcx, [r9 + rax]
movzx edx, word [rsp + rcx*2 + 0x408]
inc dx
add dx, word [r8 - 2]
mov word [r8], dx
inc rax
cmp rax, 0x24
jl 0x140026c63
inc r10
add r9, 0x24
cmp r9, 0x510
jl 0x140026c60
movsx eax, word [rsp + 0xe6e]
mov dword [0x1401bdd80], eax
lea rax, str.open
mov qword [rsp + 0x60], rax
call fcn.140025e90
or rbx, 0xffffffffffffffff
test al, al
jne 0x140026d16
mov ecx, dword [0x1401bdd80]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub ecx, edx
add ecx, 0x141
movsxd rcx, ecx
mov eax, 4
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1400cb128
mov rcx, rax
call fcn.1400cc208
mov rax, qword [r14]
mov ecx, edi
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, ecx
jge 0x140026d2f
xor edx, edx
mov rcx, r14
call fcn.140002490
mov rax, qword [r14]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x80], 5
mov r8d, dword [0x1401bdd80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xe
jne 0x140026da3
mov ecx, ebp
lea rdx, [rsp + 0xc0]
nop word [rax + rax]
mov eax, dword [rdx]
imul eax, eax, 0xf6
add r8d, eax
inc ecx
lea rdx, [rdx + 4]
movsxd rax, ecx
cmp rax, 0x38c
jb 0x140026d80
mov dword [0x1401bdd80], r8d
mov dword [rsp + 0x54], 0x440
mov rax, qword [rsi]
sub edi, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, edi
jge 0x140026dc2
xor edx, edx
mov rcx, rsi
call fcn.140002490
mov rax, qword [rsi]
mov qword [rsp + 0x70], rax
call fcn.140025de0
test al, al
jne 0x140026de8
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov rax, qword [0x1401bf4f8]
test rax, rax
jne 0x140026e6e
mov ecx, dword [0x1401bdd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 0xf
jne 0x140026e32
call fcn.1400cc4a0
mov dword [0x1401bdd80], eax
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140026e5d
lea rdx, str.ShellExecuteExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401bf4f8], rax
jmp 0x140026e64
mov rax, qword [0x1401bf4f8]
test rax, rax
jne 0x140026e6e
xor dil, dil
jmp 0x140026e7c
lea rcx, [rsp + 0x50]
call rax
cmp eax, 1
sete dil
mov rdx, qword [r14]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140026e98
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140026eb0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0xe70]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0xe80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret