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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
lea rbp, [rsp - 0x1a8]
sub rsp, 0x2a8
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
lea rcx, [rsp + 0x54]
mov dword [0x14024d7ac], eax
xor edx, edx
mov eax, dword [rsp + 0x48]
mov r8d, 0x118
mov dword [0x14024d080], eax
mov rax, qword [rsp + 0x30]
mov qword [0x140242968], rax
mov eax, dword [rsp + 0x40]
mov dword [0x140242970], eax
call fcn.14019b380
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14007ec17
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rbx, qword [0x14024d6f8]
test rbx, rbx
jne 0x14007ec53
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14024d6f8], rax
mov rbx, rax
test rax, rax
je 0x14007ecf7
xor edx, edx
lea rcx, [rbp + 0x74]
mov r8d, 0x118
call fcn.14019b380
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x70], 0x11c
mov rax, rbx
call qword [case.0x1400cd6b1.0]
test eax, eax
jne 0x14007ecf7
lea rcx, [rsp + 0x50]
mov eax, 2
lea rdx, [rbp + 0x70]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14007ec90
mov rax, qword [rdx + 0x10]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x50]
shr rax, 0x20
cmp dword [rsp + 0x60], 2
jne 0x14007eed8
mov ecx, 0xa
cmp eax, 5
jb 0x14007ef28
mov ecx, ntohs
cmp eax, 6
jb 0x14007eeca
mov ecx, recvfrom
cmp eax, 7
jb 0x14007ee98
mov ecx, reloc.WS2_32.dll_recvfrom
cmp eax, 0xb
jae 0x14007ed58
cmp eax, 0xa
jb 0x14007ef28
mov rax, qword [rsp + 0x58]
shr rax, 0x20
cmp eax, 0x6590
jb 0x14007ed62
mov ecx, 0x24
jmp 0x14007ef28
cmp eax, 0x5867
jb 0x14007ed73
mov ecx, 0x23
jmp 0x14007ef28
cmp eax, 0x585d
jb 0x14007ed84
mov ecx, 0x22
jmp 0x14007ef28
cmp eax, 0x55f0
jb 0x14007ed95
mov ecx, 0x21
jmp 0x14007ef28
cmp eax, 0x4a67
jb 0x14007eda6
mov ecx, 0x20
jmp 0x14007ef28
cmp eax, 0x4a66
jb 0x14007edb7
mov ecx, 0x1f
jmp 0x14007ef28
cmp eax, 0x4a65
jb 0x14007edc8
mov ecx, 0x1e
jmp 0x14007ef28
cmp eax, 0x4a64
jb 0x14007edd9
mov ecx, 0x1d
jmp 0x14007ef28
cmp eax, 0x4a63
jb 0x14007edea
mov ecx, 0x1c
jmp 0x14007ef28
cmp eax, 0x4a62
jb 0x14007edfb
mov ecx, 0x1b
jmp 0x14007ef28
cmp eax, 0x4a38
jb 0x14007ee0c
mov ecx, 0x1a
jmp 0x14007ef28
cmp eax, 0x47bb
jb 0x14007ee1d
mov ecx, 0x19
jmp 0x14007ef28
cmp eax, 0x4650
jb 0x14007ee2e
mov ecx, 0x18
jmp 0x14007ef28
cmp eax, 0x44c0
jb 0x14007ee3f
mov ecx, reloc.WS2_32.dll_socket
jmp 0x14007ef28
cmp eax, 0x4268
jb 0x14007ee50
mov ecx, socket
jmp 0x14007ef28
cmp eax, 0x3e80
jb 0x14007ee61
mov ecx, reloc.WS2_32.dll_setsockopt
jmp 0x14007ef28
cmp eax, 0x3a98
jb 0x14007ee72
mov ecx, socket
jmp 0x14007ef28
cmp eax, 0x36b0
jb 0x14007ee83
mov ecx, reloc.WS2_32.dll_send
jmp 0x14007ef28
cmp eax, 0x295a
jb 0x14007ef28
mov ecx, reloc.WS2_32.dll_select
jmp 0x14007ef28
mov eax, dword [rsp + 0x58]
cmp eax, 1
jb 0x14007ef28
mov ecx, reloc.WS2_32.dll_ntohl
cmp eax, 2
jb 0x14007ef28
mov ecx, reloc.WS2_32.dll_ntohs
cmp eax, 3
jb 0x14007ef28
mov ecx, reloc.WS2_32.dll_recv
cmp eax, 4
jb 0x14007ef28
mov ecx, reloc.WS2_32.dll_recvfrom
jmp 0x14007ef28
cmp dword [rsp + 0x58], 1
jb 0x14007ef28
mov ecx, ntohs
jmp 0x14007ef28
cmp eax, 4
jne 0x14007ef26
lea ecx, [rax - 3]
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x14007ef02
mov rax, qword [rsp + 0x58]
mov edx, 0x457
shr rax, 0x20
cmp ax, dx
jb 0x14007ef28
mov ecx, 2
jmp 0x14007ef28
cmp eax, 0x5a
jae 0x14007ef1f
mov rax, qword [rsp + 0x58]
mov ecx, 0x8ae
shr rax, 0x20
cmp ax, cx
sbb ecx, ecx
add ecx, 4
jmp 0x14007ef28
mov ecx, 5
jmp 0x14007ef28
xor ecx, ecx
mov dword [0x14024d7b0], ecx
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140144310
add rsp, 0x2a8
pop rbx
pop rbp
ret