Function at 0x14011c7f4
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, r9
mov r13d, edx
mov rdi, rcx
mov rcx, qword [0x1401720a0]
lea rsi, [0x1401720a0]
cmp rcx, rsi
je 0x14011c854
test byte [rcx + 0x1c], 1
je 0x14011c854
cmp byte [rcx + 0x19], 4
jb 0x14011c854
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a0f8]
mov edx, 0xf
call fcn.140004b74
movups xmm0, xmmword [0x14015b8f8]
and dword [rbp - 0x44], 0
lea rdx, [rbp - 0x50]
and dword [rbp - 0x4c], 0
lea rcx, [rbp - 0x4c]
and dword [rbp - 0x50], 0
xor r14d, r14d
and qword [rbp - 0x20], 0
xor r12d, r12d
and dword [rbp - 0x48], 0
and qword [rbp - 0x28], r14
and dword [rbp - 0x40], r12d
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r12
call fcn.1400f802c
mov ebx, eax
test eax, eax
jns 0x14011c8e1
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14011cbaf
test byte [rcx + 0x1c], 1
je 0x14011cbaf
lea esi, [r14 + 2]
cmp byte [rcx + 0x19], sil
jb 0x14011cbaf
lea edx, [rsi + 0xe]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a0f8]
mov r9d, eax
call fcn.140004b98
jmp 0x14011cbaf
lea rcx, [rbp - 0x44]
call fcn.14008d020
mov ebx, eax
test eax, eax
jns 0x14011c91e
mov rcx, qword [0x1401720a0]
cmp rcx, rsi
je 0x14011cbaf
test byte [rcx + 0x1c], 1
je 0x14011cbaf
mov esi, 2
cmp byte [rcx + 0x19], sil
jb 0x14011cbaf
lea edx, [rsi + 0xf]
jmp 0x14011c8c9
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x48]
call fcn.1400f4c20
mov esi, 2
test eax, eax
jns 0x14011c96f
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x14011c9a5
test byte [rcx + 0x1c], 1
je 0x14011c9a5
cmp byte [rcx + 0x19], sil
jb 0x14011c9a5
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x10]
mov r9d, eax
lea r8, [0x14015a0f8]
call fcn.140004b98
jmp 0x14011c9a5
cmp eax, 1
jne 0x14011c9a5
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x14011c9a5
test byte [rcx + 0x1c], al
je 0x14011c9a5
cmp byte [rcx + 0x19], 4
jb 0x14011c9a5
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x12]
lea r8, [0x14015a0f8]
call fcn.140004b74
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x38]
lea rdx, [0x140149494]
call fcn.140084fcc
mov ebx, eax
test eax, eax
js 0x14011cbab
mov rcx, qword [rbp + 0x50]
xor edx, edx
call fcn.1400f83ec
mov ebx, eax
test eax, eax
js 0x14011cbab
mov ecx, dword [r15 + 0x1c]
call fcn.14008f280
mov r14, qword [rbp - 0x38]
bt eax, 9
jb 0x14011ca93
xor eax, eax
lea r9, [rbp - 8]
lea r8, [rbp - 0x38]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14011ca1a
mov rcx, r14
call fcn.14012ebe0
mov ebx, eax
jmp 0x14011ca24
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x28], rax
xor ebx, ebx
test ebx, ebx
js 0x14011cbaf
mov al, byte [r15 + 0x72]
test al, al
je 0x14011ca41
cmp dword [r15 + 0x88], esi
je 0x14011ca4f
test al, al
jne 0x14011ca93
cmp dword [r15 + 0x1c], 4
je 0x14011ca93
cmp dword [r15 + 0x1c], 1
je 0x14011ca93
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.14012cc9c
mov r12, qword [rbp - 0x30]
mov ebx, eax
test eax, eax
js 0x14011cbaf
lea rdx, str.ReFS
mov rcx, r12
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14011ca93
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14012e378
mov ebx, eax
test eax, eax
js 0x14011cbaf
mov rcx, qword [rbp + 0x50]
call fcn.1400f8580
cmp dword [rbp - 0x50], 0
mov eax, dword [r15 + 0x88]
mov dword [rdi], eax
mov dword [rdi + 0x5c], r13d
je 0x14011cab9
cmp dword [rbp - 0x4c], 0
jne 0x14011cab9
xor eax, eax
jmp 0x14011cabe
mov eax, 1
mov rcx, qword [rbp + 0x40]
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.14011d7ac
mov r13d, dword [rbp - 0x48]
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 [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x14011cb35
test byte [rcx + 0x1c], 1
je 0x14011cb35
cmp byte [rcx + 0x19], 4
jb 0x14011cb35
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a0f8]
mov edx, 0x19
call fcn.140004b74
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
test r13d, r13d
je 0x14011cb44
neg r15b
sbb esi, esi
and esi, 3
inc esi
cmp rcx, rax
je 0x14011cb6a
test byte [rcx + 0x1c], 1
je 0x14011cb6a
cmp byte [rcx + 0x19], 4
jb 0x14011cb6a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a0f8]
mov edx, 0x1a
call fcn.140004b74
mov rax, qword [rbp - 0x28]
shr rax, 0x14
cmp dword [rbp - 0x40], 0x10000
mov dword [rdi + 0x30], eax
mov eax, dword [rbp - 0x44]
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 0x14011cbaf
mov r14, qword [rbp - 0x38]
mov rcx, qword [rbp + 0x50]
call fcn.1400f8580
test r14, r14
je 0x14011cbc6
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r12, r12
je 0x14011cbd4
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14011cbe3
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret