Function at 0x1400020a0
Capabilities:
Access pe header
Access peb ldr_data
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14012aab8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r14d, r14d
lea rcx, [0x1400978f8]
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rsi, [0x14009790c]
mov r12, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
xorps xmm0, xmm0
mov qword [rbp - 0x50], 0x18
mov r13, rax
mov qword [rbp - 0x60], rax
xor eax, eax
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x28], rax
lea rdi, [rbp - 0x38]
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x58], rax
lea r8, [rbp - 0x18]
xor eax, eax
lea rdx, [rbp - 0x1c]
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], rax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp - 0x18], eax
lea rdi, [rbp - 0x20]
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x20], 6
jne 0x140002164
cmp dword [rbp - 0x1c], 2
jne 0x140002164
mov rbx, r12
mov rcx, r13
jmp 0x14000225e
xor eax, eax
lea rdi, [rbp - 0x20]
mov qword [rbp - 0x20], rax
lea r8, [rbp - 0x18]
mov dword [rbp - 0x18], eax
lea rdx, [rbp - 0x1c]
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x20], 6
jne 0x140002196
cmp dword [rbp - 0x1c], 3
je 0x1400021a0
mov eax, r14d
seta al
test eax, eax
je 0x1400021b2
mov rbx, r12
lea rsi, str..mrdata
mov rcx, r13
jmp 0x14000225e
mov rax, qword gs:[0x30]
mov qword [rsp + 0xb0], r15
mov rcx, qword [rax + 0x60]
mov r15, qword [rcx + 0x18]
add r15, 0x10
mov rsi, qword [r15]
cmp rsi, r15
je 0x140002243
movabs r13, 0xaabbcc11ffee00
mov rdi, qword [rsi + 0x30]
lea r14, [rsi]
mov rsi, qword [rsi]
test rdi, rdi
je 0x140002223
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x140002223
movsxd rdx, dword [rdi + 0x3c]
movzx ecx, word [rdx + rdi + 6]
lea eax, [rcx + rcx*4]
lea eax, [rdx + rax*8]
cdqe
cmp qword [rax + rdi + 0x108], r13
jne 0x140002223
cmp qword [rax + rdi + 0x118], rdi
je 0x140002237
test rbx, rbx
je 0x140002233
cmp qword [r14 + 0x30], rbx
cmovb rbx, qword [r14 + 0x30]
jmp 0x140002237
mov rbx, qword [r14 + 0x30]
cmp rsi, r15
jne 0x1400021e1
mov r13, qword [rbp - 0x60]
xor r14d, r14d
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov r15, qword [rsp + 0xb0]
lea rsi, [0x14009790c]
mov rcx, rax
test rbx, rbx
je 0x140002341
test rcx, rcx
je 0x140002341
test r12, r12
je 0x140002341
test r13, r13
je 0x140002341
cmp dword [rcx + 0xa4], 0
je 0x14000229a
mov eax, dword [rcx + 0xa0]
add rax, rbx
mov qword [rbp - 0x38], rax
jmp 0x14000229e
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], rbx
lea r8, [rbp - 0x58]
mov eax, dword [rcx + 0x50]
mov rdx, rsi
mov dword [rbp - 0x28], eax
mov eax, dword [rcx + 0xa4]
mov rcx, r12
mov dword [rbp - 0x24], eax
call fcn.140001e50
test eax, eax
js 0x140002341
nop dword [rax + rax]
mov rbx, qword [rbp - 0x48]
lea rdi, [rbp - 0x20]
xor eax, eax
lea r8, [rbp - 0x18]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x1c]
mov dword [rbp - 0x18], eax
mov ecx, 0xc
rep stosb byte [rdi], al
lea rcx, [rbp - 0x20]
call qword [sym.imp.ntdll.dll_RtlGetNtVersionNumbers]
cmp dword [rbp - 0x20], 6
jne 0x140002306
cmp dword [rbp - 0x1c], 2
je 0x140002310
mov eax, r14d
seta al
test eax, eax
je 0x14000231f
cmp dword [rbx - 0xc], 0x200
jne 0x14000232e
cmp dword [rbx - 4], 0
je 0x14000236b
cmp dword [rbx - 0xc], 0x200
jne 0x14000232e
cmp dword [rbx - 8], 0
je 0x14000236b
lea r8, [rbp - 0x58]
mov rdx, rsi
mov rcx, r12
call fcn.140001e50
test eax, eax
jns 0x1400022d0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400439e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
lea rax, [rbx - 0x10]
jmp 0x140002343