Function at 0x14000ff60
Capabilities:
Get memory capacity
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400623d0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rcx, [0x140064c40]
xor edx, edx
mov r8d, 0x11c
call fcn.14001a650
lea rcx, [0x140064c40]
mov dword [0x140064c40], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx r9d, word [0x140064d56]
movzx r8d, word [0x140064d54]
mov edx, dword [0x140064c48]
mov ecx, dword [0x140064c44]
lea rax, [0x140064694]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
call fcn.14000b8f0
call fcn.140004dc0
call fcn.1400053a0
call fcn.14000bfa0
lea rdx, [0x140063ddc]
lea rcx, [0x140063dd8]
call fcn.14000edf0
test eax, eax
jne 0x140010020
lea rdx, [0x140063ddc]
lea rcx, [0x140063dd8]
call fcn.140010250
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x50]
test rax, 0xfffff
jne 0x14001003e
shr rax, 0x14
jmp 0x140010044
shr rax, 0x14
inc eax
lea rdx, [0x140047568]
lea rcx, [0x140064c00]
mov r8d, eax
call fcn.14001c9d4
lea rdx, [0x140064c00]
lea rcx, str.TotalPhysicalMemory
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x140064c00]
lea rcx, str._nMemory__s_MB_n
call fcn.14000b8c0
mov ecx, 0x56
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x5e
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebp, ebp
mov esi, ebp
test eax, eax
jle 0x1400100bd
test al, 1
jne 0x1400100ab
mov edi, ebp
test al, 2
je 0x1400100b0
mov edi, 1
test al, 4
jne 0x1400100b8
test al, 8
je 0x1400100bd
mov esi, 1
mov ecx, 0x5f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rdx, [0x140047560]
lea rcx, [0x140064d60]
mov r8d, edi
mov ebx, eax
call fcn.14001c9d4
lea rdx, [0x140047560]
lea rcx, [0x140064d68]
mov r8d, esi
call fcn.14001c9d4
lea rdx, [0x140047560]
lea rcx, [0x140064d70]
mov r8d, ebx
call fcn.14001c9d4
lea rcx, str.TouchPanel
lea rdx, [0x1400481d4]
test edi, edi
jg 0x140010125
lea rdx, [0x1400486c0]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor edx, edx
mov word [rsp + 0x80], bp
mov qword [rsp + 0x82], rdx
mov qword [rsp + 0x8a], rdx
mov word [rsp + 0x92], dx
lea r8d, [rdx + 0xa]
lea rdx, [rsp + 0x80]
mov ecx, eax
call fcn.14001ba44
lea rdx, [rsp + 0x80]
lea rcx, str.ScreenW
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
lea rdx, [rsp + 0x98]
lea r8d, [rcx + 0xa]
mov qword [rsp + 0x9a], rcx
mov qword [rsp + 0xa2], rcx
mov word [rsp + 0xaa], cx
mov ecx, eax
mov word [rsp + 0x98], bp
call fcn.14001ba44
lea rdx, [rsp + 0x98]
lea rcx, str.ScreenH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140064960]
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x140010200
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14001a120
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret