Function at 0x476df0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4fc040]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ecx]
push ebx
push esi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x8c], ecx
movups xmm0, xmmword [ecx + 0x10]
mov dword [ebp - 0x60], 0xa
push edi
movups xmmword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x34]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
nop dword [eax]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x24]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
xor eax, ecx
mov ecx, eax
add esi, dword [ebp - 0x5c]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov dword [ebp - 0x80], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x5c]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x3c]
add esi, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x74], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [ebp - 0x4c], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x48]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x70], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [ebp - 0x38]
shl eax, 8
shr ecx, 0x18
or ecx, eax
add esi, dword [ebp - 0x50]
mov dword [ebp - 0x84], ecx
lea ebx, [ecx + edi]
mov edi, dword [ebp - 0x18]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x58]
xor eax, esi
mov dword [ebp - 0x48], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x50]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x7c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x50], eax
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x4c]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [ebp - 0x4c]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [ebp - 0x44], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 8], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
xor eax, ecx
mov edi, eax
shl eax, 0x10
mov edx, dword [ebp - 0x50]
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x48]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x70]
xor edi, eax
mov dword [ebp - 0x40], eax
add ecx, dword [ebp - 0x6c]
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x14], eax
add eax, edx
mov dword [ebp - 0x18], eax
xor eax, esi
ror eax, 0x19
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x6c]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x7c]
xor edi, eax
add ecx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], eax
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
add eax, edx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x24], eax
xor eax, esi
ror eax, 0x19
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x84]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x80]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
xor edi, eax
mov dword [ebp - 0x38], eax
mov ebx, edi
shl edi, 8
shr ebx, 0x18
or ebx, edi
lea eax, [ebx + edx]
mov ecx, dword [ebp - 0x54]
mov edx, eax
xor edx, esi
mov dword [ebp - 0x20], eax
ror edx, 0x19
sub dword [ebp - 0x60], 1
jne 0x476e60
mov dword [ebp - 0xc], ebx
lea esi, [ebp - 0x44]
mov ebx, dword [ebp - 0x8c]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x34], edx
sub esi, ebx
xor edx, edx
sub edi, ebx
lea eax, [ebx + 8]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebp + edx*4 - 0x44], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + edx*4 - 0x40], ecx
add edx, 4
mov ecx, dword [eax - 0x10]
add dword [eax + esi - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [eax + edi - 0x10], ecx
cmp edx, 0x10
jl 0x477111
xor esi, esi
lea edx, [ebx + 0x41]
nop dword [eax]
mov al, byte [ebp + esi*4 - 0x44]
lea edx, [edx + 4]
mov ecx, dword [ebp + esi*4 - 0x44]
inc esi
mov byte [edx - 5], al
mov eax, ecx
shr eax, 8
mov byte [edx - 4], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx - 3], al
mov byte [edx - 2], cl
cmp esi, 0x10
jl 0x477140
pop edi
pop esi
mov edx, 0x40
mov dword [ebx + 0x80], 0
lea ecx, [ebp - 0x44]
call fcn.00492670
add dword [ebx + 0x30], 1
jne 0x47718c
inc dword [ebx + 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00495b16
mov esp, ebp
pop ebp
ret