Function at 0x14012beb8
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r13, qword [rbp + 0x7f]
mov r15, r9
mov qword [rbp - 0x19], r13
mov rdi, rcx
mov qword [rbp - 0x29], r8
mov dword [rbp - 0x41], edx
mov rcx, qword [0x140183048]
lea rsi, [0x140183048]
cmp rcx, rsi
je 0x14012bf2b
test byte [rcx + 0x1c], 1
je 0x14012bf2b
cmp byte [rcx + 0x19], 4
jb 0x14012bf2b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bd58]
mov edx, 0xf
call fcn.140004e50
movups xmm0, xmmword [0x140162618]
and dword [rbp - 0x55], 0
lea rdx, [rbp - 0x61]
and dword [rbp - 0x5d], 0
lea rcx, [rbp - 0x5d]
and dword [rbp - 0x61], 0
xor r14d, r14d
and qword [rbp - 0x21], 0
xor r12d, r12d
and dword [rbp - 0x59], 0
and qword [rbp - 0x31], r14
and dword [rbp - 0x51], r12d
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp - 0x49], r14
mov qword [rbp - 0x39], r12
call fcn.140105590
mov ebx, eax
test eax, eax
jns 0x14012bfb8
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14012c292
test byte [rcx + 0x1c], 1
je 0x14012c292
lea esi, [r14 + 2]
cmp byte [rcx + 0x19], sil
jb 0x14012c292
lea edx, [rsi + 0xe]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bd58]
mov r9d, eax
call fcn.140004e7c
jmp 0x14012c292
lea rcx, [rbp - 0x55]
call fcn.140098bd0
mov ebx, eax
test eax, eax
jns 0x14012bff5
mov rcx, qword [0x140183048]
cmp rcx, rsi
je 0x14012c292
test byte [rcx + 0x1c], 1
je 0x14012c292
mov esi, 2
cmp byte [rcx + 0x19], sil
jb 0x14012c292
lea edx, [rsi + 0xf]
jmp 0x14012bfa0
lea r9, [rbp - 1]
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x59]
call fcn.14010293c
mov esi, 2
test eax, eax
jns 0x14012c046
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14012c07c
test byte [rcx + 0x1c], 1
je 0x14012c07c
cmp byte [rcx + 0x19], sil
jb 0x14012c07c
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x10]
mov r9d, eax
lea r8, [0x14016bd58]
call fcn.140004e7c
jmp 0x14012c07c
cmp eax, 1
jne 0x14012c07c
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14012c07c
test byte [rcx + 0x1c], al
je 0x14012c07c
cmp byte [rcx + 0x19], 4
jb 0x14012c07c
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x12]
lea r8, [0x14016bd58]
call fcn.140004e50
mov rcx, qword [rbp - 0x29]
lea r8, [rbp - 0x49]
lea rdx, [0x14015ab98]
call fcn.14009047c
mov ebx, eax
test eax, eax
js 0x14012c28e
xor edx, edx
mov rcx, r13
call fcn.140105978
mov ebx, eax
test eax, eax
js 0x14012c28e
mov ecx, dword [r15 + 0x1c]
call fcn.14009ad40
mov r14, qword [rbp - 0x49]
bt eax, 9
jb 0x14012c171
xor eax, eax
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x49]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 9]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop dword [rax + rax]
test eax, eax
jne 0x14012c0f6
mov rcx, r14
call fcn.14013f1f4
mov ebx, eax
jmp 0x14012c100
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
xor ebx, ebx
test ebx, ebx
js 0x14012c292
cmp byte [r15 + 0x72], r12b
je 0x14012c119
cmp dword [r15 + 0x88], esi
je 0x14012c127
jmp 0x14012c171
cmp dword [r15 + 0x1c], 4
je 0x14012c171
cmp dword [r15 + 0x1c], 1
je 0x14012c171
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.14013d118
mov r12, qword [rbp - 0x39]
mov ebx, eax
test eax, eax
js 0x14012c292
lea rdx, str.ReFS
mov rcx, r12
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14012c171
lea rdx, [rbp - 0x51]
mov rcx, r14
call fcn.14013e8fc
mov ebx, eax
test eax, eax
js 0x14012c292
mov rcx, r13
call fcn.140105b24
cmp dword [rbp - 0x61], 0
mov eax, dword [r15 + 0x88]
mov dword [rdi], eax
mov eax, dword [rbp - 0x41]
mov dword [rdi + 0x5c], eax
je 0x14012c198
cmp dword [rbp - 0x5d], 0
jne 0x14012c198
xor eax, eax
jmp 0x14012c19d
mov eax, 1
mov rcx, qword [rbp - 0x29]
mov dword [rdi + 0x58], eax
mov eax, dword [r15 + 0x1c]
mov dword [rdi + 0x1c], eax
mov r9, qword [r15 + 0x58]
mov r8d, dword [r15 + 0x50]
mov edx, dword [r15 + 0x1c]
call fcn.14012cf0c
mov r13d, dword [rbp - 0x59]
mov dword [rdi + 0x24], eax
mov eax, dword [r15 + 0x28]
mov dword [rdi + 0x2c], eax
mov dword [rdi + 0xc], r13d
mov r15b, byte [r15 + 0x72]
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14012c214
test byte [rcx + 0x1c], 1
je 0x14012c214
cmp byte [rcx + 0x19], 4
jb 0x14012c214
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bd58]
mov edx, 0x19
call fcn.140004e50
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
test r13d, r13d
je 0x14012c223
neg r15b
sbb esi, esi
and esi, 3
inc esi
cmp rcx, rax
je 0x14012c249
test byte [rcx + 0x1c], 1
je 0x14012c249
cmp byte [rcx + 0x19], 4
jb 0x14012c249
mov rcx, qword [rcx + 0x10]
lea r8, [0x14016bd58]
mov edx, 0x1a
call fcn.140004e50
mov rax, qword [rbp - 0x31]
mov r13, qword [rbp - 0x19]
shr rax, 0x14
cmp dword [rbp - 0x51], 0x10000
mov dword [rdi + 0x30], eax
mov eax, dword [rbp - 0x55]
mov dword [rdi + 0x54], eax
seta al
and dword [rdi + 0x6c], 0
and dword [rdi + 0x70], 0
and dword [rdi + 0x74], 0
and dword [rdi + 0x78], 0
and dword [rdi + 0x7c], 0
and dword [rdi + 0x80], 0
mov dword [rdi + 0x10], esi
mov byte [rdi + 0x84], al
jmp 0x14012c292
mov r14, qword [rbp - 0x49]
mov rcx, r13
call fcn.140105b24
test r14, r14
je 0x14012c2ae
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x14012c2c2
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14012c2d7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401534b0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret