Function at 0x494847
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0xee37e4]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 8], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x78], edx
mov dword [esp + 4], ecx
movups xmm1, xmmword [edx]
push edi
lea edi, [esp + 0x90]
stosd dword es:[edi], eax
movaps xmmword [esp + 0x50], xmm1
movaps xmmword [esp + 0x60], xmm1
movups xmm5, xmmword [edx + 0x10]
stosd dword es:[edi], eax
movups xmm7, xmmword [edx + 0x20]
movaps xmmword [esp + 0x80], xmm5
stosd dword es:[edi], eax
movaps xmmword [esp + 0x10], xmm5
movaps xmmword [esp + 0x20], xmm7
movups xmm6, xmmword [edx + 0x30]
stosd dword es:[edi], eax
movaps xmmword [esp + 0x30], xmm6
cmp esi, 0x10
jge 0x4948f2
test esi, esi
je 0x494c62
push esi
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.006f6760
movups xmm0, xmmword [esp + 0x9c]
add esp, 0xc
lea eax, [esp + 0x90]
movaps xmmword [esp + 0x40], xmm0
push esi
push eax
push dword [esp + 0x14]
jmp 0x494bfe
mov edi, dword [esp + 0xc]
mov eax, ecx
neg eax
and eax, 0xf
je 0x49495d
movups xmm0, xmmword [ecx]
add ecx, eax
lea edx, [esp + 0x60]
mov dword [esp + 8], ecx
sub esi, eax
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
push ecx
movups xmmword [edi], xmm0
mov ecx, eax
add edi, eax
call fcn.00494787
movaps xmm1, xmmword [esp + 0x70]
add esp, 0x10
movaps xmm5, xmmword [esp + 0x10]
movaps xmm7, xmmword [esp + 0x20]
movaps xmm6, xmmword [esp + 0x30]
mov ecx, dword [esp + 8]
movaps xmmword [esp + 0x50], xmm1
movaps xmmword [esp + 0x80], xmm5
jmp 0x494965
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov edx, esi
sub esi, 0x40
js 0x494a5c
shr edx, 6
imul eax, edx, 0xffffffc0
add esi, eax
movups xmm1, xmmword [ecx]
movaps xmm0, xmmword [esp + 0x50]
movups xmm2, xmmword [ecx + 0x10]
movups xmm3, xmmword [ecx + 0x20]
movups xmm4, xmmword [ecx + 0x30]
add ecx, 0x40
movaps xmmword [esp + 0x50], xmm0
pclmulqdq xmm0, xmmword [0xed0dd0], 1
movaps xmmword [esp + 0x90], xmm1
movaps xmm1, xmmword [esp + 0x50]
pclmulqdq xmm1, xmmword [0xed0dd0], 0x10
xorps xmm1, xmm0
movaps xmm0, xmm5
movaps xmmword [esp + 0x50], xmm1
movaps xmm1, xmmword [0xed0dd0]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm5, xmm1, 0x10
xorps xmm5, xmm0
movaps xmm0, xmm7
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
pxor xmm5, xmm2
movaps xmm0, xmm6
movaps xmmword [esp + 0x10], xmm5
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
movaps xmm1, xmmword [esp + 0x90]
xorps xmm6, xmm0
movaps xmm0, xmmword [esp + 0x50]
pxor xmm7, xmm3
movups xmmword [edi], xmm1
movups xmmword [edi + 0x10], xmm2
pxor xmm0, xmm1
movaps xmmword [esp + 0x20], xmm7
movups xmmword [edi + 0x20], xmm3
movups xmmword [edi + 0x30], xmm4
add edi, 0x40
movaps xmmword [esp + 0x50], xmm0
pxor xmm6, xmm4
movaps xmm1, xmmword [esp + 0x50]
movaps xmmword [esp + 0x60], xmm1
movaps xmmword [esp + 0x30], xmm6
sub edx, 1
jne 0x494978
mov dword [esp + 8], ecx
movaps xmmword [esp + 0x80], xmm5
lea eax, [esi + 0x10]
test eax, eax
js 0x494ae9
movups xmm6, xmmword [ecx]
lea edx, [esp + 0x10]
movups xmm7, xmmword [ecx + 0x10]
mov esi, eax
lea eax, [esp + 0x30]
movaps xmmword [esp + 0x80], xmm6
movups xmm6, xmmword [ecx + 0x20]
lea ecx, [esp + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004946f2
movaps xmm0, xmmword [esp + 0x88]
add esp, 8
movups xmmword [edi], xmm0
pxor xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
movups xmmword [edi + 0x10], xmm7
pxor xmm7, xmmword [esp + 0x20]
movaps xmmword [esp + 0x20], xmm7
movups xmmword [edi + 0x20], xmm6
pxor xmm6, xmmword [esp + 0x30]
movaps xmmword [esp + 0x30], xmm6
test esi, esi
je 0x494adf
mov eax, dword [esp + 8]
add edi, 0x30
add eax, 0x30
push esi
push eax
jmp 0x494bda
movaps xmm1, xmmword [esp + 0x60]
jmp 0x494c46
lea eax, [esi + 0x20]
test eax, eax
js 0x494b77
movaps xmm1, xmmword [0xed0dd0]
movaps xmm3, xmm6
movaps xmm6, xmmword [esp + 0x80]
movaps xmm2, xmm7
movaps xmm7, xmmword [esp + 0x50]
movaps xmm0, xmm6
movups xmm4, xmmword [ecx]
mov esi, eax
movups xmm5, xmmword [ecx + 0x10]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
xorps xmm6, xmm0
movaps xmm0, xmm7
pxor xmm6, xmm5
movaps xmmword [esp + 0x30], xmm6
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
movaps xmm1, xmm2
movaps xmmword [esp + 0x60], xmm1
movaps xmm0, xmm3
movaps xmmword [esp + 0x10], xmm0
pxor xmm7, xmm4
movaps xmmword [esp + 0x20], xmm7
movups xmmword [edi], xmm4
movups xmmword [edi + 0x10], xmm5
test esi, esi
je 0x494c46
add edi, 0x20
lea eax, [ecx + 0x20]
jmp 0x494ad8
lea eax, [esi + 0x30]
test eax, eax
js 0x494bd3
movups xmm3, xmmword [ecx]
movaps xmm2, xmm6
movaps xmm6, xmm1
movaps xmm0, xmm7
pclmulqdq xmm1, xmmword [0xed0dd0], 1
pclmulqdq xmm6, xmmword [0xed0dd0], 0x10
xorps xmm6, xmm1
movaps xmmword [esp + 0x10], xmm0
mov esi, eax
movaps xmm1, xmm5
movaps xmmword [esp + 0x60], xmm1
movaps xmm7, xmm2
movaps xmmword [esp + 0x20], xmm7
pxor xmm6, xmm3
movaps xmmword [esp + 0x30], xmm6
movups xmmword [edi], xmm3
test esi, esi
je 0x494c46
add edi, 0x10
lea eax, [ecx + 0x10]
jmp 0x494ad8
add esi, 0x40
je 0x494c3e
push esi
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.006f6760
movups xmm0, xmmword [esp + 0x4c]
add esp, 0xc
lea eax, [esp + 0x90]
movups xmmword [esp + 0x90], xmm0
push esi
push eax
push edi
call fcn.006f6760
add esp, 0xc
lea eax, [esp + 0x40]
mov ecx, esi
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x70]
call fcn.00494787
movaps xmm1, xmmword [esp + 0x70]
add esp, 0x10
movaps xmm0, xmmword [esp + 0x10]
movaps xmm7, xmmword [esp + 0x20]
movaps xmm6, xmmword [esp + 0x30]
jmp 0x494c46
movaps xmm0, xmmword [esp + 0x80]
mov eax, dword [esp + 0x7c]
movups xmmword [eax], xmm1
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x20], xmm7
movups xmmword [eax + 0x30], xmm6
movups xmmword [eax + 0x40], xmm0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.006f3e28
mov esp, ebp
pop ebp
ret