Function at 0x10057ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6083
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100f5074]
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]
lea edx, [ebp - 0x90]
mov edi, dword [ebp + 8]
push edx
mov dword [ebp - 0x38], edi
mov eax, dword [ecx]
mov dword [ebp - 0x34], ecx
call dword [eax + 0x5c]
mov ecx, edi
xor ebx, ebx
mov esi, dword [eax + 4]
call fcn.10042900
test al, al
je 0x10058069
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x168]
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.1008ef70
test al, al
je 0x10058069
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
push edi
push esi
call fcn.10044370
push edi
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.10044370
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.10042a70
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x34], eax
call fcn.10042a70
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x68]
push ecx
mov ecx, esi
mov edi, dword [eax + 0x14]
mov eax, dword [esi]
add edi, 0x58
call dword [eax + 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x1005802b
nop word [eax + eax]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x34]
call fcn.10059290
lea esi, [eax + 2]
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.100594b0
add esi, eax
mov eax, esi
or eax, 1
push eax
call fcn.10005560
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x68]
add esp, 0x14
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, esi
add ebx, eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x88]
push edx
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x10057fd0
mov ecx, dword [ebp - 0x84]
lea edx, [ebp - 0x88]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x30]
lea ecx, [ebp - 0x80]
call fcn.10044670
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 4], 3
mov edx, dword [ecx]
call dword [edx + 0x30]
lea ecx, [ebp - 0x60]
call fcn.10044670
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x1005807c
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x14]
jmp 0x100580ab
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x10]
mov al, byte [eax + 0x2f]
test al, al
je 0x10058092
mov dword [ebp - 0x30], 1
jmp 0x100580ae
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
call eax
test al, al
mov ecx, 1
mov eax, ebx
cmovne eax, ecx
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x100580fa
mov eax, dword [ecx]
cmp eax, 2
je 0x100580fa
mov dword [ebp - 0x48], vtable.google::protobuf::internal::FunctionClosure1_class_google::protobuf::FieldDescriptor_const__.0
mov dword [ebp - 0x44], 0x1003e0a0
mov byte [ebp - 0x40], bl
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
push eax
push ecx
call fcn.10016fc0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.google::protobuf::internal::FunctionClosure1_class_google::protobuf::FieldDescriptor_const__.0
call fcn.100147b0
mov eax, dword [edi + 0x1c]
dec eax
cmp eax, 0x11
ja case.default.0x10058107
jmp dword [eax*4 + 0x1005855c]
cmp dword [edi + 0x20], 3
jne 0x1005814d
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xa4]
push eax
call fcn.10057d20
mov ecx, dword [ebp - 0x2c]
add esp, 4
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058122
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x40]
push eax
call fcn.10057d20
add esp, 4
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x100581ae
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
nop dword [eax]
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0xa8]
mov ecx, esi
call eax
push edx
push eax
call fcn.10059250
mov ecx, dword [ebp - 0x2c]
add esp, 8
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058180
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call fcn.10059250
add esp, 8
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x10058220
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xa4]
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
push ecx
call fcn.10005560
mov ecx, dword [ebp - 0x2c]
add esp, 4
inc ecx
mov dword [ebp - 0x2c], ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ebx, eax
cmp ecx, dword [ebp - 0x30]
jb 0x100581e0
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x40]
push eax
call fcn.1005aa20
add esp, 4
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x1005827e
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
nop
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0xa8]
mov ecx, esi
call eax
push edx
push eax
call fcn.1005aa50
mov ecx, dword [ebp - 0x2c]
add esp, 8
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058250
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x44]
call eax
push edx
push eax
call fcn.1005aa50
add esp, 8
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x100582e7
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xac]
or eax, 1
push eax
call fcn.10005560
mov ecx, dword [ebp - 0x2c]
add esp, 4
inc ecx
mov dword [ebp - 0x2c], ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add ebx, eax
cmp ecx, dword [ebp - 0x30]
jb 0x100582b0
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x48]
or eax, 1
push eax
call fcn.10005560
add esp, 4
lea ebx, [eax*8 + 0x49]
add ebx, eax
shr ebx, 6
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x10058351
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0xb0]
mov ecx, esi
call eax
push edx
push eax
call fcn.10059250
mov ecx, dword [ebp - 0x2c]
add esp, 8
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058323
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
mov eax, dword [eax + 0x4c]
call eax
push edx
push eax
call fcn.10059250
add esp, 8
mov ebx, eax
jmp case.default.0x10058107
mov eax, dword [ebp - 0x30]
lea ebx, [eax*4]
jmp case.default.0x10058107
mov eax, dword [ebp - 0x30]
lea ebx, [eax*8]
jmp case.default.0x10058107
mov ebx, dword [ebp - 0x30]
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x100583d9
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
nop dword [eax]
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xcc]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x2c]
add ebx, eax
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x100583b0
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push 0
push edi
push dword [ebp - 0x34]
call dword [eax + 0x68]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x10058433
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xcc]
push eax
call fcn.10059720
mov ecx, dword [ebp - 0x2c]
add esp, 4
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058408
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push 0
push edi
push dword [ebp - 0x34]
call dword [eax + 0x68]
push eax
call fcn.10059720
add esp, 4
mov ebx, eax
jmp case.default.0x10058107
cmp dword [edi + 0x20], 3
jne 0x10058491
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
mov eax, dword [esi]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xc4]
push dword [eax + 8]
call fcn.10057d20
mov ecx, dword [ebp - 0x2c]
add esp, 4
inc ecx
add ebx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x10058464
jmp case.default.0x10058107
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x34]
call dword [eax + 0x60]
push dword [eax + 8]
call fcn.10057d20
add esp, 4
mov ebx, eax
jmp case.default.0x10058107
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x30], ecx
jbe case.default.0x10058107
nop dword [eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x20], 3
mov eax, dword [esi]
mov dword [ebp - 4], 5
jne 0x100584f4
lea edx, [ebp - 0x28]
push edx
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0xd0]
jmp 0x10058501
lea ecx, [ebp - 0x28]
push ecx
push edi
push dword [ebp - 0x34]
mov ecx, esi
call dword [eax + 0x6c]
mov edi, dword [eax + 0x10]
mov eax, edi
or eax, 1
push eax
call fcn.10005560
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add ebx, eax
call fcn.10003520
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x30]
jb 0x100584c0
mov eax, ebx
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.10010efc
mov esp, ebp
pop ebp
ret