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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x78
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, str._Utils::RuntimeInfo::FillInfoData_
lea rcx, [rbp + 0x38]
call fcn.14003fda0
nop
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor edx, edx
mov r8d, 0x11c
lea rcx, [rbp + 0xa0]
call fcn.14012d3f0
mov dword [rbp + 0xa0], 0x11c
or eax, 0xffffffff
movzx ecx, word [rbp + 0x50]
test ecx, ecx
je 0x1400d5f7d
cmp ecx, 6
je 0x1400d5f76
cmp ecx, 9
jne 0x1400d5f82
lea eax, [rcx - 7]
jmp 0x1400d5f82
mov eax, 3
jmp 0x1400d5f82
mov eax, 1
mov dword [rsi + 4], eax
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400d5fa4
lea rcx, [rbp + 0xa0]
call fcn.1400d63f0
jmp 0x1400d5fa7
mov eax, r14d
mov dword [rsi], eax
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400d6322
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
lea rdi, [0x14026d150]
lea r12, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
lea r13, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea r15, vtable.std::ios_base.0
test eax, eax
je 0x1400d614a
mov qword [rsp + 0x40], rdi
mov ebx, 1
mov dword [rsp + 0x24], ebx
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x3c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.1400435f0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea edx, [rbx + 1]
lea rcx, [rsp + 0x48]
call fcn.140042190
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400d6087
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400d6087
mov r8, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [r8]
nop
lea rdx, str._Utils::RuntimeInfo::FillInfoData_
lea rcx, [rsp + 0x40]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Architecture:
call fcn.140043a10
mov rcx, rax
mov edx, dword [rsi + 4]
call fcn.140040a80
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x90]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
mov r8, qword [rbp + 0x98]
cmp r8, 8
jb 0x1400d6118
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.140007540
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r14
mov word [rbp + 0x80], r14w
lea rcx, [rbp - 0x38]
call fcn.14003fff0
nop
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x38]
call fcn.14010acb0
nop
mov rcx, qword [0x1402de630]
test rcx, rcx
je 0x1400d6322
mov rax, qword [rcx]
mov edx, 0x7d0
call qword [rax + 0x10]
test eax, eax
je 0x1400d6322
mov qword [rsp + 0x40], rdi
or ebx, 4
mov dword [rsp + 0x24], ebx
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x3c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.1400435f0
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140042190
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
lea rdx, [rsp + 0x30]
call fcn.140040f30
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400d620f
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400d620f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.14010e434
mov rdi, rax
lea rdx, str._Utils::RuntimeInfo::FillInfoData_
lea rcx, [rsp + 0x40]
call fcn.140043d80
mov rcx, rax
lea rdx, str.Version:
call fcn.140043a10
mov rbx, rax
test rax, rax
jne 0x1400d624e
mov rcx, r14
jmp 0x1400d6258
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rdi + 8]
call qword [rdi]
test rbx, rbx
jne 0x1400d6268
mov rax, r14
jmp 0x1400d6272
mov rax, qword [rbx]
movsxd rax, dword [rax + 4]
add rax, rbx
and dword [rax + 0x18], 0xfffff9ff
or dword [rax + 0x18], 0x800
mov edx, dword [rsi]
mov rcx, rbx
call fcn.140040a80
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.14003ffc0
nop
lea r8, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae r8, qword [rbp + 0x80]
mov rcx, qword [0x1402de630]
mov rax, qword [rcx]
mov r9, qword [rbp + 0x90]
mov edx, 0x7d0
call qword [rax + 0x20]
nop
mov r8, qword [rbp + 0x98]
cmp r8, 8
jb 0x1400d62f0
inc r8
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x80]
call fcn.140007540
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r14
mov word [rbp + 0x80], r14w
lea rcx, [rbp - 0x38]
call fcn.14003fff0
nop
mov qword [rbp - 0x38], r15
lea rcx, [rbp - 0x38]
call fcn.14010acb0
nop
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x28], 1
lea rcx, [rbp + 0x38]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret