Function at 0x7d2d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
lea edi, [ebp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [ecx], 0
je 0x7d2d5d
mov esi, ecx
movzx ebx, byte [ecx + 0x271]
xor eax, eax
test bl, 8
jne 0x7d2d73
lea eax, [esi + 8]
and bl, 1
neg bl
and bl, byte [esi + 0x26d]
push eax
call sym.adb.exe_EVP_AEAD_CTX_aead
add esp, 4
push eax
call sym.adb.exe_EVP_AEAD_max_overhead
add esp, 4
movzx ecx, bl
add ecx, eax
mov eax, dword [edi + 4]
sub eax, ecx
jae 0x7d2d6c
push 0x101
jmp 0x7d2ea2
movsd xmm0, qword [edi]
movsd qword [eax], xmm0
mov al, 1
jmp 0x7d312b
movzx ebx, byte [esi + 0x271]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x39], 0
mov dword [esp + 0x35], 0
test bl, 0x10
jne 0x7d2dd9
movzx ecx, word [ebp + 0x10]
mov bh, byte [ebp + 0xc]
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edi
mov byte [esp + 0x38], bh
mov byte [esp + 0x39], ch
mov byte [esp + 0x3a], cl
mov ecx, 0xb
test bl, 8
jne 0x7d2dd3
rol ax, 8
mov word [esp + 0x3b], ax
mov ecx, 0xd
lea edx, [esp + 0x30]
jmp 0x7d2de1
lea eax, [ebp + 0x18]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
xorps xmm0, xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movzx eax, byte [esi + 0x26c]
movzx edi, al
test bl, 4
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
jne 0x7d2e29
test al, al
je 0x7d2e48
mov dword [esp + 0x24], eax
lea eax, [esi + 0x260]
mov ecx, esp
push edi
push eax
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
jmp 0x7d2e43
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0x26d]
sub edi, eax
je 0x7d2e50
mov eax, esp
push edi
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
jmp 0x7d2e52
mov dword [esp + 0x24], 0
xor edi, edi
lea ecx, [ebp + 0x20]
test bl, 1
jne 0x7d2e86
movzx ecx, byte [esi + 0x26d]
test ecx, ecx
je 0x7d2f06
lea eax, [esp + edi]
push ecx
push dword [ebp + 0x14]
push eax
mov dword [esp + 0x38], ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov ecx, dword [esp + 0x38]
add esp, 0xc
jmp 0x7d2f08
mov dword [esp + 0x28], edi
mov eax, ecx
mov edi, dword [ecx + 4]
movzx ecx, byte [esi + 0x26d]
movzx edx, cl
sub edi, edx
jae 0x7d2ebc
push 0x11c
push str.external_boringssl_src_ssl_ssl_aead_ctx.cc
push 0x70
push 0
push 0x10
call sym.adb.exe_ERR_put_error
add esp, 0x14
xor eax, eax
jmp 0x7d312b
mov dword [esp + 0x50], edi
mov eax, dword [eax]
mov dword [esp + 0x44], eax
test cl, cl
je 0x7d2eee
mov eax, dword [esp + 0x28]
add eax, esp
push edx
push dword [esp + 0x48]
push eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edi, dword [esp + 0x44]
add edi, edx
lea eax, [ebp + 0x20]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax], edi
mov edi, dword [esp + 0x28]
jmp 0x7d2f08
xor ecx, ecx
movzx eax, cl
add edi, eax
mov dword [esp + 0x28], edi
test bl, 4
lea edi, [ebp + 0x20]
je 0x7d30e0
cmp byte [esp + 0x24], 0
je 0x7d30e0
mov edx, dword [esp + 0x24]
movzx eax, dl
xor ecx, ecx
cmp dl, 8
jb 0x7d30d0
xor ecx, ecx
cmp byte [esp + 0x24], 0x20
jb 0x7d309b
mov ecx, eax
movups xmm0, xmmword [esi + 0x260]
movups xmm1, xmmword [esi + 0x270]
xorps xmm0, xmmword [esp]
xorps xmm1, xmmword [esp + 0x10]
and ecx, 0xffffffe0
movaps xmmword [esp], xmm0
movaps xmmword [esp + 0x10], xmm1
cmp ecx, 0x20
je 0x7d3093
movups xmm0, xmmword [esi + 0x280]
movups xmm1, xmmword [esi + 0x290]
xorps xmm0, xmmword [esp + 0x20]
xorps xmm1, xmmword [esp + 0x30]
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm1
cmp ecx, 0x40
je 0x7d3093
movups xmm0, xmmword [esi + 0x2a0]
movups xmm1, xmmword [esi + 0x2b0]
xorps xmm0, xmmword [esp + 0x40]
xorps xmm1, xmmword [esp + 0x50]
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm1
cmp ecx, 0x60
je 0x7d3093
movups xmm0, xmmword [esi + 0x2c0]
movups xmm1, xmmword [esi + 0x2d0]
xorps xmm0, xmmword [esp + 0x60]
xorps xmm1, xmmword [esp + 0x70]
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x70], xmm1
cmp ecx, 0x80
je 0x7d3093
movups xmm0, xmmword [esi + 0x2e0]
movups xmm1, xmmword [esi + 0x2f0]
xorps xmm0, xmmword [esp + 0x80]
xorps xmm1, xmmword [esp + 0x90]
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm1
cmp ecx, 0xa0
je 0x7d3093
movups xmm0, xmmword [esi + 0x300]
movups xmm1, xmmword [esi + 0x310]
xorps xmm0, xmmword [esp + 0xa0]
xorps xmm1, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0xb0], xmm1
cmp ecx, 0xc0
je 0x7d3093
movups xmm0, xmmword [esi + 0x320]
movups xmm1, xmmword [esi + 0x330]
xorps xmm0, xmmword [esp + 0xc0]
xorps xmm1, xmmword [esp + 0xd0]
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xd0], xmm1
cmp ecx, eax
je 0x7d30e0
test al, 0x18
je 0x7d30d0
mov edx, ecx
mov ecx, eax
and ecx, 0xfffffff8
nop word cs:[eax + eax]
movsd xmm0, qword [esi + edx + 0x260]
movsd xmm1, qword [esp + edx]
xorps xmm1, xmm0
movlps qword [esp + edx], xmm1
add edx, 8
cmp ecx, edx
jne 0x7d30b0
cmp ecx, eax
je 0x7d30e0
movzx edx, byte [esi + ecx + 0x260]
xor byte [esp + ecx], dl
inc ecx
cmp eax, ecx
jne 0x7d30d0
mov dword [esp + 0x48], 0
add esi, 8
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov eax, esp
lea ecx, [esp + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x58]
push edi
push ebx
push dword [esp + 0x38]
push eax
push edi
push ecx
push ebx
push esi
call sym.adb.exe_EVP_AEAD_CTX_open
add esp, 0x28
test eax, eax
je 0x7d3126
mov ecx, dword [esp + 0x48]
cmp edi, ecx
cmovb ecx, edi
mov edx, dword [ebp + 8]
mov dword [edx], ebx
mov dword [edx + 4], ecx
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x20