Function at 0x1400a6a70
Capabilities:
Get disk size

Disassembly:
test dx, dx
je 0x1400a6d6e
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xf0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rsi, r8
movzx edi, dx
mov rbp, rcx
test r8, r8
je 0x1400a6d51
movabs rax, 0x5c003a0058
mov qword [r11 - 0x38], rax
mov word [r11 - 0x38], dx
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov ecx, 0xe30
call fcn.14012a618
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov r8d, 0xe30
mov rcx, rax
call fcn.14027b2c0
mov rcx, rbx
call fcn.1400cf520
mov rbx, rax
mov r9, qword [rax]
lea r8, [0x140338d40]
lea rdx, [0x140338da0]
mov rcx, rax
call qword [r9 + 0x290]
mov r9, qword [rbx]
lea r8, [0x140338d98]
lea rdx, [0x140338d88]
mov rcx, rbx
call qword [r9 + 0x290]
mov r9, qword [rbx]
lea r8, [0x140338d78]
lea rdx, [0x140338dc8]
mov rcx, rbx
call qword [r9 + 0x290]
mov rax, qword [rbx]
lea r8, [0x14032488c]
lea rdx, [0x140338db8]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x14032486c]
lea rdx, [0x140338e00]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x140338c64]
lea rdx, [0x140338de8]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x140338dd8]
lea rdx, [0x140338e70]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x140338e60]
lea rdx, [0x140338e48]
mov rcx, rbx
call qword [rax + 0x290]
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x50]
call fcn.14027b2c0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], r14w
xor r9d, r9d
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
lea r8, [0x140443d30]
cmp rcx, 0x400
jl 0x1400a6c4b
nop dword [rax]
nop word [rax + rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r8, 8
cmp rax, 0x400
jge 0x1400a6c30
mov rax, qword [r8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
movss xmm1, dword [0x140363c60]
comiss xmm0, xmm1
jb 0x1400a6c79
movss xmm2, dword [0x140363bd0]
nop dword [rax + rax]
mulss xmm0, xmm2
comiss xmm0, xmm1
jae 0x1400a6c70
cvtss2sd xmm0, xmm0
movzx r9d, di
mov qword [rsp + 0x28], rax
movsd qword [rsp + 0x20], xmm0
mov r8, rsi
lea rdx, str._s____C:____.2f_s
lea rcx, [rsp + 0x50]
call fcn.1400c7cc0
mov rax, qword [rbx]
mov r8, qword [rsp + 0x50]
lea rdx, [0x140338f00]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, str.fileselblue.png_corner10_10_10_10
lea rdx, [0x140338e90]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x140338e88]
lea rdx, [0x140338f48]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea r8, [0x140338f40]
lea rdx, [0x140338f30]
mov rcx, rbx
call qword [rax + 0x290]
mov rax, qword [rbx]
lea rdx, str.OptSystemLetter
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rbx]
movzx edx, di
mov rcx, rbx
call qword [rax + 0x1f8]
mov rcx, qword [rbp + 0xa70]
add rcx, 0x5a8
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x20]
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400a6d51
call fcn.1402804a8
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret