Function at 0x41be04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
not ebx
test edi, edi
je 0x41be3e
test cl, 3
je 0x41be3e
mov esi, 0x465870
movzx eax, byte [ecx]
xor al, bl
movzx edx, al
mov eax, ebx
shr eax, 8
mov ebx, eax
xor ebx, dword [esi + edx*4]
inc ecx
dec edi
je 0x41be3e
test cl, 3
jne 0x41be23
mov esi, ecx
cmp edi, 0x1f
jbe 0x41c015
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
sub edi, 0x20
cmp edi, 0x1f
ja 0x41be49
cmp edi, 3
jbe 0x41c05a
xor ebx, dword [esi]
add esi, 4
movzx eax, bl
movzx ecx, bh
mov edx, dword [eax*4 + 0x466470]
xor edx, dword [ecx*4 + 0x466070]
mov eax, ebx
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0x465c70]
mov eax, ebx
shr eax, 0x18
mov ebx, edx
xor ebx, dword [eax*4 + 0x465870]
sub edi, 4
cmp edi, 3
ja 0x41c01a
mov ecx, esi
test edi, edi
je 0x41c07b
mov esi, 0x465870
movzx eax, byte [ecx]
xor al, bl
movzx edx, al
mov eax, ebx
shr eax, 8
mov ebx, eax
xor ebx, dword [esi + edx*4]
inc ecx
dec edi
jne 0x41c065
not ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret