Function at 0x408700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4902b4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ecx + 4]
lea eax, [ecx + eax*4]
mov ecx, dword [ecx]
push ebx
mov ebx, dword [eax + 8]
xor ebx, dword [edx]
push esi
mov esi, dword [eax + 0xc]
xor esi, dword [edx + 4]
mov dword [ebp - 0x40], ebx
mov ebx, dword [eax + 0x14]
xor ebx, dword [edx + 0xc]
push edi
mov edi, dword [eax + 0x10]
add eax, 0x18
xor edi, dword [edx + 8]
sar ecx, 1
dec ecx
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x44], ecx
test ecx, ecx
jle 0x40897b
nop dword [eax + eax]
shr edx, 0x18
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x494760]
xor edx, dword [ecx*4 + 0x494b60]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x495b60]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
mov dword [ebp - 0x34], edx
movzx edx, cl
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x494b60]
xor edx, dword [ecx*4 + 0x495760]
mov ecx, ebx
mov ebx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x494760]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x495b60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x3c], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x495760]
xor ebx, dword [edx*4 + 0x494760]
mov edx, dword [ebp - 0x40]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shr edx, 8
xor ebx, dword [ecx*4 + 0x494b60]
mov ecx, dword [ebp - 0x2c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x495b60]
xor ebx, dword [eax + 8]
mov ecx, dword [ebp - 0x30]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x2c]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x494760]
xor ebx, dword [ecx*4 + 0x494b60]
movzx ecx, dl
xor ebx, dword [ecx*4 + 0x495760]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x495b60]
xor ebx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x48]
mov edx, ebx
shr ecx, 0x10
shr edx, 0x18
movzx ecx, cl
mov edx, dword [edx*4 + 0x494760]
xor edx, dword [ecx*4 + 0x494b60]
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495b60]
mov ecx, ebx
xor edx, dword [eax + 0x10]
shr ecx, 0x10
mov dword [ebp - 0x40], edx
movzx edx, cl
mov ecx, dword [ebp - 0x48]
mov edx, dword [edx*4 + 0x494b60]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x494760]
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x30]
movzx ecx, dl
shr edx, 0x18
xor esi, dword [ecx*4 + 0x495b60]
mov ecx, esi
mov dword [ebp - 0x30], esi
xor ecx, dword [eax + 0x14]
mov dword [ebp - 0x30], ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [ebp - 0x30]
mov ecx, dword [ecx*4 + 0x495760]
xor ecx, dword [edx*4 + 0x494760]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x494b60]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x2c]
movzx ecx, dl
shr edx, 0x18
xor edi, dword [ecx*4 + 0x495b60]
mov edx, dword [edx*4 + 0x494760]
mov ecx, edi
xor ecx, dword [eax + 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
mov edi, dword [ebp - 0x2c]
xor edx, dword [ecx*4 + 0x494b60]
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
movzx ecx, bl
mov ebx, dword [ebp - 0x40]
xor edx, dword [ecx*4 + 0x495b60]
mov ecx, dword [ebp - 0x44]
xor edx, dword [eax + 0x1c]
dec ecx
add eax, 0x20
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], ecx
test ecx, ecx
jg 0x408760
mov ecx, dword [ebp - 0x2c]
shr ecx, 0x10
movzx ecx, cl
shr edx, 0x18
mov edx, dword [edx*4 + 0x494760]
xor edx, dword [ecx*4 + 0x494b60]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x495b60]
xor edx, dword [eax]
mov ecx, dword [ebp - 0x38]
shr ecx, 0x10
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x18], edx
movzx edx, cl
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x494b60]
xor edx, dword [ecx*4 + 0x495760]
mov ecx, ebx
mov ebx, dword [ebp - 0x30]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x494760]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x495b60]
xor edx, dword [eax + 4]
mov ecx, dword [ebp - 0x38]
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x14], edx
mov edx, ebx
shr edx, 0x18
mov ebx, dword [ecx*4 + 0x495760]
mov ecx, dword [ebp - 0x40]
shr ecx, 0x10
xor ebx, dword [edx*4 + 0x494760]
mov edx, dword [ebp - 0x2c]
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x494b60]
movzx ecx, dl
shr edx, 0x18
xor ebx, dword [ecx*4 + 0x495b60]
mov ecx, dword [ebp - 0x30]
mov edx, dword [edx*4 + 0x494760]
shr ecx, 0x10
movzx ecx, cl
xor ebx, dword [eax + 8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x10], ebx
xor edx, dword [ecx*4 + 0x494b60]
mov ecx, dword [ebp - 0x40]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495760]
mov ecx, dword [ebp - 0x38]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x495b60]
xor edx, dword [eax + 0xc]
mov ecx, edx
mov dword [ebp - 0x48], edx
shr ecx, 0x18
mov dword [ebp - 0xc], edx
movzx ebx, byte [ecx + 0x494160]
mov ecx, dword [ebp - 0x44]
shr ecx, 0x10
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x494160]
xor ebx, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 8
movzx ecx, cl
shl ebx, 8
movzx ecx, byte [ecx + 0x494160]
xor ebx, ecx
shl ebx, 8
mov ecx, dword [ebp - 0x3c]
movzx ecx, cl
movzx ecx, byte [ecx + 0x494160]
xor ebx, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x18
xor ebx, dword [eax + 0x10]
mov dword [ebp - 0x28], ebx
movzx edi, byte [ecx + 0x494160]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x494160]
xor edi, ecx
mov ecx, dword [ebp - 0x44]
shr ecx, 8
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x494160]
xor edi, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
shl edi, 8
movzx ecx, byte [ecx + 0x494160]
xor edi, ecx
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
xor edi, dword [eax + 0x14]
mov dword [ebp - 0x24], edi
movzx esi, byte [ecx + 0x494160]
mov ecx, dword [ebp - 0x3c]
shr ecx, 0x10
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x494160]
xor esi, ecx
mov ecx, edx
mov edx, dword [ebp - 0x44]
shr ecx, 8
movzx ecx, cl
shl esi, 8
movzx ecx, byte [ecx + 0x494160]
xor esi, ecx
movzx ecx, dl
shl esi, 8
shr edx, 0x18
movzx ecx, byte [ecx + 0x494160]
xor esi, ecx
mov ecx, dword [ebp - 0x34]
movzx edx, byte [edx + 0x494160]
shr ecx, 0x10
xor esi, dword [eax + 0x18]
movzx ecx, cl
shl edx, 8
mov dword [ebp - 0x20], esi
movzx ecx, byte [ecx + 0x494160]
xor edx, ecx
mov ecx, dword [ebp - 0x3c]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x494160]
xor edx, ecx
mov ecx, dword [ebp - 0x48]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + 0x494160]
xor edx, ecx
mov ecx, 0x20
xor edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], edx
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x28]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x408bc6
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b60
mov esp, ebp
pop ebp
ret