Function at 0x4b3b5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4b3b65
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x24], ecx
mov edi, edx
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4b3ddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
mov eax, dword [ebp + 0x10]
call fcn.00499ff0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b3db2
shr ebx, 3
mov eax, dword [ebp - 0x24]
jmp 0x4b3bab
inc eax
dec dword [ebp + 0x24]
cmp dword [ebp + 0x24], 0
jle 0x4b3bb6
cmp byte [eax], 0
je 0x4b3ba7
mov dword [ebp - 0x24], eax
mov esi, ebx
add esi, esi
mov eax, dword [ebp + 0x24]
sub eax, esi
sub eax, 2
cmp edi, eax
jg 0x4b3db2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x24]
jge 0x4b3be4
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x24]
mov dword [eax], edx
jmp 0x4b3db2
push 0
mov ecx, dword [ebp + 0x10]
mov dl, 1
mov eax, dword [0x4ceb38]
call fcn.004cec64
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x2c]
call fcn.004ceeb4
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x2c]
call fcn.004ceebc
lea eax, [ebp - 0x2c]
call fcn.0040fb10
mov eax, dword [ebp + 0x24]
sub eax, edi
sub eax, esi
sub eax, 2
mov esi, eax
push esi
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, esi
call fcn.00403a34
lea eax, [esi + ebx]
add eax, edi
inc eax
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
lea eax, [ebp - 4]
call fcn.004058d8
mov edx, dword [ebp - 0xc]
mov ecx, ebx
call fcn.0040312c
mov eax, dword [ebp - 0xc]
lea edx, [eax + ebx]
mov eax, dword [ebp - 8]
mov ecx, esi
call fcn.0040312c
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov byte [edx + eax], 1
add esi, ebx
mov eax, dword [ebp - 0xc]
lea edx, [eax + esi + 1]
mov eax, dword [ebp - 0x20]
mov ecx, edi
call fcn.0040312c
push ebx
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, ebx
call fcn.0049a40c
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x24]
sub ecx, ebx
dec ecx
mov eax, dword [ebp - 0x10]
mov edx, ebx
call fcn.004b33bc
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov edx, eax
dec edx
test edx, edx
jl 0x4b3d00
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + eax]
mov esi, dword [ebp - 0xc]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4b3cef
mov eax, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.004b33bc
mov eax, dword [ebp - 0x10]
call fcn.00406ae0
mov edx, eax
dec edx
test edx, edx
jl 0x4b3d3f
inc edx
xor eax, eax
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + eax]
mov esi, dword [ebp - 0x10]
xor byte [esi + eax], cl
inc eax
dec edx
jne 0x4b3d2e
mov eax, dword [ebp + 0x24]
push eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x496de0]
call fcn.00406c9c
add esp, 4
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov ecx, ebx
call fcn.0040312c
mov eax, dword [ebp - 0xc]
call fcn.00406ae0
mov ecx, eax
inc ebx
mov eax, dword [ebp - 0x1c]
lea edx, [eax + ebx]
mov eax, dword [ebp - 0xc]
call fcn.0040312c
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00406ae0
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x24]
call fcn.004b3574
mov byte [ebp - 0x25], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3de2
lea eax, [ebp - 0x1c]
mov edx, dword [0x496de0]
mov ecx, 6
call fcn.00406130
lea eax, [ebp - 4]
call fcn.004053e8
ret