Function at 0x1800b04f0
Capabilities:
Check for peb beingdebugged flag
Check for software breakpoints
Check os version
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5f0
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x1802240e0]
xor rax, rsp
mov qword [rsp + 0x5e0], rax
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x4f0], 0x49
mov byte [rsp + 0x4f1], 0x73
mov byte [rsp + 0x4f2], 0x44
mov byte [rsp + 0x4f3], 0x65
mov byte [rsp + 0x4f4], 0x62
mov byte [rsp + 0x4f5], 0x75
mov byte [rsp + 0x4f6], 0x67
mov byte [rsp + 0x4f7], 0x67
mov byte [rsp + 0x4f8], 0x65
mov byte [rsp + 0x4f9], 0x72
mov byte [rsp + 0x4fa], 0x50
mov byte [rsp + 0x4fb], 0x72
mov byte [rsp + 0x4fc], 0x65
mov byte [rsp + 0x4fd], 0x73
mov byte [rsp + 0x4fe], 0x65
mov byte [rsp + 0x4ff], 0x6e
mov byte [rsp + 0x500], 0x74
mov byte [rsp + 0x501], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x4f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1800b05ff
call qword [rsp + 0x40]
test eax, eax
je 0x1800b05ff
mov byte [rsp + 0x30], 1
jmp 0x1800b0819
mov byte [rsp + 0x508], 0x43
mov byte [rsp + 0x509], 0x68
mov byte [rsp + 0x50a], 0x65
mov byte [rsp + 0x50b], 0x63
mov byte [rsp + 0x50c], 0x6b
mov byte [rsp + 0x50d], 0x52
mov byte [rsp + 0x50e], 0x65
mov byte [rsp + 0x50f], 0x6d
mov byte [rsp + 0x510], 0x6f
mov byte [rsp + 0x511], 0x74
mov byte [rsp + 0x512], 0x65
mov byte [rsp + 0x513], 0x44
mov byte [rsp + 0x514], 0x65
mov byte [rsp + 0x515], 0x62
mov byte [rsp + 0x516], 0x75
mov byte [rsp + 0x517], 0x67
mov byte [rsp + 0x518], 0x67
mov byte [rsp + 0x519], 0x65
mov byte [rsp + 0x51a], 0x72
mov byte [rsp + 0x51b], 0x50
mov byte [rsp + 0x51c], 0x72
mov byte [rsp + 0x51d], 0x65
mov byte [rsp + 0x51e], 0x73
mov byte [rsp + 0x51f], 0x65
mov byte [rsp + 0x520], 0x6e
mov byte [rsp + 0x521], 0x74
mov byte [rsp + 0x522], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x508]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800b0736
mov dword [rsp + 0x340], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x340]
mov rcx, rax
call qword [rsp + 0x48]
cmp dword [rsp + 0x340], 0
je 0x1800b0736
mov byte [rsp + 0x30], 1
jmp 0x1800b0819
mov byte [rsp + 0x31], 0
mov rax, qword gs:[0x60]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1800b0757
mov dword [rsp + 0x3c], 1
jmp 0x1800b075f
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1800b077b
mov byte [rsp + 0x30], 1
jmp 0x1800b0819
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x4d0], rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov qword [rsp + 0x4d8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x4e0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x4e8], rax
lea rax, [rsp + 0x4d0]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x34], 0
jmp 0x1800b07d4
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 4
jae 0x1800b0814
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x1800b0812
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x1800b0812
mov byte [rsp + 0x30], 1
jmp 0x1800b0819
jmp 0x1800b07ca
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800b084f
lea rdx, [0x1801acae8]
mov rcx, qword [rsp + 0x608]
call fcn.1800053e0
nop
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x608]
jmp 0x1800b153b
mov rcx, qword [rsp + 0x618]
call fcn.18001b860
lea rcx, [rsp + 0x348]
call fcn.180005420
nop
mov dword [rsp + 0x3b0], 0x11c
lea rax, [rsp + 0x3b4]
mov rdi, rax
xor eax, eax
mov ecx, 0x118
rep stosb byte [rdi], al
lea rcx, [rsp + 0x3b0]
call fcn.180049270
mov byte [rsp + 0x32], 1
cmp dword [rsp + 0x3b4], 6
jb 0x1800b08aa
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x320]
call fcn.180005420
nop
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x1800b0a95
mov rcx, qword [rsp + 0x610]
call fcn.180004c70
mov r8, rax
lea rdx, str._s_shell
lea rcx, [rsp + 0x348]
call fcn.180043c80
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x100]
call fcn.1800053e0
nop
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
mov r8, 0xffffffff80000000
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x220]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x100]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
je 0x1800b09a0
lea rdx, str.open
lea rcx, [rsp + 0x320]
call fcn.18000c5b0
lea rdx, [rsp + 0x348]
lea rcx, [rsp + 0x388]
call fcn.180005440
nop
lea rdx, [0x1801b1a1c]
lea rcx, [rsp + 0x388]
call fcn.180009640
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x388]
call fcn.180009000
lea rdx, str.command
lea rcx, [rsp + 0x388]
call fcn.180009640
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x120]
call fcn.1800053e0
nop
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x388]
mov r8, 0xffffffff80000000
lea rdx, [rsp + 0x240]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x240]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x120]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x388]
call fcn.1800053c0
jmp 0x1800b140c
mov eax, 0x53
mov word [rsp + 0x560], ax
mov eax, WSAStartup
mov word [rsp + 0x562], ax
mov eax, 0x66
mov word [rsp + 0x564], ax
mov eax, 0x74
mov word [rsp + 0x566], ax
mov eax, 0x77
mov word [rsp + 0x568], ax
mov eax, 0x61
mov word [rsp + 0x56a], ax
mov eax, WSAStartup
mov word [rsp + 0x56c], ax
mov eax, 0x65
mov word [rsp + 0x56e], ax
mov eax, 0x5c
mov word [rsp + 0x570], ax
mov eax, 0x4d
mov word [rsp + 0x572], ax
mov eax, 0x69
mov word [rsp + 0x574], ax
mov eax, 0x63
mov word [rsp + 0x576], ax
mov eax, WSAStartup
mov word [rsp + 0x578], ax
mov eax, WSAStartup
mov word [rsp + 0x57a], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x57c], ax
mov eax, WSAStartup
mov word [rsp + 0x57e], ax
mov eax, 0x66
mov word [rsp + 0x580], ax
mov eax, 0x74
mov word [rsp + 0x582], ax
mov eax, 0x5c
mov word [rsp + 0x584], ax
mov eax, 0x57
mov word [rsp + 0x586], ax
mov eax, 0x69
mov word [rsp + 0x588], ax
mov eax, 0x6e
mov word [rsp + 0x58a], ax
mov eax, 0x64
mov word [rsp + 0x58c], ax
mov eax, WSAStartup
mov word [rsp + 0x58e], ax
mov eax, 0x77
mov word [rsp + 0x590], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x592], ax
mov eax, 0x5c
mov word [rsp + 0x594], ax
mov eax, 0x53
mov word [rsp + 0x596], ax
mov eax, 0x68
mov word [rsp + 0x598], ax
mov eax, 0x65
mov word [rsp + 0x59a], ax
mov eax, 0x6c
mov word [rsp + 0x59c], ax
mov eax, 0x6c
mov word [rsp + 0x59e], ax
mov eax, 0x5c
mov word [rsp + 0x5a0], ax
mov eax, 0x41
mov word [rsp + 0x5a2], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5a4], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5a6], ax
mov eax, WSAStartup
mov word [rsp + 0x5a8], ax
mov eax, 0x63
mov word [rsp + 0x5aa], ax
mov eax, 0x69
mov word [rsp + 0x5ac], ax
mov eax, 0x61
mov word [rsp + 0x5ae], ax
mov eax, 0x74
mov word [rsp + 0x5b0], ax
mov eax, 0x69
mov word [rsp + 0x5b2], ax
mov eax, WSAStartup
mov word [rsp + 0x5b4], ax
mov eax, 0x6e
mov word [rsp + 0x5b6], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5b8], ax
mov eax, 0x5c
mov word [rsp + 0x5ba], ax
mov eax, 0x55
mov word [rsp + 0x5bc], ax
mov eax, WSAStartup
mov word [rsp + 0x5be], ax
mov eax, 0x6c
mov word [rsp + 0x5c0], ax
mov eax, 0x41
mov word [rsp + 0x5c2], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5c4], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5c6], ax
mov eax, WSAStartup
mov word [rsp + 0x5c8], ax
mov eax, 0x63
mov word [rsp + 0x5ca], ax
mov eax, 0x69
mov word [rsp + 0x5cc], ax
mov eax, 0x61
mov word [rsp + 0x5ce], ax
mov eax, 0x74
mov word [rsp + 0x5d0], ax
mov eax, 0x69
mov word [rsp + 0x5d2], ax
mov eax, WSAStartup
mov word [rsp + 0x5d4], ax
mov eax, 0x6e
mov word [rsp + 0x5d6], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x5d8], ax
xor eax, eax
mov word [rsp + 0x5da], ax
mov rcx, qword [rsp + 0x610]
call fcn.180004c70
mov r9, rax
lea r8, [rsp + 0x560]
lea rdx, str._s_sUserChoice
lea rcx, [rsp + 0x348]
call fcn.180043c80
lea rdx, str.ProgId
lea rcx, [rsp + 0x140]
call fcn.1800053e0
nop
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
mov r8, 0xffffffff80000001
lea rdx, [rsp + 0x260]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x260]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x140]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
je 0x1800b0f1a
lea rdx, str.ProgId
lea rcx, [rsp + 0x160]
call fcn.1800053e0
nop
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0x280]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x280]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x160]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
jne 0x1800b140c
lea rdx, [rsp + 0x320]
mov rcx, qword [rsp + 0x618]
call fcn.180005390
mov eax, 0x53
mov word [rsp + 0x528], ax
mov eax, WSAStartup
mov word [rsp + 0x52a], ax
mov eax, 0x66
mov word [rsp + 0x52c], ax
mov eax, 0x74
mov word [rsp + 0x52e], ax
mov eax, 0x77
mov word [rsp + 0x530], ax
mov eax, 0x61
mov word [rsp + 0x532], ax
mov eax, WSAStartup
mov word [rsp + 0x534], ax
mov eax, 0x65
mov word [rsp + 0x536], ax
mov eax, 0x5c
mov word [rsp + 0x538], ax
mov eax, 0x43
mov word [rsp + 0x53a], ax
mov eax, 0x6c
mov word [rsp + 0x53c], ax
mov eax, 0x61
mov word [rsp + 0x53e], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x540], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x542], ax
mov eax, 0x65
mov word [rsp + 0x544], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x546], ax
mov eax, 0x5c
mov word [rsp + 0x548], ax
mov eax, 0x25
mov word [rsp + 0x54a], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x54c], ax
mov eax, 0x5c
mov word [rsp + 0x54e], ax
mov eax, reloc.WS2_32.dll_WSAStartup
mov word [rsp + 0x550], ax
mov eax, 0x68
mov word [rsp + 0x552], ax
mov eax, 0x65
mov word [rsp + 0x554], ax
mov eax, 0x6c
mov word [rsp + 0x556], ax
mov eax, 0x6c
mov word [rsp + 0x558], ax
xor eax, eax
mov word [rsp + 0x55a], ax
mov rcx, qword [rsp + 0x618]
call fcn.180004c70
mov r8, rax
lea rdx, [rsp + 0x528]
lea rcx, [rsp + 0x348]
call fcn.180043c80
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x180]
call fcn.1800053e0
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
mov r8, 0xffffffff80000001
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x2a0]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x180]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
je 0x1800b1172
lea rdx, str.open
lea rcx, [rsp + 0x320]
call fcn.18000c5b0
lea rdx, [rsp + 0x348]
lea rcx, [rsp + 0x368]
call fcn.180005440
nop
lea rdx, [0x1801b1a1c]
lea rcx, [rsp + 0x368]
call fcn.180009640
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x368]
call fcn.180009000
lea rdx, str.command
lea rcx, [rsp + 0x368]
call fcn.180009640
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x1a0]
call fcn.1800053e0
nop
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x368]
mov r8, 0xffffffff80000001
lea rdx, [rsp + 0x2c0]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x2c0]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x1a0]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
je 0x1800b13ff
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x1c0]
call fcn.1800053e0
nop
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x348]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0x2e0]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x2e0]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x1c0]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
je 0x1800b1323
lea rdx, str.open
lea rcx, [rsp + 0x320]
call fcn.18000c5b0
lea rdx, [rsp + 0x348]
lea rcx, [rsp + 0x368]
call fcn.180005390
lea rdx, [0x1801b1a1c]
lea rcx, [rsp + 0x368]
call fcn.180009640
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x368]
call fcn.180009000
lea rdx, str.command
lea rcx, [rsp + 0x368]
call fcn.180009640
lea rdx, [0x1801acae8]
lea rcx, [rsp + 0x1e0]
call fcn.1800053e0
nop
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x368]
mov r8, 0xffffffff80000002
lea rdx, [rsp + 0x300]
mov rcx, qword [rsp + 0x600]
call fcn.1800afa40
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x320]
call fcn.180008f30
nop
lea rcx, [rsp + 0x300]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x1e0]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x368]
call fcn.1800053c0
lea rcx, [rsp + 0x320]
call fcn.180005380
movzx eax, al
test eax, eax
jne 0x1800b14f8
lea rdx, str.Shell32.dll
lea rcx, [rsp + 0x200]
call fcn.1800053e0
nop
call fcn.18005a450
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.18005a530
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x200]
call fcn.1800053c0
cmp qword [rsp + 0x58], 0
je 0x1800b14f8
lea rdx, str.CommandLineToArgvW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1800b14f8
mov dword [rsp + 0x344], 0
lea rcx, [rsp + 0x320]
call fcn.180004c70
lea rdx, [rsp + 0x344]
mov rcx, rax
call qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1800b14eb
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x320]
call fcn.18000c5b0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1800b14f8
lea rcx, [rsp + 0x320]
call fcn.18001b860
lea rdx, [rsp + 0x320]
mov rcx, qword [rsp + 0x608]
call fcn.1800072c0
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x320]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x348]
call fcn.1800053c0
mov rax, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x5e0]
xor rcx, rsp
call fcn.18017dee0
add rsp, 0x5f0
pop rdi
ret