Function at 0x4b5b28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x4b5b31
mov eax, dword [ebp - 4]
add esp, 0xfffff16c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x3e98]
push ecx
mov ecx, 0xfa0
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
test ebx, ebx
js 0x4b5b69
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4b5b62
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4b5b7d
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.004b54ec
test bl, bl
jne 0x4b5c5f
mov dword [ebp - 8], 0x10
lea eax, [ebp - 0x3e98]
mov dword [ebp - 0x14], eax
mov eax, 4
mov edx, dword [ebp + 0x10]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b5bb7
mov eax, 4
mov edx, dword [ebp + 0x10]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b5bcc
push 0x3e7
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.004b59fc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4b5c02
add dword [ebp - 0x14], 0x3e8
dec dword [ebp - 8]
jne 0x4b5bac
mov eax, 4
mov edx, dword [ebp + 0x10]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b5c29
mov eax, 4
mov edx, dword [ebp + 0x10]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4b5c3b
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4b5c50
jmp 0x4b5d27
cmp bl, 1
jne 0x4b5d27
mov dword [ebp - 8], 0xfffffff0
lea ebx, [ebp - 0x400]
mov eax, 4
mov edx, dword [ebp + 0x10]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4b5c80
mov eax, 4
mov edx, dword [ebp + 0x10]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4b5c95
push 0x3e7
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.004b59fc
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4b5ccb
sub ebx, 0x3e8
inc dword [ebp - 8]
jne 0x4b5c75
mov eax, 4
mov edx, dword [ebp + 0x10]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4b5cf6
mov eax, 4
mov ebx, dword [ebp + 0x10]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4b5d08
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0x10]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4b5d1d
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.004b556c
mov edi, dword [ebp - 0x3ea4]
mov esi, dword [ebp - 0x3ea0]
mov ebx, dword [ebp - 0x3e9c]
mov esp, ebp
pop ebp
ret 0xc