Function at 0x1402a30e0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4d8]
sub rsp, 0x5b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r14, rcx
call fcn.14004d8a4
mov rcx, qword [rax + 8]
xor r13d, r13d
cmp dword [rcx], 4
jbe 0x1402a3173
lea rax, str.Sending_full_machine_info_report_started
mov qword [rbp + 0x460], rax
mov qword [rbp + 0x468], 0x52
lea rax, [rbp + 0x440]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e62b9]
call fcn.140001158
lea rcx, [rbp + 0x2c0]
call fcn.1402a4c00
mov rbx, rax
mov ecx, 0x148
call fcn.1402e0358
mov rdi, rax
mov qword [rsp + 0x38], rax
mov eax, 1
mov dword [rdi + 8], eax
mov dword [rdi + 0xc], eax
lea rax, vtable.std::_Ref_count_obj_class_sense::machineStateCollection::MachineInfoTelemetry::MachineInfoActivity_.0
mov qword [rdi], rax
lea r12, [rdi + 0x10]
cmp dword [rbx + 0x20], r13d
setne r8b
mov rdx, rbx
mov rcx, r12
call fcn.1402a46d8
lea rax, vtable.sense::machineStateCollection::MachineInfoTelemetry::MachineInfoActivity.0
mov qword [r12], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rdi
lea rcx, [rbp + 0x2c0]
call fcn.1402a19f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rbx, [r14 + 0x2b8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14006bc0c
mov r15b, byte [r14 + 0x2d0]
test rbx, rbx
je 0x1402a321d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.1402a5edc
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1402a3cac
nop
mov rax, qword [rsp + 0x50]
mov rsi, qword [rax + 0x60]
mov byte [rsi + 0x380], 1
cmp qword [r14 + 0x2c8], r13
jne 0x1402a3268
mov dword [rsi + 0x384], 1
jmp 0x1402a3276
neg r15b
sbb eax, eax
add eax, 3
mov dword [rsi + 0x384], eax
mov rax, qword [rbp - 0x70]
mov cl, byte [rax + 0xc]
lea rbx, [rsi + 0x300]
mov byte [rsp + 0x20], cl
mov r9d, dword [rax + 8]
mov r8d, 6
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1402a98a0
mov rax, qword [rbp - 0x70]
mov r9d, dword [rax + 0x28]
mov al, byte [rax + 0x2c]
mov byte [rsp + 0x20], al
mov r8d, 5
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1402a98a0
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1402a76f4
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rbp + 0x10]
mov word [rsi + 0x26c], ax
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.1402a7f14
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsi + 0x338], rax
lea rcx, [rbp + 0x140]
call fcn.1402d6d18
mov ebx, eax
mov r15d, 7
test eax, eax
jns 0x1402a3375
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r15
mov word [rbp + 0x60], r13w
lea rdx, str.Failed_getting_AvSigVersion__value_will_not_be_sent
lea rcx, [rbp + 0x60]
call fcn.14004d5c4
nop
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r15
mov word [rbp + 0x40], r13w
lea rdx, str.avSigVersion
lea rcx, [rbp + 0x40]
call fcn.14004d5c4
lea r9, [rbp + 0x60]
mov r8d, ebx
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1402a9cc4
lea rcx, [rbp + 0x40]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0x60]
call fcn.14004e0f0
jmp 0x1402a33a3
mov rdx, qword [rbp + 0x190]
lea rcx, [rbp + 0x100]
call fcn.14026bb80
lea rcx, [rsi + 0x340]
mov rdx, rax
call fcn.140087cf8
lea rcx, [rbp + 0x100]
call fcn.1400550a8
lea rbx, [rsi + 0xa8]
mov qword [rbx], r13
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 8
mov r8, rbx
lea edx, [r9 - 3]
call qword [sym.imp.KERNEL32.dll_GetProcessMitigationPolicy]
test eax, eax
jne 0x1402a3470
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], r15
mov word [rbp + 0xa0], r13w
lea rdx, str.Failed_getting_Sense_mitigation_policy__value_will_not_be_sent
lea rcx, [rbp + 0xa0]
call fcn.14004d5c4
nop
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], r15
mov word [rbp + 0x80], r13w
lea rdx, str.senseMitigationPolicy
lea rcx, [rbp + 0x80]
call fcn.14004d5c4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx r8d, ax
or r8d, 0x80070000
test eax, eax
cmovle r8d, eax
lea r9, [rbp + 0xa0]
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x80]
call fcn.1402a9cc4
lea rcx, [rbp + 0x80]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0xa0]
call fcn.14004e0f0
mov al, r13b
jmp 0x1402a3472
mov al, 1
mov byte [rsi + 0xb0], al
lea rcx, [rbp + 0x200]
call fcn.1402d6d18
mov ebx, eax
test eax, eax
js 0x1402a34bd
mov rdx, qword [rbp + 0x230]
lea rcx, [rbp + 0x120]
call fcn.14026bb80
lea rcx, [rsi + 0x360]
mov rdx, rax
call fcn.140087cf8
lea rcx, [rbp + 0x120]
call fcn.1400550a8
jmp 0x1402a3543
mov qword [rbp + 0xf0], r13
mov qword [rbp + 0xf8], r15
mov word [rbp + 0xe0], r13w
lea rdx, str.Failed_to_retrieve_Defender_engine_version
lea rcx, [rbp + 0xe0]
call fcn.14004d5c4
nop
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r15
mov word [rbp + 0xc0], r13w
lea rdx, str.defenderEngineVersion
lea rcx, [rbp + 0xc0]
call fcn.14004d5c4
lea r9, [rbp + 0xe0]
mov r8d, ebx
lea rdx, [rbp + 0xc0]
lea rcx, [rbp - 0x80]
call fcn.1402a9cc4
lea rcx, [rbp + 0xc0]
call fcn.14004e0f0
nop
lea rcx, [rbp + 0xe0]
call fcn.14004e0f0
cmp byte [r14 + 0x318], r13b
je 0x1402a3554
mov rdx, rsi
call fcn.1402a9dbc
lea rbx, [r14 + 0x1d8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov qword [rsp + 0x78], rbx
lea rdx, [r14 + 0x1e0]
lea rcx, [rsi + 0x1d0]
cmp rcx, rdx
je 0x1402a3589
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.14021ebd4
nop
test rbx, rbx
je 0x1402a3597
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov r8b, 1
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.1402a29e8
mov dword [rsp + 0x30], eax
mov edx, eax
mov rcx, r12
call fcn.1402a456c
cmp dword [rsp + 0x30], r13d
jl 0x1402a3643
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x1402a360d
lea rax, str.Sending_full_machine_info_report_finished_successfully
mov qword [rbp + 0x490], rax
mov qword [rbp + 0x498], WSAStartup
lea rax, [rbp + 0x470]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e62b9]
call fcn.140001158
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov rcx, qword [r14 + 0x310]
test rcx, rcx
jne 0x1402a3628
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov rax, qword [rax + 0x10]
call qword [case.0x140245398.0]
mov qword [r14 + 0x2c8], rax
jmp 0x1402a36a7
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a36a7
lea rax, [rsp + 0x30]
mov qword [rbp + 0x420], rax
mov qword [rbp + 0x428], 4
lea rax, str.Full_Machine_Info_reporting_failed
mov qword [rbp + 0x430], rax
mov qword [rbp + 0x438], reloc.Cabinet.dll_CloseCompressor
lea rax, [rbp + 0x400]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e654e]
call fcn.140001158
mov esi, dword [rsp + 0x30]
or r14d, 0xffffffff
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1402a36f3
mov eax, r14d
lock xadd dword [rbx + 8], eax
add eax, r14d
jne 0x1402a36f3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1402a36f3
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
nop
lea rcx, [rbp - 0x80]
call fcn.1402a37b4
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402a3748
mov eax, r14d
lock xadd dword [rcx + 8], eax
add eax, r14d
jne 0x1402a3748
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
add eax, r14d
jne 0x1402a3748
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
nop
mov eax, r14d
lock xadd dword [rdi + 8], eax
add eax, r14d
jne 0x1402a3781
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, r14d
lock xadd dword [rdi + 0xc], ecx
add ecx, r14d
jne 0x1402a3781
mov rcx, qword [rdi]
mov rax, qword [rcx + 8]
mov rcx, rdi
call qword [case.0x140245398.0]
mov eax, esi
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1402dfdb0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret