Function at 0x4a0440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x6f4e3c]
xor edx, ebp
mov dword [esp + 0x58], edx
cmp ecx, 0x100
je 0x4a053d
cmp ecx, 0xc0
je 0x4a0659
mov esi, 1
cmp ecx, 0x80
jne 0x4a081b
mov dword [edi + 0xf0], 0xa
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movdqa xmm2, xmmword [esp + 0x30]
add edi, 0x10
mov esi, 0xfffffff6
lea ebx, [esp + 0x30]
nop word cs:[eax + eax]
nop
movdqa xmmword [esp], xmm2
lea ecx, [esp + 0x20]
mov edx, ebx
call fcn.004a61c0
movzx eax, byte [esi + 0x657b2c]
movd xmm0, eax
pxor xmm0, xmmword [esp]
movdqa xmm2, xmmword [esp + 0x20]
movdqa xmm1, xmm2
psrld xmm1, 8
pslld xmm2, 0x18
por xmm2, xmm1
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [esp + 0x30], xmm2
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [edi], xmm0
add edi, 0x10
inc esi
jne 0x4a04c0
jmp 0x4a0819
mov dword [edi + 0xf0], 0xe
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
mov ebx, 0x30
mov esi, 0x657b22
movaps xmm0, xmmword [esp + 0x30]
movaps xmmword [esp], xmm0
nop dword [eax]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x20]
call fcn.004a61c0
movzx eax, byte [esi]
movd xmm0, eax
pxor xmm0, xmmword [esp]
movdqa xmm2, xmmword [esp + 0x40]
movdqa xmm1, xmm2
psrld xmm1, 8
pslld xmm2, 0x18
por xmm2, xmm1
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [esp + 0x30], xmm2
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [edi + ebx - 0x10], xmm0
cmp ebx, 0xf0
je 0x4a0819
movdqa xmmword [esp], xmm2
lea ecx, [esp + 0x40]
lea edx, [esp + 0x30]
call fcn.004a61c0
movdqa xmm0, xmmword [esp + 0x40]
psrldq xmm0, 0xc
pxor xmm0, xmmword [esp + 0x20]
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm0
pslldq xmm2, 8
pslldq xmm0, 0xc
pxor xmm0, xmm2
pxor xmm0, xmm1
movdqa xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [edi + ebx], xmm0
add ebx, 0x20
add esi, 1
jmp 0x4a0580
mov dword [edi + 0xf0], 0xc
lea ecx, [esp + 0x30]
lea esi, [esp + 0x20]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
add edi, 0x30
mov ebx, edi
mov edi, 0xfffffff8
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [esp + 0x1c], ebx
mov ebx, ecx
lea ecx, [esp + 0x40]
mov edx, esi
call fcn.004a61c0
mov dword [esp], edi
movzx eax, byte [edi + str.e6.._.._third_party_boringssl_src_crypto_fipsmodule_cipher_e_aes.c]
movd xmm0, eax
mov edi, ebx
mov ebx, dword [esp + 0x1c]
movdqa xmm1, xmmword [edi]
pxor xmm0, xmm1
pslldq xmm0, 8
por xmm0, xmmword [esi]
movdqa xmmword [esi], xmm0
movdqa xmm2, xmmword [esp + 0x40]
movdqa xmm3, xmm2
psrld xmm3, 8
pslld xmm2, 0x18
por xmm2, xmm3
pshufd xmm2, xmm2, 0xd4
pand xmm2, xmmword [0x64eb50]
pxor xmm2, xmm0
pshufd xmm3, xmm2, 0xaa
pand xmm3, xmmword [0x64eb30]
pxor xmm3, xmm2
movdqa xmmword [esi], xmm3
shufps xmm1, xmm0, 0x4e
psrldq xmm3, 0xc
pxor xmm3, xmm1
movdqa xmm0, xmm3
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm1, xmm3
pslldq xmm1, 8
pslldq xmm3, 0xc
pxor xmm3, xmm1
pxor xmm3, xmm0
movdqa xmmword [edi], xmm3
movups xmm0, xmmword [esi]
movups xmmword [ebx - 0x20], xmm0
movups xmm0, xmmword [edi]
movups xmmword [ebx - 0x10], xmm0
lea ecx, [esp + 0x40]
mov edx, edi
call fcn.004a61c0
mov eax, dword [esp]
movzx eax, byte [eax + 0x657b2b]
movaps xmm1, xmmword [esi]
movaps xmm0, xmmword [edi]
shufps xmm1, xmm0, 0x4e
movd xmm2, eax
pxor xmm2, xmm1
movdqa xmmword [esi], xmm2
movdqa xmm1, xmmword [esp + 0x40]
movdqa xmm3, xmm1
psrld xmm3, 8
pslld xmm1, 0x18
por xmm1, xmm3
psrldq xmm1, 0xc
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm3, xmm1
pslldq xmm3, 8
pslldq xmm1, 0xc
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqa xmmword [esi], xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
pxor xmm1, xmm0
movdqa xmm0, xmm1
psllq xmm0, 0x20
pxor xmm0, xmm1
movq xmm0, xmm0
movdqa xmmword [edi], xmm0
movups xmm0, xmmword [esi]
movups xmmword [ebx], xmm0
add ebx, 0x30
mov ecx, esi
mov esi, edi
mov edi, dword [esp]
add edi, 2
jne 0x4a06b0
xor esi, esi
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.00517c1a
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret