Function at 0x4d5a70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [esi]
call fcn.004b89f0
push dword [esi + 4]
mov dword [ebp - 0xc], eax
call fcn.004b89f0
push dword [esi + 8]
mov dword [ebp - 8], eax
call fcn.004b89f0
push dword [esi + 0xc]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call fcn.004b89f0
mov ecx, eax
mov dword [ebp - 4], eax
shr ecx, 0x10
mov edx, eax
mov dword [ebp - 0x20], ecx
add esp, 0x10
mov ecx, eax
shr edx, 0x18
shr ecx, 8
mov dword [ebp - 0x34], ecx
mov ecx, ebx
shr ecx, 0x18
mov dword [ebp - 0x28], ecx
movzx ecx, al
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 0x10
mov edi, dword [ecx*4 + 0x531fd8]
mov dword [ebp - 0x2c], eax
movzx eax, bl
mov dword [ebp - 0x38], 2
mov eax, dword [eax*4 + 0x531fd8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x28]
movzx eax, al
movzx ecx, dl
mov ebx, dword [eax*4 + 0x5323d8]
xor ebx, dword [ecx*4 + 0x5323d8]
mov eax, dword [ebp - 0x20]
movzx eax, al
xor ebx, dword [eax*4 + 0x531bd8]
mov eax, dword [ebp - 0x34]
movzx eax, al
xor ebx, dword [eax*4 + 0x5327d8]
xor ebx, edi
xor ebx, dword [ebp - 0xc]
mov eax, ebx
movzx edi, bl
shr eax, 0x10
mov edx, ebx
movzx esi, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x24]
movzx eax, al
shl edi, 2
mov dword [ebp - 0x40], ebx
shl ecx, 2
mov ebx, dword [eax*4 + 0x5327d8]
xor ebx, dword [edi + 0x5327d8]
shr edx, 0x18
xor ebx, dword [ecx + 0x531fd8]
shl edx, 2
shl esi, 2
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], edi
xor ebx, dword [edx + 0x531bd8]
xor ebx, dword [esi + 0x5323d8]
xor ebx, dword [ebp - 0x10]
mov eax, ebx
mov dword [ebp - 0x24], ebx
shr eax, 0x10
mov edi, ebx
movzx esi, al
mov eax, ebx
shr eax, 8
movzx ebx, al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
movzx edx, al
mov eax, dword [ebp - 0x2c]
movzx eax, al
shl edx, 2
shr edi, 0x18
shl esi, 2
mov eax, dword [eax*4 + 0x531bd8]
xor eax, dword [edx + 0x531bd8]
shl edi, 2
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx*4 + 0x531fd8]
xor eax, ecx
xor eax, dword [esi + 0x5323d8]
xor eax, dword [edi + 0x5327d8]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edi
mov edi, eax
shr eax, 0x10
movzx eax, al
shl eax, 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x531fd8]
mov eax, ecx
shr edi, 0x18
shr eax, 8
movzx eax, al
movzx ecx, cl
mov dword [ebp - 0x14], edx
mov edx, dword [eax*4 + 0x531bd8]
mov eax, dword [ecx*4 + 0x5323d8]
xor eax, dword [edi*4 + 0x5327d8]
xor eax, dword [ebp - 0x30]
xor eax, edx
mov ebx, dword [ebx*4 + 0x5327d8]
xor eax, esi
xor eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [edi*4 + 0x531bd8]
mov edi, dword [ebp - 0x14]
xor eax, dword [edi + 0x5323d8]
mov edi, dword [ebp - 0x18]
xor eax, dword [edi + 0x531bd8]
xor eax, ebx
xor eax, esi
mov esi, dword [ebp + 0x10]
mov dword [esi - 8], eax
mov eax, dword [ecx*4 + 0x531fd8]
xor eax, edx
mov ecx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor eax, dword [ecx + 0x5323d8]
mov ecx, dword [ebp - 0x1c]
xor eax, dword [ecx + 0x5327d8]
mov dword [esi - 4], eax
mov eax, edi
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp + 0x10]
mov esi, dword [eax + 0x5327d8]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x531fd8]
xor eax, dword [edx*4 + 0x531bd8]
xor eax, dword [ecx + 0x5323d8]
mov ecx, dword [ebp - 0x28]
xor eax, dword [ecx + 0x5323d8]
mov ecx, dword [ebp - 0x10]
xor eax, esi
mov dword [edi], eax
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
mov eax, dword [eax*4 + 0x531bd8]
xor eax, dword [ecx*4 + 0x531fd8]
xor eax, dword [edx*4 + 0x5327d8]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
xor eax, dword [ecx + 0x5327d8]
xor eax, dword [edx + 0x5323d8]
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [edi + 0x531fd8]
xor edx, dword [eax + 0x531bd8]
mov eax, dword [ebp - 0x1c]
xor edx, dword [eax + 0x5323d8]
xor edx, dword [ecx + 0x5323d8]
xor edx, ebx
xor edx, dword [ebp - 4]
mov eax, edx
mov dword [ebp - 0x14], edx
shr eax, 0x10
mov ebx, edx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
shr ebx, 0x18
shl ebx, 2
shl ecx, 2
mov edx, dword [eax*4 + 0x531fd8]
mov eax, dword [ebp - 0x14]
movzx eax, al
shl eax, 2
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x5327d8]
xor eax, dword [ecx + 0x5323d8]
xor eax, dword [ebx + 0x531bd8]
xor eax, edx
xor eax, esi
xor eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov esi, eax
shr eax, 0x10
movzx ebx, al
mov ecx, dword [ebp - 8]
mov eax, ecx
shl ebx, 2
shr eax, 8
movzx eax, al
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebx + 0x5323d8]
shr esi, 0x18
mov eax, dword [eax*4 + 0x531fd8]
shl esi, 2
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
movzx ecx, cl
xor ebx, dword [esi + 0x5327d8]
mov esi, dword [ebp - 0x20]
shl ecx, 2
mov dword [ebp - 0x18], ecx
xor ebx, dword [esi + 0x531bd8]
xor ebx, dword [ecx + 0x531bd8]
xor ebx, eax
xor ebx, dword [ebp - 0x24]
mov eax, ebx
mov dword [ebp - 0x44], ebx
shr eax, 0x10
mov ecx, ebx
movzx esi, al
mov eax, ebx
shr eax, 8
movzx eax, al
shl eax, 2
movzx ebx, bl
shl ebx, 2
shl esi, 2
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebx + 0x5323d8]
xor ebx, dword [esi + 0x531fd8]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x28]
shr ecx, 0x18
xor ebx, dword [esi + 0x531fd8]
xor ebx, dword [eax + 0x531bd8]
xor ebx, dword [ecx*4 + 0x5327d8]
xor ebx, dword [ebp - 0x10]
mov eax, ebx
mov dword [ebp - 0x10], ebx
shr eax, 0x10
movzx ebx, al
mov eax, dword [ebp - 0x10]
shr eax, 0x18
mov edi, dword [eax*4 + 0x5323d8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edi
mov eax, dword [eax + 0x531bd8]
xor eax, dword [ecx*4 + 0x531bd8]
xor eax, dword [ebx*4 + 0x5327d8]
xor eax, edx
mov edx, dword [ebp + 0x10]
xor eax, edi
mov edi, dword [ebp - 0x34]
mov dword [edx + 8], eax
mov edx, dword [ebp - 0x10]
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [ebp - 0x3c]
movzx edx, dl
mov eax, dword [eax + 0x531bd8]
xor eax, dword [edi + 0x531fd8]
xor eax, dword [edx*4 + 0x5327d8]
xor eax, dword [esi*4 + 0x5323d8]
xor eax, dword [ebx*4 + 0x531fd8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ecx*4 + 0x5323d8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov eax, dword [eax + 0x5323d8]
xor eax, dword [edi + 0x5327d8]
mov edi, dword [ebp - 0x18]
xor eax, dword [edi + 0x531bd8]
xor eax, dword [ebp - 0x40]
xor eax, ecx
mov edi, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov eax, dword [eax + 0x5327d8]
xor eax, dword [edi + 0x531bd8]
mov edi, dword [ebp - 0x2c]
xor eax, dword [edi + 0x531fd8]
mov edi, dword [ebp - 0xc]
xor eax, dword [edi + 0x5327d8]
mov edi, dword [ebp - 0x24]
xor eax, dword [edi + 0x5323d8]
mov edi, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [edx*4 + 0x531fd8]
xor eax, dword [esi*4 + 0x5327d8]
xor eax, dword [ebx*4 + 0x531bd8]
xor eax, ecx
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x14]
mov edx, eax
mov dword [ebp - 0x18], eax
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 0x18]
shr eax, 8
movzx ebx, al
mov eax, dword [ebp - 0x18]
movzx eax, al
shl eax, 2
mov dword [ebp - 0x30], eax
shl ecx, 2
shr edx, 0x18
mov eax, dword [eax + 0x5327d8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 4]
shl edx, 2
shl ebx, 2
xor esi, dword [eax + 0x5327d8]
mov eax, esi
mov dword [ebp - 4], esi
xor eax, dword [ecx + 0x5323d8]
xor eax, dword [edx + 0x531bd8]
xor eax, dword [ebx + 0x531fd8]
xor eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov esi, eax
shr eax, 0x10
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
movzx edx, al
mov eax, ecx
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x20]
shr eax, 8
shl edx, 2
shr esi, 0x18
mov ebx, dword [ebx + 0x531bd8]
movzx eax, al
movzx ecx, cl
shl esi, 2
shl eax, 2
shl ecx, 2
xor ebx, dword [edx + 0x5323d8]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
xor ebx, dword [esi + 0x5327d8]
xor ebx, dword [ecx + 0x531bd8]
xor ebx, dword [eax + 0x531fd8]
xor ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx esi, al
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x24], ebx
movzx ebx, al
mov eax, dword [ebp - 0x24]
movzx edi, al
shr ecx, 0x18
shl ecx, 2
mov dword [ebp - 0x44], ecx
mov eax, dword [edi*4 + 0x5323d8]
xor eax, dword [edx + 0x531fd8]
xor eax, dword [ebx*4 + 0x531bd8]
xor eax, dword [esi*4 + 0x531fd8]
xor eax, dword [ecx + 0x5327d8]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov edx, eax
shr eax, 0x10
mov ecx, dword [ebp - 0x30]
movzx eax, al
shr edx, 0x18
mov eax, dword [eax*4 + 0x5327d8]
xor eax, dword [edx*4 + 0x5323d8]
xor eax, dword [esi*4 + 0x531bd8]
xor eax, dword [ecx + 0x531bd8]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + 0x531fd8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 8
movzx eax, al
movzx ecx, cl
mov eax, dword [eax*4 + 0x5323d8]
xor eax, dword [ecx*4 + 0x5327d8]
xor eax, dword [edx*4 + 0x531fd8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
xor eax, dword [ecx + 0x531fd8]
mov ecx, dword [ebp - 0x1c]
xor eax, dword [ecx + 0x531bd8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [esi*4 + 0x5327d8]
mov esi, dword [ebp - 0x40]
xor eax, dword [ecx + 0x5323d8]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + 0x5323d8]
xor eax, dword [esi + 0x531bd8]
xor eax, dword [edx + 0x531fd8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [edx + 0x5327d8]
mov dword [ecx + 0x20], eax
mov eax, dword [edi*4 + 0x5327d8]
xor eax, dword [ebx*4 + 0x5323d8]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp + 0x10]
xor eax, dword [edi + 0x531fd8]
mov ecx, dword [ecx + 0x531bd8]
xor eax, ecx
xor eax, edx
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x28]
mov ebx, dword [esi + 0x531fd8]
xor ebx, dword [edi + 0x5323d8]
xor ebx, dword [eax + 0x5323d8]
xor ebx, ecx
xor ebx, edx
xor ebx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
shl ebx, 2
mov dword [ebp - 0x4c], ebx
mov edx, dword [eax*4 + 0x5323d8]
mov eax, dword [ebp - 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0xc]
movzx eax, al
shl eax, 2
mov dword [ebp - 0x34], eax
shl ecx, 2
mov dword [ebp - 0x48], ecx
mov eax, dword [eax + 0x5327d8]
mov dword [ebp - 0x50], edx
xor eax, dword [ecx + 0x531fd8]
mov dword [ebp - 8], eax
mov ecx, eax
xor ecx, dword [ebx + 0x531bd8]
mov eax, dword [ebp - 0x14]
xor ecx, dword [eax + 0x5327d8]
xor ecx, edx
xor ecx, dword [ebp - 0x18]
mov eax, ecx
mov dword [ebp - 8], ecx
shr eax, 0x18
mov ebx, dword [ebp - 8]
mov edx, dword [eax*4 + 0x5327d8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x3c], edx
mov ecx, dword [eax*4 + 0x5323d8]
mov eax, ebx
shr eax, 8
movzx edi, al
shl edi, 2
movzx ebx, bl
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov eax, dword [ebx*4 + 0x531bd8]
xor eax, dword [edi + 0x531fd8]
xor eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, eax
mov eax, dword [ebp - 0x1c]
xor ecx, edx
xor ecx, dword [eax + 0x531bd8]
xor ecx, dword [ebp - 4]
mov eax, ecx
mov dword [ebp - 0x10], ecx
shr eax, 0x18
mov dword [ebp - 0x28], eax
movzx eax, al
shl eax, 2
mov dword [ebp - 0x1c], eax
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x2c], eax
movzx eax, al
mov edx, dword [eax*4 + 0x531fd8]
mov eax, ecx
shr eax, 8
mov dword [ebp - 0x24], eax
movzx eax, al
movzx ecx, cl
mov esi, dword [eax*4 + 0x531bd8]
mov eax, dword [ebp - 0x30]
mov edi, dword [ecx*4 + 0x5323d8]
xor edi, dword [eax + 0x531fd8]
mov eax, dword [ebp - 0x1c]
xor edi, dword [eax + 0x5327d8]
mov eax, edi
mov dword [ebp - 4], edi
xor eax, esi
xor eax, edx
xor eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebx*4 + 0x5323d8]
mov ecx, dword [ecx*4 + 0x531fd8]
xor eax, dword [edi + 0x5327d8]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
xor eax, dword [edi + 0x531bd8]
mov edi, dword [ebp - 0x1c]
xor eax, dword [edi + 0x531bd8]
xor eax, edx
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x28], eax
mov eax, dword [ebx*4 + 0x531fd8]
mov ebx, dword [ebp - 4]
xor eax, esi
xor eax, dword [ebp - 0x40]
mov esi, edx
xor eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
xor eax, ecx
mov ecx, ebx
mov dword [esi + 0x2c], eax
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x44], eax
movzx eax, al
shr ecx, 0x10
mov dword [ebp - 0x20], ecx
movzx ecx, cl
mov eax, dword [eax*4 + 0x531bd8]
xor eax, dword [edx + 0x5323d8]
mov edx, dword [ebp - 0x48]
xor eax, dword [edx + 0x5327d8]
mov edx, ebx
xor eax, dword [edi + 0x5323d8]
xor eax, dword [ecx*4 + 0x531fd8]
mov dword [esi + 0x30], eax
movzx eax, bl
shr edx, 8
mov dword [ebp - 0x34], edx
mov edi, dword [eax*4 + 0x531fd8]
movzx eax, dl
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax*4 + 0x531bd8]
xor eax, dword [edx + 0x5327d8]
xor eax, dword [ecx*4 + 0x5327d8]
xor eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
xor eax, edi
mov dword [esi + 0x34], eax
add esi, 0x40
sub dword [ebp - 0x38], 1
mov dword [ebp + 0x10], esi
jne 0x4d5b00
mov eax, dword [ebp + 8]
mov ecx, 2
movaps xmm1, xmmword [0x532be0]
add eax, 0x40
pop edi
pop esi
pop ebx
nop dword [eax]
lea eax, [eax + 0x20]
movups xmm0, xmmword [eax - 0x20]
pand xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm0, xmmword [eax - 0x10]
pand xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x4d6310
mov esp, ebp
pop ebp
ret