Function at 0x528d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x528d37
push 0xaf
push str.srcciphers_noekeon.c
push str.skey___NULL
call fcn.0052cf10
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x528d54
push 0xb0
push str.srcciphers_noekeon.c
push str.pt___NULL
call fcn.0052cf10
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
jne 0x528d72
push 0xb1
push str.srcciphers_noekeon.c
push str.ct___NULL
call fcn.0052cf10
add esp, 0xc
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 4]
movzx ebx, byte [esi + 8]
shl edx, 8
or edx, eax
shl ecx, 8
movzx eax, byte [esi + 2]
shl edx, 8
or edx, eax
shl ebx, 8
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
mov dword [ebp - 8], 0x561ed8
movzx eax, byte [esi + 5]
or ecx, eax
mov dword [ebp - 4], edx
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
or ebx, eax
mov dword [ebp + 8], ecx
movzx eax, byte [esi + 0xa]
movzx ecx, byte [esi + 0xd]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xc]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xe]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 0xf]
shl eax, 8
or eax, ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xc], ecx
mov esi, ebx
xor esi, edx
mov edx, esi
mov ecx, esi
ror ecx, 8
rol edx, 8
xor edx, ecx
mov ecx, dword [ebp - 0x10]
xor esi, edx
mov edx, dword [ebp + 8]
xor ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0x14]
xor ecx, esi
mov dword [ebp + 8], edx
xor eax, ecx
mov esi, eax
rol eax, 2
xor esi, edx
mov edi, eax
mov edx, esi
mov ecx, esi
rol edx, 8
ror ecx, 8
xor edx, ecx
xor esi, edx
mov edx, dword [ebp - 0x18]
xor edx, esi
xor edx, ebx
mov ebx, dword [ebp + 8]
rol edx, 5
or eax, edx
mov ecx, edx
not eax
xor ebx, eax
mov eax, dword [ebp - 8]
and ecx, ebx
mov dword [ebp + 8], ebx
mov ebx, edi
xor ebx, edx
mov edx, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, edx
xor eax, dword [ebp - 0xc]
xor eax, esi
xor eax, dword [ebp - 4]
rol eax, 1
xor eax, ecx
xor ebx, eax
mov ecx, ebx
or ecx, eax
ror eax, 2
not ecx
xor edx, ecx
mov ecx, ebx
and ecx, edx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ecx
mov edx, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
sub ecx, 4
ror edx, 1
ror ebx, 5
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
cmp ecx, 0x561e98
jg 0x528e12
mov edi, dword [ebp + 0x10]
mov esi, ebx
xor esi, edx
mov edx, esi
mov ecx, esi
ror ecx, 8
rol edx, 8
xor edx, ecx
mov ecx, dword [edi + 0x14]
xor esi, edx
mov edx, dword [ebp + 8]
xor ecx, esi
xor edx, ecx
mov ecx, dword [edi + 0x1c]
xor ecx, esi
mov dword [ebp + 8], edx
xor eax, ecx
mov esi, eax
xor esi, edx
mov edx, esi
mov ecx, esi
ror ecx, 8
rol edx, 8
xor edx, ecx
mov ecx, dword [edi + 0x18]
xor esi, edx
mov edx, dword [ebp - 0xc]
xor ecx, esi
xor edx, esi
mov esi, dword [ebp + 0xc]
xor ebx, ecx
xor edx, dword [ebp - 4]
xor edx, 0x80
mov ecx, edx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 3], dl
mov edx, dword [ebp + 8]
mov ecx, edx
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [esi + 6], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 8], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 9], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 0xd], cl
mov ecx, eax
shr ecx, 8
pop edi
mov byte [esi + 0xb], bl
mov byte [esi + 0xf], al
xor eax, eax
mov byte [esi + 7], dl
mov byte [esi + 0xe], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret