Function at 0x180c391f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x18195008]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, ebx
cmp byte [edi + 9], bl
je 0x180c3d6e
mov dl, byte [edi + 8]
cmp byte [edi + 0xb], bl
je 0x180c3b2d
movzx eax, dl
dec eax
cmp eax, 0x11
ja case.default.0x180c395e
jmp dword [eax*4 + 0x180c3e5f]
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180c395e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.1804c251
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180c396f
jmp case.default.0x180c395e
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180c395e
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.1804c049
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c3994
jmp case.default.0x180c395e
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jle case.default.0x180c395e
mov edx, dword [eax + 8]
mov eax, dword [edx]
lea edx, [edx + 4]
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add esi, eax
sub ecx, 1
jne 0x180c39c4
jmp case.default.0x180c395e
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180c395e
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.1804c049
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c39ee
jmp case.default.0x180c395e
mov eax, dword [edi]
mov edx, dword [eax]
test edx, edx
jle case.default.0x180c395e
mov ebx, dword [eax + 8]
mov eax, dword [ebx]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
lea ebx, [ebx + 4]
or ecx, 1
bsr eax, ecx
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add esi, eax
sub edx, 1
jne 0x180c3a1e
jmp case.default.0x180c395e
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180c395e
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.180b935a
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c3a51
jmp case.default.0x180c395e
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180c395e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.1804c251
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180c3a78
jmp case.default.0x180c395e
mov eax, dword [edi]
mov esi, dword [eax]
shl esi, 2
jmp case.default.0x180c395e
mov eax, dword [edi]
mov esi, dword [eax]
shl esi, 3
jmp case.default.0x180c395e
mov eax, dword [edi]
mov esi, dword [eax]
jmp case.default.0x180c395e
push 0x24
push str.Non_primitive_types_cant_be_packed.
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], str.T:_srcpipergoogle3_third_partyprotobuf_legacy_opensource_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x20], 0x646
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], bl
call fcn.18049e6c
lea eax, [esp + 0x10]
push eax
call fcn.180af334
lea ecx, [esp + 0x1c]
call fcn.1800ce55
mov dword [edi + 0xc], esi
test esi, esi
je case.default.0x180c3d94
mov eax, esi
or eax, 1
bsr edx, eax
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 3
bsr eax, eax
imul ecx, eax, 9
imul eax, edx, 9
add ecx, 0x49
add eax, 0x49
shr ecx, 6
shr eax, 6
add esi, eax
add esi, ecx
jmp case.default.0x180c3d94
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 1
bsr eax, eax
imul ecx, eax, 9
add ecx, 0x49
shr ecx, 6
cmp dl, 0xa
jne 0x180c3b49
add ecx, ecx
movzx eax, dl
dec eax
cmp eax, 0x11
ja case.default.0x180c3d94
jmp dword [eax*4 + 0x180c3ea7]
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.1804c251
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180c3b6c
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.1804c049
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c3b96
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov edx, dword [eax]
mov esi, edx
imul esi, ecx
test edx, edx
jle case.default.0x180c3d94
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
add esi, eax
sub edx, 1
jne 0x180c3bcb
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.1804c269
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c3bfa
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.18079e46
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180c3c2a
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.180b935a
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180c3c54
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.1804c27b
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180c3c86
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.1804c27b
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180c3cb4
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.1804c251
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180c3ce0
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180c3d0c
jmp case.default.0x180c3d94
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180c3d94
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.180bdf1b
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180c3d3a
jmp case.default.0x180c3d94
lea esi, [ecx + 4]
jmp 0x180c3d64
lea esi, [ecx + 8]
jmp 0x180c3d64
lea esi, [ecx + 1]
mov eax, dword [edi]
imul esi, dword [eax]
jmp case.default.0x180c3d94
test byte [edi + 0xa], 0xf
jne case.default.0x180c3d94
movzx edx, byte [edi + 8]
mov ecx, dword [ebp + 8]
call fcn.180b927a
movzx edx, byte [edi + 8]
mov esi, eax
dec edx
cmp edx, 0x11
ja case.default.0x180c3d94
jmp dword [edx*4 + 0x180c3eef]
mov ecx, dword [edi]
call fcn.1804c251
add esi, eax
jmp case.default.0x180c3d94
push dword [edi + 4]
push dword [edi]
call fcn.1804c269
pop ecx
pop ecx
jmp 0x180c3da2
mov eax, dword [edi]
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
jmp 0x180c3da2
push dword [edi + 4]
push dword [edi]
call fcn.1804c269
jmp 0x180c3db3
mov ecx, dword [edi]
call fcn.18079e46
jmp 0x180c3da2
push dword [edi + 4]
push dword [edi]
call fcn.180b935a
jmp 0x180c3db3
mov ecx, dword [edi]
call fcn.1804c27b
jmp 0x180c3da2
mov ecx, dword [edi]
call fcn.1804c27b
jmp 0x180c3da2
mov ecx, dword [edi]
call fcn.1804c251
jmp 0x180c3da2
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x28]
jmp 0x180c3da2
test byte [edi + 0xa], 0xf0
mov ecx, dword [edi]
je 0x180c3e34
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
or ecx, 1
bsr ecx, ecx
imul ecx, ecx, 9
add ecx, 0x49
shr ecx, 6
add ecx, eax
jmp 0x180c3b26
call fcn.180bdf1b
jmp 0x180c3da2
add esi, 4
jmp case.default.0x180c3d94
add esi, 8
jmp case.default.0x180c3d94
inc esi
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18120ca0
mov esp, ebp
pop ebp
ret 4