Function at 0x14009f2c0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
movzx edi, word [0x14045e53c]
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x60]
call fcn.14027b2c0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov word [rsp + 0x68], bx
movabs rax, 0x5c003a0058
mov qword [rbp - 0x10], rax
mov word [rbp - 0x10], di
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14009f3b9
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14009f3b9
mov edx, dword [rsp + 0x38]
imul edx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
imul rax, rdx
mov qword [rsp + 0x50], rax
mov ecx, dword [rsp + 0x44]
imul rcx, rdx
mov qword [rsp + 0x48], rcx
jmp 0x14009f3c3
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0xb40], rax
mov rdx, rcx
sub rdx, rax
mov qword [rsi + 0xb48], rdx
mov qword [rsi + 0xb38], rcx
lea rbx, [0x140443d30]
movss xmm6, dword [0x140363c60]
movss xmm7, dword [0x140363bd0]
test rcx, rcx
je 0x14009f493
mov rax, rcx
mov r8, rbx
cmp rcx, 0x400
jl 0x14009f42b
nop dword [rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r8, 8
cmp rax, 0x400
jge 0x14009f410
mov rax, qword [r8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
comiss xmm0, xmm6
jb 0x14009f449
nop dword [rax + rax]
mulss xmm0, xmm7
comiss xmm0, xmm6
jae 0x14009f440
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movzx r8d, di
mov qword [rsp + 0x20], rax
movq r9, xmm3
lea rdx, [0x140337348]
lea rcx, [rsp + 0x60]
call fcn.1400c7cc0
mov rcx, qword [rsi + 0xaa8]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x58]
mov rcx, qword [rsi + 0xac0]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x58]
mov rcx, qword [rsi + 0xb40]
test rcx, rcx
je 0x14009f607
mov rax, rcx
cmp rcx, 0x400
jl 0x14009f4cb
nop
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add rbx, 8
cmp rax, 0x400
jge 0x14009f4b0
mov rbx, qword [rbx]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
comiss xmm0, xmm6
jb 0x14009f4e9
nop dword [rax + rax]
mulss xmm0, xmm7
comiss xmm0, xmm6
jae 0x14009f4e0
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
mov r9, rbx
movaps xmm2, xmm6
movq r8, xmm2
lea rdx, [0x140337330]
lea rcx, [rsp + 0x60]
call fcn.1400c7cc0
mov rcx, qword [rsi + 0xab0]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x58]
mov r9, rbx
movaps xmm2, xmm6
movq r8, xmm2
lea rdx, [0x140337318]
lea rcx, [rsp + 0x60]
call fcn.1400c7cc0
mov rcx, qword [rsi + 0xac8]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x58]
mov rax, qword [rsi + 0xb48]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movsd xmm2, qword [0x140363c58]
test rax, rax
jns 0x14009f56c
addsd xmm0, xmm2
mov rax, qword [rsi + 0xb38]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x14009f584
addsd xmm1, xmm2
divsd xmm0, xmm1
mulsd xmm0, qword [0x140363c08]
cvttsd2si ebx, xmm0
mov rdi, qword [rsi + 0xab8]
cmp ebx, dword [rdi + 0x5ec]
je 0x14009f5cd
cmp ebx, dword [rdi + 0x5e8]
jl 0x14009f5cd
cmp ebx, dword [rdi + 0x5e4]
jg 0x14009f5cd
mov dword [rdi + 0x5ec], ebx
mov rcx, rdi
call fcn.1400db070
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x310]
mov rdi, qword [rsi + 0xad0]
cmp ebx, dword [rdi + 0x5ec]
je 0x14009f607
cmp ebx, dword [rdi + 0x5e8]
jl 0x14009f607
cmp ebx, dword [rdi + 0x5e4]
jg 0x14009f607
mov dword [rdi + 0x5ec], ebx
mov rcx, rdi
call fcn.1400db070
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x310]
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14009f61b
call fcn.1402804a8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret