Function at 0x140274450
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
xor r12d, r12d
mov dword [rsp + 0x48], r12d
lea ecx, [r12 + 0x50]
call fcn.1402aee08
mov rsi, rax
mov qword [rsp + 0x38], rax
lea eax, [r12 + 1]
mov dword [rsi + 8], eax
mov dword [rsi + 0xc], eax
lea rax, vtable.std::_Ref_count_obj_class_sense::machineStateCollection::CodeIntegrityState_.0
mov qword [rsi], rax
lea rdi, [rsi + 0x10]
mov qword [rbp - 0x69], rdi
mov dword [rdi], r12d
lea rcx, [rdi + 8]
call fcn.14016cf8c
nop
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x79], rbx
mov dword [rbx], r12d
lea rcx, [rbx + 8]
call fcn.14016cf8c
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov qword [rdi + 0x30], r12
mov qword [rdi + 0x38], r12
or eax, 0xffffffff
mov dword [rdi], eax
mov dword [rbx], eax
mov dword [rdi + 0x20], eax
mov dword [rdi + 0x28], eax
mov dword [rdi + 0x30], eax
mov dword [rdi + 0x38], eax
mov qword [r15], rdi
mov qword [r15 + 8], rsi
mov dword [rsp + 0x48], 3
mov rdx, r15
mov rcx, r14
call fcn.140273f10
add r14, 8
mov rdx, r14
lea rcx, [0x140466fd8]
call fcn.14027d5f4
lea edi, [r12 + 4]
mov esi, 0x10000000
test al, al
je 0x1402745dc
xor eax, eax
mov qword [rsp + 0x40], rax
lea r8d, [r12 + 8]
mov dword [rsp + 0x40], r8d
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea ecx, [rdi + 0x63]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x1402745ce
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402745c0
lea rax, str.Code_integrity_state_collection___failed_to_get_code_integrity_information
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], 0x96
lea rax, [rsp + 0x38]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rdi
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a2cee]
call fcn.140001158
mov ecx, dword [rsp + 0x38]
or ecx, esi
mov rax, qword [r15]
mov dword [rax + 0x28], ecx
jmp 0x1402745dc
mov ecx, dword [rsp + 0x44]
mov rax, qword [r15]
mov dword [rax + 0x28], r12d
mov dword [rax + 0x2c], ecx
mov rdx, r14
lea rcx, [0x140466ff8]
call fcn.14027d5f4
test al, al
je 0x140274689
mov ebx, Compress
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x59]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor r9d, r9d
mov r8d, ebx
lea rdx, [rbp - 0x59]
mov ebx, 0xa4
mov ecx, ebx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x38], eax
test eax, eax
jns 0x14027467c
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14027466e
lea rax, str.Code_integrity_state_collection___failed_to_get_code_integrity_policy_information
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rbx
lea rax, [rsp + 0x38]
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a2cee]
call fcn.140001158
mov ecx, dword [rsp + 0x38]
or ecx, esi
mov rax, qword [r15]
mov dword [rax + 0x30], ecx
jmp 0x140274689
mov ecx, dword [rbp - 0x59]
mov rax, qword [r15]
mov dword [rax + 0x30], r12d
mov dword [rax + 0x34], ecx
mov rdx, r14
lea rcx, [0x140467018]
call fcn.14027d5f4
test al, al
je 0x1402746d1
lea r9, [rsp + 0x30]
lea r8, [0x140466f38]
or edx, 0xffffffff
lea rcx, [0x140466f58]
call fcn.140056fa4
mov rcx, qword [r15]
cmp byte [rsp + 0x30], r12b
je 0x1402746ca
mov dword [rcx + 0x38], 0x80004005
jmp 0x1402746d1
mov dword [rcx + 0x38], r12d
mov dword [rcx + 0x3c], eax
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret