Function at 0x14003a874
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x1400c5a08]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r12, qword [rbp + 0x7f]
xor esi, esi
xor r14d, r14d
mov byte [rbp - 0x80], r9b
xor edi, edi
mov qword [rbp - 0x51], r8
mov qword [rbp - 0x49], rdx
mov r13, rcx
mov qword [rbp - 1], rsi
mov qword [rbp + 7], r14
test r8, r8
jne 0x14003a8c6
int3
test r12, r12
jne 0x14003a8cc
int3
mov rax, qword [rcx + 0x60]
xor r15d, r15d
cmp dword [rax + 8], esi
je 0x14003aaf3
and qword [rbp - 0x61], rsi
lea rax, [rcx + 0x30]
and qword [rbp - 0x59], 0
lea r8, [rbp - 0x59]
mov edx, r15d
mov rcx, rax
call fcn.14003e2a8
mov ebx, eax
test eax, eax
js 0x14003aacb
mov rdx, qword [rbp - 0x59]
mov al, byte [rdx]
and al, 0xf
cmp al, 1
jne 0x14003aa0d
cmp byte [rbp - 0x80], 0
mov rcx, r13
je 0x14003a934
mov r9, qword [rbp - 0x51]
lea rax, [rsp + 0x30]
mov r8, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.14003a72c
jmp 0x14003a942
mov r8, qword [rbp - 0x51]
lea r9, [rsp + 0x30]
call fcn.14003a5d8
mov ebx, eax
test eax, eax
js 0x14003aacb
cmp byte [rsp + 0x30], 0
je 0x14003aa0d
cmp r14, rdi
jne 0x14003a9f0
and qword [rbp - 0x71], 0
lea rdx, [rdi + 0xa]
and qword [rbp - 0x69], 0
cmp rdx, rdi
jb 0x14003aa8f
cmp rdx, 0xa
jb 0x14003aa8f
lea rcx, [rbp - 0x71]
call fcn.14003f88c
test rax, rax
je 0x14003aa27
mov rbx, qword [rbp - 0x61]
mov rdx, rsi
mov rcx, qword [rbp - 0x71]
mov r8, rbx
call sub.msvcrt.dll_memcpy
movaps xmm1, xmmword [rbp - 1]
movaps xmm0, xmmword [rbp - 0x71]
movq r8, xmm1
movaps xmmword [rbp - 0x71], xmm1
movdqa xmmword [rbp - 1], xmm0
test r8, r8
je 0x14003a9e6
mov rcx, qword gs:[0x60]
xor edx, edx
and qword [rbp - 0x71], 0
and qword [rbp - 0x69], 0
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov r14, qword [rbp + 7]
mov rsi, qword [rbp - 1]
jmp 0x14003a9f4
mov rbx, qword [rbp - 0x61]
cmp rdi, r14
jb 0x14003a9fa
int3
lea rax, [rsi + rbx]
inc rdi
add rbx, 0x10
mov dword [rax + 8], r15d
mov qword [rbp - 0x61], rbx
mov rax, qword [r13 + 0x60]
inc r15d
cmp r15d, dword [rax + 8]
je 0x14003aaf3
lea rax, [r13 + 0x30]
jmp 0x14003a8e4
lea rax, str.onecore_basexmludom_microdom.cpp
mov dword [rbp - 0x31], 0x860
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x41]
lea rax, str.MicrodomImplementation::CMicrodom::GetElementsByTagName
mov r8d, 0xc0000017
mov qword [rbp - 0x39], rax
lea rax, str.TempTempElements.Allocate_NewCapacity_
mov qword [rbp - 0x29], rax
call fcn.1400509b4
cmp qword [rbp - 0x71], 0
mov ebx, 0xc0000017
je 0x14003aacb
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x71]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rsi, qword [rbp - 1]
jmp 0x14003aacb
lea rax, str.onecore_basexmludom_microdom.cpp
mov dword [rbp - 0x11], 0x85e
mov qword [rbp - 0x21], rax
lea rcx, [rbp - 0x21]
lea rax, str.MicrodomImplementation::CMicrodom::GetElementsByTagName
mov r8d, 0xc0000095
mov qword [rbp - 0x19], rax
lea rax, str.::BUCL::Rtl::Add_SIZE_T___cElements__10__NewCapacity_
mov qword [rbp - 9], rax
call fcn.1400509b4
mov ebx, 0xc0000095
test rsi, rsi
je 0x14003aaef
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 1]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14003ab39
movups xmm1, xmmword [r12]
mov qword [rbp + 7], rdi
movaps xmm0, xmmword [rbp - 1]
movq rax, xmm1
movaps xmmword [rbp - 1], xmm1
mov qword [rbp - 1], rax
movdqu xmmword [r12], xmm0
test rax, rax
je 0x14003ab37
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 1]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140094220
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret