Function at 0x664100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [esi + 0x2c0], 0
je 0x6642f2
mov eax, dword [esi + 0x2b8]
and eax, dword [esi + 0x2bc]
cmp eax, 0xffffffff
je 0x664300
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
push dword [esi + 8]
call fcn.0053c630
add esp, 4
mov edi, eax
test eax, eax
je 0x664177
lea eax, [esp + 0x10]
push edi
push 0
push eax
call fcn.006ccfc0
add esp, 0xc
mov edx, dword [esi + 0x2b8]
mov ebx, dword [esi + 0x2bc]
mov dword [esp], ebx
mov eax, ebx
shr eax, 0x10
mov dword [esp + 8], eax
mov ecx, edx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov dword [esp + 4], eax
mov eax, edx
shr eax, 0x18
lea ebx, [esi + 8]
mov dword [esp + 0xc], ebx
mov ebx, edi
sub ebx, 1
mov byte [esp + ebx + 0x10], dl
lea ebx, [esp + 0x10]
mov byte [edi + ebx - 2], dh
mov byte [edi + ebx - 3], cl
mov ecx, ebx
mov byte [edi + ebx - 4], al
mov eax, dword [esp]
mov byte [edi + ebx - 5], al
mov byte [edi + ebx - 6], ah
mov eax, dword [esp + 8]
mov byte [edi + ebx - 7], al
mov eax, dword [esp + 4]
mov byte [edi + ebx - 8], al
mov edx, edi
jb 0x66433a
xor ebx, ebx
cmp edx, 8
jb 0x664328
xor ebx, ebx
cmp edx, 0x20
jb 0x6642c3
mov ebx, edx
and ebx, 0xffffffe0
lea ecx, [ebx - 0x20]
mov eax, ecx
shr eax, 5
add eax, 1
test ecx, ecx
je 0x66431c
mov ecx, eax
and ecx, 0xfffffffe
xor edi, edi
nop dword [eax]
movups xmm0, xmmword [esi + edi + 0x260]
movups xmm1, xmmword [esi + edi + 0x270]
movups xmm2, xmmword [esp + edi + 0x10]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + edi + 0x20]
xorps xmm0, xmm1
movups xmmword [esp + edi + 0x10], xmm2
movups xmmword [esp + edi + 0x20], xmm0
movups xmm0, xmmword [esi + edi + 0x280]
movdqu xmm1, xmmword [esi + edi + 0x290]
movups xmm2, xmmword [esp + edi + 0x30]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esp + edi + 0x40]
pxor xmm0, xmm1
movups xmmword [esp + edi + 0x30], xmm2
movdqu xmmword [esp + edi + 0x40], xmm0
add edi, 0x40
add ecx, 0xfffffffe
jne 0x664220
test al, 1
je 0x6642b2
movups xmm0, xmmword [esi + edi + 0x260]
movdqu xmm1, xmmword [esi + edi + 0x270]
movups xmm2, xmmword [esp + edi + 0x10]
xorps xmm2, xmm0
movdqu xmm0, xmmword [esp + edi + 0x20]
pxor xmm0, xmm1
movups xmmword [esp + edi + 0x10], xmm2
movdqu xmmword [esp + edi + 0x20], xmm0
cmp edx, ebx
lea ecx, [esp + 0x10]
je 0x66433a
test dl, 0x18
je 0x664328
mov eax, ebx
mov ebx, edx
and ebx, 0xfffffff8
nop word [eax + eax]
movq xmm0, qword [esi + eax + 0x260]
movq xmm1, qword [esp + eax + 0x10]
pxor xmm1, xmm0
movq qword [esp + eax + 0x10], xmm1
add eax, 8
cmp ebx, eax
jne 0x6642d0
jmp 0x664336
push 0x23b
push str..._.._third_party_boringssl_src_crypto_hpke_hpke.c
push 0x42
jmp 0x66430c
push 0x23f
push str..._.._third_party_boringssl_src_crypto_hpke_hpke.c
push 0x45
push 0
push 6
call fcn.00590370
add esp, 0x14
xor esi, esi
jmp 0x664374
xor edi, edi
test al, 1
jne 0x664284
jmp 0x6642b2
mov al, byte [esi + ebx + 0x260]
xor byte [esp + ebx + 0x10], al
add ebx, 1
cmp edx, ebx
jne 0x664328
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edx
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x30]
call fcn.0053c7b0
add esp, 0x28
test eax, eax
je 0x664318
add dword [esi + 0x2b8], 1
adc dword [esi + 0x2bc], 0
mov esi, 1
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret