Function at 0x4092fa
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4a0780
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5ca018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
push esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x34], eax
movups xmm7, xmmword [eax + 0x30]
push edi
mov edi, dword [ebx + 0xc]
movaps xmmword [ebp - 0x50], xmm7
movaps xmmword [ebp - 0x90], xmm7
movups xmm0, xmmword [eax + 0x40]
movups xmm6, xmmword [eax + 0x50]
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0xa0], xmm0
movaps xmmword [ebp - 0x70], xmm6
movaps xmmword [ebp - 0xb0], xmm6
movups xmm5, xmmword [eax + 0x60]
movups xmm1, xmmword [eax + 0x70]
movaps xmmword [ebp - 0x60], xmm5
movaps xmmword [ebp - 0x80], xmm5
movaps xmmword [ebp - 0x20], xmm1
cmp esi, 0x10
jge 0x4a080a
test esi, esi
je 0x4a0be7
jmp 0x4a0ae4
mov ecx, edx
neg ecx
and ecx, 0xf
je 0x4a087e
movups xmm0, xmmword [edx]
lea eax, [ebp - 0x20]
add edx, ecx
push eax
lea eax, [ebp - 0x80]
movaps xmmword [ebp - 0x20], xmm0
push eax
lea eax, [ebp - 0xb0]
sub esi, ecx
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x34]
push ecx
movups xmmword [edi], xmm0
push eax
add edi, ecx
call fcn.004a0d70
movaps xmm7, xmmword [ebp - 0x90]
add esp, 0x1c
movaps xmm0, xmmword [ebp - 0xa0]
movaps xmm6, xmmword [ebp - 0xb0]
movaps xmm5, xmmword [ebp - 0x80]
movaps xmm1, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x50], xmm7
movaps xmmword [ebp - 0x30], xmm0
movaps xmmword [ebp - 0x70], xmm6
movaps xmmword [ebp - 0x60], xmm5
movaps xmmword [ebp - 0x20], xmm1
mov ecx, esi
sub esi, 0x40
js 0x4a0955
shr ecx, 6
mov eax, ecx
neg eax
shl eax, 6
add esi, eax
movups xmm1, xmmword [edx]
movups xmm2, xmmword [edx + 0x10]
movups xmm3, xmmword [edx + 0x20]
movups xmm4, xmmword [edx + 0x30]
add edx, 0x40
movaps xmmword [ebp - 0x30], xmm0
movaps xmm0, xmm7
movaps xmmword [ebp - 0x80], xmm1
movaps xmm1, xmmword [0x59b820]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
movaps xmm0, xmmword [ebp - 0x30]
pclmulqdq xmm0, xmm1, 1
movaps xmm1, xmmword [ebp - 0x30]
pclmulqdq xmm1, xmmword [0x59b820], 0x10
xorps xmm1, xmm0
movaps xmm0, xmm6
movaps xmmword [ebp - 0x30], xmm1
movaps xmm1, xmmword [0x59b820]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
xorps xmm6, xmm0
movaps xmm0, xmm5
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm5, xmm1, 0x10
movaps xmm1, xmmword [ebp - 0x80]
xorps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0x30]
pxor xmm7, xmm1
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
movups xmmword [edi + 0x20], xmm3
movups xmmword [edi + 0x30], xmm4
add edi, 0x40
pxor xmm0, xmm2
pxor xmm6, xmm3
movaps xmmword [ebp - 0x30], xmm0
pxor xmm5, xmm4
sub ecx, 1
jne 0x4a0895
movaps xmmword [ebp - 0x50], xmm7
movaps xmmword [ebp - 0x70], xmm6
movaps xmmword [ebp - 0x60], xmm5
lea eax, [esi + 0x10]
test eax, eax
js 0x4a0a07
movaps xmm0, xmmword [0x59b820]
movaps xmm1, xmm5
movups xmm2, xmmword [edx]
movaps xmm5, xmm6
movups xmm3, xmmword [edx + 0x10]
mov esi, eax
movups xmm4, xmmword [edx + 0x20]
movaps xmmword [ebp - 0x80], xmm2
movaps xmm2, xmmword [ebp - 0x30]
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmmword [ebp - 0x30]
pxor xmm5, xmm4
movaps xmmword [ebp - 0x60], xmm5
pclmulqdq xmm2, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm2
movaps xmm2, xmm7
pxor xmm6, xmm3
movaps xmmword [ebp - 0x70], xmm6
pclmulqdq xmm2, xmm0, 0x10
movaps xmmword [ebp - 0x30], xmm2
movaps xmm2, xmmword [ebp - 0x80]
pclmulqdq xmm7, xmm0, 1
movaps xmm0, xmmword [ebp - 0x30]
xorps xmm0, xmm7
movaps xmmword [ebp - 0x30], xmm0
movaps xmm0, xmm1
movaps xmm7, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x50], xmm0
pxor xmm7, xmm2
movaps xmmword [ebp - 0x30], xmm7
movups xmmword [edi], xmm2
movups xmmword [edi + 0x10], xmm3
movups xmmword [edi + 0x20], xmm4
test esi, esi
je 0x4a0bcc
add edi, 0x30
add edx, 0x30
jmp 0x4a0ae4
lea eax, [esi + 0x20]
test eax, eax
js 0x4a0a81
movaps xmm0, xmmword [0x59b820]
movaps xmm1, xmm6
movaps xmm6, xmmword [ebp - 0x30]
movaps xmm2, xmm5
movups xmm3, xmmword [edx]
movaps xmm5, xmm6
movups xmm4, xmmword [edx + 0x10]
mov esi, eax
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmm7
pxor xmm5, xmm4
movaps xmmword [ebp - 0x60], xmm5
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movaps xmm0, xmm1
movaps xmmword [ebp - 0x50], xmm0
movaps xmm7, xmm2
movaps xmmword [ebp - 0x30], xmm7
pxor xmm6, xmm3
movaps xmmword [ebp - 0x70], xmm6
movups xmmword [edi], xmm3
movups xmmword [edi + 0x10], xmm4
test esi, esi
je 0x4a0bcc
add edi, 0x20
add edx, 0x20
jmp 0x4a0ae4
lea eax, [esi + 0x30]
test eax, eax
js 0x4a0adb
movups xmm2, xmmword [edx]
movaps xmm1, xmm5
movaps xmm0, xmmword [ebp - 0x30]
movaps xmm5, xmm7
pclmulqdq xmm7, xmmword [0x59b820], 1
pclmulqdq xmm5, xmmword [0x59b820], 0x10
xorps xmm5, xmm7
movaps xmmword [ebp - 0x50], xmm0
movaps xmm7, xmm6
mov esi, eax
movaps xmmword [ebp - 0x30], xmm7
movaps xmm6, xmm1
movaps xmmword [ebp - 0x70], xmm6
pxor xmm5, xmm2
movaps xmmword [ebp - 0x60], xmm5
movups xmmword [edi], xmm2
test esi, esi
je 0x4a0bcc
add edi, 0x10
add edx, 0x10
jmp 0x4a0ae4
add esi, 0x40
je 0x4a0bbc
push esi
push edx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.00407036
movd xmm2, dword [ebp - 0x14]
add esp, 0xc
movd xmm0, dword [ebp - 0x18]
movd xmm1, dword [ebp - 0x1c]
movd xmm3, dword [ebp - 0x20]
movaps xmm5, xmmword [ebp - 0x50]
movaps xmm7, xmmword [ebp - 0x30]
movaps xmm6, xmmword [ebp - 0x70]
punpckldq xmm3, xmm0
movaps xmm0, xmm7
punpckldq xmm1, xmm2
movaps xmm2, xmmword [0x59b840]
punpckldq xmm3, xmm1
shl esi, 4
movups xmmword [edi], xmm3
movaps xmmword [ebp - 0x20], xmm3
movaps xmm3, xmm5
movups xmm1, xmmword [esi + 0x59b670]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm5, xmm2
pshufb xmm7, xmm2
por xmm5, xmm0
movaps xmm0, xmm6
pshufb xmm0, xmm1
movaps xmmword [ebp - 0x50], xmm5
movaps xmm5, xmmword [ebp - 0x60]
por xmm7, xmm0
movaps xmm0, xmm5
pshufb xmm0, xmm1
pshufb xmm6, xmm2
pshufb xmm5, xmm2
por xmm6, xmm0
movaps xmm0, xmmword [ebp - 0x20]
pshufb xmm0, xmm1
pshufb xmm3, xmm1
movaps xmmword [ebp - 0x20], xmm0
por xmm0, xmm5
movaps xmm5, xmm3
movaps xmm1, xmm3
pclmulqdq xmm5, xmmword [0x59b820], 1
pclmulqdq xmm1, xmmword [0x59b820], 0x10
xorps xmm5, xmm0
xorps xmm5, xmm1
jmp 0x4a0bc8
movaps xmm5, xmmword [ebp - 0x60]
movaps xmm6, xmmword [ebp - 0x70]
movaps xmm7, xmmword [ebp - 0x30]
movaps xmm0, xmmword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
movups xmmword [eax + 0x30], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movups xmmword [eax + 0x40], xmm7
movups xmmword [eax + 0x50], xmm6
movups xmmword [eax + 0x60], xmm5
movups xmmword [eax + 0x70], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405a92
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret