Function at 0x4c6650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bfa06
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
or dword [edi + 0xb4], 1
cmp dword [edi + 8], 0x625620
mov dword [esp + 0x18], eax
jne 0x4c66d0
push 0x1c
call fcn.00548a50
add esp, 4
xor esi, esi
cmp eax, esi
je 0x4c66c1
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], esi
mov byte [eax], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [edi + 8], eax
jmp 0x4c66d2
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
mov dword [edi + 8], eax
jmp 0x4c66d2
xor esi, esi
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push esi
push edx
call fcn.00409870
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x18], esi
jle 0x4c679c
mov dword [esp + 0x14], 0
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
cmp ecx, eax
jge 0x4c670d
mov eax, dword [edi + 0xc]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [edi + 0x10], ecx
jmp 0x4c6775
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jne 0x4c671e
inc ecx
push ecx
lea eax, [edi + 0xc]
call fcn.004c1990
inc dword [edi + 0x14]
push 0x30
call fcn.00548a50
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4c6767
mov edx, 0x625620
mov dword [eax], vtable.google::protobuf::FieldDescriptorProto.0
mov dword [eax + 4], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
mov dword [eax + 0x24], 1
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], ecx
jmp 0x4c6769
xor eax, eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x10]
mov ecx, dword [ebx + 0x1c]
add ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004c6cc0
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x48
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x18]
jl 0x4c66f7
xor esi, esi
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x20], esi
jle 0x4c690a
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x54]
cmp ecx, edx
jge 0x4c67c6
mov eax, dword [edi + 0x4c]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [edi + 0x50], ecx
jmp 0x4c68e6
mov eax, dword [edi + 0x58]
cmp edx, eax
jne 0x4c683d
mov ecx, dword [edi + 0x58]
inc eax
mov dword [esp + 0x1c], eax
cmp ecx, eax
jge 0x4c683d
mov edx, dword [edi + 0x4c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x1c]
jl 0x4c67f2
lea eax, [esp + 0x24]
mov esi, dword [eax]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [edi + 0x58], esi
neg ecx
or ecx, eax
push ecx
call fcn.00547a7c
mov ecx, dword [edi + 0x54]
mov esi, dword [esp + 0x2c]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push esi
push eax
mov dword [edi + 0x4c], eax
call fcn.0054c600
lea edx, [edi + 0x5c]
add esp, 0xc
cmp esi, edx
je 0x4c683b
push esi
call fcn.00549081
add esp, 4
xor esi, esi
inc dword [edi + 0x54]
push 0xb8
call fcn.00548a50
add esp, 4
cmp eax, esi
je 0x4c68d8
mov dword [eax], vtable.google::protobuf::DescriptorProto.0
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
lea ecx, [eax + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, 4
mov dword [eax + 0x18], ecx
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], ecx
lea edx, [eax + 0x3c]
mov dword [eax + 0x2c], edx
mov dword [eax + 0x50], esi
mov dword [eax + 0x54], esi
mov dword [eax + 0x58], ecx
lea edx, [eax + 0x5c]
mov dword [eax + 0x4c], edx
mov dword [eax + 0x70], esi
mov dword [eax + 0x74], esi
mov dword [eax + 0x78], ecx
lea edx, [eax + 0x7c]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x90], esi
mov dword [eax + 0x94], esi
mov dword [eax + 0x98], ecx
lea edx, [eax + 0x9c]
mov dword [eax + 0x8c], edx
mov dword [eax + 0xb0], esi
mov dword [eax + 8], 0x625620
mov dword [eax + 0xac], esi
mov dword [eax + 0xb4], esi
jmp 0x4c68da
xor eax, eax
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x4c]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x50]
mov ecx, dword [ebx + 0x24]
add ecx, dword [esp + 0x14]
push eax
call fcn.004c6650
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x40
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x20]
jl 0x4c67ad
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x28], esi
jle 0x4c6945
mov dword [esp + 0x14], esi
lea esi, [edi + 0x6c]
call fcn.004d5c60
mov ecx, dword [ebx + 0x2c]
mov esi, dword [esp + 0x14]
push eax
add ecx, esi
call fcn.004c6f70
mov eax, dword [esp + 0x18]
inc eax
add esi, 0x20
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp eax, dword [ebx + 0x28]
jl 0x4c6917
xor esi, esi
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x30], esi
jle 0x4c6a83
jmp 0x4c6960
mov ecx, dword [edi + 0x90]
mov eax, dword [edi + 0x94]
cmp ecx, eax
jge 0x4c6985
mov eax, dword [edi + 0x8c]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [edi + 0x90], ecx
jmp 0x4c6a53
mov ecx, dword [edi + 0x98]
cmp eax, ecx
jne 0x4c6a0d
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
cmp ecx, eax
jge 0x4c6a0d
mov edx, dword [edi + 0x8c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x28]
jl 0x4c69b6
lea eax, [esp + 0x24]
mov esi, dword [eax]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [edi + 0x98], esi
neg ecx
or ecx, eax
push ecx
call fcn.00547a7c
mov ecx, dword [edi + 0x94]
mov esi, dword [esp + 0x20]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push esi
push eax
mov dword [edi + 0x8c], eax
call fcn.0054c600
lea edx, [edi + 0x9c]
add esp, 0xc
cmp esi, edx
je 0x4c6a0b
push esi
call fcn.00549081
add esp, 4
xor esi, esi
inc dword [edi + 0x94]
push 0x18
call fcn.00548a50
add esp, 4
cmp eax, esi
je 0x4c6a38
mov dword [eax], vtable.google::protobuf::DescriptorProto_ExtensionRange.0
mov dword [eax + 4], esi
mov dword [eax + 0x10], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x14], esi
jmp 0x4c6a3a
xor eax, eax
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x8c]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x90]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x34]
mov esi, dword [ecx + edx*8]
or dword [eax + 0x14], 1
mov ecx, dword [eax + 0x14]
mov dword [eax + 8], esi
mov esi, dword [ebx + 0x34]
mov esi, dword [esi + edx*8 + 4]
or ecx, 2
mov dword [eax + 0xc], esi
inc edx
mov dword [eax + 0x14], ecx
xor esi, esi
mov dword [esp + 0x18], edx
cmp edx, dword [ebx + 0x30]
jl 0x4c6960
mov dword [esp + 0x18], esi
cmp dword [ebx + 0x38], esi
jle 0x4c6b9b
mov dword [esp + 0x14], esi
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
cmp ecx, edx
jge 0x4c6aad
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + ecx*4]
inc ecx
mov dword [edi + 0x30], ecx
jmp 0x4c6b76
mov eax, dword [edi + 0x38]
cmp edx, eax
jne 0x4c6b24
mov ecx, dword [edi + 0x38]
inc eax
mov dword [esp + 0x28], eax
cmp ecx, eax
jge 0x4c6b24
mov edx, dword [edi + 0x2c]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x28]
jl 0x4c6ad9
lea eax, [esp + 0x24]
mov esi, dword [eax]
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [edi + 0x38], esi
neg ecx
or ecx, eax
push ecx
call fcn.00547a7c
mov ecx, dword [edi + 0x34]
mov esi, dword [esp + 0x20]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push esi
push eax
mov dword [edi + 0x2c], eax
call fcn.0054c600
lea edx, [edi + 0x3c]
add esp, 0xc
cmp esi, edx
je 0x4c6b22
push esi
call fcn.00549081
add esp, 4
xor esi, esi
inc dword [edi + 0x34]
push 0x30
call fcn.00548a50
add esp, 4
cmp eax, esi
je 0x4c6b68
mov ecx, 0x625620
mov dword [eax], vtable.google::protobuf::FieldDescriptorProto.0
mov dword [eax + 4], esi
mov edx, 1
mov dword [eax + 0x28], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], esi
mov dword [eax + 0x2c], esi
jmp 0x4c6b6a
xor eax, eax
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x2c]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x30]
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004c6cc0
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x48
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x38]
jl 0x4c6a94
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
cmp dword [0x63da14], esi
jne 0x4c6baf
call fcn.004f2e50
mov ecx, dword [0x63da14]
cmp dword [esp + 0x28], ecx
je 0x4c6c9d
mov ebx, dword [ebx + 0x10]
or dword [edi + 0xb4], 0x40
mov dword [esp + 0x28], ebx
cmp dword [edi + 0xac], esi
jne 0x4c6c82
push 0x44
call fcn.00548a50
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x38], 1
cmp esi, ebx
je 0x4c6c6e
mov byte [esp + 0x38], 2
mov dword [esi], vtable.google::protobuf::MessageOptions.0
push 0x38
mov dword [esi + 0xc], ebx
call fcn.00548a50
add esp, 4
cmp eax, ebx
je 0x4c6c54
mov dword [esi + 8], eax
mov dword [eax], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], eax
mov eax, dword [esi + 8]
mov dword [eax + 8], eax
mov edx, dword [esi + 8]
mov byte [edx + 0x30], 1
mov eax, dword [esi + 8]
mov byte [eax + 0x31], 1
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 4
mov dword [esi + 0x3c], ebx
mov word [esi + 0x38], bx
mov dword [esi + 0x40], ebx
jmp 0x4c6c70
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.stdext::bad_alloc.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.00404df0
xor esi, esi
mov dword [esp + 0x38], 0xffffffff
mov ebx, dword [esp + 0x28]
mov dword [edi + 0xac], esi
mov edi, dword [edi + 0xac]
cmp ebx, edi
je 0x4c6c9d
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
push ebx
mov ecx, edi
call fcn.004fe5a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4