Function at 0x1400e2d80
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x14016adb0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r13, r9
mov r15, r8
mov r14d, edx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rbp, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d0]
xor edx, edx
call fcn.1400d02f8
nop
lea rax, [0x140125898]
mov qword [rbx], rax
call fcn.1400cc6e8
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x1400e2e06
mov ecx, 0x80004005
call fcn.1400025a0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xf8], rax
mov esi, dword [rsp + 0x1d8]
test esi, esi
jne 0x1400e2e5f
mov esi, 0x114
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400fce30
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x40], 2
jne 0x1400e2e5a
cmp dword [rsp + 0x34], 5
jb 0x1400e2e5a
mov esi, 0x98
jmp 0x1400e2e5f
mov esi, 0x88
mov r12d, esi
mov ecx, esi
call fcn.1400fa6f0
mov qword [rbx + 0xe8], rax
test rax, rax
jne 0x1400e2e7b
call fcn.1400d1d84
int3
mov r8, r12
xor edx, edx
mov rcx, rax
call fcn.1400fce30
lea r12, [rbx + 0x180]
xor eax, eax
mov word [r12], ax
lea rcx, [rbx + 0x100]
mov word [rcx], ax
mov qword [rbx + 0x388], rax
mov dword [rbx + 0xf0], r14d
neg r14d
sbb eax, eax
add eax, 0x7005
mov dword [rbx + 0xa8], eax
mov rax, qword [rbx + 0xe8]
mov dword [rax], esi
mov rax, qword [rbx + 0xe8]
mov qword [rax + 0x30], r12
mov rax, qword [rbx + 0xe8]
mov esi, 0x104
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0xe8]
mov qword [rax + 0x68], r15
mov rax, qword [rbx + 0xe8]
mov qword [rax + 0x40], rcx
mov rax, qword [rbx + 0xe8]
mov dword [rax + 0x48], 0x40
mov rcx, qword [rbx + 0xe8]
mov eax, dword [rsp + 0x1c0]
or eax, 0x80020
or dword [rcx + 0x60], eax
test byte [rsp + 0x1c0], 0x40
je 0x1400e2f31
mov rax, qword [rbx + 0xe8]
btr dword [rax + 0x60], 0x17
call fcn.1400de224
mov r9, qword [rax + 0x18]
mov rax, qword [rbx + 0xe8]
mov qword [rax + 0x10], r9
mov rax, qword [rbx + 0xe8]
lea rcx, [0x1400f5c24]
mov qword [rax + 0x78], rcx
test r13, r13
je 0x1400e2f98
or r9, 0xffffffffffffffff
mov r8, r13
mov rdx, rsi
mov rcx, r12
call fcn.1400fbb60
test eax, eax
je 0x1400e2f98
cmp eax, 0xc
je 0x1400e2f92
cmp eax, 0x16
je 0x1400e2f8c
cmp eax, 0x22
je 0x1400e2f8c
cmp eax, 0x50
je 0x1400e2f98
call fcn.1400d1dcc
int3
call fcn.1400d1dcc
int3
call fcn.1400d1d84
int3
test rbp, rbp
je 0x1400e3018
mov rcx, rbp
call fcn.1400fcb50
mov r8d, eax
mov rdx, rbp
lea rcx, [rbx + 0xf8]
call fcn.14000ace0
mov rax, qword [rbx + 0xf8]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
or eax, ecx
jge 0x1400e2fdb
xor edx, edx
lea rcx, [rbx + 0xf8]
call fcn.1400025c0
mov dx, 0x7c
mov rcx, qword [rbx + 0xf8]
call fcn.1400fbb30
test rax, rax
je 0x1400e3006
and word [rax], 0
lea rcx, [rax + 2]
mov dx, 0x7c
call fcn.1400fbb30
test rax, rax
jne 0x1400e2ff0
mov rdx, qword [rbx + 0xf8]
mov rcx, qword [rbx + 0xe8]
mov qword [rcx + 0x18], rdx
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400f9790
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret