Function at 0x69422f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x6945a0dc]
test eax, eax
jne 0x69422fa7
movsd xmm0, qword [0x6944edf0]
xorps xmm0, xmmword [0x69435c20]
mov eax, 0x8db2cb59
xor eax, dword [0x6944edf8]
movlps qword [0x6944ee10], xmm0
mov dword [0x6944ee18], eax
mov eax, dword [0x6944edfc]
lea ecx, [eax + eax]
and ecx, 0x1ae3a398
neg ecx
add eax, ecx
add eax, 0xd71d1cc
mov dword [0x6944ee1c], eax
mov eax, 0x6f5943a
xor eax, dword [0x6944ee00]
mov dword [str.S.HiR_Hi], eax
mov esi, dword [ebp + 8]
mov dword [0x6945a0dc], 1
push eax
sub esp, 0x10
mov eax, esp
sub esp, 0x40
mov edi, esp
sub esp, 0x40
mov edx, esp
mov ecx, dword [str.S.HiR_Hi]
mov dword [eax + 0x10], ecx
movaps xmm0, xmmword [0x6944ee10]
mov dword [ebp - 0x20], eax
movups xmmword [eax], xmm0
cmp ebx, 0x40
mov dword [ebp - 0x1c], edx
jae 0x69422fe6
mov eax, esi
jmp 0x69423058
shr ebx, 6
mov dword [ebp - 0x10], ebx
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x14], ecx
mov ebx, eax
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ebx + esi]
mov dword [edi + esi], eax
movzx ecx, byte [ebx + esi + 1]
shl ecx, 8
or ecx, eax
mov dword [edi + esi], ecx
movzx eax, byte [ebx + esi + 2]
shl eax, 0x10
or eax, ecx
mov dword [edi + esi], eax
movzx ecx, byte [ebx + esi + 3]
shl ecx, 0x18
or ecx, eax
mov dword [edi + esi], ecx
add esi, 4
cmp esi, 0x40
jne 0x69423000
push edi
push dword [ebp - 0x20]
call fcn.69423d90
add esp, 8
mov ecx, dword [ebp - 0x14]
inc ecx
lea eax, [ebx + esi]
cmp ecx, dword [ebp - 0x10]
jne 0x69422ff0
add ebx, esi
mov eax, ebx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [edx + 0x30], xmm0
movups xmmword [edx + 0x20], xmm0
movups xmmword [edx + 0x10], xmm0
movups xmmword [edx], xmm0
mov ecx, ebx
and ecx, 0x3f
mov dword [ebp - 0x18], ecx
mov edi, edx
je 0x69423100
mov ecx, ebx
and ecx, 1
xor esi, esi
cmp dword [ebp - 0x18], 1
je 0x694230e7
mov dword [ebp - 0x24], ecx
sub dword [ebp - 0x18], ecx
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x1c]
nop word [eax + eax]
mov dword [ebp - 0x14], ecx
movzx edi, byte [eax + esi]
mov eax, dword [ebp - 0x14]
mov ecx, eax
and cl, 0x10
shl edi, cl
mov edx, esi
and edx, 0xfffffffc
xor edi, dword [ebx + edx]
mov dword [ebx + edx], edi
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + esi + 1]
or cl, 8
shl eax, cl
mov ecx, dword [ebp - 0x14]
xor eax, edi
mov dword [ebx + edx], eax
mov eax, dword [ebp - 0x10]
add esi, 2
add ecx, 0x10
cmp dword [ebp - 0x18], esi
jne 0x694230a0
add eax, esi
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
mov edi, dword [ebp - 0x1c]
je 0x69423100
movzx eax, byte [eax]
lea ecx, [esi*8]
shl eax, cl
and esi, 0xfffffffc
xor dword [edi + esi], eax
mov eax, ebx
xor eax, 0xfffffffc
mov ecx, ebx
or ecx, 3
and ecx, eax
mov eax, ecx
and eax, 0xf7
mov edx, ecx
and edx, 8
or ecx, 8
imul ecx, edx
xor edx, 8
imul edx, eax
add ecx, edx
or cl, 7
mov eax, 1
shl eax, cl
mov ecx, ebx
shr ecx, 2
mov edx, ecx
not edx
or edx, 0xf
add edx, ecx
xor dword [edi + edx*4 + 4], eax
mov esi, dword [ebp + 0x10]
mov eax, ebx
not eax
test al, 0x38
jne 0x69423166
push edi
push dword [ebp - 0x20]
call fcn.69423d90
add esp, 8
xor eax, eax
mov ecx, 0x10
mov edx, edi
rep stosd dword es:[edi], eax
mov edi, edx
lea eax, [ebx*8]
mov dword [edi + 0x38], eax
shr ebx, 0x1d
mov dword [edi + 0x3c], ebx
push edi
mov edi, dword [ebp - 0x20]
push edi
call fcn.69423d90
add esp, 8
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret