Function at 0x140076ed0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14d, edx
mov rsi, rcx
xor edi, edi
mov ebx, edi
cmp byte [rcx + 9], bl
je 0x140077718
cmp byte [rcx + 0xb], bl
je 0x14007726e
movzx eax, byte [rcx + 8]
dec eax
cmp eax, 0x11
ja case.default.0x140076f38
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x77890]
add rax, rcx
jmp rax
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
mov ebp, 0xa
nop
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
test ecx, ecx
jns 0x140076f65
mov rax, rbp
jmp 0x140076f75
or ecx, 1
bsr eax, ecx
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rbx, rax
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140076f50
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
nop dword [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rcx, qword [rax]
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140076fa0
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
nop dword [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140076ff0
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rcx, qword [rax]
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077035
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov eax, dword [rax]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077080
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
nop
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rax, qword [rax]
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x1400770d0
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140076f38
mov ebp, 0xa
nop word [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
test ecx, ecx
jns 0x140077145
mov rax, rbp
jmp 0x140077155
or ecx, 1
bsr eax, ecx
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rbx, rax
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077130
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 2
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 3
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 2
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 3
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 2
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
shl rbx, 3
jmp case.default.0x140076f38
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
jmp case.default.0x140076f38
mov r9d, 0x6aa
lea r8, str.C:DevPackageStaginggrpc1.22.1_src_third_partyprotobuf_srcgoogleprotobufextension_set.cc
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.140051eb0
nop
lea rdx, str.Non_primitive_types_cant_be_packed.
mov rcx, rax
call fcn.140052440
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400520c0
nop
lea rcx, [rsp + 0x30]
call fcn.140052020
mov dword [rsi + 0xc], ebx
test rbx, rbx
je case.default.0x140077769
mov eax, ebx
or eax, 1
bsr r8d, eax
lea eax, [r14*8]
or eax, 3
bsr ecx, eax
lea edx, [rcx*8 + 0x49]
add edx, ecx
shr rdx, 6
lea ecx, [r8*8 + 0x49]
add ecx, r8d
shr rcx, 6
add rbx, rcx
add rbx, rdx
jmp case.default.0x140077769
lea eax, [rdx*8]
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
movzx eax, byte [rsi + 8]
lea rbp, [rcx + rcx]
cmp al, 0xa
cmovne rbp, rcx
dec eax
cmp eax, 0x11
ja case.default.0x140077769
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x778d8]
add rax, rcx
jmp rax
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
mov ebp, 0xa
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
test ecx, ecx
jns 0x1400772eb
mov rax, rbp
jmp 0x1400772fb
or ecx, 1
bsr eax, ecx
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rbx, rax
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x1400772d6
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
nop
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rcx, qword [rax]
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077330
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077386
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rcx, qword [rax]
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x1400773e0
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov eax, dword [rax]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077436
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074030
mov rax, qword [rax]
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x140077492
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e10
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e10
test eax, eax
jle case.default.0x140077769
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074050
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e10
cmp edi, eax
jl 0x1400774f5
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e10
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e10
test eax, eax
jle case.default.0x140077769
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074050
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rbx, rcx
inc edi
mov rcx, qword [rsi]
call fcn.140074e10
cmp edi, eax
jl 0x140077550
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.140074e00
test eax, eax
jle case.default.0x140077769
mov ebp, 0xa
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.140074020
mov ecx, dword [rax]
test ecx, ecx
jns 0x1400775c5
mov rax, rbp
jmp 0x1400775d5
or ecx, 1
bsr eax, ecx
lea eax, [rax + rax*8]
add eax, 0x49
shr rax, 6
add rbx, rax
inc edi
mov rcx, qword [rsi]
call fcn.140074e00
cmp edi, eax
jl 0x1400775b0
jmp case.default.0x140077769
mov rax, qword [rsi]
mov ecx, dword [rax + 8]
mov ebx, ecx
imul rbx, rbp
test ecx, ecx
jle case.default.0x140077769
mov rbp, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rcx, qword [rcx + rbp + 8]
mov rax, qword [rcx]
call qword [rax + 0x58]
add rbx, rax
inc edi
lea rbp, [rbp + 8]
mov rax, qword [rsi]
cmp edi, dword [rax + 8]
jl 0x140077610
jmp case.default.0x140077769
mov rax, qword [rsi]
mov ecx, dword [rax + 8]
mov ebx, ecx
imul rbx, rbp
test ecx, ecx
jle case.default.0x140077769
mov rbp, rdi
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rcx, qword [rcx + rbp + 8]
call fcn.140068df0
add rbx, rax
inc edi
lea rbp, [rbp + 8]
mov rax, qword [rsi]
cmp edi, dword [rax + 8]
jl 0x140077650
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
call fcn.140074e00
mov ebx, eax
lea rax, [rbp + 1]
imul rbx, rax
jmp case.default.0x140077769
movzx edx, byte [rcx + 0xa]
test dl, 0xf
jne case.default.0x140077769
lea eax, [r14*8]
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
movzx eax, byte [rsi + 8]
lea rbx, [rcx + rcx]
cmp al, 0xa
cmovne rbx, rcx
dec eax
cmp eax, 0x11
ja case.default.0x140077769
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x77920]
add rax, rcx
jmp rax
mov eax, dword [rsi]
test eax, eax
jns 0x14007777e
mov ebp, 0xa
add rbx, rbp
jmp case.default.0x140077769
or eax, 1
bsr eax, eax
lea ebp, [rax*8 + 0x49]
add ebp, eax
shr rbp, 6
add rbx, rbp
jmp case.default.0x140077769
mov rax, qword [rsi]
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rbx, rcx
jmp case.default.0x140077769
mov eax, dword [rsi]
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rbx, rcx
jmp case.default.0x140077769
mov eax, dword [rsi]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea ecx, [rax*8 + 0x49]
add ecx, eax
shr rcx, 6
add rbx, rcx
jmp case.default.0x140077769
mov rax, qword [rsi]
mov rcx, rax
sar rcx, 0x3f
add rax, rax
xor rcx, rax
or rcx, 1
bsr rax, rcx
jmp 0x1400777e1
mov rax, qword [rsi]
mov rdx, qword [rax + 0x10]
mov eax, edx
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rcx, rdx
add rbx, rcx
jmp case.default.0x140077769
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x58]
add rbx, rax
jmp case.default.0x140077769
mov rcx, qword [rsi]
test dl, 0xf0
je 0x14007784f
mov rax, qword [rcx]
call qword [rax + 0x48]
movsxd rdx, eax
jmp 0x140077814
call fcn.140068df0
add rbx, rax
jmp case.default.0x140077769
add rbx, 4
jmp case.default.0x140077769
add rbx, 8
jmp case.default.0x140077769
inc rbx
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140284180
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret