Function at 0x6b1f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov edi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp dword [esi], 0
je 0x6b1f6b
mov dword [esp + 0x18], edx
mov al, byte [esi + 0x271]
xor ecx, ecx
test al, 8
jne 0x6b1f83
mov ebx, edi
xor edi, edi
test al, 1
je 0x6b1f46
movzx edi, byte [esi + 0x26d]
lea eax, [esi + 8]
push eax
call fcn.0053cb10
add esp, 4
push eax
call fcn.0053c640
add esp, 4
add eax, edi
cmp eax, ebx
jbe 0x6b1f77
push 0x101
jmp 0x6b20db
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov bl, 1
jmp 0x6b238b
mov edi, ebx
mov ecx, ebx
sub ecx, eax
mov al, byte [esi + 0x271]
mov edx, dword [ebp + 0x14]
mov byte [esp + 0x44], 0xff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
test al, 0x10
mov ebx, eax
jne 0x6b1feb
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x3c], edx
movzx edx, word [ebp + 0x10]
mov dword [esp + 0x38], eax
mov al, byte [ebp + 0xc]
mov byte [esp + 0x40], al
lea eax, [esp + 0x38]
mov dword [esp + 0x10], eax
mov byte [esp + 0x41], dh
mov byte [esp + 0x42], dl
test bl, 8
mov eax, ebx
jne 0x6b1ffd
rol cx, 8
mov word [esp + 0x43], cx
mov dword [esp + 0xc], 0xd
jmp 0x6b2005
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
mov eax, ebx
jmp 0x6b2005
mov dword [esp + 0xc], 0xb
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
mov cl, byte [esi + 0x26c]
movzx edx, cl
test al, 4
mov byte [esp + 3], al
mov dword [esp + 0x14], edi
jne 0x6b205b
test cl, cl
je 0x6b2080
mov dword [esp + 8], ecx
lea eax, [esi + 0x260]
lea ecx, [esp + 0x20]
mov dword [esp + 4], edx
push edx
push eax
push ecx
call fcn.006cca40
mov al, byte [esp + 0xf]
add esp, 0xc
jmp 0x6b209e
mov dword [esp + 8], ecx
movzx eax, byte [esi + 0x26d]
sub edx, eax
je 0x6b2092
lea eax, [esp + 0x20]
mov dword [esp + 4], edx
push edx
push 0
push eax
call fcn.006ccfc0
add esp, 0xc
jmp 0x6b209a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
jmp 0x6b209e
mov dword [esp + 4], 0
mov al, byte [esp + 3]
mov edx, dword [ebp + 0x14]
mov bl, byte [esi + 0x26d]
movzx edi, bl
test al, 1
jne 0x6b20cd
test bl, bl
mov ecx, dword [esp + 4]
je 0x6b2120
lea eax, [esp + ecx]
add eax, 0x20
push edi
push edx
push eax
call fcn.006cca40
mov ecx, dword [esp + 0x10]
add esp, 0xc
jmp 0x6b2122
cmp edi, dword [ebp + 0x24]
mov ecx, dword [esp + 4]
jbe 0x6b20f5
push 0x11c
push str..._.._third_party_boringssl_src_ssl_ssl_aead_ctx.cc
push 0x70
push 0
push 0x10
call fcn.00590370
add esp, 0x14
xor ebx, ebx
jmp 0x6b238b
test bl, bl
mov edx, dword [ebp + 0x20]
je 0x6b2114
lea eax, [esp + ecx]
add eax, 0x20
push edi
push edx
push eax
call fcn.006cca40
mov edx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x10]
add esp, 0xc
sub dword [esp + 0x14], edi
add edx, edi
mov dword [esp + 0x18], edx
jmp 0x6b2122
xor ebx, ebx
movzx eax, bl
add ecx, eax
mov dword [esp + 4], ecx
test byte [esp + 3], 4
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x6b2343
cmp byte [esp + 8], 0
je 0x6b2343
mov edx, dword [esp + 8]
movzx eax, dl
xor ecx, ecx
cmp dl, 8
jb 0x6b2330
xor ecx, ecx
cmp byte [esp + 8], 0x20
jb 0x6b22f4
mov ecx, eax
movdqu xmm0, xmmword [esi + 0x260]
movdqu xmm1, xmmword [esi + 0x270]
pxor xmm0, xmmword [esp + 0x20]
pxor xmm1, xmmword [esp + 0x30]
and ecx, 0xffffffe0
movdqa xmmword [esp + 0x20], xmm0
movdqa xmmword [esp + 0x30], xmm1
cmp ecx, 0x20
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x280]
movdqu xmm1, xmmword [esi + 0x290]
pxor xmm0, xmmword [esp + 0x40]
pxor xmm1, xmmword [esp + 0x50]
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x50], xmm1
cmp ecx, 0x40
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x2a0]
movdqu xmm1, xmmword [esi + 0x2b0]
pxor xmm0, xmmword [esp + 0x60]
pxor xmm1, xmmword [esp + 0x70]
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x70], xmm1
cmp ecx, 0x60
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x2c0]
movdqu xmm1, xmmword [esi + 0x2d0]
pxor xmm0, xmmword [esp + 0x80]
pxor xmm1, xmmword [esp + 0x90]
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x90], xmm1
cmp ecx, 0x80
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x2e0]
movdqu xmm1, xmmword [esi + 0x2f0]
pxor xmm0, xmmword [esp + 0xa0]
pxor xmm1, xmmword [esp + 0xb0]
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xb0], xmm1
cmp ecx, 0xa0
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x300]
movdqu xmm1, xmmword [esi + 0x310]
pxor xmm0, xmmword [esp + 0xc0]
pxor xmm1, xmmword [esp + 0xd0]
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xd0], xmm1
cmp ecx, 0xc0
je 0x6b22ec
movdqu xmm0, xmmword [esi + 0x320]
movdqu xmm1, xmmword [esi + 0x330]
pxor xmm0, xmmword [esp + 0xe0]
pxor xmm1, xmmword [esp + 0xf0]
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xf0], xmm1
cmp ecx, eax
je 0x6b2343
test al, 0x18
je 0x6b2330
mov edx, ecx
mov ecx, eax
and ecx, 0xfffffff8
nop dword [eax + eax]
movq xmm0, qword [esi + edx + 0x260]
movq xmm1, qword [esp + edx + 0x20]
pxor xmm1, xmm0
movq qword [esp + edx + 0x20], xmm1
add edx, 8
cmp ecx, edx
jne 0x6b2300
cmp ecx, eax
je 0x6b2343
nop word cs:[eax + eax]
nop
movzx edx, byte [esi + ecx + 0x260]
xor byte [esp + ecx + 0x20], dl
add ecx, 1
cmp eax, ecx
jne 0x6b2330
mov dword [esp + 0x1c], 0xffffffff
add esi, 8
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push dword [esp + 0xc]
push dword [esp + 0x14]
push edi
push ebx
push dword [esp + 0x14]
push eax
push edi
push ecx
push ebx
push esi
call fcn.0053c9a0
add esp, 0x28
test eax, eax
je 0x6b2386
mov ecx, dword [esp + 0x1c]
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [ecx + 4], edi
test eax, eax
setne bl
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.006c9121
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x20