Function at 0x528f90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x528fb4
push 0x79
push str.srcciphers_noekeon.c
push str.skey___NULL
call fcn.0052cf10
add esp, 0xc
mov esi, dword [ebp + 8]
test esi, esi
jne 0x528fcf
push 0x7a
push str.srcciphers_noekeon.c
push str.pt___NULL
call fcn.0052cf10
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x528fe9
push 0x7b
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
movzx eax, byte [esi + 5]
or ecx, eax
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 + 0x10], 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 + 4]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi]
mov dword [ebp - 0x10], ecx
mov ecx, 0x561e98
mov dword [ebp - 4], ecx
xor edx, dword [ecx]
mov esi, ebx
xor esi, edx
mov dword [ebp + 8], edx
mov edx, esi
mov ecx, esi
rol edx, 8
ror ecx, 8
xor edx, ecx
mov ecx, dword [ebp - 8]
xor esi, edx
mov edx, dword [ebp + 0x10]
xor ecx, esi
xor edx, ecx
mov ecx, dword [ebp - 0xc]
xor ecx, esi
mov dword [ebp + 0x10], 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 - 0x14]
xor edx, esi
xor edx, ebx
mov ebx, dword [ebp + 0x10]
rol edx, 5
or eax, edx
mov ecx, edx
not eax
xor ebx, eax
mov eax, dword [ebp - 0x10]
and ecx, ebx
mov dword [ebp + 0x10], ebx
xor eax, esi
mov ebx, edi
xor eax, dword [ebp + 8]
xor ebx, edx
mov edx, dword [ebp + 0x10]
xor ebx, edx
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, dword [ebp - 4]
mov dword [ebp + 0x10], edx
add ecx, 4
mov edx, ebx
mov dword [ebp - 4], ecx
and edx, dword [ebp + 0x10]
xor edx, edi
ror ebx, 5
ror edx, 1
cmp ecx, 0x561ed8
jl 0x529086
xor edx, 0xd4
mov esi, ebx
xor esi, edx
mov dword [ebp + 8], 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 edx, esi
xor ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
xor edx, esi
xor eax, edx
mov esi, eax
xor esi, ecx
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 esi, dword [ebp + 0xc]
xor ebx, ecx
mov ecx, edx
shr ecx, 0x18
pop edi
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 + 0x10]
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
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