Function at 0x5abdcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, str.srcciphers_anubis.c
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x6c], esi
test edi, edi
jne 0x5abe04
push 0x389
push ebx
push str.key___NULL
call fcn.005accb1
add esp, 0xc
test esi, esi
jne 0x5abe1b
push 0x38a
push ebx
push str.skey___NULL
call fcn.005accb1
add esp, 0xc
mov ebx, dword [ebp + 0xc]
test bl, 3
jne 0x5ac212
lea eax, [ebx - 0x10]
cmp eax, 0x18
ja 0x5ac212
shl ebx, 3
mov dword [esi], ebx
sar ebx, 5
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x78], ebx
lea edx, [ebx + 8]
mov dword [esi + 4], edx
je 0x5abe56
cmp dword [ebp + 0x10], edx
je 0x5abe56
push 4
jmp 0x5ac214
and dword [ebp - 0x58], 0
test ebx, ebx
jle 0x5abe8f
mov esi, dword [ebp - 0x58]
inc edi
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
lea edi, [edi + 4]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi - 3]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi - 2]
shl ecx, 8
xor ecx, eax
mov dword [ebp + esi*4 - 0x2c], ecx
inc esi
cmp esi, ebx
jl 0x5abe62
mov esi, dword [ebp - 0x6c]
xor edi, edi
mov dword [ebp - 0x70], edi
test edx, edx
js 0x5ac14b
add esi, 0xc
mov dword [ebp - 0x58], esi
movzx eax, byte [ebp + ebx*4 - 0x2d]
mov ecx, dword [eax*4 + 0x714ed8]
movzx eax, byte [ebp + ebx*4 - 0x2e]
mov dword [ebp - 0x64], ecx
mov eax, dword [eax*4 + 0x714ed8]
mov dword [ebp - 0x68], eax
movzx eax, byte [ebp + ebx*4 - 0x2f]
mov eax, dword [eax*4 + 0x714ed8]
mov dword [ebp - 0x5c], eax
movzx eax, byte [ebp + ebx*4 - 0x30]
mov eax, dword [eax*4 + 0x714ed8]
mov dword [ebp - 0x60], eax
lea eax, [ebx - 2]
mov dword [ebp - 0x74], eax
test eax, eax
js 0x5ac07c
mov ebx, dword [ebp - 0x68]
mov edi, eax
mov edx, ecx
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x7152d8]
mov eax, edx
shr eax, 8
and ecx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff00
xor ecx, eax
movzx eax, byte [ebp + edi*4 - 0x29]
xor ecx, dword [eax*4 + 0x714ed8]
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff000000
xor ecx, eax
movzx eax, dl
movzx edx, byte [eax*4 + 0x7152d8]
mov eax, ebx
shr eax, 0x10
xor edx, ecx
movzx eax, al
mov ecx, dword [eax*4 + 0x7152d8]
mov eax, ebx
shr eax, 8
and ecx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff00
xor ecx, eax
movzx eax, byte [ebp + edi*4 - 0x2a]
xor ecx, dword [eax*4 + 0x714ed8]
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff000000
xor ecx, eax
movzx eax, bl
movzx ebx, byte [eax*4 + 0x7152d8]
mov eax, dword [ebp - 0x5c]
xor ebx, ecx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + 0x7152d8]
mov eax, dword [ebp - 0x5c]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff00
xor ecx, eax
movzx eax, byte [ebp + edi*4 - 0x2b]
xor ecx, dword [eax*4 + 0x714ed8]
mov eax, dword [ebp - 0x5c]
shr eax, 0x18
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp - 0x5c]
movzx eax, al
movzx eax, byte [eax*4 + 0x7152d8]
xor ecx, eax
mov eax, dword [ebp - 0x60]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax*4 + 0x7152d8]
mov eax, dword [ebp - 0x60]
and ecx, 0xff0000
shr eax, 8
movzx eax, al
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff00
xor ecx, eax
movzx eax, byte [ebp + edi*4 - 0x2c]
xor ecx, dword [eax*4 + 0x714ed8]
mov eax, dword [ebp - 0x60]
shr eax, 0x18
mov eax, dword [eax*4 + 0x7152d8]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp - 0x60]
movzx eax, al
movzx eax, byte [eax*4 + 0x7152d8]
xor ecx, eax
sub edi, 1
mov dword [ebp - 0x60], ecx
jns 0x5abef3
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0x64]
lea edx, [ebx + 8]
mov eax, dword [ebp - 0x68]
mov dword [esi], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esi - 4], ecx
mov dword [esi + 8], eax
cmp edi, edx
je 0x5ac148
test ebx, ebx
jle 0x5ac113
or eax, 0xffffffff
mov dword [ebp - 0x64], ebx
lea ecx, [ebx - 1]
mov dword [ebp - 0x68], eax
xor edi, edi
test eax, eax
lea edi, [edi + 4]
mov esi, ecx
mov edx, ecx
cmovns esi, eax
lea eax, [esi - 1]
test eax, eax
cmovns edx, eax
lea eax, [edx - 1]
test eax, eax
cmovns ecx, eax
movzx eax, byte [ebp + ecx*4 - 0x2c]
movzx ecx, byte [ebp + edx*4 - 0x2b]
mov edx, dword [eax*4 + 0x714ad8]
xor edx, dword [ecx*4 + 0x7146d8]
lea ecx, [ebx - 1]
movzx eax, byte [ebp + esi*4 - 0x2a]
xor edx, dword [eax*4 + 0x7142d8]
movzx eax, byte [ebp + edi - 0x2d]
xor edx, dword [eax*4 + 0x713ed8]
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp + edi - 0x58], edx
sub dword [ebp - 0x64], 1
mov dword [ebp - 0x68], eax
jne 0x5ac0aa
mov esi, dword [ebp - 0x58]
lea edx, [ebx + 8]
mov edi, dword [ebp - 0x70]
mov eax, dword [edi*4 + 0x7156d8]
xor eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
cmp ebx, 1
jle 0x5ac136
lea ecx, [ebx - 1]
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x70]
inc edi
add esi, 0x10
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x58], esi
cmp edi, edx
jle 0x5abea2
mov esi, dword [ebp - 0x6c]
mov ebx, edx
lea ecx, [esi + 0x138]
shl ebx, 4
lea edi, [esi + 8]
push 4
add ecx, ebx
pop esi
mov eax, dword [ecx - 0x130]
mov dword [edi + 0x130], eax
mov eax, dword [edi]
lea edi, [edi + 4]
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x5ac15e
mov esi, dword [ebp - 0x6c]
cmp edx, 1
jle 0x5ac20e
lea edi, [esi + 0x148]
add esi, 0xfffffff8
add esi, ebx
dec edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x58], edx
push 4
mov ebx, esi
pop esi
mov edx, dword [ebx]
mov eax, edx
shr eax, 0x10
lea ebx, [ebx + 4]
movzx eax, al
movzx ecx, byte [eax*4 + 0x714ed8]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x7142d8]
movzx eax, byte [eax*4 + 0x714ed8]
xor ecx, dword [eax*4 + 0x7146d8]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x714ed8]
xor ecx, dword [eax*4 + 0x713ed8]
movzx eax, dl
movzx eax, byte [eax*4 + 0x714ed8]
xor ecx, dword [eax*4 + 0x714ad8]
mov dword [edi], ecx
add edi, 4
sub esi, 1
jne 0x5ac19c
mov esi, dword [ebp - 0x6c]
sub esi, 0x10
sub dword [ebp - 0x58], 1
mov dword [ebp - 0x6c], esi
jne 0x5ac197
xor eax, eax
jmp 0x5ac215
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret