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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1e0
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r15d, r15d
lea r14, [rcx + 0x28]
mov dword [rsp + 0x34], r15d
mov rbx, rcx
mov qword [rcx], r15
mov byte [rcx + 8], r15b
mov qword [r14 + 0x18], 0xf
lea edi, [r15 + 3]
mov qword [r14 + 0x10], r15
mov byte [r14], r15b
mov dword [rcx + 0x48], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [0x14002fc68]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x14001223b
mov eax, r15d
jmp 0x140012260
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov rcx, rsi
call rax
test eax, eax
jne 0x140012255
mov eax, 2
jmp 0x140012260
cmp dword [rsp + 0x30], r15d
mov eax, r15d
setne al
mov dword [rbx + 0x58], eax
lea rcx, [rbp - 0x4c]
mov qword [rbx + 0x78], 0xf
xor edx, edx
mov qword [rbx + 0x70], r15
mov r8d, pe_nt_image_headers64
mov byte [rbx + 0x60], r15b
mov dword [rbp - 0x50], 0x11c
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp - 0x4c]
mov esi, 1
mov ecx, dword [rbp - 0x48]
mov edx, dword [rbp - 0x44]
mov dword [rbx + 0xc], eax
mov dword [rbx + 0x10], ecx
lea r8d, [rsi + 8]
mov dword [rbx + 0x14], edx
mov dword [rbx + 0x18], r15d
cmp eax, 5
jne 0x1400122ca
test ecx, ecx
jle 0x14001230c
cmp ecx, esi
mov edi, r15d
setne dil
add edi, esi
jmp 0x14001230f
cmp eax, 6
jne 0x1400122ed
test ecx, ecx
je 0x14001230f
sub ecx, esi
je 0x1400122e6
cmp ecx, esi
je 0x1400122df
mov edi, eax
jmp 0x14001230f
mov edi, 5
jmp 0x14001230f
mov edi, 4
jmp 0x14001230f
cmp eax, 0xa
jne 0x140012304
cmp edx, 0x295a
mov edi, r15d
setge dil
add edi, 7
jmp 0x14001230f
mov edi, r8d
cmp eax, 6
jg 0x14001230f
mov edi, r15d
movzx eax, word [rbp + 0xc4]
lea rdx, [rbp - 0x3c]
mov dword [rbx + 0x20], eax
lea rcx, [rsp + 0x68]
movzx eax, word [rbp + 0xc6]
mov dword [rbx + 0x24], eax
mov dword [rbx], edi
call fcn.140003200
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.140010f50
mov rdi, rax
cmp r14, rax
je 0x140012362
xor r8d, r8d
mov dl, sil
mov rcx, r14
call fcn.1400054e8
mov rdx, rdi
mov rcx, r14
call fcn.14000aea4
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov dl, sil
call fcn.1400054e8
lea rcx, [rsp + 0x68]
call fcn.1400032e0
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x38]
mov edx, 9
test eax, eax
je 0x1400123bb
cmp eax, 6
je 0x1400123b2
cmp eax, edx
jne 0x1400123bf
mov dword [rbx + 0x48], esi
jmp 0x1400123bf
mov dword [rbx + 0x48], 2
jmp 0x1400123bf
mov dword [rbx + 0x48], r15d
mov eax, dword [rsp + 0x58]
mov ecx, dword [rbp - 0x4c]
mov dword [rbx + 0x4c], eax
mov eax, dword [rsp + 0x60]
mov qword [rbx + 0x50], rax
lea eax, [rcx - 6]
test eax, 0xfffffffb
je 0x14001242f
cmp ecx, 5
jne 0x140012487
cmp dword [rbp - 0x48], 2
jne 0x140012416
cmp byte [rbp + 0xca], sil
jne 0x1400123fe
cmp word [rsp + 0x38], dx
je 0x1400124ce
movzx eax, word [rbp + 0xc8]
not ax
movzx ecx, ax
shr ecx, 0xe
and ecx, 2
mov dword [rbx + 0x1c], ecx
jmp 0x14001248b
cmp dword [rbp - 0x48], esi
jne 0x140012487
movzx eax, word [rbp + 0xc8]
not ax
movzx ecx, ax
shr ecx, 9
and ecx, esi
jmp 0x140012411
lea rcx, [0x14002fc68]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetProductInfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [rbp - 0x48]
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov ecx, dword [rbp - 0x4c]
xor r8d, r8d
call rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xf
ja 0x1400124ba
cmp eax, 0xc
jae 0x1400124d3
cmp eax, esi
je 0x1400124ce
cmp eax, 4
je 0x1400124ce
cmp eax, 6
je 0x1400124ce
jbe 0x140012487
cmp eax, 0xa
jbe 0x1400124d3
mov dword [rbx + 0x1c], r15d
mov rax, rbx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140006f20
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp eax, 0x11
jb 0x140012487
cmp eax, 0x12
jbe 0x1400124d3
cmp eax, 0x19
je 0x1400124d3
cmp eax, 0x30
jne 0x140012487
mov dword [rbx + 0x1c], esi
jmp 0x14001248b
mov dword [rbx + 0x1c], 2
jmp 0x14001248b