Function at 0x1400e31b0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x200
movaps xmmword [rsp + 0x1f0], xmm6
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
mov eax, dword [0x14021d598]
mov ecx, dword [0x140216fcc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e3230
lea rsi, [0x14021d590]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.1401013e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x200
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x14021d598]
call fcn.140100680
cmp dword [0x14021d598], 0xffffffff
jne 0x1400e31fc
lea rsi, [rsp + 0xbc]
xor ebx, ebx
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140103d70
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0xb8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140100528
mov r14, rax
mov r15, rax
mov r12d, dword [rdi]
mov eax, dword [0x14021d5d0]
mov ecx, dword [0x140216fcc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e355b
mov dword [r15], ebx
xorps xmm6, xmm6
movups xmmword [r15 + 0x20], xmm6
movups xmmword [r15 + 0x30], xmm6
movups xmmword [r15 + 0x40], xmm6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdi, [rsp + 0x30]
mov dword [rdi], ebx
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor ecx, ecx
cmp dword [rdi], ebx
setne cl
test eax, eax
mov eax, 2
cmovne eax, ecx
mov dword [r15 + 0x60], eax
movups xmmword [r15 + 0x68], xmm6
mov qword [r15 + 0x78], rbx
mov eax, dword [rsp + 0xbc]
mov dword [r15 + 4], eax
mov eax, dword [rsp + 0xc0]
mov dword [r15 + 8], eax
mov eax, dword [rsp + 0xc4]
mov dword [r15 + 0xc], eax
mov dword [rsp + 0xb4], ebx
mov qword [rdi + 0x10], rbx
movaps xmmword [rdi], xmm6
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x90]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401d9dd0]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.140054aa0
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, rbx
mov rdx, 0xffffffff80000002
mov r9d, 1
call fcn.140054c40
test eax, eax
jne 0x1400e35c1
lea rdx, [0x1401ed67a]
lea rsi, [rsp + 0x90]
lea r8, [rsp + 0xb4]
mov rcx, rsi
call fcn.140055240
lea rdx, str.ReleaseId
lea rbx, [rsp + 0x30]
mov rcx, rsi
mov r8, rbx
call fcn.140055300
mov cl, byte [rbx + 0x17]
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
test cl, cl
cmovs rdi, rdx
lea rdx, [rsp + 0x68]
mov qword [rdx], rdi
movzx ecx, cl
cmovs rcx, rax
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x78]
mov rcx, rsi
call fcn.1400dd930
mov ebp, dword [rsp + 0xb4]
mov rdi, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsi + 0xf]
mov qword [rsp + 0x1df], rax
mov sil, byte [rsi + 0x17]
lea rcx, [rsp + 0x90]
call fcn.140054da0
cmp byte [rbx + 0x17], 0
js 0x1400e35cf
cmp byte [r15 + 0x37], 0
js 0x1400e35de
mov qword [r15 + 0x20], rdi
mov rax, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1df]
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x2f], rcx
mov byte [r15 + 0x37], sil
mov dword [r15 + 0x10], ebp
mov edx, dword [r15 + 4]
cmp edx, 0xa
jne 0x1400e35ec
mov ecx, dword [r15 + 0xc]
cmp ecx, 0x4f3e
jg 0x1400e3628
cmp ecx, 0x4a61
jg 0x1400e3632
je 0x1400e363c
mov eax, 0xf
cmp ecx, 0x47ba
jle 0x1400e3646
add r14, 0x38
mov dword [r15], eax
lea rcx, [rsp + 0xcc]
movzx eax, word [rcx + 0x100]
mov dword [r15 + 0x18], eax
movzx eax, word [rcx + 0x102]
mov dword [r15 + 0x1c], eax
lea rsi, [rsp + 0x90]
mov qword [rsi], rcx
call fcn.14011bf14
mov qword [rsi + 8], rax
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1400dd930
cmp byte [r15 + 0x4f], 0
js 0x1400e36b9
mov rax, qword [rsp + 0x40]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
mov eax, dword [0x14021d5c0]
mov dword [r15 + 0x50], eax
mov eax, dword [0x14021d5c8]
mov qword [r15 + 0x58], rax
mov eax, dword [rsp + 0xbc]
cmp eax, 0xa
jne 0x1400e36c6
cmp r12d, 4
jne 0x1400e3705
mov dword [r15 + 0x14], 3
mov qword [0x14021d590], r15
lea rcx, [0x14021d598]
call fcn.140100718
jmp 0x1400e31fc
lea rcx, [0x14021d5d0]
call fcn.140100680
cmp dword [0x14021d5d0], 0xffffffff
jne 0x1400e32d1
xorps xmm0, xmm0
lea rdi, [rsp + 0x30]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rdi]
movaps xmm1, xmmword [rdi + 0x10]
movaps xmm2, xmmword [rdi + 0x20]
movups xmmword [0x14021d5c0], xmm2
movups xmmword [0x14021d5b0], xmm1
movups xmmword [0x14021d5a0], xmm0
lea rcx, [0x14021d5d0]
call fcn.140100718
jmp 0x1400e32d1
xor eax, eax
mov rbx, rdi
xor edx, edx
xor ecx, ecx
jmp 0x1400e33d8
mov rcx, qword [rsp + 0x30]
call fcn.140100564
jmp 0x1400e343b
mov rcx, qword [r15 + 0x20]
call fcn.140100564
jmp 0x1400e3446
mov eax, 0x13
cmp edx, 6
jg 0x1400e34aa
mov ecx, dword [r15 + 8]
jne 0x1400e3779
test ecx, ecx
je 0x1400e37e0
cmp ecx, 2
je 0x1400e37ea
cmp ecx, 1
jne 0x1400e37f4
mov eax, 4
jmp 0x1400e34aa
mov eax, 0x12
jmp 0x1400e34aa
mov eax, 0x11
jmp 0x1400e34aa
mov eax, 0x10
jmp 0x1400e34aa
mov eax, reloc.WS2_32.dll_ntohl
je 0x1400e34aa
mov eax, ntohl
cmp ecx, 0x4562
jg 0x1400e34aa
mov eax, ntohl
cmp ecx, 0x42ed
jg 0x1400e34aa
mov eax, ntohl
cmp ecx, 0x3faa
jg 0x1400e34aa
mov eax, 0xa
cmp ecx, 0x3ad6
jg 0x1400e34aa
mov eax, 9
cmp ecx, 0x3838
jg 0x1400e34aa
xor eax, eax
cmp ecx, 0x2959
setg al
add eax, 7
jmp 0x1400e34aa
mov rcx, qword [r14]
call fcn.140100564
jmp 0x1400e34fb
cmp eax, 5
jne 0x1400e3722
mov eax, dword [rsp + 0xc0]
cmp eax, 1
je 0x1400e37c5
cmp eax, 2
jne 0x1400e3715
cmp byte [rsp + 0x1d2], 1
jne 0x1400e36f8
cmp word [0x14021d5a0], 9
je 0x1400e37d3
cmp word [rsp + 0x1d0], 0
jns 0x1400e373b
jmp 0x1400e3715
cmp r12d, 0x30
jbe 0x1400e372d
add r12d, 0xffffffba
cmp r12d, 0x3c
jbe 0x1400e3748
mov dword [r15 + 0x14], 0
jmp 0x1400e3543
cmp eax, 6
je 0x1400e3531
jmp 0x1400e3715
mov eax, r12d
mov ecx, 0x206f780
bt rcx, rax
jae 0x1400e37a0
mov dword [r15 + 0x14], 2
jmp 0x1400e3543
movabs rax, 0x1980000000004005
bt rax, r12
jb 0x1400e353b
movabs rax, 0x18000000000000
bt rax, r12
jae 0x1400e3715
mov dword [r15 + 0x14], 4
jmp 0x1400e3543
xor eax, eax
test ecx, ecx
je 0x1400e34aa
cmp edx, 5
jne 0x1400e34aa
xor edx, edx
cmp ecx, 1
sete dl
mov eax, 2
sub eax, edx
jmp 0x1400e34aa
mov ecx, 0x8010040
bt rcx, rax
jb 0x1400e353b
movabs rcx, 0x1000000000002
bt rcx, rax
jae 0x1400e370b
jmp 0x1400e37d3
test byte [rsp + 0x1d1], 2
jne 0x1400e3715
mov dword [r15 + 0x14], 1
jmp 0x1400e3543
mov eax, 3
jmp 0x1400e34aa
mov eax, 5
jmp 0x1400e34aa
mov eax, 6
jmp 0x1400e34aa