Function at 0x7e1790
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]
cmp dword [esi + 0x2c0], 0
je 0x7e17ca
push 0x223
push str.external_boringssl_src_crypto_hpke_hpke.c
push 0x42
push 0
push 6
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x2b8]
and eax, dword [esi + 0x2bc]
cmp eax, 0xffffffff
je 0x7e197e
xorps xmm0, xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
push dword [esi + 8]
call sym.adb.exe_EVP_AEAD_nonce_length
add esp, 4
mov edi, eax
test eax, eax
je 0x7e1815
mov eax, esp
push edi
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov edx, dword [esi + 0x2b8]
mov ebx, dword [esi + 0x2bc]
mov dword [esp + 0x1c], ebx
mov eax, ebx
shr eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, edx
shr ecx, 0x10
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], eax
mov eax, edx
shr eax, 0x18
lea ebx, [esi + 8]
mov dword [esp + 0x28], ebx
mov ebx, edi
sub ebx, 1
mov byte [esp + ebx], dl
mov ebx, esp
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 + 0x1c]
mov byte [edi + ebx - 5], al
mov byte [edi + ebx - 6], ah
mov eax, dword [esp + 0x24]
mov byte [edi + ebx - 7], al
mov eax, dword [esp + 0x20]
mov byte [edi + ebx - 8], al
mov edx, edi
jb 0x7e199f
xor ebx, ebx
cmp edx, 8
jb 0x7e198f
xor ebx, ebx
cmp edx, 0x20
jb 0x7e1957
lea eax, [edx - 0x20]
mov ecx, eax
shr ecx, 5
inc ecx
xor edi, edi
cmp eax, 0x20
jb 0x7e191a
mov ebx, ecx
and ebx, 0xfffffffe
xor edi, edi
nop word cs:[eax + eax]
movups xmm0, xmmword [esi + edi + 0x260]
movups xmm1, xmmword [esi + edi + 0x270]
movups xmm2, xmmword [esp + edi]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + edi + 0x10]
xorps xmm0, xmm1
movups xmmword [esp + edi], xmm2
movups xmmword [esp + edi + 0x10], xmm0
movups xmm0, xmmword [esi + edi + 0x280]
movups xmm1, xmmword [esi + edi + 0x290]
movups xmm2, xmmword [esp + edi + 0x20]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + edi + 0x30]
xorps xmm0, xmm1
movups xmmword [esp + edi + 0x20], xmm2
movups xmmword [esp + edi + 0x30], xmm0
add edi, 0x40
add ebx, 0xfffffffe
jne 0x7e18c0
mov ebx, edx
and ebx, 0xffffffe0
test cl, 1
je 0x7e194c
movups xmm0, xmmword [esi + edi + 0x260]
movups xmm1, xmmword [esi + edi + 0x270]
movups xmm2, xmmword [esp + edi]
xorps xmm2, xmm0
movups xmm0, xmmword [esp + edi + 0x10]
xorps xmm0, xmm1
movups xmmword [esp + edi], xmm2
movups xmmword [esp + edi + 0x10], xmm0
cmp edx, ebx
mov ecx, esp
je 0x7e199f
test dl, 0x18
je 0x7e198f
mov eax, ebx
mov ebx, edx
and ebx, 0xfffffff8
nop
movsd xmm0, qword [esi + eax + 0x260]
movsd xmm1, qword [esp + eax]
xorps xmm1, xmm0
movlps qword [esp + eax], xmm1
add eax, 8
cmp ebx, eax
jne 0x7e1960
jmp 0x7e199b
push 0x227
push str.external_boringssl_src_crypto_hpke_hpke.c
push 0x45
jmp 0x7e17b4
movzx eax, byte [esi + ebx + 0x260]
xor byte [esp + ebx], al
inc ebx
cmp edx, ebx
jne 0x7e198f
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 + 0x4c]
call sym.adb.exe_EVP_AEAD_CTX_open
add esp, 0x28
test eax, eax
je 0x7e17c0
add dword [esi + 0x2b8], 1
adc dword [esi + 0x2bc], 0
mov eax, 1
jmp 0x7e17c2