Function at 0x14028b144
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 [0x14049e510]
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.1402e0358
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.140178f68
nop
lea rbx, [rdi + 0x10]
mov qword [rbp - 0x79], rbx
mov dword [rbx], r12d
lea rcx, [rbx + 8]
call fcn.140178f68
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.14028abb4
add r14, 8
mov rdx, r14
lea rcx, [0x1404a0da0]
call fcn.14029610c
lea edi, [r12 + 4]
mov esi, 0x10000000
test al, al
je 0x14028b2d0
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 0x14028b2c2
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14028b2b4
lea rax, str.Code_integrity_state_collection___failed_to_get_code_integrity_information
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], reloc.OLEAUT32.dll_DllRegisterServer
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, [0x1403e55f9]
call fcn.140001158
mov ecx, dword [rsp + 0x38]
or ecx, esi
mov rax, qword [r15]
mov dword [rax + 0x28], ecx
jmp 0x14028b2d0
mov ecx, dword [rsp + 0x44]
mov rax, qword [r15]
mov dword [rax + 0x28], r12d
mov dword [rax + 0x2c], ecx
mov rdx, r14
lea rcx, [0x1404a0dc0]
call fcn.14029610c
test al, al
je 0x14028b37d
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 0x14028b370
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14028b362
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, [0x1403e55f9]
call fcn.140001158
mov ecx, dword [rsp + 0x38]
or ecx, esi
mov rax, qword [r15]
mov dword [rax + 0x30], ecx
jmp 0x14028b37d
mov ecx, dword [rbp - 0x59]
mov rax, qword [r15]
mov dword [rax + 0x30], r12d
mov dword [rax + 0x34], ecx
mov rdx, r14
lea rcx, [0x1404a0de0]
call fcn.14029610c
test al, al
je 0x14028b3c5
lea r9, [rsp + 0x30]
lea r8, [0x1404a0d00]
or edx, 0xffffffff
lea rcx, [0x1404a0d20]
call fcn.140059e38
mov rcx, qword [r15]
cmp byte [rsp + 0x30], r12b
je 0x14028b3be
mov dword [rcx + 0x38], 0x80004005
jmp 0x14028b3c5
mov dword [rcx + 0x38], r12d
mov dword [rcx + 0x3c], eax
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402dfdb0
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