Function at 0x4abb60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebp
push esi
mov esi, ecx
mov edx, 4
xor ecx, ecx
push edi
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 0x14]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051de7f
mov ecx, dword [esi + 0xc]
mov ebp, eax
imul ecx, dword [esi + 0x14]
mov dword [esp + 0x14], ebp
shl ecx, 2
push ecx
push 0
push ebp
call fcn.005201d0
mov ecx, dword [esi + 0x14]
add esp, 0x10
xor edi, edi
xor edx, edx
test ecx, ecx
je 0x4abbe0
lea esp, [esp]
mov eax, dword [esi + 0x18]
cmp byte [eax + edx], 0
je 0x4abbc7
lea esp, [esp]
inc edx
cmp byte [eax + edx], 0
jne 0x4abbc0
mov eax, dword [esi + 0xc]
imul eax, edi
inc edi
add eax, edx
inc edx
mov dword [ebp + eax*4], 1
mov ecx, dword [esi + 0x14]
cmp edi, ecx
jb 0x4abbb0
mov edi, dword [esi + 0xc]
mov eax, esi
push ebx
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebx
test edi, edi
je 0x4abdfb
mov edx, ecx
mov ebp, edi
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x18]
mov edi, ebp
mov ecx, edx
cmp byte [ebx + eax], 0
je 0x4abc62
mov edi, ebp
mov ecx, edx
cmp ebx, ebp
jae 0x4abc5e
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, eax
test eax, eax
je 0x4abc4c
mov edi, dword [esp + 0x14]
lea esp, [esp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
imul ecx, edx
inc edx
add ecx, ebx
mov eax, dword [eax + ecx*4]
xor dword [edi + ecx*4], eax
mov ecx, dword [esi + 0x14]
cmp edx, ecx
jb 0x4abc30
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x18]
inc ebx
mov edx, ecx
mov ebp, edi
mov dword [esp + 0x1c], edx
cmp byte [ebx + eax], 0
jne 0x4abc11
mov dword [esp + 0x18], ebx
cmp ebx, edi
je 0x4abdf7
mov edx, dword [esi + 0x1c]
lea ecx, [ebx*4]
mov eax, edi
mov dword [esp + 0x2c], ecx
imul eax, dword [esp + 0x10]
shl eax, 2
add edx, eax
add eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov edx, dword [ecx + edx]
test edx, edx
jne 0x4abc9d
mov dword [esp + 0x1c], edx
jmp 0x4abcb5
mov eax, dword [esi + 4]
mov ecx, 0xffff
sub ecx, dword [eax + edx*4]
mov eax, dword [esi]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
xor ebp, ebp
test edi, edi
je 0x4abd02
mov ebx, dword [esp + 0x20]
mov edi, eax
sub ebx, eax
mov ecx, dword [esi + 4]
lea edi, [edi + 4]
mov eax, dword [ebx + edi - 4]
inc ebp
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
add edx, dword [ecx + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
mov dword [ebx + edi - 4], eax
mov eax, dword [edi - 4]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
add edx, dword [ecx + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
mov dword [edi - 4], eax
cmp ebp, dword [esi + 0xc]
jb 0x4abcc3
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
xor ebp, ebp
mov dword [esp + 0x28], ebp
test ecx, ecx
je 0x4abdd9
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
jmp 0x4abd20
cmp ebp, eax
je 0x4abdc5
mov edx, dword [esi + 0xc]
mov ecx, edx
mov edi, dword [esi + 0x1c]
imul ecx, ebp
mov dword [esp + 0x34], 0
shl ecx, 2
add edi, ecx
lea eax, [ecx + ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edi]
mov dword [esp + 0x1c], eax
test edx, edx
je 0x4abdc1
mov edx, dword [esp + 0x20]
mov eax, edi
mov ebp, dword [esp + 0x30]
neg eax
mov ebx, dword [esp + 0x34]
add edx, eax
add eax, dword [esp + 0x24]
sub ebp, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov eax, dword [edx + edi]
lea edi, [edi + 4]
mov ecx, dword [esi + 4]
inc ebx
mov edx, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
add edx, dword [ecx + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
xor dword [edi - 4], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 4]
mov eax, dword [eax + edi - 4]
mov ecx, dword [edx + eax*4]
mov eax, dword [esp + 0x1c]
add ecx, dword [edx + eax*4]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + ecx*4]
xor dword [edi + ebp - 4], eax
cmp ebx, dword [esi + 0xc]
jb 0x4abd76
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x14]
inc ebp
mov dword [esp + 0x28], ebp
cmp ebp, ecx
jb 0x4abd20
mov ebx, dword [esp + 0x18]
mov edi, dword [esi + 0xc]
inc ebx
inc dword [esp + 0x10]
mov ebp, edi
mov dword [esp + 0x18], ebx
mov edx, ecx
mov dword [esp + 0x1c], ecx
mov eax, esi
cmp ebx, edi
jb 0x4abc04
mov ebp, dword [esp + 0x14]
imul edi, ecx
xor edx, edx
pop ebx
test edi, edi
je 0x4abe1b
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp + edx*4]
mov dword [ecx + edx*4], eax
inc edx
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 0x14]
cmp edx, eax
jb 0x4abe05
push ebp
call fcn.0051de88
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x30
ret