Function at 0xf52efd
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
not eax
je 0xf52d49
push ebp
push edi
push esi
push ebx
sub esp, 8
jmp 0xf5295e
add edx, 1
mov ebx, eax
shr eax, 8
xor bl, byte [edx - 1]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x8786a0]
sub ecx, 1
je 0xf52d3f
test dl, 3
jne 0xf52940
cmp ecx, 0x1f
mov ebx, edx
jbe 0xf52b2c
lea ebx, [ecx - 0x20]
mov esi, edx
mov dword [esp + 4], edx
mov dword [esp], ebx
and ebx, 0xffffffe0
lea ebx, [edx + ebx + 0x20]
xor eax, dword [esi]
mov edx, eax
mov ebp, eax
shr edx, 0x10
shr ebp, 0x18
movzx edi, dl
movzx edx, al
movzx eax, ah
mov edx, dword [edx*4 + 0x8792a0]
xor edx, dword [ebp*4 + 0x8786a0]
xor edx, dword [esi + 4]
xor edx, dword [eax*4 + 0x878ea0]
xor edx, dword [edi*4 + 0x878aa0]
mov eax, edx
mov ebp, edx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, dl
movzx edx, dh
mov eax, dword [eax*4 + 0x8792a0]
xor eax, dword [ebp*4 + 0x8786a0]
xor eax, dword [esi + 8]
xor eax, dword [edx*4 + 0x878ea0]
xor eax, dword [edi*4 + 0x878aa0]
mov edx, eax
mov ebp, eax
shr edx, 0x10
shr ebp, 0x18
movzx edi, dl
movzx edx, al
movzx eax, ah
mov edx, dword [edx*4 + 0x8792a0]
xor edx, dword [ebp*4 + 0x8786a0]
xor edx, dword [esi + 0xc]
xor edx, dword [eax*4 + 0x878ea0]
xor edx, dword [edi*4 + 0x878aa0]
mov eax, edx
mov ebp, edx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, dl
movzx edx, dh
mov eax, dword [eax*4 + 0x8792a0]
xor eax, dword [ebp*4 + 0x8786a0]
xor eax, dword [esi + 0x10]
xor eax, dword [edx*4 + 0x878ea0]
xor eax, dword [edi*4 + 0x878aa0]
mov edx, eax
mov ebp, eax
shr edx, 0x10
shr ebp, 0x18
movzx edi, dl
movzx edx, al
movzx eax, ah
mov edx, dword [edx*4 + 0x8792a0]
xor edx, dword [ebp*4 + 0x8786a0]
xor edx, dword [esi + 0x14]
xor edx, dword [eax*4 + 0x878ea0]
xor edx, dword [edi*4 + 0x878aa0]
mov eax, edx
mov ebp, edx
shr eax, 0x10
shr ebp, 0x18
add esi, 0x20
movzx edi, al
movzx eax, dl
movzx edx, dh
mov eax, dword [eax*4 + 0x8792a0]
xor eax, dword [ebp*4 + 0x8786a0]
xor eax, dword [esi - 8]
xor eax, dword [edx*4 + 0x878ea0]
xor eax, dword [edi*4 + 0x878aa0]
mov edx, eax
mov ebp, eax
shr edx, 0x10
shr ebp, 0x18
movzx edi, dl
movzx edx, al
movzx eax, ah
mov edx, dword [edx*4 + 0x8792a0]
xor edx, dword [ebp*4 + 0x8786a0]
xor edx, dword [esi - 4]
xor edx, dword [eax*4 + 0x878ea0]
xor edx, dword [edi*4 + 0x878aa0]
mov eax, edx
mov ebp, edx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, dl
movzx edx, dh
mov eax, dword [eax*4 + 0x8792a0]
xor eax, dword [ebp*4 + 0x8786a0]
xor eax, dword [edx*4 + 0x878ea0]
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, ebx
jne 0xf52981
mov ebx, dword [esp]
mov edx, dword [esp + 4]
and ecx, 0x1f
and ebx, 0xffffffe0
lea ebx, [edx + ebx + 0x20]
cmp ecx, 3
jbe 0xf52cfc
xor eax, dword [ebx]
mov edx, eax
mov esi, eax
shr edx, 0x10
shr esi, 0x18
movzx edi, dl
movzx edx, al
mov esi, dword [esi*4 + 0x8786a0]
xor esi, dword [edx*4 + 0x8792a0]
movzx edx, ah
mov eax, dword [edx*4 + 0x878ea0]
xor eax, esi
lea esi, [ecx - 4]
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
mov dword [esp], esi
jbe 0xf52cef
xor eax, dword [ebx + 4]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x8786a0]
xor ebp, dword [esi*4 + 0x8792a0]
movzx esi, ah
mov eax, dword [esi*4 + 0x878ea0]
mov edx, edi
lea esi, [ecx - 8]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
jbe 0xf52cef
xor eax, dword [ebx + 8]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x8786a0]
xor ebp, dword [esi*4 + 0x8792a0]
movzx esi, ah
mov eax, dword [esi*4 + 0x878ea0]
mov edx, edi
lea esi, [ecx - 0xc]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
jbe 0xf52cef
xor eax, dword [ebx + 0xc]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x8786a0]
xor ebp, dword [esi*4 + 0x8792a0]
movzx esi, ah
mov eax, dword [esi*4 + 0x878ea0]
mov edx, edi
lea esi, [ecx - 0x10]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
jbe 0xf52cef
xor eax, dword [ebx + 0x10]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x8786a0]
xor ebp, dword [esi*4 + 0x8792a0]
movzx esi, ah
mov eax, dword [esi*4 + 0x878ea0]
mov edx, edi
lea esi, [ecx - 0x14]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
jbe 0xf52cef
xor eax, dword [ebx + 0x14]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x8786a0]
xor ebp, dword [esi*4 + 0x8792a0]
movzx esi, ah
mov eax, dword [esi*4 + 0x878ea0]
mov edx, edi
lea esi, [ecx - 0x18]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
cmp esi, 3
jbe 0xf52cef
xor eax, dword [ebx + 0x18]
mov esi, eax
movzx ebp, al
mov edi, eax
shr esi, 0x18
mov ebp, dword [ebp*4 + 0x8792a0]
shr edi, 0x10
xor ebp, dword [esi*4 + 0x8786a0]
movzx esi, ah
mov edx, edi
mov eax, dword [esi*4 + 0x878ea0]
movzx edi, dl
xor eax, ebp
xor eax, dword [edi*4 + 0x878aa0]
mov edx, dword [esp]
and ecx, 3
and edx, 0xfffffffc
lea ebx, [ebx + edx + 4]
test ecx, ecx
je 0xf52d3f
mov edx, eax
xor dl, byte [ebx]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x8786a0]
cmp ecx, 1
je 0xf52d3f
mov edx, eax
xor dl, byte [ebx + 1]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x8786a0]
cmp ecx, 2
je 0xf52d3f
mov edx, eax
xor dl, byte [ebx + 2]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x8786a0]
add esp, 8
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
not eax
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0xf52f12
jmp 0xf5292d
xor eax, eax
ret