Function at 0x14002fdb0
Capabilities:
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0x140], rbx
mov rax, qword [0x1401cde90]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov rdi, rcx
mov ebx, 1
call fcn.14002e820
xor r15d, r15d
test al, al
jne 0x14002fe12
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
call fcn.14002ea40
test al, al
cmovne ebx, r15d
lea rcx, [0x14015b4a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400306f8
lea rdx, [0x14015b4d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400306f8
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
lea rcx, [0x14015a57c]
call rax
mov rsi, rax
test rax, rax
je 0x1400306f8
mov ecx, dword [rbp - 0x61]
and ecx, 0xffffff00
mov dword [rbp - 0x61], ecx
btr ecx, 8
mov dword [rbp - 0x61], ecx
mov qword [rbp - 0x59], r15
mov ecx, dword [0x1401d5d60]
imul ecx, ecx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x13
jne 0x14002fed0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x1401d5d60]
mov edx, 7
test rax, rax
cmove ecx, edx
mov dword [0x1401d5d60], ecx
mov eax, dword [rbp - 0x21]
and eax, 0xffffff04
or eax, 4
mov dword [rbp - 0x21], eax
bts eax, 8
mov dword [rbp - 0x21], eax
mov qword [rbp - 0x19], r15
mov eax, dword [0x1401d7ac8]
lea r12, vtable.Json::ValueAllocator.0
lea r13, vtable.Json::DefaultValueAllocator.0
test al, 1
jne 0x14002ff25
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14015a554]
call qword [rax + 0x18]
mov qword [rbp - 0x29], rax
lea rdx, [0x14015a624]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r9d, dword [rsp + 0x38]
mov ecx, r9d
xor ecx, edx
movzx ecx, cl
xor r9d, ecx
mov dword [rsp + 0x38], r9d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov r8d, ecx
shl r8d, 0x17
sar r8d, 0x1f
mov eax, r9d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl r8d, 8
xor r8d, r9d
and r8d, 0x100
xor r9d, r8d
mov dword [rsp + 0x38], r9d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rbp - 0x29]
call fcn.14003c410
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140022bf0
mov rbx, rax
mov ecx, dword [rbp - 0x79]
and ecx, 0xffffff04
or ecx, 4
mov dword [rbp - 0x79], ecx
bts ecx, 8
mov dword [rbp - 0x79], ecx
mov qword [rbp - 0x71], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x140030032
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140030040
mov rbx, qword [rbx]
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
mov r8d, edx
mov rdx, rbx
call qword [rax + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [0x14015a5cc]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r8d, dword [rsp + 0x38]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rsp + 0x38], r8d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rsp + 0x38], r8d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rsp + 0x48]
call fcn.14003c410
nop
cmp qword [rbp - 0x11], 0x10
jb 0x140030100
mov rcx, qword [rbp - 0x29]
call fcn.1400d37c0
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], r15
mov byte [rbp - 0x29], 0
mov eax, dword [rbp - 0x79]
and eax, 0xffffff04
or eax, 4
mov dword [rbp - 0x79], eax
bts eax, 8
mov dword [rbp - 0x79], eax
mov qword [rbp - 0x71], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x140030157
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14015a5ac]
call qword [rax + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [0x14015b4f0]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov r8, rax
mov rcx, rax
call fcn.14003ca80
mov edx, eax
mov rcx, r8
call fcn.14003cb30
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r8d, dword [rsp + 0x38]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rsp + 0x38], r8d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rsp + 0x38], r8d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rsp + 0x48]
call fcn.14003c410
call fcn.14002e490
mov eax, dword [rbp - 0x21]
and eax, 0xffffff04
or eax, 4
mov dword [rbp - 0x21], eax
bts eax, 8
mov dword [rbp - 0x21], eax
mov qword [rbp - 0x19], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x14003026c
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14015a5dc]
call qword [rax + 0x18]
mov qword [rbp - 0x29], rax
lea rdx, [0x14015b560]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r8d, dword [rsp + 0x38]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rsp + 0x38], r8d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rsp + 0x38], r8d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rbp - 0x29]
call fcn.14003c410
mov eax, dword [rbp - 0x79]
and eax, 0xffffff04
or eax, 4
mov dword [rbp - 0x79], eax
bts eax, 8
mov dword [rbp - 0x79], eax
mov qword [rbp - 0x71], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x140030364
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14015b530]
call qword [rax + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [0x14015b508]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r9d, dword [rsp + 0x38]
mov ecx, r9d
xor ecx, edx
movzx ecx, cl
xor r9d, ecx
mov dword [rsp + 0x38], r9d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov r8d, ecx
shl r8d, 0x17
sar r8d, 0x1f
mov eax, r9d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl r8d, 8
xor r8d, r9d
and r8d, 0x100
xor r9d, r8d
mov dword [rsp + 0x38], r9d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rsp + 0x48]
call fcn.14003c410
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.140022bf0
mov rbx, rax
mov ecx, dword [rbp - 0x21]
and ecx, 0xffffff04
or ecx, 4
mov dword [rbp - 0x21], ecx
bts ecx, 8
mov dword [rbp - 0x21], ecx
mov qword [rbp - 0x19], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x140030474
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140030482
mov rbx, qword [rbx]
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
mov r8d, edx
mov rdx, rbx
call qword [rax + 0x18]
mov qword [rbp - 0x29], rax
lea rdx, [0x14015b570]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r8d, dword [rsp + 0x38]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rsp + 0x38], r8d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rsp + 0x38], r8d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rbp - 0x29]
call fcn.14003c410
nop
cmp qword [rbp + 0xf], 0x10
jb 0x14003053f
mov rcx, qword [rbp - 9]
call fcn.1400d37c0
mov qword [rbp + 0xf], 0xf
mov qword [rbp + 7], r15
mov byte [rbp - 9], 0
mov eax, dword [rbp - 0x79]
and eax, 0xffffff04
or eax, 4
mov dword [rbp - 0x79], eax
bts eax, 8
mov dword [rbp - 0x79], eax
mov qword [rbp - 0x71], r15
mov eax, dword [0x1401d7ac8]
test al, 1
jne 0x140030596
or eax, 1
mov dword [0x1401d7ac8], eax
mov qword [0x1401d79d0], r12
mov qword [0x1401d79d0], r13
lea rcx, [0x140127380]
call fcn.1400d3ef0
nop
mov rcx, qword [0x1401d1030]
mov rax, qword [rcx]
or r8d, 0xffffffff
lea rdx, [0x14015a65c]
call qword [rax + 0x18]
mov qword [rsp + 0x48], rax
lea rdx, [0x14015b580]
lea rcx, [rbp - 0x69]
call fcn.14003ce50
mov rbx, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14003c2b0
nop
movsx edx, byte [rbx + 8]
movzx ecx, byte [rsp + 0x38]
mov byte [rbx + 8], cl
mov r8d, dword [rsp + 0x38]
mov ecx, r8d
xor ecx, edx
movzx ecx, cl
xor r8d, ecx
mov dword [rsp + 0x38], r8d
mov rax, qword [rbx]
mov rcx, qword [rsp + 0x30]
mov qword [rbx], rcx
mov qword [rsp + 0x30], rax
mov ecx, dword [rbx + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, r8d
xor eax, ecx
and eax, 0x100
xor eax, ecx
mov dword [rbx + 8], eax
shl edx, 8
xor edx, r8d
and edx, 0x100
xor r8d, edx
mov dword [rsp + 0x38], r8d
lea rcx, [rsp + 0x30]
call fcn.14003c410
nop
lea rcx, [rsp + 0x48]
call fcn.14003c410
mov qword [rbp - 0x51], r15
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x51]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140031bf0
nop
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [0x1401d5d60]
imul ecx, ecx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub ecx, eax
cmp ecx, 0x13
jne 0x1400306a8
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea rdx, [0x14015a684]
lea rcx, [rbp - 0x49]
call fcn.14003ce50
cmp byte [rax + 8], 5
jne 0x1400306de
lea rdx, [0x14015a71c]
lea rcx, [rbp - 0x49]
call fcn.14003ce50
mov rcx, rax
call fcn.14003ca00
test al, al
je 0x1400306de
mov bl, 1
jmp 0x1400306e0
xor bl, bl
lea rcx, [rbp - 0x49]
call fcn.14003c410
nop
lea rcx, [rbp - 0x69]
call fcn.14003c410
movzx eax, bl
jmp 0x1400306fa
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400d37e0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret