Function at 0x4a6ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fa79d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x68e494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
cmp byte [edi + 9], 0
je 0x4a777d
cmp byte [edi + 0xb], 0
mov cl, byte [edi + 8]
je 0x4a7330
movzx eax, cl
dec eax
cmp eax, 0x11
ja case.default.0x4a7043
jmp dword [eax*4 + 0x4a78c4]
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
nop dword [eax + eax]
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov eax, dword [eax]
test eax, eax
jns 0x4a7075
mov eax, 0xa
jmp 0x4a7084
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
mov ecx, dword [edi]
add esi, eax
inc ebx
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7060
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or ecx, 1
test eax, eax
jne 0x4a70c1
bsr eax, ecx
jmp 0x4a70c7
bsr eax, eax
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a70a8
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov ecx, dword [edi]
inc ebx
mov eax, dword [eax]
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a70f4
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or ecx, 1
test eax, eax
jne 0x4a714a
bsr eax, ecx
jmp 0x4a7150
bsr eax, eax
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7131
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
nop dword [eax]
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
inc ebx
mov eax, dword [eax]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7180
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, eax
mov dword [ebp - 0x38], eax
sar dword [ebp - 0x38], 0x1f
shld eax, ecx, 1
sar edx, 0x1f
add ecx, ecx
xor edx, ecx
mov ecx, dword [ebp - 0x38]
or edx, 1
xor ecx, eax
jne 0x4a71f6
bsr eax, edx
jmp 0x4a71fc
bsr eax, ecx
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a71c6
jmp case.default.0x4a7043
mov ecx, dword [edi]
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a7043
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov eax, dword [eax]
test eax, eax
jns 0x4a7237
mov eax, 0xa
jmp 0x4a7246
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
mov ecx, dword [edi]
add esi, eax
inc ebx
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7222
jmp case.default.0x4a7043
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
shl esi, 2
mov dword [edi + 0xc], esi
test esi, esi
je case.default.0x4a77b9
mov eax, esi
or eax, 1
bsr edx, eax
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 3
bsr eax, eax
lea ecx, [eax*8 + 0x49]
add ecx, eax
lea eax, [edx*8 + 0x49]
add eax, edx
shr ecx, 6
shr eax, 6
add esi, eax
add esi, ecx
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
shl esi, 3
jmp case.default.0x4a7043
mov ecx, dword [edi]
call fcn.0045e2b0
jmp 0x4a725d
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
shl esi, 3
jmp case.default.0x4a7043
mov ecx, dword [edi]
call fcn.0045e2b0
jmp 0x4a725d
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
shl esi, 3
jmp case.default.0x4a7043
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
jmp case.default.0x4a7043
push 0x63e
push str.G:Valve_steam_thirdpartycode_nonredistprotobufprotobuf_3.15.3_srcgoogleprotobufextension_set.cc
push 3
lea ecx, [ebp - 0x34]
call fcn.004755e0
push str.Non_primitive_types_cant_be_packed.
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00475bf0
push eax
lea ecx, [ebp - 0x39]
call fcn.00475980
lea ecx, [ebp - 0x34]
call fcn.00475910
mov dword [edi + 0xc], 0
jmp case.default.0x4a77b9
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
cmp cl, 0xa
lea ebx, [eax + eax]
cmovne ebx, eax
movzx eax, cl
dec eax
cmp eax, 0x11
ja case.default.0x4a77b9
jmp dword [eax*4 + 0x4a790c]
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
nop
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov eax, dword [eax]
test eax, eax
jns 0x4a7395
mov eax, 0xa
jmp 0x4a73a4
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
mov ecx, dword [edi]
add esi, eax
inc ebx
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7380
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or ecx, 1
test eax, eax
jne 0x4a73ed
bsr eax, ecx
jmp 0x4a73f3
bsr eax, eax
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a73d4
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
nop dword [eax]
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov ecx, dword [edi]
inc ebx
mov eax, dword [eax]
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7430
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
nop dword [eax]
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
or ecx, 1
test eax, eax
jne 0x4a7499
bsr eax, ecx
jmp 0x4a749f
bsr eax, eax
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7480
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
inc ebx
mov eax, dword [eax]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a74d8
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
nop word [eax + eax]
mov ecx, dword [edi]
push ebx
call fcn.0045d5c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, eax
mov dword [ebp - 0x38], eax
sar dword [ebp - 0x38], 0x1f
shld eax, ecx, 1
sar edx, 0x1f
add ecx, ecx
xor edx, ecx
mov ecx, dword [ebp - 0x38]
or edx, 1
xor ecx, eax
jne 0x4a7560
bsr eax, edx
jmp 0x4a7566
bsr eax, ecx
add eax, 0x20
mov ecx, dword [edi]
lea eax, [eax + eax*8]
add eax, 0x49
inc ebx
shr eax, 6
add esi, eax
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7530
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2c0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2c0
test eax, eax
jle case.default.0x4a77b9
nop
mov ecx, dword [edi]
push ebx
call fcn.0045d5e0
inc ebx
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
mov ecx, dword [edi]
add esi, eax
call fcn.0045e2c0
cmp ebx, eax
jl 0x4a75a0
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2c0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2c0
test eax, eax
jle case.default.0x4a77b9
nop
mov ecx, dword [edi]
push ebx
call fcn.0045d5e0
inc ebx
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
mov ecx, dword [edi]
add esi, eax
call fcn.0045e2c0
cmp ebx, eax
jl 0x4a75f0
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov ecx, dword [edi]
mov esi, eax
imul esi, ebx
xor ebx, ebx
call fcn.0045e2b0
test eax, eax
jle case.default.0x4a77b9
nop
mov ecx, dword [edi]
push ebx
call fcn.0045d5b0
mov eax, dword [eax]
test eax, eax
jns 0x4a7655
mov eax, 0xa
jmp 0x4a7664
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
mov ecx, dword [edi]
add esi, eax
inc ebx
call fcn.0045e2b0
cmp ebx, eax
jl 0x4a7640
jmp case.default.0x4a77b9
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov esi, eax
imul esi, ebx
xor ebx, ebx
test eax, eax
jle case.default.0x4a77b9
nop dword [eax + eax]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, eax
inc ebx
mov eax, dword [edi]
cmp ebx, dword [eax + 4]
jl 0x4a7690
jmp case.default.0x4a77b9
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov esi, eax
imul esi, ebx
xor ebx, ebx
test eax, eax
jle case.default.0x4a77b9
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, eax
inc ebx
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add ecx, eax
mov eax, dword [edi]
add esi, ecx
cmp ebx, dword [eax + 4]
jl 0x4a76c1
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 4]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 8]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 4]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 8]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 4]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 8]
imul esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
call fcn.0045e2b0
mov esi, eax
lea eax, [ebx + 1]
imul esi, eax
jmp case.default.0x4a77b9
mov dl, byte [edi + 0xa]
test dl, 0xf
jne case.default.0x4a77b9
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 1
bsr eax, eax
lea ecx, [eax*8 + 0x49]
add ecx, eax
movzx eax, byte [edi + 8]
shr ecx, 6
cmp byte [edi + 8], 0xa
lea esi, [ecx + ecx]
cmovne esi, ecx
dec eax
cmp eax, 0x11
ja case.default.0x4a77b9
jmp dword [eax*4 + 0x4a7954]
push dword [edi]
call fcn.0046f920
add esp, 4
add esi, eax
jmp case.default.0x4a77b9
push dword [edi + 4]
push dword [edi]
call fcn.00470ff0
add esp, 8
add esi, eax
jmp case.default.0x4a77b9
mov eax, dword [edi]
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
jmp case.default.0x4a77b9
push dword [edi + 4]
push dword [edi]
call fcn.00470ff0
add esp, 8
add esi, eax
jmp case.default.0x4a77b9
push dword [edi]
call fcn.00473020
add esp, 4
add esi, eax
jmp case.default.0x4a77b9
push dword [edi + 4]
push dword [edi]
call fcn.00473040
add esp, 8
add esi, eax
jmp case.default.0x4a77b9
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
add esi, eax
jmp case.default.0x4a77b9
push dword [edi]
call fcn.0046f920
add esp, 4
add esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, eax
jmp case.default.0x4a77b9
mov ecx, dword [edi]
test dl, 0xf0
je 0x4a788b
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
or ecx, 1
bsr ecx, ecx
lea ecx, [ecx + ecx*8]
add ecx, 0x49
shr ecx, 6
add ecx, eax
add esi, ecx
jmp case.default.0x4a77b9
push ecx
call fcn.0046b380
add esp, 4
add esi, eax
jmp case.default.0x4a77b9
add esi, 4
jmp case.default.0x4a77b9
add esi, 8
jmp case.default.0x4a77b9
inc esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d1c76
mov esp, ebp
pop ebp
ret 4