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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1400e30b0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, 0x114
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.1400659b0
mov dword [rbp + 0x60], ebx
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14004339f
call fcn.14003ab84
mov r9d, 1
mov r8, qword [rax]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140003144
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetVersionEx_failed__err_
mov rcx, rbx
call fcn.140007858
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.1400123a8
nop
lea rcx, [rbp]
call fcn.1400030e0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp], rax
lea rcx, [rbp]
call fcn.140043ee4
nop
jmp 0x140043568
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x20]
call fcn.1400659b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [rbp + 0x64]
cmp eax, 4
jne 0x1400433d3
cmp dword [rbp + 0x70], 1
jne 0x1400434f5
xor eax, eax
jmp 0x14004356b
cmp eax, 5
jne 0x140043421
mov eax, dword [rbp + 0x68]
test eax, eax
jne 0x1400433e9
mov eax, 1
jmp 0x14004356b
cmp eax, 1
je 0x140043417
cmp eax, 2
jne 0x1400434f5
mov eax, 9
cmp word [rsp + 0x20], ax
je 0x14004340d
lea ecx, [rax - 3]
cmp word [rsp + 0x20], cx
jne 0x140043417
mov eax, 3
jmp 0x14004356b
mov eax, 2
jmp 0x14004356b
mov ecx, 6
cmp eax, ecx
jne 0x1400434c9
mov edx, dword [rbp + 0x68]
test edx, edx
jne 0x140043455
lea eax, [rcx + 3]
cmp word [rsp + 0x20], ax
je 0x14004344e
cmp word [rsp + 0x20], cx
je 0x14004344e
lea eax, [rcx - 1]
jmp 0x14004356b
mov eax, ecx
jmp 0x14004356b
cmp edx, 1
jne 0x14004347d
lea eax, [rdx + 8]
cmp word [rsp + 0x20], ax
je 0x140043473
cmp word [rsp + 0x20], cx
je 0x140043473
lea eax, [rdx + 6]
jmp 0x14004356b
mov eax, 8
jmp 0x14004356b
cmp edx, 2
jne 0x1400434a1
lea eax, [rdx + 7]
cmp word [rsp + 0x20], ax
je 0x140043497
cmp word [rsp + 0x20], cx
jne 0x14004356b
mov eax, 0xa
jmp 0x14004356b
cmp edx, 3
jne 0x1400434f5
lea eax, [rdx + 6]
cmp word [rsp + 0x20], ax
je 0x1400434bf
cmp word [rsp + 0x20], cx
je 0x1400434bf
lea eax, [rdx + 8]
jmp 0x14004356b
mov eax, ntohl
jmp 0x14004356b
cmp eax, 0xa
jne 0x1400434f5
cmp dword [rbp + 0x68], 0
jne 0x1400434f5
mov eax, 9
cmp word [rsp + 0x20], ax
je 0x1400434ee
cmp word [rsp + 0x20], cx
je 0x1400434ee
mov eax, ntohl
jmp 0x14004356b
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x14004356b
call fcn.14003ab84
mov r9d, 1
mov r8, qword [rax]
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140003144
nop
lea rbx, [rax + 0x10]
lea rdx, str.Unknown_version:_major
mov rcx, rbx
call fcn.140007858
mov edx, dword [rbp + 0x64]
mov rcx, rbx
call fcn.1400123a8
lea rdx, str.__minor
mov rcx, rbx
call fcn.140007858
mov edx, dword [rbp + 0x68]
mov rcx, rbx
call fcn.1400123a8
nop
lea rcx, [rbp]
call fcn.1400030e0
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp], rax
lea rcx, [rbp]
call fcn.140043ee4
nop
or eax, 0xffffffff
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140046b20
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x290
pop rbp
ret