Function at 0x14028016c
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13, r9
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [rbp + 0xe0]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x40], rax
mov r15, qword [rbp + 0xf8]
xor esi, esi
test byte [rcx + 0x58], 3
je 0x140280296
mov rax, qword [rcx + 0x10]
test rax, rax
jne 0x14028027d
lea ecx, [rsi + 0x30]
call fcn.1402e0358
mov rbx, rax
xor edx, edx
lea r8d, [rsi + 0x30]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1402805e8
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x10], rax
mov rbx, qword [rdi + 0x18]
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x18], rax
test rbx, rbx
je 0x14028026f
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14028026f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14028026f
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rdi + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r14 + 0x20], xmm0
mov rax, qword [rdi + 0x58]
bt rax, 8
jae 0x140280476
mov byte [rsp + 0x20], sil
mov qword [rbp - 0x70], rsi
mov r14d, 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x80], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionDiagnosticsDiagTrackTestHooks
lea rcx, [rbp - 0x80]
call fcn.14004d5c4
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
mov word [rsp + 0x60], si
lea rdx, str.DisableCABUpload
lea rcx, [rsp + 0x60]
call fcn.14004d5c4
lea r9, [rsp + 0x20]
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140059e38
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x80]
call fcn.14004e0f0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], r14
mov word [rbp - 0x40], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionDiagnosticsDiagTrackTestHooks
lea rcx, [rbp - 0x40]
call fcn.14004d5c4
nop
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r14
mov word [rbp - 0x60], si
lea rdx, str.TimestampOutputDirectory
lea rcx, [rbp - 0x60]
call fcn.14004d5c4
lea r9, [rsp + 0x20]
lea r8, [rbp - 0x40]
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.140059e38
mov r14d, eax
lea rcx, [rbp - 0x60]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x40]
call fcn.14004e0f0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionDiagnosticsDiagTrackTestHooks
lea rcx, [rbp]
call fcn.14004d5c4
nop
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], si
lea rdx, str.ForceRunAOT
lea rcx, [rbp - 0x20]
call fcn.14004d5c4
lea r9, [rsp + 0x20]
lea r8, [rbp]
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140059e38
mov dword [rsp + 0x24], eax
lea rcx, [rbp - 0x20]
call fcn.14004e0f0
nop
lea rcx, [rbp]
call fcn.14004e0f0
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionDiagnosticsDiagTrackTestHooks
lea rcx, [rbp + 0x40]
call fcn.14004d5c4
nop
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], si
lea rdx, str.NoForceCopyOutputDirAcl
lea rcx, [rbp + 0x20]
call fcn.14004d5c4
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x40]
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.140059e38
mov dword [rsp + 0x28], eax
lea rcx, [rbp + 0x20]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0x40]
call fcn.14004e0f0
cmp ebx, 1
jne 0x14028046b
cmp r14d, ebx
jne 0x14028046b
cmp dword [rsp + 0x24], ebx
jne 0x14028046b
cmp dword [rsp + 0x28], ebx
mov al, bl
je 0x14028046e
mov al, sil
mov byte [r12], al
mov rax, qword [rdi + 0x58]
test al, 8
je 0x140280487
call fcn.140263fb8
mov byte [r13], al
mov rax, qword [rdi + 0x58]
bt rax, 9
jae 0x14028049e
call fcn.140263b7c
mov rcx, qword [rsp + 0x30]
mov byte [rcx], al
mov rax, qword [rdi + 0x58]
bt rax, 0xa
jae 0x1402804b5
call fcn.140264098
mov rcx, qword [rsp + 0x38]
mov byte [rcx], al
mov rax, qword [rdi + 0x58]
bt rax, 0xb
jae 0x1402804fe
mov dword [rsp + 0x24], esi
lea r8, [rsp + 0x24]
lea rdx, str.AllowAppHVSI
lea rcx, str.AppHVSI
call qword [sym.imp.ext_ms_win_devmgmt_policy_l1_1_0.dll_PolicyManager_GetPolicyInt]
test eax, eax
js 0x1402804e5
cmp dword [rsp + 0x24], esi
setne sil
mov rax, qword [rsp + 0x40]
mov byte [rax], sil
call fcn.1401e9c80
cmp al, 1
sete al
mov byte [r15], al
mov rax, qword [rdi + 0x58]
bt rax, 0xc
jae 0x140280512
call fcn.1401e9c80
cmp al, 1
sete al
mov byte [r15], al
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1402dfdb0
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret