Function at 0x140008d78
Capabilities:
Check os version
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14006f5c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rcx, qword [0x14006f770]
mov rsi, r9
mov edi, r8d
mov rbx, rdx
test rcx, rcx
je 0x140008dbd
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [0x14006f770], 0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp dword [rcx + 0x118], 6
jne 0x140008e1e
cmp dword [rcx + 0x11c], 1
ja 0x140008e1e
xor edx, edx
mov dword [rbp - 0x19], 0x40
lea rcx, [rbp - 0x15]
lea r8d, [rdx + 0x3c]
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rbp - 9], 0x60000000
ja 0x140008e1e
lea rdx, str.net_stop_TrustedInstaller
lea rcx, [rbp - 0x29]
call fcn.1400022c8
mov rdx, rax
call fcn.14001b14c
lea rcx, [0x14006f660]
call fcn.1400088c0
test eax, eax
jne 0x140008fc3
mov rcx, qword [0x14006f770]
lea rdx, [rbp - 0x41]
and qword [rbp - 0x39], 0
mov r9, rbx
and qword [rbp - 0x41], 0
mov r8d, edi
mov qword [rsp + 0x28], rdx
xor edx, edx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
call qword [rax + 0x28]
mov rcx, qword [rbp - 0x41]
mov edi, eax
test eax, eax
js 0x140008e7f
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
lea rdx, [0x14005cc00]
call qword [rax]
mov rcx, qword [rbp - 0x41]
mov edi, eax
test rcx, rcx
je 0x140008e8a
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
jne 0x140008fb2
mov rcx, qword [rbp - 0x39]
lea r9, [rbp - 0x45]
and dword [rbp - 0x49], edi
lea r8, [rbp - 0x49]
and dword [rbp - 0x45], edi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x50]
mov edi, eax
test eax, eax
js 0x140008fb2
cmp dword [rbp - 0x49], 0
jne 0x140008ec6
mov edi, 0xa
jmp 0x140008fb2
cmp dword [rbp - 0x45], 0xffffffef
je 0x140008fad
mov rdi, qword [rbp + 0x77]
test rdi, rdi
je 0x140008f1e
mov ecx, 0x30
call fcn.1400408f4
mov rbx, rax
lea rax, [0x14005cd90]
and dword [rbx + 0x20], 0
and dword [rbx + 0x28], 0
mov qword [rbx], rax
lea rax, [0x14005cfd8]
mov qword [rbx], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbx + 0x18], rax
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rdi
mov dword [rbx + 0x24], 1
jmp 0x140008f20
xor ebx, ebx
test rbx, rbx
je 0x140008f73
mov rcx, qword [0x14006f770]
lea r8, [rbp - 0x31]
and qword [rbp - 0x31], 0
lea rdx, [0x14005cbf0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140008f73
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140008f73
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x80]
test eax, eax
js 0x140008f69
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor ebx, ebx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x39]
mov edx, 4
mov r9, rbx
mov rax, qword [rcx]
lea r8d, [rdx + 3]
call qword [rax + 0x58]
mov edi, eax
test rbx, rbx
je 0x140008f99
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test edi, edi
js 0x140008fb2
lea rcx, [0x14006f660]
call fcn.140008cd8
mov edi, eax
jmp 0x140008fb2
mov edi, 0x50
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140008fc1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400408d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret