Function at 0x14005f060
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b5e90]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r15, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
mov r14d, esi
mov r9d, dword [0x1401bdd80]
lea r8d, [r9 + 1]
imul r8d, r9d
mov eax, 0x78787879
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r8d, edx
cmp r8d, 9
jne 0x14005f0ec
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov r9d, dword [0x1401bdd80]
lea r13, vtable.CRSimpleIPCMessage.0
nop word [rax + rax]
mov rdi, qword [r15 + 0x50]
mov rbx, qword [r15 + 0x48]
mov rcx, rdi
sub rcx, rbx
sub rcx, r14
cmp rcx, 8
jb 0x14005f355
lea r12, [rbx + r14]
mov edx, dword [r12 + 4]
lea rax, [rdx + 8]
cmp rcx, rax
jb 0x14005f355
add r14, 8
add r14, rdx
mov qword [rsp + 0x58], r14
imul r9d, r9d
and r9d, 0x8000000f
jge 0x14005f154
dec r9d
or r9d, 0xfffffff0
inc r9d
cmp r9d, 3
jne 0x14005f277
mov rbx, rsi
call fcn.1400cc4a0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rsp + rbx*8 + 0x70], xmm0
inc rbx
cmp rbx, 0x51
jb 0x14005f161
mov r8, rsi
mov r9d, 0x50
lea r10d, [r9 + 1]
nop word [rax + rax]
mov ecx, 0x50
cmp r8, rcx
jge 0x14005f268
cmp r9, 4
jl 0x14005f23d
lea rax, [rsp + 0x2e0]
mov edx, 0x4c
sub rdx, r8
shr rdx, 2
inc rdx
mov ecx, 0x14
sub rcx, rdx
shl rcx, 2
nop dword [rax + rax]
movsd xmm0, qword [rax + 0x10]
movsd xmm1, qword [rax + 8]
comisd xmm0, xmm1
jbe 0x14005f1ea
movsd qword [rax + 0x10], xmm1
movsd qword [rax + 8], xmm0
movsd xmm0, qword [rax + 8]
movsd xmm1, qword [rax]
comisd xmm0, xmm1
jbe 0x14005f202
movsd qword [rax + 8], xmm1
movsd qword [rax], xmm0
movsd xmm0, qword [rax]
movsd xmm1, qword [rax - 8]
comisd xmm0, xmm1
jbe 0x14005f21a
movsd qword [rax], xmm1
movsd qword [rax - 8], xmm0
movsd xmm0, qword [rax - 8]
movsd xmm1, qword [rax - 0x10]
comisd xmm0, xmm1
jbe 0x14005f234
movsd qword [rax - 8], xmm1
movsd qword [rax - 0x10], xmm0
sub rax, 0x20
dec rdx
jne 0x14005f1d0
cmp rcx, r8
jle 0x14005f268
movsd xmm0, qword [rsp + rcx*8 + 0x70]
movsd xmm1, qword [rsp + rcx*8 + 0x68]
comisd xmm0, xmm1
jbe 0x14005f260
movsd qword [rsp + rcx*8 + 0x70], xmm1
movsd qword [rsp + rcx*8 + 0x68], xmm0
dec rcx
cmp rcx, r8
jg 0x14005f242
inc r8
dec r9
dec r10
jne 0x14005f190
mov ebx, dword [r12]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov edx, 8
lea rcx, [rsp + 0x38]
call fcn.140031880
nop
mov rax, qword [rsp + 0x38]
mov dword [rax], ebx
mov rax, qword [rsp + 0x38]
mov dword [rax + 4], esi
mov edi, dword [r12 + 4]
mov rbx, qword [rsp + 0x40]
sub rbx, qword [rsp + 0x38]
lea rdx, [rbx + rdi]
lea rcx, [rsp + 0x38]
call fcn.140031880
lea rdx, [r12 + 8]
mov rcx, qword [rsp + 0x38]
add rcx, rbx
mov r8d, edi
call fcn.1400cbb10
mov ecx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x38]
sub ecx, eax
sub ecx, 8
mov dword [rax + 4], ecx
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14005f305
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax]
nop
jmp 0x14005f31a
mov qword [rsp + 0x30], r13
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x14005f335
mov r9d, dword [0x1401bdd80]
jmp 0x14005f100
call fcn.1400cbac0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov r9d, dword [0x1401bdd80]
jmp 0x14005f100
test r14, r14
je 0x14005f384
lea rdx, [rbx + r14]
cmp rdx, rdi
jne 0x14005f369
mov qword [r15 + 0x50], rbx
jmp 0x14005f384
cmp rbx, rdx
je 0x14005f384
sub rdi, rdx
mov r8, rdi
mov rcx, rbx
call fcn.1400cbb10
lea rax, [rdi + rbx]
mov qword [r15 + 0x50], rax
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1400cbae0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret