Function at 0x1400e7564
Capabilities:
Check os version
Get common file path
Get hostname
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, str.AsrpInitSystemInformation
lea esi, [rbx + 1]
call fcn.1400ed218
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
test rdi, rdi
jne 0x1400e75f5
lea r9d, [rbx + 0x57]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [rdi + 0x3a]
lea rax, str.pSystemInfo
jmp 0x1400e7abc
xor edx, edx
mov r8d, 0x220
mov rcx, rdi
call sub.msvcrt.dll_memset
lea rdx, [rdi + 0x34]
mov dword [rdi + 0x30], esi
lea rcx, [rdi + 0x38]
mov dword [rdx], 0x10
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetComputerNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400e767e
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x3b
mov rcx, qword [section..data]
mov r9d, eax
lea rax, str.GetLastError___
jmp 0x1400e7abc
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.1400ecee0
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x1400e76cb
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0x2e]
lea rax, str.pSystemInfo__Platform
jmp 0x1400e7abc
mov r8d, 6
lea rcx, str.PROCESSOR_ARCHITECTURE
mov rdx, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
jne 0x1400e7725
lea r9d, [rax + 0xa]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0x33]
lea rax, str.ERROR_BAD_ENVIRONMENT
jmp 0x1400e7abc
cmp eax, 6
jbe 0x1400e7766
mov r9d, 0x32
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0xc]
lea rax, str.ERROR_NOT_SUPPORTED
jmp 0x1400e7abc
lea rcx, [rdi + 0x58]
mov dword [rcx], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400e77c7
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x3f
jmp 0x1400e7668
call fcn.1400e2a40
mov dword [rdi + 0x20], eax
test eax, eax
jne 0x1400e7810
mov r9d, 0x65e
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
mov edx, 0x40
lea rax, str.ERROR_UNSUPPORTED_TYPE
jmp 0x1400e7abc
mov ebp, 0x104
mov r14d, ebp
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea ecx, [r14*2 + 2]
mov qword [rdi], rbx
call fcn.1400ecee0
mov qword [rdi], rax
test rax, rax
je 0x1400e7a8d
mov edx, r14d
mov r15d, r14d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
je 0x1400e7a4e
cmp eax, r15d
ja 0x1400e7818
mov rax, qword [rdi]
mov word [rax + r15*2], bx
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea ecx, [rbp*2 + 2]
mov qword [rdi + 8], rbx
call fcn.1400ecee0
mov qword [rdi + 8], rax
test rax, rax
je 0x1400e7a15
mov edx, ebp
mov r14d, ebp
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
je 0x1400e79ce
cmp eax, r14d
ja 0x1400e7870
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x30]
mov word [rax + r14*2], bx
call fcn.1400e5e18
test eax, eax
jne 0x1400e791e
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x45
jmp 0x1400e7668
lea rcx, [rdi + 0x174]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_GetTimeZoneInformation]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x1400e797d
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x46
jmp 0x1400e7668
lea rcx, [rsp + 0x30]
call fcn.1400ec990
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x1400e7ad1
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0x39]
lea rax, str.pSystemInfo__SystemPath
jmp 0x1400e7abc
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x44
jmp 0x1400e7668
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0x35]
lea rax, str.pSystemInfo__BootSysDirectory
jmp 0x1400e7abc
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x42
jmp 0x1400e7668
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1400e7ad1
test byte [rcx + 0x1c], 8
je 0x1400e7ad1
lea edx, [r9 + 0x33]
lea rax, str.pSystemInfo__BootWinDirectory
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013e518]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
lea rcx, str.AsrpInitSystemInformation
call fcn.1400ed25c
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400164a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret