Function at 0x1400400fc
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 [0x14006c080]
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 0x14004014e
int3
test r12, r12
jne 0x140040154
int3
mov rax, qword [rcx + 0x60]
xor r15d, r15d
cmp dword [rax + 8], esi
je 0x14004037b
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.140043b50
mov ebx, eax
test eax, eax
js 0x140040353
mov rdx, qword [rbp - 0x59]
mov al, byte [rdx]
and al, 0xf
cmp al, 1
jne 0x140040295
cmp byte [rbp - 0x80], 0
mov rcx, r13
je 0x1400401bc
mov r9, qword [rbp - 0x51]
lea rax, [rsp + 0x30]
mov r8, qword [rbp - 0x49]
mov qword [rsp + 0x20], rax
call fcn.14003ffb4
jmp 0x1400401ca
mov r8, qword [rbp - 0x51]
lea r9, [rsp + 0x30]
call fcn.14003fe64
mov ebx, eax
test eax, eax
js 0x140040353
cmp byte [rsp + 0x30], 0
je 0x140040295
cmp r14, rdi
jne 0x140040278
and qword [rbp - 0x71], 0
lea rdx, [rdi + 0xa]
and qword [rbp - 0x69], 0
cmp rdx, rdi
jb 0x140040317
cmp rdx, 0xa
jb 0x140040317
lea rcx, [rbp - 0x71]
call fcn.14004509c
test rax, rax
je 0x1400402af
mov rbx, qword [rbp - 0x61]
mov rdx, rsi
mov rcx, qword [rbp - 0x71]
mov r8, rbx
call sub.api_ms_win_crt_private_l1_1_0.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 0x14004026e
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 0x14004027c
mov rbx, qword [rbp - 0x61]
cmp rdi, r14
jb 0x140040282
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 0x14004037b
lea rax, [r13 + 0x30]
jmp 0x14004016c
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.1400567ac
cmp qword [rbp - 0x71], 0
mov ebx, 0xc0000017
je 0x140040353
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 0x140040353
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.1400567ac
mov ebx, 0xc0000095
test rsi, rsi
je 0x140040377
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 0x1400403c1
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 0x1400403bf
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.1400582e0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret