Function at 0x474850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xcc], ecx
lea esi, [edx + 2]
xor edi, edi
movzx edx, byte [esi - 2]
lea esi, [esi + 4]
movzx eax, byte [esi - 5]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x44], edx
inc edi
cmp edi, 0x10
jb 0x474871
mov eax, dword [ecx + 0x10]
mov edi, dword [ecx]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 8]
xor edx, 0x243f6a88
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x90], eax
mov eax, dword [ecx + 0x24]
xor eax, 0x85a308d3
mov dword [ebp - 0xa4], edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x28]
xor eax, 0x13198a2e
mov dword [ebp - 0xac], edi
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x2c]
xor eax, 0x3707344
mov dword [ebp - 0xa0], ebx
cmp dword [ecx + 0x3c], 0
mov ebx, 0x299f31d0
mov dword [ebp - 0xb4], eax
mov eax, 0xec4e6c89
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0xbc], 0xa4093822
mov dword [ebp - 0xc4], 0x82efa98
mov dword [ebp - 0xb8], eax
jne 0x47497a
mov ebx, dword [ecx + 0x30]
mov edx, ebx
mov eax, dword [ecx + 0x34]
xor edx, 0xa4093822
mov dword [ebp - 0xbc], edx
xor ebx, 0x299f31d0
mov edx, eax
xor edx, 0x82efa98
xor eax, 0xec4e6c89
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0x98], eax
nop dword [eax + eax]
movzx edi, byte [eax + 0x495631]
movzx esi, byte [eax + 0x495630]
mov edx, dword [ebp - 0xa4]
shl edi, 2
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi + 0x495710]
add eax, dword [ebp - 0x8c]
add edx, eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa4], edx
xor edx, dword [ebp - 0xbc]
rol edx, 0x10
add eax, edx
xor dword [ebp - 0x8c], eax
ror dword [ebp - 0x8c], 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi - 0x44]
mov esi, dword [ebp - 0x8c]
add eax, esi
mov edi, dword [ebp - 0xa4]
add edi, eax
mov eax, edi
mov dword [ebp - 0xa4], edi
xor eax, edx
mov edx, dword [ebp - 0xb0]
ror eax, 8
add edx, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x98]
xor esi, edx
ror esi, 7
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0xb0], edx
movzx esi, byte [eax + 0x495632]
movzx edi, byte [eax + 0x495633]
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, dword [ebp - 0x94]
add edx, eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xac], edx
xor edx, ebx
mov ebx, dword [ebp - 0xc0]
rol edx, 0x10
add ebx, edx
xor eax, ebx
ror eax, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
mov esi, dword [ebp - 0x94]
add eax, esi
mov edi, dword [ebp - 0xac]
add edi, eax
mov eax, edi
mov dword [ebp - 0xac], edi
xor eax, edx
mov edx, dword [ebp - 0xa0]
ror eax, 8
add ebx, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x98]
xor esi, ebx
ror esi, 7
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xc0], ebx
movzx esi, byte [eax + 0x495634]
movzx edi, byte [eax + 0x495635]
mov ebx, dword [ebp - 0x88]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, ebx
add edx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], edx
xor edx, dword [ebp - 0xc4]
rol edx, 0x10
add eax, edx
xor ebx, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
ror ebx, 0xc
add eax, ebx
mov dword [ebp - 0x88], ebx
mov ebx, dword [ebp - 0xa0]
add ebx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], ebx
xor ebx, edx
mov edx, dword [ebp - 0x88]
ror ebx, 8
add eax, ebx
xor edx, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x98]
ror edx, 7
mov dword [ebp - 0x88], edx
mov edx, dword [ebp - 0x9c]
movzx esi, byte [eax + 0x495636]
movzx edi, byte [eax + 0x495637]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, dword [ebp - 0x90]
add edx, eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x9c], edx
xor edx, ecx
mov ecx, dword [ebp - 0xb4]
rol edx, 0x10
add ecx, edx
xor eax, ecx
ror eax, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
mov esi, dword [ebp - 0x90]
add eax, esi
mov edi, dword [ebp - 0x9c]
add edi, eax
mov eax, edi
mov dword [ebp - 0x9c], edi
xor eax, edx
ror eax, 8
add ecx, eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x98]
xor esi, ecx
ror esi, 7
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xb4], ecx
movzx esi, byte [eax + 0x49563e]
movzx edi, byte [eax + 0x49563f]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, dword [ebp - 0x8c]
add ecx, eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
mov edx, ecx
xor edx, ebx
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x9c]
rol edx, 0x10
add ecx, edx
xor ebx, ecx
ror ebx, 0xc
add eax, ebx
add esi, eax
mov eax, esi
mov dword [ebp - 0x9c], esi
xor eax, edx
mov dword [ebp - 0x78], esi
ror eax, 8
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x4c], eax
add ecx, eax
mov eax, dword [ebp - 0x98]
xor ebx, ecx
mov dword [ebp - 0xc0], ecx
ror ebx, 7
mov dword [ebp - 0x60], ecx
movzx esi, byte [eax + 0x49563c]
movzx edi, byte [eax + 0x49563d]
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], ebx
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x90]
add eax, ebx
add ecx, eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
mov edx, ecx
xor edx, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xb0]
rol edx, 0x10
add ecx, edx
xor ebx, ecx
ror ebx, 0xc
add eax, ebx
mov dword [ebp - 0x90], ebx
mov ebx, dword [ebp - 0xa0]
add ebx, eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x7c], ebx
xor ebx, edx
mov edx, dword [ebp - 0xa4]
ror ebx, 8
add ecx, ebx
xor eax, ecx
mov dword [ebp - 0xb0], ecx
ror eax, 7
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x94]
movzx esi, byte [eax + 0x495638]
movzx edi, byte [eax + 0x495639]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, ecx
add edx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], edx
xor edx, dword [ebp - 0xbc]
rol edx, 0x10
add eax, edx
xor ecx, eax
mov dword [ebp - 0xa8], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
ror ecx, 0xc
add eax, ecx
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0xa4]
add ecx, eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x84], ecx
xor ecx, edx
mov edx, dword [ebp - 0x94]
ror ecx, 8
add eax, ecx
xor edx, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x98]
ror edx, 7
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x70], edx
movzx edi, byte [eax + 0x49563b]
movzx esi, byte [eax + 0x49563a]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [edi*4 + 0x495710]
add eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0xac]
add edx, eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xac], edx
xor edx, dword [ebp - 0xc8]
rol edx, 0x10
add eax, edx
xor dword [ebp - 0x88], eax
ror dword [ebp - 0x88], 0xc
mov dword [ebp - 0xb4], eax
mov eax, dword [esi*4 + 0x495710]
xor eax, dword [ebp + edi*4 - 0x44]
mov edi, dword [ebp - 0x88]
add eax, edi
mov esi, dword [ebp - 0xac]
add esi, eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x80], esi
xor esi, edx
ror esi, 8
add eax, esi
mov dword [ebp - 0xbc], esi
xor edi, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x98]
ror edi, 7
add eax, 0x10
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x98], eax
cmp eax, 0xe0
jb 0x474990
mov esi, 2
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ecx
lea edi, [ebp - 0x80]
mov ecx, dword [ebp - 0xcc]
lea ebx, [esi + 2]
nop
lea eax, [esi - 2]
and eax, 7
lea edi, [edi + 0x10]
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0x14]
xor dword [edx], eax
lea eax, [esi - 1]
and eax, 7
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0x10]
xor dword [edx], eax
mov eax, esi
and eax, 7
lea edx, [ecx + eax*4]
mov eax, dword [edi - 0xc]
xor dword [edx], eax
lea eax, [esi + 1]
and eax, 7
add esi, 4
lea edx, [ecx + eax*4]
mov eax, dword [edi - 8]
xor dword [edx], eax
sub ebx, 1
jne 0x474e90
mov eax, dword [ecx]
xor eax, dword [ecx + 0x20]
mov dword [ecx], eax
mov eax, dword [ecx + 4]
xor eax, dword [ecx + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 0x28]
xor dword [ecx + 8], eax
mov eax, dword [ecx + 0x2c]
xor dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x20]
xor dword [ecx + 0x10], eax
mov eax, dword [ecx + 0x24]
xor dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x28]
xor dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x2c]
xor dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b571
mov esp, ebp
pop ebp
ret