Function at 0x100878e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f2050]
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 ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ebx, eax
xor esi, esi
cmp dword [edi + 0x1c], 3
mov ecx, ebx
push edi
push dword [ebp - 0x2c]
mov eax, dword [ebx]
jne 0x10087938
call dword [eax + 0x14]
mov esi, eax
mov dword [ebp - 0x30], eax
jmp 0x1008794a
mov eax, dword [eax + 0x10]
call eax
test al, al
mov ecx, 1
cmovne esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x38]
xor edi, edi
mov eax, dword [ecx + 0x18]
dec eax
cmp eax, 0x11
ja case.default.0x10087958
jmp dword [eax*4 + 0x10087e60]
cmp dword [ecx + 0x1c], 3
jne 0x100879b7
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x10087958
lfence
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x9c]
test eax, eax
jns 0x1008798b
mov eax, 0xa
jmp 0x100879a5
cmp eax, 0x80
jae 0x10087999
mov eax, 1
jmp 0x100879a5
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
mov edx, dword [ebp - 0x34]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x10087971
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x40]
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::Int32Size_int_
add esp, 4
mov edi, eax
mov eax, edi
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.1008b1d6
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x1c], 3
jne 0x10087a2d
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
call eax
push edx
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
mov edx, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x10087a00
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esp, 8
jmp 0x100879cb
cmp dword [ecx + 0x1c], 3
jne 0x10087aa8
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x9c]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
cmp ecx, 0x80
jae 0x10087a87
mov eax, 1
jmp 0x10087a93
push ecx
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
mov edx, dword [ebp - 0x34]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x34], edx
cmp edx, esi
jl 0x10087a60
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x40]
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::SInt32Size_int_
jmp 0x100879c8
cmp dword [ecx + 0x1c], 3
jne 0x10087b19
xor edx, edx
mov dword [ebp - 0x34], edx
test esi, esi
jle case.default.0x10087958
lfence
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
call eax
mov esi, edx
mov ecx, edx
shld edx, eax, 1
sar ecx, 0x1f
add eax, eax
sar esi, 0x1f
xor ecx, edx
xor esi, eax
push ecx
push esi
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
mov edx, dword [ebp - 0x34]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x34], edx
cmp edx, dword [ebp - 0x30]
jl 0x10087ad4
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::SInt64Size_long_long___int64__
add esp, 8
jmp 0x100879cb
cmp dword [ecx + 0x1c], 3
jne 0x10087b8e
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax + eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xa4]
cmp eax, 0x80
jae 0x10087b6d
mov eax, 1
jmp 0x10087b79
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x10087b50
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x48]
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::UInt32Size_unsigned_int_
jmp 0x100879c8
cmp dword [ecx + 0x1c], 3
jne 0x10087bf0
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x10087958
lfence
nop word [eax + eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov eax, dword [eax + 0xa8]
mov ecx, ebx
call eax
push edx
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
mov edx, dword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebp - 0x38]
inc edx
add edi, eax
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x10087bc0
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
mov eax, dword [eax + 0x4c]
call eax
push edx
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esp, 8
jmp 0x100879cb
lea edi, [esi*4]
jmp case.default.0x10087958
lea edi, [esi*8]
jmp case.default.0x10087958
mov edi, esi
jmp case.default.0x10087958
cmp dword [ecx + 0x1c], 3
jne 0x10087c6c
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x10087958
lfence
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xc0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x10087c41
jmp case.default.0x10087958
mov eax, dword [ebx]
push 0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x64]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
jmp 0x100879cb
cmp dword [ecx + 0x1c], 3
jne 0x10087ceb
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax + eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xc0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x34], eax
cmp eax, 0x80
jae 0x10087cc7
mov eax, 1
jmp 0x10087cd3
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
mov edx, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
inc edx
mov ecx, dword [ebp - 0x38]
add edi, eax
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x10087ca0
jmp case.default.0x10087958
mov eax, dword [ebx]
push 0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x64]
push eax
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::MessageSize_class_google::protobuf::MessageLite_const__
jmp 0x100879c8
cmp dword [ecx + 0x1c], 3
jne 0x10087d6c
xor edx, edx
mov dword [ebp - 0x30], edx
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax]
mov eax, dword [ebx]
push edx
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0xbc]
mov eax, dword [eax + 8]
test eax, eax
jns 0x10087d3d
mov eax, 0xa
jmp 0x10087d57
cmp eax, 0x80
jae 0x10087d4b
mov eax, 1
jmp 0x10087d57
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
mov edx, dword [ebp - 0x30]
add edi, eax
mov ecx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x30], edx
cmp edx, esi
jl 0x10087d20
jmp case.default.0x10087958
mov eax, dword [ebx]
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [eax + 0x60]
push dword [eax + 8]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::EnumSize_int_
jmp 0x100879c8
xor eax, eax
mov dword [ebp - 0x34], eax
test esi, esi
jle case.default.0x10087958
lfence
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [ecx + 0x1c], 3
lea eax, [ebp - 0x28]
mov edx, dword [ebx]
mov dword [ebp - 4], 0
push eax
jne 0x10087dd7
mov eax, dword [ebp - 0x34]
push eax
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [edx + 0xc4]
jmp 0x10087de0
push ecx
push dword [ebp - 0x2c]
mov ecx, ebx
call dword [edx + 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x10087df4
mov ecx, 1
jmp 0x10087e08
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
add eax, ecx
add edi, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10087e43
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10087e39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10087e5a
push edx
push ecx
call fcn.1008b1ac
add esp, 8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, esi
jge case.default.0x10087958
mov ecx, dword [ebp - 0x38]
jmp 0x10087da0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sbb byte [eax + ecx + 0x10], bh
or al, 124
or byte [eax], dl
jmp 0x10087ee3
call 0xe4d76d0
dec dword [ebx - 0x3b7cf3ab]
add al, 0x6a
add byte [ebx], al
clc