Function at 0x14000afe0
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 [0x14003b510]
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.140016dcc
mov rbp, rax
test rax, rax
je 0x14000b067
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
jmp 0x14000b06a
mov rbp, r15
mov rax, qword [r13 + 0x20]
cmp rax, 8
jb 0x14000b07d
lea rsi, [r13 + 8]
mov rcx, qword [rsi]
jmp 0x14000b084
lea rsi, [r13 + 8]
mov rcx, rsi
cmp word [rcx], 0x5c
jne 0x14000b0f2
cmp rax, 8
jb 0x14000b095
mov rcx, qword [rsi]
jmp 0x14000b098
mov rcx, rsi
cmp word [rcx + 2], 0x3f
jne 0x14000b0f2
cmp rax, 8
jb 0x14000b0aa
mov rcx, qword [rsi]
jmp 0x14000b0ad
mov rcx, rsi
cmp word [rcx + 4], 0x3f
jne 0x14000b0f2
cmp rax, 8
jb 0x14000b0bf
mov rcx, qword [rsi]
jmp 0x14000b0c2
mov rcx, rsi
cmp word [rcx + 6], 0x5c
jne 0x14000b0f2
cmp rax, 8
jb 0x14000b0d4
mov rcx, qword [rsi]
jmp 0x14000b0d7
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 0x14000b133
cmp rax, 8
jb 0x14000b0fd
mov rdx, qword [rsi]
jmp 0x14000b100
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.14000b9f0
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.14000b970
mov r12d, r15d
mov word [rsp + 0xc0], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0xc2]
call fcn.140017030
mov r11d, 0x7fffffff
mov qword [rsp + 0x48], r11
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000b32b
nop dword [rax]
cmp r11, rax
jg 0x14000b17f
sub rax, r11
mov qword [rsp + 0x40], rax
jmp 0x14000b18c
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.140007680
mov rbx, rax
mov r8d, 0xa
lea rdx, [rsp + 0xc0]
mov ecx, r12d
call fcn.140017d24
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140007680
nop
cmp qword [rax + 0x20], 8
jb 0x14000b1da
mov rdx, qword [rax + 8]
jmp 0x14000b1de
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.14000b9f0
nop
cmp qword [rsp + 0x80], 8
jb 0x14000b21a
mov rcx, qword [rsp + 0x68]
call fcn.140016cb8
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp qword [rsp + 0xa8], 8
jb 0x14000b249
mov rcx, qword [rsp + 0x90]
call fcn.140016cb8
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.14000b890
mov rcx, rbp
call fcn.14000b380
lea r8, str._freespace.
mov rdx, r13
lea rcx, [rsp + 0x88]
call fcn.140007680
mov rbx, rax
mov r8d, 0xa
lea rdx, [rsp + 0xc0]
mov ecx, r12d
call fcn.140017d24
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140007680
nop
mov rdi, qword [r14 + 0x28]
mov r9, rax
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.140006fe0
mov rbx, rax
mov edx, 1
mov rcx, r14
call fcn.140007080
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
cmp qword [rsp + 0x80], 8
jb 0x14000b2e5
mov rcx, qword [rsp + 0x68]
call fcn.140016cb8
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp qword [rsp + 0xa8], 8
jb 0x14000b314
mov rcx, qword [rsp + 0x90]
call fcn.140016cb8
inc r12d
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000b32b
mov r11, qword [rsp + 0x48]
jmp 0x14000b170
mov rcx, rbp
call fcn.140016cb8
nop
cmp qword [r13 + 0x20], 8
jb 0x14000b343
mov rcx, qword [rsi]
call fcn.140016cb8
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.140015ba0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret