Function at 0x50ed00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x53c074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xd4], 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 0x50ed21
mov eax, dword [ecx]
mov dword [ebp - 0xa4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0xa8], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x20]
xor eax, 0x243f6a88
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb8], eax
mov edi, 0xa4093822
mov eax, dword [ecx + 0x24]
xor eax, 0x85a308d3
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 0x28]
xor eax, 0x13198a2e
mov dword [ebp - 0x94], 0x299f31d0
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 0x2c]
xor eax, 0x3707344
mov dword [ebp - 0xc4], 0x82efa98
cmp dword [ecx + 0x3c], 0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc8], 0xec4e6c89
jne 0x50ee27
mov eax, dword [ecx + 0x30]
mov edi, eax
xor eax, 0x299f31d0
xor edi, 0xa4093822
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x34]
mov edx, eax
xor edx, 0x82efa98
xor eax, 0xec4e6c89
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], eax
xor ecx, ecx
mov dword [ebp - 0x90], ecx
nop
movzx ebx, byte [ecx + 0x531340]
movzx edx, byte [ecx + 0x531341]
shl edx, 2
mov dword [ebp - 0x98], edx
mov eax, dword [ebp + ebx*4 - 0x44]
xor eax, dword [edx + 0x531420]
add eax, esi
mov edx, dword [ebp - 0xa4]
add edx, eax
mov esi, edx
xor esi, edi
mov edi, dword [ebp - 0xb8]
rol esi, 0x10
add edi, esi
mov eax, edi
xor eax, dword [ebp - 0x88]
ror eax, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebx*4 + 0x531420]
mov ebx, dword [ebp - 0x98]
xor eax, dword [ebp + ebx - 0x44]
mov ebx, dword [ebp - 0x88]
add eax, ebx
add eax, edx
movzx edx, byte [ecx + 0x531343]
mov dword [ebp - 0xa4], eax
xor eax, esi
ror eax, 8
mov dword [ebp - 0xd0], eax
add eax, edi
xor ebx, eax
mov edi, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
ror ebx, 7
shl edx, 2
mov dword [ebp - 0x88], ebx
movzx ebx, byte [ecx + 0x531342]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp + ebx*4 - 0x44]
xor eax, dword [edx + 0x531420]
add eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xac]
add edx, eax
mov esi, edx
xor esi, dword [ebp - 0x94]
rol esi, 0x10
add edi, esi
mov eax, edi
xor eax, dword [ebp - 0xa8]
ror eax, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebx*4 + 0x531420]
mov ebx, dword [ebp - 0x98]
xor eax, dword [ebp + ebx - 0x44]
add eax, edx
mov ebx, dword [ebp - 0xbc]
add eax, dword [ebp - 0x94]
movzx edx, byte [ecx + 0x531345]
mov dword [ebp - 0xac], eax
xor eax, esi
ror eax, 8
mov dword [ebp - 0xcc], eax
add eax, edi
mov dword [ebp - 0xb4], eax
xor eax, dword [ebp - 0x94]
ror eax, 7
mov dword [ebp - 0xa8], eax
movzx eax, byte [ecx + 0x531344]
mov ecx, dword [ebp - 0xb0]
shl eax, 2
shl edx, 2
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
mov eax, dword [ebp + eax - 0x44]
xor eax, dword [edx + 0x531420]
mov edx, dword [ebp - 0xa0]
add eax, ecx
add edx, eax
mov edi, edx
xor edi, dword [ebp - 0xc4]
rol edi, 0x10
mov eax, dword [ebp - 0x98]
add ebx, edi
xor ecx, ebx
ror ecx, 0xc
mov esi, ecx
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax + 0x531420]
xor eax, dword [ebp + ecx - 0x44]
add eax, edx
add eax, esi
mov dword [ebp - 0xa0], eax
xor eax, edi
ror eax, 8
mov dword [ebp - 0x98], eax
add eax, ebx
mov dword [ebp - 0xbc], eax
xor eax, esi
ror eax, 7
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0xc0]
movzx edi, byte [eax + 0x531346]
movzx ecx, byte [eax + 0x531347]
mov eax, dword [ebp + edi*4 - 0x44]
xor eax, dword [ecx*4 + 0x531420]
add eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x9c]
mov edi, dword [edi*4 + 0x531420]
mov edx, eax
xor edx, dword [ebp - 0xc8]
xor edi, dword [ebp + ecx*4 - 0x44]
add edi, eax
rol edx, 0x10
add esi, edx
mov ebx, esi
xor ebx, dword [ebp - 0x8c]
ror ebx, 0xc
add edi, ebx
mov dword [ebp - 0x9c], edi
xor edi, edx
mov edx, dword [ebp - 0x9c]
ror edi, 8
lea eax, [esi + edi]
mov dword [ebp - 0xc0], eax
xor eax, ebx
ror eax, 7
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xb4]
movzx esi, byte [eax + 0x53134e]
movzx ecx, byte [eax + 0x53134f]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [ecx*4 + 0x531420]
add eax, dword [ebp - 0x88]
add edx, eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x9c], edx
xor edx, dword [ebp - 0x98]
rol edx, 0x10
add ebx, edx
xor eax, ebx
ror eax, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [esi*4 + 0x531420]
xor eax, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 0x88]
add eax, ecx
mov esi, dword [ebp - 0x9c]
add esi, eax
mov eax, esi
mov dword [ebp - 0x9c], esi
xor eax, edx
mov dword [ebp - 0x78], esi
ror eax, 8
add ebx, eax
mov dword [ebp - 0xc4], eax
xor ecx, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x60], ebx
ror ecx, 7
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0xb8]
mov dword [ebp - 0x88], ecx
movzx esi, byte [eax + 0x53134c]
mov dword [ebp - 0x74], ecx
movzx ecx, byte [eax + 0x53134d]
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [ecx*4 + 0x531420]
add eax, dword [ebp - 0x8c]
add edx, eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], edx
xor edx, dword [ebp - 0xcc]
rol edx, 0x10
add ebx, edx
xor eax, ebx
ror eax, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [esi*4 + 0x531420]
xor eax, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 0x8c]
add eax, ecx
mov esi, dword [ebp - 0xa0]
add esi, eax
mov eax, esi
mov dword [ebp - 0xa0], esi
xor eax, edx
mov dword [ebp - 0x7c], esi
mov edx, dword [ebp - 0xa4]
ror eax, 8
add ebx, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x50], eax
xor ecx, ebx
mov eax, dword [ebp - 0x90]
ror ecx, 7
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x68], ecx
movzx esi, byte [eax + 0x531348]
movzx ecx, byte [eax + 0x531349]
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [ecx*4 + 0x531420]
add eax, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xbc]
add edx, eax
mov eax, dword [esi*4 + 0x531420]
xor eax, dword [ebp + ecx*4 - 0x44]
mov dword [ebp - 0xa4], edx
xor edx, edi
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
rol edx, 0x10
add ebx, edx
xor edi, ebx
ror edi, 0xc
add eax, edi
add ecx, eax
mov eax, ecx
mov dword [ebp - 0xa4], ecx
xor eax, edx
mov dword [ebp - 0x84], ecx
ror eax, 8
add ebx, eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x48], eax
xor edi, ebx
mov eax, dword [ebp - 0x90]
ror edi, 7
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x70], edi
movzx esi, byte [eax + 0x53134a]
movzx ecx, byte [eax + 0x53134b]
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0xbc], ebx
mov eax, dword [ebp + esi*4 - 0x44]
xor eax, dword [ecx*4 + 0x531420]
mov dword [ebp - 0x5c], ebx
add eax, edi
mov edx, dword [ebp - 0xac]
mov ebx, dword [ebp - 0xc0]
add edx, eax
mov eax, dword [esi*4 + 0x531420]
xor eax, dword [ebp + ecx*4 - 0x44]
mov dword [ebp - 0xac], edx
xor edx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xac]
rol edx, 0x10
add ebx, edx
xor edi, ebx
ror edi, 0xc
mov ecx, edi
mov dword [ebp - 0xb0], edi
add eax, ecx
add esi, eax
mov edi, esi
mov dword [ebp - 0xac], esi
xor edi, edx
mov dword [ebp - 0x80], esi
mov esi, dword [ebp - 0x88]
ror edi, 8
add ebx, edi
xor ecx, ebx
mov dword [ebp - 0xc0], ebx
ror ecx, 7
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x90]
add ecx, 0x10
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x90], ecx
cmp ecx, 0xe0
jb 0x50ee30
mov ecx, dword [ebp - 0xd4]
mov esi, 2
mov dword [ebp - 0x54], edi
lea edi, [ebp - 0x80]
lea ebx, [esi + 2]
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 0x50f2f6
mov eax, dword [ecx + 0x20]
xor dword [ecx], eax
mov eax, dword [ecx + 0x24]
xor 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.004c3717
mov esp, ebp
pop ebp
ret