Function at 0x1400dcdc8
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 [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, str.AsrpInitSystemInformation
lea esi, [rbx + 1]
call fcn.140007418
xor edx, edx
mov word [rsp + 0x30], bx
mov r8d, 0x206
lea rcx, [rsp + 0x32]
call sub.msvcrt.dll_memset
test rdi, rdi
jne 0x1400dce5e
lea r9d, [rbx + 0x57]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [rdi + 0x3a]
lea rax, str.pSystemInfo
jmp 0x1400dd2ad
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_1.dll_GetComputerNameW]
test eax, eax
jne 0x1400dced5
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x3b
mov rcx, qword [0x14015a290]
mov r9d, eax
lea rax, str.GetLastError___
jmp 0x1400dd2ad
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140005bd0
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x1400dcf22
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0x2e]
lea rax, str.pSystemInfo__Platform
jmp 0x1400dd2ad
mov r8d, 6
lea rcx, str.PROCESSOR_ARCHITECTURE
mov rdx, rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_2_0.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400dcf76
lea r9d, [rax + 0xa]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0x33]
lea rax, str.ERROR_BAD_ENVIRONMENT
jmp 0x1400dd2ad
cmp eax, 6
jbe 0x1400dcfb7
mov r9d, 0x32
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0xc]
lea rax, str.ERROR_NOT_SUPPORTED
jmp 0x1400dd2ad
lea rcx, [rdi + 0x58]
mov dword [rcx], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetVersionExW]
test eax, eax
jne 0x1400dd006
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x3f
jmp 0x1400dcebf
call fcn.140004ed0
mov dword [rdi + 0x20], eax
test eax, eax
jne 0x1400dd04f
mov r9d, 0x65e
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
mov edx, 0x40
lea rax, str.ERROR_UNSUPPORTED_TYPE
jmp 0x1400dd2ad
mov ebp, 0x104
mov r14d, ebp
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
lea ecx, [r14*2 + 2]
mov qword [rdi], rbx
call fcn.140005bd0
mov qword [rdi], rax
test rax, rax
je 0x1400dd27e
mov edx, r14d
mov r15d, r14d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemWindowsDirectoryW]
mov r14d, eax
test eax, eax
je 0x1400dd24b
cmp eax, r15d
ja 0x1400dd057
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_1.dll_CoTaskMemFree]
lea ecx, [rbp*2 + 2]
mov qword [rdi + 8], rbx
call fcn.140005bd0
mov qword [rdi + 8], rax
test rax, rax
je 0x1400dd212
mov edx, ebp
mov r14d, ebp
mov rcx, rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemDirectoryW]
mov ebp, eax
test eax, eax
je 0x1400dd1d7
cmp eax, r14d
ja 0x1400dd0a3
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x30]
mov word [rax + r14*2], bx
call fcn.1400067a0
test eax, eax
jne 0x1400dd139
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x45
jmp 0x1400dcebf
lea rcx, [rdi + 0x174]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
jne 0x1400dd186
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x46
jmp 0x1400dcebf
lea rcx, [rsp + 0x30]
call fcn.140008170
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x1400dd2c2
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0x39]
lea rax, str.pSystemInfo__SystemPath
jmp 0x1400dd2ad
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x44
jmp 0x1400dcebf
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0x35]
lea rax, str.pSystemInfo__BootSysDirectory
jmp 0x1400dd2ad
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov edx, 0x42
jmp 0x1400dcebf
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400dd2c2
test byte [rcx + 0x1c], 8
je 0x1400dd2c2
lea edx, [r9 + 0x33]
lea rax, str.pSystemInfo__BootWinDirectory
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401304d8]
mov qword [rsp + 0x20], rax
call fcn.1400d5cb0
lea rcx, str.AsrpInitSystemInformation
call fcn.1400073f0
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400305f0
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