Function at 0x4b765c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x7c]
push ecx
mov ecx, 0x18
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x4b7684
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b767d
mov edx, esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 5], edx
mov byte [ebp - 1], al
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 5]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov byte [edx + ecx], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x4b7694
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b6f00
cmp byte [ebp - 1], 0
jne 0x4b77bb
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b76ce
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b76ec
push 5
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*2 - 0x7c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b74f8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b772a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x4b76c9
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b775d
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b777c
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b779d
jmp 0x4b78b9
cmp byte [ebp - 1], 1
jne 0x4b78b9
mov dword [ebp - 0xc], 0xf
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b77d1
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b77ef
push 5
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*2 - 0x7c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b74f8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b782d
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4b77cc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b7860
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b787f
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x4b78a0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004b6f9c
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
ret 0xc