Function at 0x4422b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x90]
push edi
mov edi, dword [esp + 0x9c]
cmp edi, 0xa
jae 0x4422db
mov eax, 0xffffffec
pop edi
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x98]
lea edx, [eax + ebp]
movzx eax, word [ecx]
mov dword [esp + 0x28], edx
movzx edx, word [ecx + 2]
add ecx, 6
movzx ebx, dx
movzx edx, word [ecx - 2]
mov dword [esp + 0x34], ecx
add ecx, eax
mov dword [esp + 0x38], ecx
add ecx, ebx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x98]
add ecx, 3
sub edi, edx
shr ecx, 2
mov dword [esp + 0x3c], edx
lea edx, [ecx + ebp]
mov dword [esp + 0x2c], edx
add edx, ecx
add ecx, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
sub edi, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
shr ecx, 0x10
sub edi, eax
mov dword [esp + 0x20], edx
movzx edx, cl
sub edi, 6
mov dword [esp + 0x10], edx
cmp edi, dword [esp + 0x9c]
ja 0x4422cc
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x7c]
call fcn.004171f0
cmp eax, 0xffffff88
ja 0x442d20
mov edx, dword [esp + 0x38]
mov eax, ebx
lea ecx, [esp + 0x68]
call fcn.004171f0
cmp eax, 0xffffff88
ja 0x442d20
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov eax, ebx
lea ecx, [esp + 0x54]
call fcn.004171f0
cmp eax, 0xffffff88
ja 0x442d20
mov eax, dword [esp + 0x24]
lea edx, [eax + ebx]
mov eax, edi
lea ecx, [esp + 0x40]
call fcn.004171f0
cmp eax, 0xffffff88
ja 0x442d20
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x40]
add edi, 0xfffffffd
call fcn.00417320
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.00417320
lea ecx, [esp + 0x68]
or ebx, eax
call fcn.00417320
lea ecx, [esp + 0x7c]
or ebx, eax
call fcn.00417320
or ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
cmp dword [esp + 0x1c], edi
sbb ecx, ecx
neg ecx
test ecx, ebx
je 0x442603
mov edi, dword [esp + 0x10]
neg edi
and edi, 0x1f
lea ebx, [ebx]
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, ebx
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, edi
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebx, ecx
mov ecx, dword [esp + 0x6c]
and ecx, 0x1f
add ebp, eax
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x68]
mov eax, ebx
shl eax, cl
mov ecx, edi
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x14]
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add dword [esp + 0x6c], ecx
movzx eax, byte [esi + eax*4 + 7]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x18]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add dword [esp + 0x58], ecx
movzx eax, byte [esi + eax*4 + 7]
add dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add dword [esp + 0x44], ecx
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
and ecx, 0x1f
shl ebx, cl
mov ecx, edi
add ebp, edx
shr ebx, cl
mov ecx, dword [esp + 0x14]
mov dx, word [esi + ebx*4 + 4]
mov word [ecx], dx
movzx edx, byte [esi + ebx*4 + 6]
add eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
movzx eax, byte [esi + ebx*4 + 7]
add ecx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ecx
mov ecx, eax
and ecx, 0x1f
shl edx, cl
mov ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x18]
mov bx, word [esi + edx*4 + 4]
mov word [ecx], bx
movzx ebx, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ecx, edx
mov edx, dword [esp + 0x40]
add eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
mov ecx, ebx
and ecx, 0x1f
shl edx, cl
mov ecx, edi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [eax], cx
movzx ecx, byte [esi + edx*4 + 6]
movzx edx, byte [esi + edx*4 + 7]
add ebx, ecx
add eax, edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], eax
call fcn.00417320
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.00417320
lea ecx, [esp + 0x68]
or ebx, eax
call fcn.00417320
lea ecx, [esp + 0x7c]
or ebx, eax
call fcn.00417320
or ebx, eax
mov eax, dword [esp + 0x28]
neg ebx
sbb ebx, ebx
add eax, 0xfffffffd
inc ebx
cmp dword [esp + 0x20], eax
sbb eax, eax
neg eax
test eax, ebx
jne 0x442420
mov ebx, dword [esp + 0x2c]
cmp ebp, ebx
ja 0x4422cc
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x30]
ja 0x4422cc
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x1c]
ja 0x4422cc
lea ecx, [esp + 0x7c]
lea edi, [ebx - 3]
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb ecx, ecx
neg ecx
test ecx, eax
je 0x4426d0
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, edi
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebx
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
add ebp, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add edi, eax
add ebp, ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x80], edi
call fcn.00417320
mov edx, eax
mov eax, dword [esp + 0x2c]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp ebp, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x442653
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x7c]
add ebx, 0xfffffffe
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x44273e
mov edi, dword [esp + 0x10]
neg edi
and edi, 0x1f
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x80], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x7c]
add ebp, edx
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x4426f3
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
cmp ebp, ebx
ja 0x442791
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov ecx, edx
and ecx, 0x1f
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebp, eax
add edx, ecx
cmp ebp, ebx
jbe 0x442760
mov dword [esp + 0x80], edx
cmp ebp, dword [esp + 0x2c]
jae 0x4427ea
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr edi, cl
mov cl, byte [esi + edi*4 + 4]
mov byte [ebp], cl
cmp byte [esi + edi*4 + 7], 1
jne 0x4427c7
movzx eax, byte [esi + edi*4 + 6]
add edx, eax
mov dword [esp + 0x80], edx
jmp 0x4427ea
cmp edx, 0x20
jae 0x4427ea
movzx ecx, byte [esi + edi*4 + 6]
add edx, ecx
mov dword [esp + 0x80], edx
cmp edx, 0x20
jbe 0x4427ea
mov dword [esp + 0x80], 0x20
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x68]
add edi, 0xfffffffd
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb edx, edx
neg edx
test edx, eax
je 0x442889
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ecx, edi
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebx
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
add ebp, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add edi, eax
add ebp, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], edi
call fcn.00417320
mov edx, eax
mov eax, dword [esp + 0x30]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp ebp, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x442816
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x68]
add ebx, 0xfffffffe
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x4428f5
mov edi, dword [esp + 0x10]
neg edi
and edi, 0x1f
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x6c], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x68]
add ebp, edx
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x4428b0
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
cmp ebp, ebx
ja 0x44293e
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
mov edi, edi
mov ecx, edx
and ecx, 0x1f
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebp, eax
add edx, ecx
cmp ebp, ebx
jbe 0x442910
mov dword [esp + 0x6c], edx
cmp ebp, dword [esp + 0x30]
jae 0x44298e
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr edi, cl
mov cl, byte [esi + edi*4 + 4]
mov byte [ebp], cl
cmp byte [esi + edi*4 + 7], 1
jne 0x442971
movzx eax, byte [esi + edi*4 + 6]
add edx, eax
mov dword [esp + 0x6c], edx
jmp 0x44298e
cmp edx, 0x20
jae 0x44298e
movzx ecx, byte [esi + edi*4 + 6]
add edx, ecx
mov dword [esp + 0x6c], edx
cmp edx, 0x20
jbe 0x44298e
mov dword [esp + 0x6c], 0x20
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x54]
add edi, 0xfffffffd
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebp, edi
sbb edx, edx
neg edx
test edx, eax
je 0x442a33
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
mov edi, edi
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, edi
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebx
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
add ebp, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add edi, eax
add ebp, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], edi
call fcn.00417320
mov edx, eax
mov eax, dword [esp + 0x1c]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp ebp, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x4429c0
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
add ebx, 0xfffffffe
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x442a9f
mov edi, dword [esp + 0x10]
neg edi
and edi, 0x1f
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x58], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x54]
add ebp, edx
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x442a5a
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
cmp ebp, ebx
ja 0x442ae6
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
mov ecx, edx
and ecx, 0x1f
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebp, eax
add edx, ecx
cmp ebp, ebx
jbe 0x442ab8
mov dword [esp + 0x58], edx
cmp ebp, dword [esp + 0x1c]
jae 0x442b36
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr edi, cl
mov cl, byte [esi + edi*4 + 4]
mov byte [ebp], cl
cmp byte [esi + edi*4 + 7], 1
jne 0x442b19
movzx eax, byte [esi + edi*4 + 6]
add edx, eax
mov dword [esp + 0x58], edx
jmp 0x442b36
cmp edx, 0x20
jae 0x442b36
movzx ecx, byte [esi + edi*4 + 6]
add edx, ecx
mov dword [esp + 0x58], edx
cmp edx, 0x20
jbe 0x442b36
mov dword [esp + 0x58], 0x20
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.00417320
mov edx, eax
mov eax, dword [esp + 0x28]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp ebp, eax
sbb eax, eax
neg eax
test eax, edx
je 0x442be3
mov ebx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
jmp 0x442b70
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov ecx, edi
and ecx, 0x1f
mov eax, edx
shl eax, cl
mov ecx, ebx
shr eax, cl
movzx ecx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add edi, ecx
mov ecx, edi
and ecx, 0x1f
shl edx, cl
mov ecx, ebx
add ebp, eax
shr edx, cl
movzx ecx, word [esi + edx*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + edx*4 + 7]
movzx eax, byte [esi + edx*4 + 6]
add edi, eax
add ebp, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edi
call fcn.00417320
mov edx, eax
mov eax, dword [esp + 0x28]
neg edx
sbb edx, edx
add eax, 0xfffffffd
inc edx
cmp ebp, eax
sbb eax, eax
neg eax
test eax, edx
jne 0x442b70
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x40]
add ebx, 0xfffffffe
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
je 0x442c4f
mov edi, dword [esp + 0x10]
neg edi
and edi, 0x1f
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, edx
and ecx, 0x1f
shl eax, cl
mov ecx, edi
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
add edx, ecx
mov dword [esp + 0x44], edx
movzx edx, byte [esi + eax*4 + 7]
lea ecx, [esp + 0x40]
add ebp, edx
call fcn.00417320
neg eax
sbb eax, eax
inc eax
cmp ebx, ebp
sbb ecx, ecx
inc ecx
test ecx, eax
jne 0x442c0a
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
cmp ebp, ebx
ja 0x442c96
mov eax, dword [esp + 0x10]
neg eax
and eax, 0x1f
mov dword [esp + 0x24], eax
mov ecx, edx
and ecx, 0x1f
mov eax, edi
shl eax, cl
mov ecx, dword [esp + 0x24]
shr eax, cl
mov cx, word [esi + eax*4 + 4]
mov word [ebp], cx
movzx ecx, byte [esi + eax*4 + 6]
movzx eax, byte [esi + eax*4 + 7]
add ebp, eax
add edx, ecx
cmp ebp, ebx
jbe 0x442c68
mov dword [esp + 0x44], edx
cmp ebp, dword [esp + 0x28]
jae 0x442ce6
mov ecx, edx
and ecx, 0x1f
shl edi, cl
mov ecx, dword [esp + 0x10]
neg ecx
and ecx, 0x1f
shr edi, cl
mov cl, byte [esi + edi*4 + 4]
mov byte [ebp], cl
cmp byte [esi + edi*4 + 7], 1
jne 0x442cc9
movzx eax, byte [esi + edi*4 + 6]
add edx, eax
mov dword [esp + 0x44], edx
jmp 0x442ce6
cmp edx, 0x20
jae 0x442ce6
movzx ecx, byte [esi + edi*4 + 6]
add edx, ecx
mov dword [esp + 0x44], edx
cmp edx, 0x20
jbe 0x442ce6
mov dword [esp + 0x44], 0x20
lea eax, [esp + 0x40]
call fcn.004497f0
mov edx, eax
lea eax, [esp + 0x54]
call fcn.004497f0
and edx, eax
lea eax, [esp + 0x68]
call fcn.004497f0
and edx, eax
lea eax, [esp + 0x7c]
call fcn.004497f0
test eax, edx
mov eax, 0xffffffec
je 0x442d20
mov eax, dword [esp + 0x98]
pop edi
pop ebp
pop ebx
add esp, 0x84
ret