Function at 0x4deb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, ecx
push ebx
sub edx, eax
lea ebx, [eax + 0xe]
mov dword [ebp - 0xc], edx
mov al, byte [ecx + 0xf]
push esi
push edi
mov dword [ebp - 8], ebx
nop
movzx ecx, byte [ebx + 1]
mov ebx, dword [ebp + 0xc]
movzx eax, al
xor ecx, eax
mov dword [ebp + 0x10], 0
mov edx, ecx
mov dword [ebp - 0x18], 0xe
and ecx, 0xf
and edx, 0xfffffff0
add ecx, ecx
mov edi, dword [ebx + ecx*8]
mov esi, dword [ebx + ecx*8 + 4]
mov eax, dword [ebx + ecx*8 + 8]
mov ebx, dword [ebx + ecx*8 + 0xc]
mov ecx, eax
and ecx, 0xf
shrd eax, ebx, 4
shr ebx, 4
mov ecx, dword [ecx*4 + 0x5bedb8]
mov dword [ebp - 4], ecx
mov ecx, edi
shrd ecx, esi, 4
shl edi, 0x1c
xor dword [ebp + 0x10], ecx
or ebx, edi
mov ecx, dword [ebp + 0x10]
shr esi, 4
xor dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
xor ecx, dword [edx + esi]
xor eax, dword [edx + esi + 8]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, dword [edx + esi + 4]
xor ebx, dword [edx + esi + 0xc]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + esi]
movzx ecx, byte [esi]
xor esi, esi
xor edx, ecx
mov ecx, eax
and ecx, 0xf
mov edi, edx
and edx, 0xf
and edi, 0xfffffff0
shl edx, 4
mov dword [ebp - 0x10], edx
mov ebx, dword [ecx*4 + 0x5bedb8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
shl dword [ebp + 0x10], 0x1c
shrd ecx, edx, 4
xor esi, ecx
shr edx, 4
mov ecx, dword [ebp + 0xc]
xor ebx, edx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x10]
xor esi, dword [edx + ecx]
xor ebx, dword [edx + ecx + 4]
mov ecx, dword [ebp - 0x14]
shrd eax, ecx, 4
mov dword [ebp - 0x10], esi
xor esi, esi
or esi, eax
shr ecx, 4
mov eax, dword [ebp + 0x10]
or eax, ecx
mov dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0xc]
xor eax, dword [edx + ecx + 0xc]
xor esi, dword [edx + ecx + 8]
mov ecx, eax
mov edx, dword [ebp + 0xc]
mov eax, esi
and eax, 0xf
shrd esi, ecx, 4
shr ecx, 4
mov eax, dword [eax*4 + 0x5bedb8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
shrd eax, ebx, 4
xor dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
shr ebx, 4
xor eax, ebx
mov ebx, dword [ebp + 0x10]
xor eax, dword [edi + edx + 4]
xor ebx, dword [edi + edx]
mov edx, dword [ebp - 0x10]
shl edx, 0x1c
or edx, ecx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
or eax, esi
mov dword [ebp + 0x10], ebx
mov esi, dword [ebp - 0x1c]
dec esi
xor edx, dword [edi + ecx + 0xc]
xor eax, dword [edi + ecx + 8]
mov ecx, dword [ebp - 0x18]
dec ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
test ecx, ecx
jns 0x4debc4
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub dword [ebp - 0xc], 0x10
bswap ecx
bswap ebx
mov dword [esi], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 4], ebx
sub ecx, 0x10
mov ebx, dword [ebp - 8]
bswap eax
mov dword [esi + 0xc], eax
add ebx, 0x10
bswap edx
shr eax, 0x18
mov dword [esi + 8], edx
mov dword [ebp - 8], ebx
mov dword [ebp + 0x14], ecx
test ecx, ecx
jne 0x4deb40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret