Function at 0x5afa34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x10]
mov esi, edx
add esi, 0xdeadbeef
add esi, dword [ebp - 0xc]
mov dword [eax], esi
mov esi, dword [eax]
mov dword [ebx], esi
mov esi, dword [eax]
mov dword [ecx], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 4], esi
test byte [ebp - 4], 3
jne 0x5afc72
cmp edx, 0xc
jle 0x5afb25
mov esi, dword [ebp - 4]
mov esi, dword [esi]
add dword [eax], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 4]
add dword [ebx], esi
mov esi, dword [ebp - 4]
mov esi, dword [esi + 8]
add dword [ecx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 4
mov edi, dword [ecx]
shr edi, 0x1c
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 6
mov edi, dword [eax]
shr edi, 0x1a
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 8
mov edi, dword [ebx]
shr edi, 0x18
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 0x10
mov edi, dword [ecx]
shr edi, 0x10
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 0x13
mov edi, dword [eax]
shr edi, 0xd
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 4
mov edi, dword [ebx]
shr edi, 0x1c
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x5afa7a
cmp edx, 0xc
ja case.default.0x5afb2e
jmp dword [edx*4 + 0x5afb35]
mov eax, dword [ecx]
jmp 0x5afee2
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xff
add dword [eax], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffff
add dword [eax], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov edx, dword [edx]
and edx, 0xffffff
add dword [eax], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov edx, dword [edx]
add dword [eax], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov edx, dword [edx + 4]
and edx, 0xff
add dword [ebx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov edx, dword [edx + 4]
and edx, 0xffff
add dword [ebx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov edx, dword [edx + 4]
and edx, 0xffffff
add dword [ebx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov edx, dword [edx + 4]
add dword [ebx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov esi, dword [edx + 4]
add dword [ebx], esi
mov edx, dword [edx + 8]
and edx, 0xff
add dword [ecx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov esi, dword [edx + 4]
add dword [ebx], esi
mov edx, dword [edx + 8]
and edx, 0xffff
add dword [ecx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov esi, dword [edx + 4]
add dword [ebx], esi
mov edx, dword [edx + 8]
and edx, 0xffffff
add dword [ecx], edx
jmp case.default.0x5afb2e
mov edx, dword [ebp - 4]
mov esi, dword [edx]
add dword [eax], esi
mov esi, dword [edx + 4]
add dword [ebx], esi
mov edx, dword [edx + 8]
add dword [ecx], edx
jmp case.default.0x5afb2e
cmp edx, 0xc
jle 0x5afd95
mov esi, dword [ebp - 4]
movzx esi, byte [esi]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 1]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 2]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 3]
shl edi, 0x18
add esi, edi
add dword [eax], esi
mov esi, dword [ebp - 4]
movzx esi, byte [esi + 4]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 5]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 6]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 7]
shl edi, 0x18
add esi, edi
add dword [ebx], esi
mov esi, dword [ebp - 4]
movzx esi, byte [esi + 8]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 9]
shl edi, 8
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 0xa]
shl edi, 0x10
add esi, edi
mov edi, dword [ebp - 4]
movzx edi, byte [edi + 0xb]
shl edi, 0x18
add esi, edi
add dword [ecx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 4
mov edi, dword [ecx]
shr edi, 0x1c
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 6
mov edi, dword [eax]
shr edi, 0x1a
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 8
mov edi, dword [ebx]
shr edi, 0x18
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
mov esi, dword [ecx]
sub dword [eax], esi
mov esi, dword [ecx]
shl esi, 0x10
mov edi, dword [ecx]
shr edi, 0x10
or esi, edi
xor dword [eax], esi
mov esi, dword [ebx]
add dword [ecx], esi
mov esi, dword [eax]
sub dword [ebx], esi
mov esi, dword [eax]
shl esi, 0x13
mov edi, dword [eax]
shr edi, 0xd
or esi, edi
xor dword [ebx], esi
mov esi, dword [ecx]
add dword [eax], esi
mov esi, dword [ebx]
sub dword [ecx], esi
mov esi, dword [ebx]
shl esi, 4
mov edi, dword [ebx]
shr edi, 0x1c
or esi, edi
xor dword [ecx], esi
mov esi, dword [eax]
add dword [ebx], esi
sub edx, 0xc
add dword [ebp - 4], 0xc
cmp edx, 0xc
jg 0x5afc7b
cmp edx, 0xc
ja case.0x5afd9a.12
jmp dword [edx*4 + 0x5afda1]
mov eax, dword [ecx]
jmp 0x5afee2
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xb]
shl edx, 0x18
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0xa]
shl edx, 0x10
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 9]
shl edx, 8
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 8]
add dword [ecx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 7]
shl edx, 0x18
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 6]
shl edx, 0x10
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 5]
shl edx, 8
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 4]
add dword [ebx], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 3]
shl edx, 0x18
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 2]
shl edx, 0x10
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
shl edx, 8
add dword [eax], edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
add dword [eax], edx
mov edx, dword [ebx]
xor dword [ecx], edx
mov edx, dword [ebx]
shl edx, 0xe
mov esi, dword [ebx]
shr esi, 0x12
or edx, esi
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [eax], edx
mov edx, dword [ecx]
shl edx, 0xb
mov esi, dword [ecx]
shr esi, 0x15
or edx, esi
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ebx], edx
mov edx, dword [eax]
shl edx, 0x19
mov esi, dword [eax]
shr esi, 7
or edx, esi
sub dword [ebx], edx
mov edx, dword [ebx]
xor dword [ecx], edx
mov edx, dword [ebx]
shl edx, 0x10
mov esi, dword [ebx]
shr esi, 0x10
or edx, esi
sub dword [ecx], edx
mov edx, dword [ecx]
xor dword [eax], edx
mov edx, dword [ecx]
shl edx, 4
mov esi, dword [ecx]
shr esi, 0x1c
or edx, esi
sub dword [eax], edx
mov edx, dword [eax]
xor dword [ebx], edx
mov edx, dword [eax]
shl edx, 0xe
mov eax, dword [eax]
shr eax, 0x12
or edx, eax
sub dword [ebx], edx
mov eax, dword [ebx]
xor dword [ecx], eax
mov eax, dword [ebx]
shl eax, 0x18
mov edx, dword [ebx]
shr edx, 8
or eax, edx
sub dword [ecx], eax
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret