Function at 0x10042922
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
mov eax, 0x10066299
call fcn.10064328
sub esp, 0x1bc
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [ebp - 0x58], dl
je 0x100433d4
cmp byte [ebp + 8], 0
je 0x10042976
push 0x21
pop edx
lea ecx, [ebp - 0x180]
call fcn.1000afff
push ecx
push ecx
xor ebx, ebx
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
call fcn.10005fb7
push ebx
lea ecx, [ebp - 0x180]
jmp 0x10043421
mov eax, dword [ebp + 0x20]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x1953
cmp dword [ebp - 0x1c], 0x1cc0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
jle 0x100429f0
push 0x23ae
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, ebx
mov edi, ebx
mov dword [ebp - 0x24], ebx
mov eax, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp + 0x14], eax
xor eax, ebx
mov ecx, 0x10081bf8
xor eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.1000377e
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp eax, 0x73
jl 0x100429b0
inc ebx
push 0
mov dword [ebp - 0x24], ebx
cmp ebx, 0x2869
pop ebx
jl 0x100429a8
inc edi
cmp edi, 0x7a2a
jl 0x100429a5
inc esi
cmp esi, 0x3d10
jl 0x100429a3
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x7c], eax
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x1c], 0x1917
jge 0x10042a17
mov edx, str.uqvjoaeo_ewhqad_rkpavacav_whcqn_zwn_slqrknwh_qboe_elbgysont
mov ecx, 0x10081bf8
call fcn.100059cc
xor eax, eax
inc eax
or dword [ebp - 4], 0xffffffff
push 2
pop edi
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x40], 0xd3e9
push edi
call fcn.100038f5
push 3
pop ecx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp + 0x14], edi
inc esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp + 0x14], ebx
cmp dword [ebp + 0x14], ecx
jge 0x10042a8b
mov eax, dword [ebp + 0x14]
mov dword [ebp + eax*4 - 0x94], esi
inc dword [ebp + 0x14]
jmp 0x10042a46
mov dword [ebp + 0x14], ebx
jmp 0x10042aa1
mov eax, dword [ebp + 0x14]
mov dword [ebp + eax*4 - 0x148], 0xbc9fa8bc
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], 4
jl 0x10042a90
mov dword [ebp + 0x14], ebx
jmp 0x10042abb
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xec]
mov dword [eax + ecx*4], ebx
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], edi
jl 0x10042aac
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x10042ad5
push ebx
mov ecx, 0x4073
call fcn.100410c7
pop ecx
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0x14], ebx
jl 0x10042de6
push esi
lea ecx, [ebp - 0xbc]
call fcn.100038f5
push edi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 4
call fcn.100038f5
push esi
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.100038f5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x28], 0xfffffff8
push 3
call fcn.100038f5
mov byte [ebp - 4], 7
mov eax, 0x5427e557
mov dword [ebp - 0x50], 0xd385e13c
mov dword [ebp - 0x18], 6
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x2c], 0x4b7a
cmp dword [ebp - 0x2c], 0x4f16
jle 0x10042be0
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov edi, ebx
mov dword [ebp - 0x1c], ebx
mov eax, ebx
mov dword [ebp - 0x24], ebx
xor eax, edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], eax
mov edi, ebx
or eax, edi
lea ecx, [ebp - 0x1b0]
cdq
push edx
push eax
call fcn.10001b14
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10042ba0
mov eax, dword [eax]
push eax
call fcn.1004c11f
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x1b0]
call fcn.10003c82
mov eax, dword [ebp - 0x50]
inc edi
cmp edi, 0x1116
jl 0x10042b86
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x2681
jl 0x10042b7c
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x720d
jl 0x10042b77
push 2
pop edi
cmp dword [ebp - 0x2c], 0x49e1
jge 0x10042bf4
push str.mbcf_esqbpkt_lbx
call fcn.1004c11f
pop ecx
push 0xb5c
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 7
push 0x5ac5
push eax
xor dl, dl
lea ecx, [ebp - 0x14]
call fcn.10044d41
add esp, 0xc
lea eax, [ebp - 0x14]
push 0x4335
push ecx
push ebx
push eax
push ecx
push 0x5e69
push 0xace
lea eax, [ebp - 0xd4]
push eax
push ecx
mov ecx, 0x5a47
call fcn.100410e5
xor edx, edx
mov dword [ebp - 0x14], ebx
add esp, 0x24
inc edx
jmp 0x10042c5b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc8]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10042c4c
mov dword [ebp - 0x14], ebx
jmp 0x10042c78
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe0]
mov dword [eax + ecx*4], 0x8f8f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10042c65
mov dword [ebp - 0x14], ebx
jmp 0x10042c90
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb0], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10042c83
lea eax, [ebp - 0x39]
mov byte [ebp - 0x39], bl
push eax
push ecx
push 0x7c19
push ecx
push 0x17cb
mov cl, dl
call fcn.10040f3f
add esp, 0x14
cmp dword [ebp - 0x40], ebx
je 0x10042cda
mov dword [ebp - 0x2c], 0x3978
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + eax*4 - 0x94]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp - 0x148]
mov eax, dword [ebp - 0x94]
mov eax, dword [ebp - 0x28]
xor edx, edx
xor esi, esi
inc esi
cmp eax, esi
mov eax, dword [ebp - 0xc8]
setl dl
xor ecx, ecx
cmp dword [eax], ebx
sete cl
xor eax, eax
cmp ecx, edx
setge al
xor edx, edx
cmp eax, 0xe313559
mov eax, dword [ebp - 0xac]
setg dl
xor ecx, ecx
cmp edx, eax
sete cl
xor edx, edx
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp + 0x14]
lea ecx, [edx + 1]
mov eax, dword [ebp + eax*4 - 0x94]
sub ecx, eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf4], ecx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x18]
dec dword [ebp - 0x18]
cmp eax, ecx
mov esi, dword [ebp + 0x14]
lea ecx, [edx + 1]
mov eax, dword [ebp - 0xbc]
cmovl ecx, ebx
mov dword [eax], esi
mov eax, dword [ebp - 0xe0]
cmp ecx, dword [eax]
mov eax, dword [ebp - 0xec]
sete dl
xor ecx, ecx
neg esi
cmp esi, edx
setg cl
xor edx, edx
cmp ecx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setg cl
xor edx, edx
cmp ecx, 0x350b8378
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x90]
setne cl
xor edx, edx
imul ecx, ecx, 0x72c6
cmp eax, ecx
lea ecx, [ebp - 0xe0]
setge dl
mov dword [ebp - 0x140], edx
call fcn.10003978
lea ecx, [ebp - 0xc8]
call fcn.10003978
lea ecx, [ebp - 0xd4]
call fcn.10003978
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 3
call fcn.10003978
dec dword [ebp + 0x14]
xor esi, esi
inc esi
jmp 0x10042ad8
lea ecx, [ebp - 0xec]
call fcn.10003978
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
push 0x6d1a
push 0x3de0
mov edx, 0x6b8b
mov dword [ebp - 4], 0xa
xor cl, cl
call fcn.10044405
mov eax, dword [ebp + 0x10]
movdqa xmm0, xmmword [0x100743a0]
pop ecx
pop ecx
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x148]
mov dword [ebp - 0x40], 4
mov dword [ebp + 0x14], 0x5ce9
push dword [ebp + 0x14]
movdqu xmmword [ebp - 0x158], xmm0
push eax
lea eax, [ebp - 0x158]
mov dword [ebp - 0x88], ebx
push eax
push ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
call fcn.10006116
push esi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xb
call fcn.100038f5
mov byte [ebp - 4], 0xc
push 7
pop eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x20], ebx
jmp 0x10042eb1
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xa0], 0x1d21f1eb
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x10042ea0
push ecx
push ebx
push ecx
push ecx
lea eax, [ebp - 0x20]
push eax
sub esp, 0x10
lea edx, [ebp - 0x114]
push 0x31b7
call fcn.10041f7a
add esp, 0x28
mov dword [ebp - 0x20], ebx
jmp 0x10042eeb
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x11c], 6
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x10042eda
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp + 0x14]
dec dword [ebp + 0x14]
mov eax, dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
mov dword [ebp + 0x14], ebx
jmp 0x10042f17
mov eax, dword [ebp + 0x14]
mov dword [ebp + eax*4 - 0x168], ebx
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], 4
jl 0x10042f0a
mov eax, dword [ebp - 0x160]
xor ecx, ecx
imul eax, dword [ebp - 0x160]
cmp eax, 0x4a6b
setl cl
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x2c], 0x5844
cmp dword [ebp - 0x2c], 0x5b86
jle 0x10042faa
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp + 0x14], ebx
mov edi, ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], ecx
lea eax, [edi + ebx]
sar eax, cl
mov ecx, 0x10081bf8
cdq
push edx
push eax
call fcn.1000377e
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x2772
jl 0x10042f6c
inc edi
push 0
pop ebx
cmp edi, 0x6329
jl 0x10042f64
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp eax, 0xafe
jl 0x10042f62
push 2
pop edi
mov eax, 0xe7fb108f
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2c], 0x5586
jge 0x10043007
mov edx, str.dumfp_ixng_jfeojxpa_xvgf_bnndecr_hvaix_dhfxyeda_tqux_ukvcspwp
mov ecx, 0x10081bf8
call fcn.100059cc
jmp 0x10043007
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], 0xc
call fcn.10003978
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.10003978
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x1004303f
mov eax, dword [eax]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.100040ea
mov ecx, eax
mov eax, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], ecx
cmp eax, 0xffffffff
je 0x100433ad
cmp eax, dword [ebp - 0x40]
jae 0x100433ad
cmp ecx, 0xffffffff
je 0x10043347
cmp ecx, eax
je 0x1004331c
mov dword [ebp - 0x44], 0xfff9
mov dword [ebp - 0x24], 0x2aa6
mov dword [ebp + 0x14], 0xfffffff6
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x28], 0x747
cmp dword [ebp - 0x28], 0x82a
jle 0x10043123
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x34], ebx
mov edx, ebx
mov dword [ebp - 0x38], 0x1dd2
mov dword [ebp - 0x1c], edx
mov edi, ebx
mov eax, edx
and eax, edi
xor eax, ecx
lea ecx, [ebp - 0x198]
cdq
push edx
push eax
call fcn.10001b14
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100430d9
mov eax, dword [eax]
push eax
call fcn.1004c11f
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x198]
call fcn.10003c82
mov ecx, dword [ebp - 0x18]
inc edi
mov edx, dword [ebp - 0x1c]
cmp edi, 0x5704
jl 0x100430bb
mov eax, dword [ebp - 0x34]
add edx, eax
dec dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
jne 0x100430b9
inc eax
mov dword [ebp - 0x34], eax
cmp eax, 0x34d1
jl 0x100430ad
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x664b
jl 0x100430aa
push 2
pop edi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x28], 0x4ce
jge 0x1004313a
push str.rjmctw_hshxdjqrf_hdqvqfqjl_xssirus_kbar_dwugocrwh_koslv_vbcerglee_duavxu_quraefhkc
call fcn.1004c11f
pop ecx
mov dword [ebp - 4], 0xa
xor edx, edx
inc edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], 0xd53d2ae4
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x78], 0x493a
mov dword [ebp - 0x18], ebx
jmp 0x10043172
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xa8], 0x4e5477a
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10043161
mov eax, dword [ebp - 0x44]
dec eax
neg eax
sbb eax, eax
inc eax
neg eax
jne 0x10043191
mov eax, dword [ebp + 0x14]
mov ecx, ebx
imul eax, dword [ebp - 0x24]
test eax, eax
je 0x10043193
mov ecx, edx
mov eax, dword [ebp - 0x50]
sub ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
setle al
xor ecx, ecx
cmp eax, 0xe6b6cd3
setg cl
add ecx, 0xffff
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp - 0x1c]
cmp edx, eax
sbb eax, eax
inc eax
imul eax, dword [ebp - 0x44]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], ebx
je 0x100431de
push ecx
push ecx
lea edx, [ebp - 0x2d]
mov byte [ebp - 0x2d], bl
call fcn.100439cd
pop ecx
pop ecx
jmp 0x100431fe
mov byte [ebp + 0x17], bl
cmp byte [ebp + 0x17], 0
je 0x10043201
push ecx
push 0x68e8
push ecx
push edx
push ecx
push ecx
mov edx, 0x380
call fcn.100436ae
add esp, 0x18
xor edx, edx
inc edx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x1c], 0x8e6b
sub eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp - 0x44]
jle 0x100432cc
cmp dword [ebp + 0x14], ebx
je 0x100432cc
mov dword [ebp - 0xa8], edx
lea ecx, [ebp - 0x108]
push edx
call fcn.100038f5
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x128]
mov dword [ebp + 0x14], ebx
push edi
call fcn.100038f5
push 0x99e
push 0x6d46
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x12
push eax
xor esi, esi
mov dword [ebp + 0x14], 0x5ab171c2
push 0x2fa8
inc esi
lea edx, [ebp - 0x108]
push esi
xor cl, cl
call fcn.100421a7
add esp, 0xc
lea eax, [ebp - 0x128]
mov ecx, 0x5bf4
push 0x3d02
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.10040cf9
push esi
lea ecx, [ebp - 0x78]
call fcn.100410c7
add esp, 0x1c
lea ecx, [ebp - 0x128]
call fcn.10003978
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0xa
call fcn.10003978
jmp 0x100432f4
push ecx
push ecx
lea eax, [ebp - 0x70]
mov dword [ebp - 0xa8], ebx
push eax
push 0x47a0
push 0x38d
push edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x70], edx
call fcn.10040cf9
xor esi, esi
add esp, 0x18
inc esi
mov eax, dword [ebp + 0x20]
push eax
push ecx
push esi
push 0x1781
push ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x23d3
push ecx
lea ecx, [ebp - 0x54]
call fcn.100410e5
mov ecx, dword [ebp - 0x54]
add esp, 0x24
mov eax, dword [ebp - 0x48]
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x10043332
mov ecx, dword [ecx]
push edx
push eax
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.100040ea
mov ecx, eax
mov eax, dword [ebp - 0x4c]
jmp 0x10043050
push 0x3070
push 0x2207
lea eax, [ebp - 0x68]
xor dl, dl
push eax
push 0x6108
lea eax, [ebp - 0x4c]
mov ecx, 0x4095
push eax
push 0x7151
push ebx
push 0x2f4b
push dword [ebp + 0x20]
push esi
call fcn.10042922
xor eax, eax
mov dword [ebp - 0x5c], edi
inc eax
lea ecx, [ebp - 0x5c]
push eax
push 0x6937
push ecx
push 0x7b5f
push ebx
mov dl, al
mov ecx, 0x5600
call fcn.10041d4a
add esp, 0x38
lea eax, [ebp - 0x5c]
xor dl, dl
push eax
push ecx
call fcn.10040d4c
add esp, 0xc
push ecx
push 0x40a7
push ecx
mov dl, 1
call fcn.10040d4c
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
add esp, 0xc
push eax
call fcn.10045b3b
lea ecx, [ebp - 0x68]
call fcn.10045ef2
jmp 0x10043428
test dl, dl
je 0x100433f3
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.10040b86
pop ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10045d18
jmp 0x10043428
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x1c8]
push eax
call fcn.10045a1d
mov ecx, dword [ebp + 0x24]
push eax
mov dword [ebp - 4], 0x13
call fcn.10045acb
push 0
lea ecx, [ebp - 0x1c8]
push 1
call fcn.1000418d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret