Function at 0x14009b170
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 [0x1403a0088]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
movzx edi, word [0x140455b60]
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x60]
call fcn.1402767a0
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 0x14009b269
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 0x14009b269
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 0x14009b273
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, [0x14043bd30]
movss xmm6, dword [0x14035d110]
movss xmm7, dword [0x14035d080]
test rcx, rcx
je 0x14009b343
mov rax, rcx
mov r8, rbx
cmp rcx, 0x400
jl 0x14009b2db
nop dword [rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r8, 8
cmp rax, 0x400
jge 0x14009b2c0
mov rax, qword [r8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
comiss xmm0, xmm6
jb 0x14009b2f9
nop dword [rax + rax]
mulss xmm0, xmm7
comiss xmm0, xmm6
jae 0x14009b2f0
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movzx r8d, di
mov qword [rsp + 0x20], rax
movq r9, xmm3
lea rdx, [0x1403308f8]
lea rcx, [rsp + 0x60]
call fcn.1400c3460
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 0x14009b4b7
mov rax, rcx
cmp rcx, 0x400
jl 0x14009b37b
nop
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add rbx, 8
cmp rax, 0x400
jge 0x14009b360
mov rbx, qword [rbx]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
comiss xmm0, xmm6
jb 0x14009b399
nop dword [rax + rax]
mulss xmm0, xmm7
comiss xmm0, xmm6
jae 0x14009b390
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
mov r9, rbx
movaps xmm2, xmm6
movq r8, xmm2
lea rdx, [0x140330990]
lea rcx, [rsp + 0x60]
call fcn.1400c3460
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, [0x140330978]
lea rcx, [rsp + 0x60]
call fcn.1400c3460
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 [0x14035d108]
test rax, rax
jns 0x14009b41c
addsd xmm0, xmm2
mov rax, qword [rsi + 0xb38]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
test rax, rax
jns 0x14009b434
addsd xmm1, xmm2
divsd xmm0, xmm1
mulsd xmm0, qword [0x14035d0b8]
cvttsd2si ebx, xmm0
mov rdi, qword [rsi + 0xab8]
cmp ebx, dword [rdi + 0x5ec]
je 0x14009b47d
cmp ebx, dword [rdi + 0x5e8]
jl 0x14009b47d
cmp ebx, dword [rdi + 0x5e4]
jg 0x14009b47d
mov dword [rdi + 0x5ec], ebx
mov rcx, rdi
call fcn.1400db4e0
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x310]
mov rdi, qword [rsi + 0xad0]
cmp ebx, dword [rdi + 0x5ec]
je 0x14009b4b7
cmp ebx, dword [rdi + 0x5e8]
jl 0x14009b4b7
cmp ebx, dword [rdi + 0x5e4]
jg 0x14009b4b7
mov dword [rdi + 0x5ec], ebx
mov rcx, rdi
call fcn.1400db4e0
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 0x14009b4cb
call fcn.14027b988
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140125a70
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