Function at 0x14013dbac
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x98
mov rbx, r9
mov r14, r8
mov rcx, qword [0x14017d3a8]
lea rax, [0x14017d3a8]
cmp rcx, rax
je 0x14013dc0c
test byte [rcx + 0x1c], 1
je 0x14013dc0c
cmp byte [rcx + 0x19], 4
jb 0x14013dc0c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
mov edx, 0x17
call fcn.14001dd24
xor esi, esi
xor r13d, r13d
xor edi, edi
and qword [rbp + 0x5f], rsi
xor r15d, r15d
xor r12d, r12d
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r12
test rbx, rbx
jne 0x14013dc4e
lea r8, [0x140014510]
lea rcx, [0x1400144d8]
mov edx, 0x170
call fcn.1400a8be8
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
jne 0x14013dc6f
lea r8, [0x140014540]
lea rcx, [0x1400144d8]
mov edx, 0x171
call fcn.1400a8be8
cmp qword [rbp + 0x77], rsi
jne 0x14013dc8d
lea r8, [0x140014528]
lea rcx, [0x1400144d8]
mov edx, 0x172
call fcn.1400a8be8
mov rbx, qword [rbp + 0x7f]
test rbx, rbx
jne 0x14013dcae
lea r8, [0x140014588]
lea rcx, [0x1400144d8]
mov edx, 0x173
call fcn.1400a8be8
mov rax, qword [rbp + 0x6f]
and qword [rax], rsi
mov rax, qword [rbp + 0x67]
and qword [rax], rsi
mov rax, qword [rbp + 0x77]
and qword [rax], rsi
and qword [rbx], rsi
cmp dword [r14 + 8], 4
je 0x14013dce5
cmp dword [r14 + 8], 3
je 0x14013dce5
cmp dword [r14 + 8], 2
je 0x14013dce5
mov ebx, 0x80070057
jmp 0x14013e0cd
lea rcx, [rbp - 0x51]
call fcn.1400b0a7c
mov ebx, eax
test eax, eax
js 0x14013e0c9
cmp dword [r14 + 8], 4
jne 0x14013debc
mov r15, qword [rbp + 0x57]
mov dl, 1
mov rcx, r15
call fcn.14011e208
mov ebx, eax
test eax, eax
js 0x14013e0c9
mov rsi, qword [rbp - 0x51]
mov rcx, qword [r14 + 0x10]
lea r8, [rbp - 0x49]
mov rdx, rsi
call fcn.140134000
mov ebx, eax
test eax, eax
js 0x14013deb3
mov rbx, qword [r14 + 0x10]
and qword [rbp - 0x41], rdi
and qword [rbp - 0x31], rdi
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x51]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14013dd6a
mov rcx, rbx
call fcn.140154be4
mov ebx, eax
jmp 0x14013dd7c
mov rax, qword [rbp - 0x39]
xor ebx, ebx
mov qword [rbp - 0x41], rax
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x31], rax
test ebx, ebx
jns 0x14013ddc5
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x14013ddbc
test byte [rcx + 0x1c], 1
je 0x14013ddbc
cmp byte [rcx + 0x19], 2
jb 0x14013ddbc
mov r9, qword [r14 + 0x10]
mov edx, 0x18
mov dword [rsp + 0x20], ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
call fcn.14001ecbc
mov rdi, qword [rbp - 0x49]
jmp 0x14013e0d4
mov rdi, qword [rbp - 0x49]
mov r9, qword [r14 + 0x58]
mov r8, qword [r14 + 0x50]
lea rax, [rbp - 0x21]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14013388c
mov ebx, eax
test eax, eax
jns 0x14013de50
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x14013e0d4
test byte [rcx + 0x1c], 1
je 0x14013e0d4
cmp byte [rcx + 0x19], 2
jb 0x14013e0d4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
mov edx, 0x19
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x14013e0d4
mov rcx, r15
call fcn.14011e39c
mov r12, qword [rbp - 0x21]
mov r15, qword [rbp - 0x29]
lea r14, [0x14017d3a8]
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x14013e0a3
test byte [rcx + 0x1c], 1
je 0x14013e0a3
cmp byte [rcx + 0x19], 4
mov r14, qword [rbp - 0x41]
jb 0x14013e0a7
mov r9, qword [rbp - 0x31]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1e
mov r8, r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
call fcn.14013d32c
jmp 0x14013e0a7
mov rdi, qword [rbp - 0x49]
jmp 0x14013e0cd
mov rcx, qword [r14 + 0x10]
lea r8, [rbp - 0x39]
lea rdx, [0x140001800]
call fcn.1400a9ab8
mov r13, qword [rbp - 0x39]
mov ebx, eax
test eax, eax
js 0x14013e0c9
and qword [rbp - 0x41], rsi
and qword [rbp - 0x31], rsi
lea r9, [rbp - 9]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14013df0b
mov rcx, r13
call fcn.140154be4
mov ebx, eax
jmp 0x14013df1d
mov rax, qword [rbp - 0x11]
xor ebx, ebx
mov qword [rbp - 0x41], rax
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x31], rax
mov rsi, qword [rbp - 0x51]
test ebx, ebx
js 0x14013e0cd
lea r8, [rbp - 0x49]
mov rdx, rsi
mov rcx, r13
call fcn.140133e10
mov ebx, eax
test eax, eax
jns 0x14013df7a
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x14013ddbc
test byte [rcx + 0x1c], 1
je 0x14013ddbc
cmp byte [rcx + 0x19], 2
jb 0x14013ddbc
mov edx, 0x1a
mov dword [rsp + 0x20], eax
mov r9, r13
jmp 0x14013ddac
mov rdi, qword [rbp - 0x49]
test rdi, rdi
jne 0x14013dfc9
mov rcx, qword [0x14017d3a8]
lea r14, [0x14017d3a8]
cmp rcx, r14
je 0x14013e0a3
test byte [rcx + 0x1c], 1
je 0x14013de6e
cmp byte [rcx + 0x19], 4
jb 0x14013de6e
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x1b]
lea r8, [0x1400146b8]
mov r9, r13
call fcn.14001ec40
jmp 0x14013de67
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rbp + 0x4f]
lea rax, [rbp + 0x5f]
mov r9b, 1
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140132160
test eax, eax
jns 0x14013e022
mov rcx, qword [0x14017d3a8]
lea r15, [0x14017d3a8]
cmp rcx, r15
je 0x14013e029
test byte [rcx + 0x1c], 1
je 0x14013e029
cmp byte [rcx + 0x19], 3
jb 0x14013e029
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
mov edx, 0x1c
mov r9d, eax
call fcn.14001de24
jmp 0x14013e029
lea r15, [0x14017d3a8]
mov r9, qword [r14 + 0x58]
mov r8, qword [r14 + 0x50]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x29]
mov rcx, rdi
mov qword [rsp + 0x30], rax
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [r14 + 0x60]
mov r14, qword [rbp + 0x5f]
mov rdx, r14
mov qword [rsp + 0x20], rax
call fcn.14013388c
mov ebx, eax
test eax, eax
jns 0x14013de58
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x14013e0d8
test byte [rcx + 0x1c], 1
je 0x14013e0d8
cmp byte [rcx + 0x19], 2
jb 0x14013e0d8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
mov edx, 0x1d
mov r9, rdi
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x14013e0d8
mov r14, qword [rbp - 0x41]
mov rax, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x6f]
mov qword [rax], r15
mov rax, qword [rbp - 0x31]
mov qword [rcx], rax
mov rax, qword [rbp + 0x67]
mov qword [rax], r14
mov rax, qword [rbp + 0x7f]
mov qword [rax], r12
jmp 0x14013e0cd
mov rsi, qword [rbp - 0x51]
lea r15, [0x14017d3a8]
mov r14, qword [rbp + 0x5f]
mov rcx, qword [rbp + 0x57]
call fcn.14011e39c
test rsi, rsi
je 0x14013e0ef
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test rdi, rdi
je 0x14013e0fd
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r14, r14
je 0x14013e113
mov rcx, r14
call fcn.1400ba630
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test r13, r13
je 0x14013e121
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14017d3a8]
cmp rcx, r15
je 0x14013e14e
test byte [rcx + 0x1c], 1
je 0x14013e14e
cmp byte [rcx + 0x19], 4
jb 0x14013e14e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400146b8]
mov edx, 0x1f
call fcn.14001dd24
mov eax, ebx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret