Function at 0x180e1d76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x181cf008]
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 0x180e21d8
mov dl, byte [edi + 8]
cmp byte [edi + 0xb], bl
je 0x180e1f92
movzx eax, dl
dec eax
cmp eax, 0x11
ja case.default.0x180e1db5
jmp dword [eax*4 + 0x180e22ca]
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180e1db5
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
cdq
push edx
push eax
call fcn.18051725
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1dc6
jmp case.default.0x180e1db5
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180e1db5
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.18051725
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1df0
jmp case.default.0x180e1db5
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
jle case.default.0x180e1db5
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 0x180e1e20
jmp case.default.0x180e1db5
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180e1db5
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.18051725
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1e4a
jmp case.default.0x180e1db5
mov eax, dword [edi]
mov edx, dword [eax]
test edx, edx
jle case.default.0x180e1db5
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 0x180e1e7a
jmp case.default.0x180e1db5
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180e1db5
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.180d6db2
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1ead
jmp case.default.0x180e1db5
mov eax, dword [edi]
cmp dword [eax], ebx
jle case.default.0x180e1db5
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
cdq
push edx
push eax
call fcn.18051725
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1ed8
jmp case.default.0x180e1db5
mov eax, dword [edi]
mov esi, dword [eax]
shl esi, 2
jmp case.default.0x180e1db5
mov eax, dword [edi]
mov esi, dword [eax]
shl esi, 3
jmp case.default.0x180e1db5
mov eax, dword [edi]
mov esi, dword [eax]
jmp case.default.0x180e1db5
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:_srcpiper_branchesomaha_M36_release_branchgoogle3_third_partyprotobuf_legacy_opensource_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x20], 0x576
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], bl
call fcn.1804d05e
lea eax, [esp + 0x10]
push eax
call fcn.180cb9c3
lea ecx, [esp + 0x1c]
call fcn.1800e44a
mov dword [edi + 0xc], esi
test esi, esi
je case.default.0x180e21fe
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.0x180e21fe
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 0x180e1fae
add ecx, ecx
movzx eax, dl
dec eax
cmp eax, 0x11
ja case.default.0x180e21fe
jmp dword [eax*4 + 0x180e2312]
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx*4]
cdq
push edx
push eax
call fcn.18051725
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e1fd1
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.18051879
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e2000
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov edx, dword [eax]
mov esi, edx
imul esi, ecx
test edx, edx
jle case.default.0x180e21fe
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 0x180e2035
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.18051879
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e2064
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.180d6d98
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180e2094
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 8]
push dword [eax + ebx*8 + 4]
push dword [eax + ebx*8]
call fcn.180d6db2
add esi, eax
inc ebx
mov eax, dword [edi]
pop ecx
pop ecx
cmp ebx, dword [eax]
jl 0x180e20be
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.1805188b
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180e20f0
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.1805188b
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180e211e
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax]
imul esi, ecx
cmp dword [eax], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebx*4]
call fcn.1805186a
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax]
jl 0x180e214a
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180e2176
jmp case.default.0x180e21fe
mov eax, dword [edi]
mov esi, dword [eax + 4]
imul esi, ecx
cmp dword [eax + 4], ebx
jle case.default.0x180e21fe
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + ebx*4 + 4]
call fcn.180dc429
add esi, eax
mov eax, dword [edi]
inc ebx
cmp ebx, dword [eax + 4]
jl 0x180e21a4
jmp case.default.0x180e21fe
lea esi, [ecx + 4]
jmp 0x180e21ce
lea esi, [ecx + 8]
jmp 0x180e21ce
lea esi, [ecx + 1]
mov eax, dword [edi]
imul esi, dword [eax]
jmp case.default.0x180e21fe
test byte [edi + 0xa], 0xf
jne case.default.0x180e21fe
movzx edx, byte [edi + 8]
mov ecx, dword [ebp + 8]
call fcn.180d6d63
movzx edx, byte [edi + 8]
mov esi, eax
dec edx
cmp edx, 0x11
ja case.default.0x180e21fe
jmp dword [edx*4 + 0x180e235a]
mov ecx, dword [edi]
call fcn.1805186a
add esi, eax
jmp case.default.0x180e21fe
push dword [edi + 4]
push dword [edi]
call fcn.18051879
pop ecx
pop ecx
jmp 0x180e220c
mov eax, dword [edi]
or eax, 1
bsr eax, eax
imul eax, eax, 9
add eax, 0x49
shr eax, 6
jmp 0x180e220c
push dword [edi + 4]
push dword [edi]
call fcn.18051879
jmp 0x180e221d
mov ecx, dword [edi]
call fcn.180d6d98
jmp 0x180e220c
push dword [edi + 4]
push dword [edi]
call fcn.180d6db2
jmp 0x180e221d
mov ecx, dword [edi]
call fcn.1805188b
jmp 0x180e220c
mov ecx, dword [edi]
call fcn.1805188b
jmp 0x180e220c
mov ecx, dword [edi]
call fcn.1805186a
jmp 0x180e220c
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x180e220c
test byte [edi + 0xa], 0xf0
mov ecx, dword [edi]
je 0x180e229e
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 0x180e1f8b
call fcn.180dc429
jmp 0x180e220c
add esi, 4
jmp case.default.0x180e21fe
add esi, 8
jmp case.default.0x180e21fe
inc esi
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18145fe4
mov esp, ebp
pop ebp
ret 4