Function at 0x1400fae70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1401c7b80]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, edx
mov rsi, rcx
xor edi, edi
mov ebx, edi
cmp byte [rcx + 9], bl
je 0x1400fb68e
movzx r8d, byte [rcx + 8]
cmp byte [rcx + 0xb], bl
je 0x1400fb1e1
lea eax, [r8 - 1]
cmp eax, 0x11
ja case.default.0x1400faecb
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xfb7fc]
add rax, rcx
jmp rax
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
movsxd rcx, dword [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.1400f8430
cmp edi, eax
jl 0x1400faee0
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop dword [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400faf30
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop dword [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
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.1400f8430
cmp edi, eax
jl 0x1400faf80
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400fafc5
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
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.1400f8430
cmp edi, eax
jl 0x1400fb010
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400fb060
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400faecb
nop
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
movsxd rcx, dword [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.1400f8430
cmp edi, eax
jl 0x1400fb0b0
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
shl rbx, 2
mov dword [rsi + 0xc], ebx
test rbx, rbx
je case.default.0x1400fb6de
mov eax, ebx
or eax, 1
bsr r8d, eax
lea eax, [rbp*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.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
shl rbx, 3
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
jmp 0x1400fb0ed
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
shl rbx, 3
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
jmp 0x1400fb0ed
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
shl rbx, 3
jmp case.default.0x1400faecb
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
jmp case.default.0x1400faecb
mov r9d, 0x576
lea r8, str.C:_vcpkg_vcpkg_buildtreesprotobuf_src_v3.21.12_fdb7676342.clean_srcgoogleprotobufextension_set.cc
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.1400a74e0
nop
lea rdx, str.Non_primitive_types_cant_be_packed.
mov rcx, rax
call fcn.1400a77a0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400a7590
nop
lea rcx, [rsp + 0x28]
call fcn.140020760
mov dword [rsi + 0xc], edi
jmp case.default.0x1400fb6de
lea eax, [rdx*8]
or eax, 1
bsr ecx, eax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
lea rbp, [rcx + rcx]
cmp r8b, 0xa
cmovne rbp, rcx
lea eax, [r8 - 1]
cmp eax, 0x11
ja case.default.0x1400fb6de
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xfb844]
add rax, rcx
jmp rax
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
movsxd rcx, dword [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.1400f8430
cmp edi, eax
jl 0x1400fb244
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
nop word [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400fb2a0
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
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.1400f8430
cmp edi, eax
jl 0x1400fb2f6
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400fb350
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
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.1400f8430
cmp edi, eax
jl 0x1400fb3a6
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7870
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.1400f8430
cmp edi, eax
jl 0x1400fb402
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8440
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8440
test eax, eax
jle case.default.0x1400fb6de
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7890
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.1400f8440
cmp edi, eax
jl 0x1400fb465
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8440
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8440
test eax, eax
jle case.default.0x1400fb6de
nop dword [rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7890
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.1400f8440
cmp edi, eax
jl 0x1400fb4c0
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
imul rbx, rbp
mov rcx, qword [rsi]
call fcn.1400f8430
test eax, eax
jle case.default.0x1400fb6de
nop word [rax + rax]
mov edx, edi
mov rcx, qword [rsi]
call fcn.1400f7860
movsxd rcx, dword [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.1400f8430
cmp edi, eax
jl 0x1400fb520
jmp case.default.0x1400fb6de
mov rax, qword [rsi]
mov ecx, dword [rax + 8]
mov ebx, ecx
imul rbx, rbp
test ecx, ecx
jle case.default.0x1400fb6de
mov rbp, rdi
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rcx, qword [rcx + rbp + 8]
mov rax, qword [rcx]
call qword [rax + gethostname]
add rbx, rax
inc edi
lea rbp, [rbp + 8]
mov rax, qword [rsi]
cmp edi, dword [rax + 8]
jl 0x1400fb570
jmp case.default.0x1400fb6de
mov rax, qword [rsi]
mov ecx, dword [rax + 8]
mov ebx, ecx
imul rbx, rbp
test ecx, ecx
jle case.default.0x1400fb6de
mov rbp, rdi
nop
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rcx, qword [rcx + rbp + 8]
mov rax, qword [rcx]
call qword [rax + gethostname]
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rbx, rdx
inc edi
lea rbp, [rbp + 8]
mov rax, qword [rsi]
cmp edi, dword [rax + 8]
jl 0x1400fb5b0
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 4]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 8]
imul rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
call fcn.1400f8430
mov ebx, eax
lea rax, [rbp + 1]
imul rbx, rax
jmp case.default.0x1400fb6de
movzx edx, byte [rcx + 0xa]
test dl, 0xf
jne case.default.0x1400fb6de
lea eax, [rbp*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.0x1400fb6de
cdqe
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0xfb88c]
add rax, rcx
jmp rax
movsxd rax, dword [rsi]
or rax, 1
bsr rcx, rax
lea ecx, [rcx + rcx*8]
add ecx, 0x49
shr rcx, 6
add rbx, rcx
jmp case.default.0x1400fb6de
mov rax, qword [rsi]
jmp 0x1400fb6e3
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.0x1400fb6de
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.0x1400fb6de
mov rax, qword [rsi]
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
jmp case.default.0x1400fb6de
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.0x1400fb6de
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + gethostname]
add rbx, rax
jmp case.default.0x1400fb6de
mov rcx, qword [rsi]
test dl, 0xf0
je 0x1400fb7c3
mov rax, qword [rcx]
call qword [rax + 0x50]
mov ecx, eax
or ecx, 1
bsr edx, ecx
lea edx, [rdx + rdx*8]
add edx, 0x49
shr rdx, 6
add rdx, rax
add rbx, rdx
jmp case.default.0x1400fb6de
call fcn.1400a9240
add rbx, rax
jmp case.default.0x1400fb6de
add rbx, 4
jmp case.default.0x1400fb6de
add rbx, 8
jmp case.default.0x1400fb6de
inc rbx
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401339b0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret