Function at 0x14007a160
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 [0x140212c80]
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 [0x14021e3dc], eax
xor edx, edx
mov eax, dword [rsp + 0x48]
mov r8d, 0x118
mov dword [0x14021ded0], eax
mov rax, qword [rsp + 0x30]
mov qword [0x140213938], rax
mov eax, dword [rsp + 0x40]
mov dword [0x140213940], eax
call fcn.140176680
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14007a207
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rbx, qword [0x14021e370]
test rbx, rbx
jne 0x14007a243
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 [0x14021e370], rax
mov rbx, rax
test rax, rax
je 0x14007a2e7
xor edx, edx
lea rcx, [rbp + 0x74]
mov r8d, 0x118
call fcn.140176680
lea rcx, [rbp + 0x70]
mov dword [rbp + 0x70], 0x11c
mov rax, rbx
call qword [case.0x1400cc851.0]
test eax, eax
jne 0x14007a2e7
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 0x14007a280
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 0x14007a4b7
mov ecx, 0xa
cmp eax, 5
jb 0x14007a507
mov ecx, ntohs
cmp eax, 6
jb 0x14007a4a9
mov ecx, recvfrom
cmp eax, 7
jb 0x14007a477
mov ecx, reloc.WS2_32.dll_recvfrom
cmp eax, 0xb
jae 0x14007a348
cmp eax, 0xa
jb 0x14007a507
mov rax, qword [rsp + 0x58]
shr rax, 0x20
cmp eax, 0x5867
jb 0x14007a352
mov ecx, 0x23
jmp 0x14007a507
cmp eax, 0x585d
jb 0x14007a363
mov ecx, 0x22
jmp 0x14007a507
cmp eax, 0x55f0
jb 0x14007a374
mov ecx, 0x21
jmp 0x14007a507
cmp eax, 0x4a67
jb 0x14007a385
mov ecx, 0x20
jmp 0x14007a507
cmp eax, 0x4a66
jb 0x14007a396
mov ecx, 0x1f
jmp 0x14007a507
cmp eax, 0x4a65
jb 0x14007a3a7
mov ecx, 0x1e
jmp 0x14007a507
cmp eax, 0x4a64
jb 0x14007a3b8
mov ecx, 0x1d
jmp 0x14007a507
cmp eax, 0x4a63
jb 0x14007a3c9
mov ecx, 0x1c
jmp 0x14007a507
cmp eax, 0x4a62
jb 0x14007a3da
mov ecx, 0x1b
jmp 0x14007a507
cmp eax, 0x4a38
jb 0x14007a3eb
mov ecx, 0x1a
jmp 0x14007a507
cmp eax, 0x47bb
jb 0x14007a3fc
mov ecx, 0x19
jmp 0x14007a507
cmp eax, 0x4650
jb 0x14007a40d
mov ecx, 0x18
jmp 0x14007a507
cmp eax, 0x44c0
jb 0x14007a41e
mov ecx, reloc.WS2_32.dll_socket
jmp 0x14007a507
cmp eax, 0x4268
jb 0x14007a42f
mov ecx, socket
jmp 0x14007a507
cmp eax, 0x3e80
jb 0x14007a440
mov ecx, reloc.WS2_32.dll_setsockopt
jmp 0x14007a507
cmp eax, 0x3a98
jb 0x14007a451
mov ecx, setsockopt
jmp 0x14007a507
cmp eax, 0x36b0
jb 0x14007a462
mov ecx, reloc.WS2_32.dll_send
jmp 0x14007a507
cmp eax, 0x295a
jb 0x14007a507
mov ecx, reloc.WS2_32.dll_select
jmp 0x14007a507
mov eax, dword [rsp + 0x58]
cmp eax, 1
jb 0x14007a507
mov ecx, reloc.WS2_32.dll_ntohl
cmp eax, 2
jb 0x14007a507
mov ecx, reloc.WS2_32.dll_ntohs
cmp eax, 3
jb 0x14007a507
mov ecx, reloc.WS2_32.dll_recv
cmp eax, 4
jb 0x14007a507
mov ecx, reloc.WS2_32.dll_recvfrom
jmp 0x14007a507
cmp dword [rsp + 0x58], 1
jb 0x14007a507
mov ecx, ntohs
jmp 0x14007a507
cmp eax, 4
jne 0x14007a505
lea ecx, [rax - 3]
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x14007a4e1
mov rax, qword [rsp + 0x58]
mov edx, 0x457
shr rax, 0x20
cmp ax, dx
jb 0x14007a507
mov ecx, 2
jmp 0x14007a507
cmp eax, 0x5a
jae 0x14007a4fe
mov rax, qword [rsp + 0x58]
mov ecx, 0x8ae
shr rax, 0x20
cmp ax, cx
sbb ecx, ecx
add ecx, 4
jmp 0x14007a507
mov ecx, 5
jmp 0x14007a507
xor ecx, ecx
mov dword [0x14021e3d8], ecx
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140133600
add rsp, 0x2a8
pop rbx
pop rbp
ret