Function at 0x415260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, eax
je 0x415649
shr eax, 4
cmp byte [ecx], 0
mov dword [ebp + 0xc], eax
je 0x415297
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.00415660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
movdqu xmm1, xmmword [ecx + 8]
test eax, eax
je 0x415644
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add edi, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov esi, dword [ecx + 4]
mov eax, esi
mov edx, dword [edi - 8]
add eax, eax
mov ebx, dword [edi - 4]
xor edx, dword [ecx + eax*8 + 0x18]
xor ebx, dword [ecx + eax*8 + 0x1c]
mov ecx, dword [ecx + eax*8 + 0x20]
xor ecx, dword [edi]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
xor ecx, dword [edi + eax*8 + 0x24]
movzx eax, dl
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [ebp - 0x21]
mov edi, dword [eax*4 + 0x4df8d0]
movzx eax, byte [ebp - 0x1e]
xor edi, dword [ecx*4 + 0x4e04d0]
movzx ecx, bl
xor edi, dword [eax*4 + 0x4e19f0]
mov eax, dword [ebp - 8]
movzx eax, ah
xor edi, dword [eax*4 + 0x4e11d0]
movzx eax, dh
mov dword [ebp - 0x38], edi
mov edx, dword [eax*4 + 0x4e11d0]
xor edx, dword [ecx*4 + 0x4df8d0]
movzx eax, byte [ebp - 0x1d]
xor edx, dword [eax*4 + 0x4e04d0]
movzx eax, byte [ebp - 0x1a]
xor edx, dword [eax*4 + 0x4e19f0]
movzx eax, byte [ebp - 0x26]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x4e19f0]
movzx ecx, dl
xor eax, dword [ecx*4 + 0x4df8d0]
movzx ecx, byte [ebp - 0x22]
mov dword [ebp + 0x10], eax
movzx eax, bh
mov ebx, dword [ebp + 0x10]
xor ebx, dword [eax*4 + 0x4e11d0]
movzx eax, byte [ebp - 0x19]
xor ebx, dword [eax*4 + 0x4e04d0]
movzx eax, byte [ebp - 0x25]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [eax*4 + 0x4e04d0]
xor eax, dword [ecx*4 + 0x4e19f0]
lea ecx, [esi - 1]
mov esi, dword [ebp - 0xc]
mov dword [ebp + 8], eax
movzx eax, dh
mov edx, dword [ebp + 8]
xor edx, dword [eax*4 + 0x4e11d0]
mov eax, dword [ebp - 8]
movzx eax, al
xor edx, dword [eax*4 + 0x4df8d0]
mov dword [ebp + 8], edx
mov dword [ebp - 0x2c], edx
cmp ecx, 1
jle 0x4154e3
lea eax, [ecx + 2]
shl eax, 4
add eax, dword [ebp - 4]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax - 4]
lea eax, [eax - 0x10]
xor ecx, esi
mov ebx, dword [eax + 8]
mov dword [ebp + 8], ecx
xor ebx, edi
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x10]
xor ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 0x14]
xor ecx, edx
mov dword [ebp - 0x28], ebx
movzx edx, byte [ebp - 0x21]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, bl
mov edi, dword [ecx*4 + 0x4df8d0]
xor edi, dword [edx*4 + 0x4e04d0]
movzx ecx, byte [ebp - 0x1e]
xor edi, dword [ecx*4 + 0x4e19f0]
mov ecx, dword [ebp - 0xc]
movzx ecx, ch
xor edi, dword [ecx*4 + 0x4e11d0]
movzx ecx, bh
mov ebx, dword [ebp + 8]
movzx edx, bl
mov esi, dword [ecx*4 + 0x4e11d0]
movzx ecx, byte [ebp - 0x1d]
xor esi, dword [edx*4 + 0x4df8d0]
mov edx, dword [ebp - 8]
movzx edx, dl
xor esi, dword [ecx*4 + 0x4e04d0]
movzx ecx, byte [ebp - 0x1a]
xor esi, dword [ecx*4 + 0x4e19f0]
movzx ecx, byte [ebp - 0x26]
mov ecx, dword [ecx*4 + 0x4e19f0]
xor ecx, dword [edx*4 + 0x4df8d0]
movzx edx, byte [ebp - 0x22]
mov dword [ebp + 0x10], ecx
movzx ecx, bh
mov ebx, dword [ebp + 0x10]
xor ebx, dword [ecx*4 + 0x4e11d0]
movzx ecx, byte [ebp - 0x19]
xor ebx, dword [ecx*4 + 0x4e04d0]
movzx ecx, byte [ebp - 0x25]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x30], ebx
mov ecx, dword [ecx*4 + 0x4e04d0]
xor ecx, dword [edx*4 + 0x4e19f0]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
movzx ecx, ch
xor edx, dword [ecx*4 + 0x4e11d0]
mov ecx, dword [ebp - 0xc]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4df8d0]
dec dword [ebp - 0x10]
mov dword [ebp + 8], edx
mov dword [ebp - 0x2c], edx
jne 0x4153d8
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
xor ecx, edi
mov eax, dword [eax + 0x30]
xor edx, esi
xor eax, ebx
mov dword [ebp - 0x24], edx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], ecx
mov ebx, dword [eax + 0x34]
xor ebx, dword [ebp + 8]
movzx eax, cl
mov dword [ebp - 0x1c], ebx
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x38], al
movzx eax, bh
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x37], al
movzx eax, byte [ebp - 0x1e]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x36], al
movzx eax, byte [ebp - 0x21]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x35], al
movzx eax, dl
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x34], al
movzx eax, ch
mov ecx, dword [ebp + 0x10]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x33], al
movzx eax, byte [ebp - 0x1a]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x32], al
movzx eax, byte [ebp - 0x1d]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x31], al
movzx eax, cl
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x30], al
movzx eax, dh
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2f], al
movzx eax, byte [ebp - 0x26]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2e], al
movzx eax, byte [ebp - 0x19]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2d], al
movzx eax, bl
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2c], al
movzx eax, ch
mov ecx, dword [ebp - 4]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2b], al
movzx eax, byte [ebp - 0x22]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x2a], al
movzx eax, byte [ebp - 0x25]
movzx eax, byte [eax + 0x4e10d0]
mov byte [ebp - 0x29], al
mov eax, dword [ecx + 0x18]
xor dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x1c]
xor dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x20]
xor dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x24]
xor dword [ebp - 0x2c], eax
cmp byte [ecx + 1], 0
movdqu xmm0, xmmword [ebp - 0x38]
je 0x415620
pxor xmm0, xmm1
movdqu xmmword [ebp - 0x38], xmm0
jmp 0x415620
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
movdqu xmm1, xmmword [edi - 8]
add edi, 0x10
movdqu xmmword [eax], xmm0
add eax, 0x10
mov dword [ebp - 0x14], edi
dec dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
jne 0x4152b3
movdqu xmmword [ecx + 8], xmm1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc