Function at 0x140096a40
Capabilities:
Get hostname
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov rbx, rdx
lea rcx, [rbp + 0x70]
mov esi, 0x208
xor edx, edx
mov r8d, esi
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x40]
mov r15, 0xffffffff80000002
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rbp + 0x70]
mov r14d, 0x104
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov r9d, 2
mov rcx, r15
mov dword [rsp + 0x40], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140096ae4
lea r8, [rbp + 0x70]
mov rcx, rbx
lea rdx, str.OsVersion
call fcn.14000ef70
mov r8, rsi
lea rcx, [rbp + 0x70]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r8, str.EditionID
lea rax, [rbp + 0x70]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140096b44
lea r8, [rbp + 0x70]
mov rcx, rbx
lea rdx, str.OsEdition
call fcn.14000ef70
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x118
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
test eax, eax
je 0x140096bac
movzx r9d, word [rbp + 0x66]
lea rax, [rsp + 0x44]
movzx r8d, word [rbp + 0x64]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x54]
and dword [rsp + 0x44], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
test eax, eax
je 0x140096bac
lea r8, [rsp + 0x44]
mov rcx, rbx
lea rdx, str.OsEditionId
call fcn.14004f044
mov r8, rsi
lea rcx, [rbp + 0x70]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r8, str.SystemProductName
lea rax, [rbp + 0x70]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetControlSystemInformation
and qword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140096c0c
lea r8, [rbp + 0x70]
mov rcx, rbx
lea rdx, str.Platform
call fcn.14000ef70
mov r8, rsi
lea rcx, [rbp + 0x70]
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x30], rax
lea r8, str.Languages
lea rax, [rbp + 0x70]
mov r9d, 0x20
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMControlSet001ControlCommonGlobUserSettingsControl_PanelInternationalUser_Profile
and qword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x140096c6c
lea r8, [rbp + 0x70]
mov rcx, rbx
lea rdx, str.Language
call fcn.14000ef70
mov r8, rsi
lea rcx, [rbp + 0x280]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
lea rdx, [rbp + 0x280]
mov ecx, 5
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetComputerNameExW]
test eax, eax
jne 0x140096cb5
mov rcx, qword [rbp + 0x4b8]
lea r8, str.onecoreuap_adminwebbwindowsrest_softwareinfo.cpp
lea edx, [rax + 0x63]
call fcn.1400036b8
jmp 0x140096ccd
lea r8, [rbp + 0x280]
mov rcx, rbx
lea rdx, str.ComputerName
call fcn.14000ef70
xor eax, eax
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret