Function at 0x1005a520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100948f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 ebx, ecx
xor esi, esi
mov dword [ebp - 0x3c], 0
cmp byte [ebx + 9], 0
mov dword [ebp - 0x3c], 0
je 0x1005ab79
cmp byte [ebx + 0xb], 0
mov cl, byte [ebx + 8]
mov byte [ebp - 0x35], cl
je 0x1005a7fa
movzx eax, cl
dec eax
cmp eax, 0x11
ja case.default.0x1005a584
jmp dword [eax*4 + 0x1005acb0]
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 4], esi
jle case.default.0x1005a584
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
test eax, eax
jns 0x1005a5a8
mov eax, 0xa
jmp 0x1005a5c4
cmp eax, 0x80
jae 0x1005a5b6
mov eax, 1
jmp 0x1005a5c4
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a598
jmp case.default.0x1005a584
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 4], esi
jle case.default.0x1005a584
nop
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esi, eax
inc edi
mov eax, dword [ebx]
add esp, 8
cmp edi, dword [eax + 4]
jl 0x1005a5e0
jmp case.default.0x1005a584
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 4], esi
jle case.default.0x1005a584
nop
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
cmp eax, 0x80
jae 0x1005a623
mov eax, 1
jmp 0x1005a631
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a610
jmp case.default.0x1005a584
mov eax, dword [ebx]
xor edi, edi
cmp dword [eax + 4], esi
jle case.default.0x1005a584
nop dword [eax + eax]
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esi, eax
inc edi
mov eax, dword [ebx]
add esp, 8
cmp edi, dword [eax + 4]
jl 0x1005a650
jmp case.default.0x1005a584
mov edx, dword [ebx]
xor edi, edi
cmp dword [edx + 4], esi
jle case.default.0x1005a584
nop
mov eax, dword [edx]
mov eax, dword [eax + edi*4]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
cmp ecx, 0x80
jae 0x1005a69d
mov eax, 1
jmp 0x1005a6ab
push ecx
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov edx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [edx + 4]
jl 0x1005a680
jmp case.default.0x1005a584
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
cmp dword [eax + 4], ecx
jle case.default.0x1005a584
mov eax, dword [ebx]
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
mov edx, dword [eax + ecx*8 + 4]
mov ecx, edx
mov eax, edx
sar ecx, 0x1f
shld edx, edi, 1
sar eax, 0x1f
xor eax, edx
add edi, edi
xor ecx, edi
push eax
push ecx
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
mov ecx, dword [ebp - 0x3c]
add esi, eax
mov eax, dword [ebx]
inc ecx
add esp, 8
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [eax + 4]
jl 0x1005a6c8
jmp case.default.0x1005a584
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 4], esi
jle case.default.0x1005a584
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
test eax, eax
jns 0x1005a723
mov eax, 0xa
jmp 0x1005a73f
cmp eax, 0x80
jae 0x1005a731
mov eax, 1
jmp 0x1005a73f
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a713
jmp case.default.0x1005a584
mov esi, dword [ebx]
mov esi, dword [esi + 4]
shl esi, 2
jmp case.default.0x1005a584
mov esi, dword [ebx]
mov esi, dword [esi + 4]
shl esi, 3
jmp case.default.0x1005a584
mov esi, dword [ebx]
mov esi, dword [esi + 4]
jmp case.default.0x1005a584
push 0x598
push str.C:Projects_sw_toolsprotobufprotobuf_2.6.1_srcgoogleprotobufextension_set.cc
push 3
lea ecx, [ebp - 0x34]
call sym.libprotobuf.dll_public:_void___thiscall_google::protobuf::internal::LogMessage::constructor_enum_google::protobuf::LogLevel__char_const___int_
push str.Non_primitive_types_cant_be_packed.
mov ecx, eax
mov dword [ebp - 4], 0xf
call sym.libprotobuf.dll_public:_class_google::protobuf::internal::LogMessage____thiscall_google::protobuf::internal::LogMessage::operator___char_const__
push eax
lea ecx, [ebp - 0x35]
call sym.libprotobuf.dll_public:_void___thiscall_google::protobuf::internal::LogFinisher::operator_class_google::protobuf::internal::LogMessage__
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call sym.libprotobuf.dll_public:_void___thiscall_google::protobuf::internal::LogMessage::destructor_void_
mov dword [ebx + 0xc], esi
test esi, esi
jle case.default.0x1005abc3
cmp esi, 0x80
jae 0x1005a7bd
mov eax, 1
jmp 0x1005a7c9
push esi
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
add esi, eax
mov eax, dword [ebp + 8]
shl eax, 3
or eax, 2
cmp eax, 0x80
jae 0x1005a7e7
mov eax, 1
add esi, eax
jmp case.default.0x1005abc3
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
mov eax, dword [ebp + 8]
shl eax, 3
cmp eax, 0x80
jae 0x1005a810
mov eax, 1
mov dl, cl
jmp 0x1005a822
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov dl, byte [ebx + 8]
add esp, 4
mov cl, byte [ebp - 0x35]
lea edi, [eax + eax]
cmp cl, 0xa
cmovne edi, eax
movzx eax, dl
dec eax
cmp eax, 0x11
ja case.default.0x1005abc3
jmp dword [eax*4 + 0x1005acf8]
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
test eax, eax
jns 0x1005a863
mov eax, 0xa
jmp 0x1005a87f
cmp eax, 0x80
jae 0x1005a871
mov eax, 1
jmp 0x1005a87f
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a853
jmp case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esi, eax
inc edi
mov eax, dword [ebx]
add esp, 8
cmp edi, dword [eax + 4]
jl 0x1005a8a0
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
cmp eax, 0x80
jae 0x1005a8e9
mov eax, 1
jmp 0x1005a8f7
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a8d6
jmp case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + edi*8 + 4]
push dword [eax + edi*8]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esi, eax
inc edi
mov eax, dword [ebx]
add esp, 8
cmp edi, dword [eax + 4]
jl 0x1005a918
jmp case.default.0x1005abc3
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
nop
mov eax, dword [edx]
mov eax, dword [eax + edi*4]
mov ecx, eax
sar ecx, 0x1f
add eax, eax
xor ecx, eax
cmp ecx, 0x80
jae 0x1005a96d
mov eax, 1
jmp 0x1005a97b
push ecx
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov edx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [edx + 4]
jl 0x1005a950
jmp case.default.0x1005abc3
mov eax, dword [ebx]
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 4]
mov esi, eax
imul esi, edi
test eax, eax
jle case.default.0x1005abc3
nop
mov eax, dword [ebx]
mov eax, dword [eax]
mov edi, dword [eax + ecx*8]
mov edx, dword [eax + ecx*8 + 4]
mov ecx, edx
mov eax, edx
sar ecx, 0x1f
shld edx, edi, 1
sar eax, 0x1f
xor eax, edx
add edi, edi
xor ecx, edi
push eax
push ecx
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
mov ecx, dword [ebp - 0x3c]
add esi, eax
mov eax, dword [ebx]
inc ecx
add esp, 8
mov dword [ebp - 0x3c], ecx
cmp ecx, dword [eax + 4]
jl 0x1005a9a0
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x1005aa0b
mov edx, 1
jmp 0x1005aa21
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [ebp - 0x3c]
add esp, 4
mov eax, dword [eax + 0x10]
add eax, edx
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005a9f2
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x1005aa5d
mov edx, 1
jmp 0x1005aa73
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
mov edx, eax
mov eax, dword [ebp - 0x3c]
add esp, 4
mov eax, dword [eax + 0x10]
add eax, edx
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005aa44
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov eax, dword [eax + edi*4]
test eax, eax
jns 0x1005aaa6
mov eax, 0xa
jmp 0x1005aac2
cmp eax, 0x80
jae 0x1005aab4
mov eax, 1
jmp 0x1005aac2
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov ecx, dword [ebx]
add esp, 4
inc edi
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005aa96
jmp case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, eax
inc edi
mov eax, dword [ebx]
cmp edi, dword [eax + 4]
jl 0x1005aae3
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
mov esi, eax
imul esi, edi
xor edi, edi
test eax, eax
jle case.default.0x1005abc3
mov eax, dword [ecx]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
cmp eax, 0x80
jae 0x1005ab2d
mov ecx, 1
jmp 0x1005ab3e
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 - 0x3c]
add eax, ecx
inc edi
mov ecx, dword [ebx]
add esi, eax
cmp edi, dword [ecx + 4]
jl 0x1005ab12
jmp case.default.0x1005abc3
mov eax, dword [ebx]
lea esi, [edi + 4]
imul esi, dword [eax + 4]
jmp case.default.0x1005abc3
mov eax, dword [ebx]
lea esi, [edi + 8]
imul esi, dword [eax + 4]
jmp case.default.0x1005abc3
mov eax, dword [ebx]
lea esi, [edi + 1]
imul esi, dword [eax + 4]
jmp case.default.0x1005abc3
test byte [ebx + 0xa], 0xf
jne case.default.0x1005abc3
mov eax, dword [ebp + 8]
mov cl, byte [ebx + 8]
shl eax, 3
mov byte [ebp - 0x35], cl
cmp eax, 0x80
jae 0x1005ab9d
mov eax, 1
jmp 0x1005abac
push eax
lfence
call sym.libprotobuf.dll_private:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32Fallback_unsigned_int_
mov cl, byte [ebx + 8]
add esp, 4
cmp byte [ebp - 0x35], 0xa
lea esi, [eax + eax]
cmovne esi, eax
movzx eax, cl
dec eax
cmp eax, 0x11
ja case.default.0x1005abc3
jmp dword [eax*4 + 0x1005ad40]
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::Int32Size_int_
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx + 4]
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize64_unsigned_long_long_unsigned___int64__
add esp, 8
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::UInt32Size_unsigned_int_
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::SInt32Size_int_
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx + 4]
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::SInt64Size_long_long___int64__
add esp, 8
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::StringSize_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::BytesSize_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push dword [ebx]
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::EnumSize_int_
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, eax
jmp case.default.0x1005abc3
test byte [ebx + 0xa], 0xf0
mov ecx, dword [ebx]
je 0x1005ac75
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
push edi
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::io::CodedOutputStream::VarintSize32_unsigned_int_
add eax, edi
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
push ecx
call sym.libprotobuf.dll_public:_static_int___cdecl_google::protobuf::internal::WireFormatLite::MessageSize_class_google::protobuf::MessageLite_const__
add esp, 4
add esi, eax
jmp case.default.0x1005abc3
add esi, 4
jmp case.default.0x1005abc3
add esi, 8
jmp case.default.0x1005abc3
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.1008b1d6
mov esp, ebp
pop ebp
ret 4