Function at 0x4ea600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
movups xmm0, xmmword [eax]
push edi
mov esi, dword [ebx + 4]
xor edi, edi
movups xmmword [ebp - 0x24], xmm0
sub esi, 6
mov dword [ebp - 0x40], ebx
movups xmm0, xmmword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], ecx
movups xmmword [ebp - 0x14], xmm0
test esi, esi
jle 0x4ea6b3
cmp edi, dword [ebx + 4]
jg 0x4ea6ad
cmp ecx, esi
jge 0x4ea691
nop
cmp eax, 4
jge 0x4ea691
movzx ecx, byte [ebp + ecx*4 - 0x24]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx*4 - 0x23]
mov byte [ebx + edx*4 + 0x19], cl
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx*4 - 0x22]
mov byte [ebx + edx*4 + 0x1a], cl
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ebp + ecx*4 - 0x21]
mov byte [ebx + edx*4 + 0x1b], cl
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, esi
jl 0x4ea650
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
jl 0x4ea646
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
cmp edi, dword [ebx + 4]
jg 0x4ea890
mov dword [ebp - 0x2c], 0x5b1580
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [ebp + esi*4 - 0x27]
mov dl, byte [ebp - 0x24]
xor dl, byte [ecx + 0x5aff80]
mov byte [ebp - 0x24], dl
movzx ecx, byte [ebp + esi*4 - 0x26]
mov cl, byte [ecx + 0x5aff80]
xor cl, byte [ebp - 0x23]
mov byte [ebp - 0x25], cl
mov byte [ebp - 0x23], cl
movzx ecx, byte [ebp + esi*4 - 0x25]
movzx ecx, byte [ecx + 0x5aff80]
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp + esi*4 - 0x28]
movzx ecx, byte [ecx + 0x5aff80]
xor byte [ebp - 0x21], cl
mov ecx, dword [ebp - 0x2c]
inc dword [ebp - 0x2c]
movzx ecx, byte [ecx]
xor cl, dl
mov byte [ebp - 0x24], cl
cmp esi, 8
je 0x4ea76d
cmp esi, 1
jle 0x4ea760
mov bl, byte [ebp - 0x25]
lea ecx, [ebp - 0x23]
lea edi, [esi - 1]
mov esi, ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], bl
xor byte [esi + 2], cl
mov bl, byte [esi]
sub edi, 1
jne 0x4ea736
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x34]
test esi, esi
jle 0x4ea887
jmp 0x4ea815
mov bl, byte [ebp - 0x25]
lea esi, [ebp - 0x23]
mov edi, 3
nop dword [eax + eax]
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], bl
xor byte [esi + 2], cl
mov bl, byte [esi]
sub edi, 1
jne 0x4ea780
movzx ecx, byte [ebp - 0x18]
lea esi, [ebp - 0x13]
mov al, byte [ebp - 0x13]
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x40]
movzx ecx, byte [ecx + 0x5aff80]
xor byte [ebp - 0x14], cl
movzx ecx, byte [ebp - 0x17]
mov dword [ebp - 0x38], 3
xor al, byte [ecx + 0x5aff80]
movzx ecx, byte [ebp - 0x16]
mov byte [ebp - 0x13], al
movzx ecx, byte [ecx + 0x5aff80]
xor byte [ebp - 0x12], cl
movzx ecx, byte [ebp - 0x15]
movzx ecx, byte [ecx + 0x5aff80]
xor byte [ebp - 0x11], cl
nop dword [eax + eax]
movzx ecx, byte [esi - 1]
lea esi, [esi + 4]
xor byte [esi - 1], cl
movzx ecx, byte [esi - 3]
xor byte [esi + 1], cl
movzx ecx, byte [esi - 2]
xor byte [esi], al
xor byte [esi + 2], cl
sub dword [ebp - 0x38], 1
mov al, byte [esi]
jne 0x4ea7f0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
xor esi, esi
nop word [eax + eax]
cmp edi, dword [ebx + 4]
jg 0x4ea87e
cmp esi, edx
jge 0x4ea865
nop dword [eax]
cmp eax, 4
jge 0x4ea865
movzx ecx, byte [ebp + esi*4 - 0x24]
lea edx, [eax + edi*4]
mov byte [ebx + edx*4 + 0x18], cl
inc eax
movzx ecx, byte [ebp + esi*4 - 0x23]
mov byte [ebx + edx*4 + 0x19], cl
movzx ecx, byte [ebp + esi*4 - 0x22]
mov byte [ebx + edx*4 + 0x1a], cl
movzx ecx, byte [ebp + esi*4 - 0x21]
inc esi
mov byte [ebx + edx*4 + 0x1b], cl
mov edx, dword [ebp - 0x34]
cmp esi, edx
jl 0x4ea830
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, edx
jl 0x4ea820
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
cmp edi, dword [ebx + 4]
jle 0x4ea6d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ef615
mov esp, ebp
pop ebp
ret 4