Function at 0x460dac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa18
mov ecx, 0x40
push ebx
push esi
push edi
lea edi, [ebp - 0x118]
mov esi, 0x5d53e4
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x218]
mov ecx, 0x40
mov esi, 0x5d54e4
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x2d8]
mov ecx, 0x30
mov esi, 0x5d55e4
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5d56a4]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [0x5d56a8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x460]
lea eax, [ebp - 0x3d8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x4e8]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ebx, ecx
mov ecx, esi
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov byte [ecx], 0
mov byte [ebx], 0
inc edx
inc ebx
inc ecx
inc eax
cmp edx, 7
jle 0x460e29
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 8
add esi, 8
add dword [ebp - 0x10], 8
cmp dword [ebp - 0xc], 0xf
jle 0x460e1d
xor edx, edx
lea eax, [ebp - 0x528]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x5e8]
lea eax, [ebp - 0x318]
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x358]
lea esi, [ebp - 0x568]
lea ecx, [ebp - 0x5a8]
mov byte [eax], 0
mov byte [edx], 0
mov byte [ecx], 0
inc ecx
mov ebx, dword [ebp - 0x18]
inc edx
inc eax
mov byte [ebx], 0
mov ebx, dword [ebp - 0x14]
mov byte [ebx], 0
mov byte [esi], 0
inc dword [ebp - 0xc]
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
inc esi
cmp dword [ebp - 0xc], 0x3f
jle 0x460e7e
lea eax, [ebp - 0x3d8]
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004604d8
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0046042c
add esp, 8
xor edx, edx
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x14], ecx
lea esi, [ebp - 0x118]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x14]
add esi, 4
mov dl, byte [ebp + eax - 0x319]
mov byte [ecx], dl
inc dword [ebp - 0xc]
inc dword [ebp - 0x14]
cmp dword [ebp - 0xc], 0x3f
jle 0x460ee3
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x358]
push edx
call fcn.0045ffc0
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x468]
mov edx, dword [ebp - 0x14]
mov cl, byte [edx]
mov byte [esi], cl
inc dword [ebp - 0xc]
inc esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0xc], 3
jle 0x460f24
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x3e0]
lea esi, [ebp - 4]
mov dword [ebp - 0x14], eax
mov al, byte [esi]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x14]
inc esi
cmp dword [ebp - 0xc], 7
jle 0x460f4b
mov dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x360]
lea eax, [ebp - 0x470]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x3e0]
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov eax, esi
mov bl, byte [eax]
mov byte [ecx], bl
inc edx
inc ecx
inc eax
cmp edx, 3
jle 0x460f85
lea eax, [ebp - 0x5a8]
push eax
mov edx, dword [ebp - 0xc]
shl edx, 3
lea ecx, [ebp - 0x460]
add edx, ecx
push edx
call fcn.0046042c
add esp, 8
xor edx, edx
lea eax, [ebp - 0x5e8]
lea ecx, [ebp - 0x2d8]
mov ebx, dword [ecx]
add ecx, 4
inc edx
mov bl, byte [ebp + ebx - 0x5a9]
mov byte [eax], bl
inc eax
cmp edx, 0x2f
jle 0x460fbd
mov eax, dword [ebp - 0xc]
shl eax, 3
lea edx, [ebp - 0x460]
add eax, edx
push eax
lea ecx, [ebp - 0x5e8]
push ecx
call fcn.0045ffc0
add esp, 8
xor edx, edx
mov ecx, esi
mov eax, dword [ebp - 0x18]
mov bl, byte [eax]
xor byte [ecx], bl
inc edx
inc ecx
inc eax
cmp edx, 5
jle 0x460ff7
mov eax, dword [ebp - 0xc]
shl eax, 3
lea edx, [ebp - 0x460]
add eax, edx
push eax
call fcn.004606b0
pop ecx
xor edx, edx
mov eax, esi
mov ecx, dword [ebp - 0x14]
add ecx, 8
mov bl, byte [ecx]
inc ecx
xor bl, byte [eax]
inc edx
mov byte [eax - 8], bl
inc eax
cmp edx, 3
jle 0x461022
dec dword [ebp - 0xc]
add dword [ebp - 0x18], 0xfffffff8
add esi, 0xfffffff8
add dword [ebp - 0x14], 0xfffffff8
cmp dword [ebp - 0xc], 1
jge 0x460f7e
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x460]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov esi, edx
mov edx, dword [ebp - 0x18]
mov cl, byte [edx]
mov byte [esi], cl
inc dword [ebp - 0xc]
inc esi
inc dword [ebp - 0x18]
cmp dword [ebp - 0xc], 3
jle 0x46105c
mov dword [ebp - 0xc], 4
mov eax, dword [ebp + 0x10]
lea esi, [ebp - 0x4e8]
lea edx, [eax + 4]
mov dword [ebp - 0x18], edx
mov al, byte [esi]
mov edx, dword [ebp - 0x18]
mov byte [edx], al
inc dword [ebp - 0xc]
inc dword [ebp - 0x18]
inc esi
cmp dword [ebp - 0xc], 7
jle 0x461086
lea ecx, [ebp - 0x528]
push ecx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0046042c
add esp, 8
xor edx, edx
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x18], eax
lea esi, [ebp - 0x568]
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx]
mov al, byte [ebp + ecx - 0x529]
mov byte [esi], al
inc dword [ebp - 0xc]
inc esi
add dword [ebp - 0x18], 4
cmp dword [ebp - 0xc], 0x3f
jle 0x4610c1
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x568]
push ecx
call fcn.0045ffc0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret