Function at 0x140043d00
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x14020b010]
xor rax, rsp
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [0x1401f7130]
mov esi, dword [reloc.WS2_32.dll_accept]
xor ebx, ebx
movups xmmword [rbp - 0x48], xmm0
psrldq xmm0, 0xf
lea r14d, [rbx + 4]
movd eax, xmm0
lea r15d, [rbx + 0x1f]
test al, al
je 0x140043eea
mov r8d, ebx
cmp esi, 2
jl 0x140043eb3
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rbp - 0x44]
movdqa xmm5, xmmword [0x1401f89d0]
mov edx, ebx
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140043db0
jmp 0x140043eea
lea r9, [rbp - 0x48]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x140043ec0
mov eax, dword [str.F___a_aC7]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1401f4ce4]
xor byte [rsp + 0x41], 0x32
xor byte [rsp + 0x42], 0x33
xor byte [rsp + 0x43], 0x34
mov word [rsp + 0x44], ax
movzx eax, byte [0x1401f4ce6]
xor byte [rsp + 0x44], 0x35
xor al, 0x37
xor byte [rsp + 0x45], 0x36
mov byte [rsp + 0x46], al
mov byte [rsp + 0x40], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140044219
movups xmm0, xmmword [0x1401f7130]
movups xmmword [rbp - 0x38], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400440fa
mov r8d, ebx
cmp esi, 2
jl 0x1400440c3
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rbp - 0x34]
movdqa xmm5, xmmword [0x1401f89d0]
mov edx, ebx
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x10
jl 0x140043fc0
jmp 0x1400440fa
lea r9, [rbp - 0x38]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x10
jl 0x1400440d0
mov eax, dword [str.DAVF]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1401f5e9c]
xor byte [rsp + 0x49], 0x32
xor byte [rsp + 0x4a], 0x33
xor byte [rsp + 0x4b], 0x34
mov word [rsp + 0x4c], ax
movzx eax, byte [0x1401f5e9e]
xor byte [rsp + 0x4c], 0x35
xor al, 0x37
xor byte [rsp + 0x4d], 0x36
mov byte [rsp + 0x4e], al
mov byte [rsp + 0x48], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
jne 0x140044219
cmp byte [0x1401f7ef9], bl
movsd xmm0, qword [str.bW_PXGMM:]
movzx eax, word [0x1401f7ef8]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
je 0x1400441b3
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor byte [rsp + 0x38], 0x39
xor byte [rsp + 0x39], 0x3a
mov byte [rsp + 0x30], 0x53
mov eax, dword [str.DAVF]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1401f5e9c]
xor byte [rsp + 0x51], 0x32
xor byte [rsp + 0x52], 0x33
xor byte [rsp + 0x53], 0x34
mov word [rsp + 0x54], ax
movzx eax, byte [0x1401f5e9e]
xor byte [rsp + 0x54], 0x35
xor al, 0x37
xor byte [rsp + 0x55], 0x36
mov byte [rsp + 0x56], al
mov byte [rsp + 0x50], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x140044870
mov eax, dword [0x1401f4078]
mov r8d, ebx
mov dword [rbp - 0x80], eax
movzx eax, word [0x1401f407c]
mov word [rbp - 0x7c], ax
movzx eax, byte [0x1401f407e]
mov byte [rbp - 0x7a], al
movups xmm0, xmmword [0x1401f4068]
movups xmmword [rsp + 0x70], xmm0
cmp esi, 2
jl 0x140044399
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rsp + 0x74]
movdqa xmm5, xmmword [0x1401f89d0]
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm6, r14d
movd xmm8, r15d
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140044290
cmp r8d, 0x17
jge 0x1400443e3
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x17
jl 0x1400443b0
mov eax, dword [str.F___a_aC7]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
movzx eax, word [0x1401f4ce4]
xor byte [rsp + 0x59], 0x32
xor byte [rsp + 0x5a], 0x33
xor byte [rsp + 0x5b], 0x34
mov word [rsp + 0x5c], ax
movzx eax, byte [0x1401f4ce6]
xor byte [rsp + 0x5c], 0x35
xor al, 0x37
xor byte [rsp + 0x5d], 0x36
mov byte [rsp + 0x5e], al
mov byte [rsp + 0x58], 0x77
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140044874
mov eax, dword [0x1401f4078]
mov r8d, ebx
mov dword [rbp - 0x68], eax
movzx eax, word [0x1401f407c]
mov word [rbp - 0x64], ax
movzx eax, byte [0x1401f407e]
mov byte [rbp - 0x62], al
movups xmm0, xmmword [0x1401f4068]
movups xmmword [rbp - 0x78], xmm0
cmp esi, 2
jl 0x1400445c9
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rbp - 0x74]
movdqa xmm5, xmmword [0x1401f89d0]
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm6, r14d
movd xmm8, r15d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400444c0
cmp r8d, 0x17
jge 0x140044613
movsxd rax, r8d
lea r9, [rbp - 0x78]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x17
jl 0x1400445e0
mov eax, dword [str.DAVF]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1401f5e9c]
xor byte [rsp + 0x61], 0x32
xor byte [rsp + 0x62], 0x33
xor byte [rsp + 0x63], 0x34
mov word [rsp + 0x64], ax
movzx eax, byte [0x1401f5e9e]
xor byte [rsp + 0x64], 0x35
xor al, 0x37
xor byte [rsp + 0x65], 0x36
mov byte [rsp + 0x66], al
mov byte [rsp + 0x60], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140044874
movzx eax, byte [0x1401f8428]
mov byte [rbp - 0x50], al
movups xmm0, xmmword [str.vWGuFOY_r_BoI_K_A]
movups xmmword [rbp - 0x60], xmm0
cmp esi, 2
jl 0x1400447d4
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rbp - 0x5c]
movdqa xmm5, xmmword [0x1401f89d0]
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
movd xmm6, r14d
movd xmm8, r15d
nop
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1400446d0
cmp ebx, 0x11
jge 0x14004480f
movsxd rax, ebx
lea r8, [rbp - 0x60]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, bl
inc ebx
xor byte [r8 - 1], cl
cmp ebx, 0x11
jl 0x1400447e0
mov eax, dword [str.DAVF]
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1401f5e9c]
xor byte [rsp + 0x69], 0x32
xor byte [rsp + 0x6a], 0x33
xor byte [rsp + 0x6b], 0x34
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1401f5e9e]
xor byte [rsp + 0x6c], 0x35
xor al, 0x37
xor byte [rsp + 0x6d], 0x36
mov byte [rsp + 0x6e], al
mov byte [rsp + 0x68], 0x75
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
test rax, rax
jne 0x140044874
xor al, al
jmp 0x1400448cc
movups xmm0, xmmword [rdi]
movups xmmword [0x14032ac00], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [0x14032ac10], xmm1
mov eax, dword [rdi + 0x18]
mov dword [0x14032ac18], eax
movzx eax, word [rdi + 0x1c]
mov word [0x14032ac1c], ax
movups xmm0, xmmword [rcx]
movups xmmword [0x14032ac20], xmm0
movsd xmm1, qword [rcx + 0x10]
movsd qword [0x14032ac30], xmm1
mov eax, dword [rcx + 0x18]
mov dword [0x14032ac38], eax
movzx eax, word [rcx + 0x1c]
mov word [0x14032ac3c], ax
mov al, 1
mov rcx, qword [rbp - 0x28]
xor rcx, rsp
call fcn.14008db20
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret