Function at 0x14000bfe0
Capabilities:
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x14003c510]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, r8
mov r13, rdx
mov qword [rsp + 0xb8], rdx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor eax, eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x5c], eax
lea ecx, [rax + 0x18]
call fcn.140017dcc
mov rbp, rax
test rax, rax
je 0x14000c067
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
jmp 0x14000c06a
mov rbp, r15
mov rax, qword [r13 + 0x20]
cmp rax, 8
jb 0x14000c07d
lea rsi, [r13 + 8]
mov rcx, qword [rsi]
jmp 0x14000c084
lea rsi, [r13 + 8]
mov rcx, rsi
cmp word [rcx], 0x5c
jne 0x14000c0f2
cmp rax, 8
jb 0x14000c095
mov rcx, qword [rsi]
jmp 0x14000c098
mov rcx, rsi
cmp word [rcx + 2], 0x3f
jne 0x14000c0f2
cmp rax, 8
jb 0x14000c0aa
mov rcx, qword [rsi]
jmp 0x14000c0ad
mov rcx, rsi
cmp word [rcx + 4], 0x3f
jne 0x14000c0f2
cmp rax, 8
jb 0x14000c0bf
mov rcx, qword [rsi]
jmp 0x14000c0c2
mov rcx, rsi
cmp word [rcx + 6], 0x5c
jne 0x14000c0f2
cmp rax, 8
jb 0x14000c0d4
mov rcx, qword [rsi]
jmp 0x14000c0d7
mov rcx, rsi
add rcx, 8
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
jmp 0x14000c133
cmp rax, 8
jb 0x14000c0fd
mov rdx, qword [rsi]
jmp 0x14000c100
mov rdx, rsi
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0xc0110000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call fcn.14000c9f0
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14000c970
mov r12d, r15d
mov word [rsp + 0xc0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc2]
call fcn.140018030
mov r11d, 0x7fffffff
mov qword [rsp + 0x48], r11
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000c32b
nop dword [rax]
cmp r11, rax
jg 0x14000c17f
sub rax, r11
mov qword [rsp + 0x40], rax
jmp 0x14000c18c
dec rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
lea r8, str._freespace.
mov rdx, r13
lea rcx, [rsp + 0x88]
call fcn.140008680
mov rbx, rax
mov r8d, 0xa
lea rdx, [rsp + 0xc0]
mov ecx, r12d
call fcn.140018d24
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140008680
nop
cmp qword [rax + 0x20], 8
jb 0x14000c1da
mov rdx, qword [rax + 8]
jmp 0x14000c1de
lea rdx, [rax + 8]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0xc0110000
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call fcn.14000c9f0
nop
cmp qword [rsp + 0x80], 8
jb 0x14000c21a
mov rcx, qword [rsp + 0x68]
call fcn.140017cb8
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp qword [rsp + 0xa8], 8
jb 0x14000c249
mov rcx, qword [rsp + 0x90]
call fcn.140017cb8
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.14000c890
mov rcx, rbp
call fcn.14000c380
lea r8, str._freespace.
mov rdx, r13
lea rcx, [rsp + 0x88]
call fcn.140008680
mov rbx, rax
mov r8d, 0xa
lea rdx, [rsp + 0xc0]
mov ecx, r12d
call fcn.140018d24
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140008680
nop
mov rdi, qword [r14 + 0x28]
mov r9, rax
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.140007fe0
mov rbx, rax
mov edx, 1
mov rcx, r14
call fcn.140008080
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x80], 8
jb 0x14000c2e5
mov rcx, qword [rsp + 0x68]
call fcn.140017cb8
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp qword [rsp + 0xa8], 8
jb 0x14000c314
mov rcx, qword [rsp + 0x90]
call fcn.140017cb8
inc r12d
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000c32b
mov r11, qword [rsp + 0x48]
jmp 0x14000c170
mov rcx, rbp
call fcn.140017cb8
nop
cmp qword [r13 + 0x20], 8
jb 0x14000c343
mov rcx, qword [rsi]
call fcn.140017cb8
mov qword [r13 + 0x20], 7
mov qword [r13 + 0x18], r15
mov word [rsi], r15w
mov al, 1
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140016ba0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret