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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bea2a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6300f4]
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, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
cmp ebx, edi
jne 0x507e70
push 0x37
push 0x5cab48
push 3
lea ecx, [ebp - 0x4c]
call fcn.004ff870
mov ecx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], ecx
mov ecx, eax
push str.CHECK_failed:__from_____to_:
call fcn.004ff910
push eax
lea ecx, [ebp - 0x5d]
call fcn.004ffda0
mov eax, 1
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x507e89
and eax, 0xfffffffe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
call fcn.004ff8b0
mov eax, dword [ebx]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, ebx
call dword [eax + 0x48]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, edi
mov esi, dword [eax]
mov eax, dword [edi]
call dword [eax + 0x48]
cmp dword [eax], esi
je 0x507eea
push 0x3a
push str.googleprotobuf_reflection_ops.cc
push 3
lea ecx, [ebp - 0x4c]
call fcn.004ff870
mov ecx, dword [ebp - 0x5c]
or ecx, 2
mov dword [ebp - 4], 1
push str.Tried_to_merge_messages_of_different_types.
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], ecx
mov ecx, eax
push str.CHECK_failed:__to__GetDescriptor______descriptor_:
call fcn.004ff910
mov ecx, eax
call fcn.004ff910
push eax
lea ecx, [ebp - 0x5d]
call fcn.004ffda0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
test cl, 2
je 0x507f01
lea ecx, [ebp - 0x4c]
call fcn.004ff8b0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
mov edi, eax
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov dword [ebp - 0x5c], edi
mov edx, dword [eax]
call dword [edx + 0x44]
mov esi, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov edx, dword [edi]
lea eax, [ebp - 0x74]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 4], 2
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x70]
xor ecx, ecx
sub eax, dword [ebp - 0x74]
sar eax, 2
mov dword [ebp - 0x64], ecx
test eax, eax
je 0x50818e
nop word [eax + eax]
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax + ecx*4]
cmp dword [ebx + 0x1c], 3
jne 0x5081cb
mov eax, dword [edi]
mov ecx, edi
push ebx
push dword [ebp - 0x50]
call dword [eax + 0x14]
xor edi, edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], edi
test eax, eax
jle 0x50816a
nop dword [eax + eax]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx*4 + 0x5cde70]
dec eax
cmp eax, 9
ja case.default.0x507fa4
jmp dword [eax*4 + 0x5083a0]
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
call dword [eax + 0x88]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xdc]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
mov eax, dword [eax + 0x8c]
call eax
mov ecx, dword [ebp - 0x54]
push edx
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xe0]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
call dword [eax + 0x90]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xe4]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
mov eax, dword [eax + 0x94]
call eax
mov ecx, dword [ebp - 0x54]
push edx
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xe8]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
mov eax, dword [eax + 0x98]
call eax
push ecx
mov ecx, dword [ebp - 0x54]
fstp dword [esp]
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xec]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
mov eax, dword [eax + 0x9c]
call eax
mov ecx, dword [ebp - 0x54]
sub esp, 8
fstp qword [esp]
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xf0]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
mov eax, dword [eax + 0xa0]
call eax
mov ecx, dword [ebp - 0x54]
movzx eax, al
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xf4]
jmp 0x50815a
mov ecx, dword [ebp - 0x5c]
lea edx, [ebp - 0x28]
push edi
push ebx
push dword [ebp - 0x50]
mov eax, dword [ecx]
push edx
call dword [eax + 0xa4]
mov edx, dword [esi]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x58]
mov byte [ebp - 4], 3
call dword [edx + 0xf8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb case.default.0x507fa4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00411a9e
jmp case.default.0x507fa4
mov ecx, dword [ebp - 0x5c]
mov esi, dword [esi]
push edi
push ebx
mov eax, dword [ecx]
push dword [ebp - 0x50]
call dword [eax + 0xa8]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0xfc]
jmp 0x50815a
mov eax, dword [esi]
mov ecx, esi
push 0
push ebx
push dword [ebp - 0x58]
call dword [eax + 0x100]
push dword [ebp - 0x68]
mov esi, eax
mov eax, dword [ebp - 0x5c]
push ebx
push dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [eax]
mov edi, dword [esi]
call dword [edx + 0xac]
push eax
mov ecx, esi
call dword [edi + 0x34]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x54]
inc edi
mov dword [ebp - 0x68], edi
cmp edi, dword [ebp - 0x78]
jl 0x507f90
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x74]
inc esi
sar eax, 2
mov dword [ebp - 0x64], esi
cmp esi, eax
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x64]
jb 0x507f60
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 4]
push eax
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x58]
call dword [eax + 8]
mov ecx, eax
call fcn.0050f7e0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x508383
mov eax, dword [ebp - 0x6c]
sub eax, ecx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x508342
call fcn.0058ca51
mov eax, dword [ebx + 0x18]
mov eax, dword [eax*4 + 0x5cde70]
dec eax
cmp eax, 9
ja case.default.0x5081db
jmp dword [eax*4 + 0x5083c8]
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x5c]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [ebp - 0x54]
push edx
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x60]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x64]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [ebp - 0x54]
push edx
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x68]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
mov eax, dword [eax + 0x40]
call eax
push ecx
mov ecx, dword [ebp - 0x54]
fstp dword [esp]
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x6c]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
mov eax, dword [eax + 0x44]
call eax
mov ecx, dword [ebp - 0x54]
sub esp, 8
fstp qword [esp]
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x70]
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [ebp - 0x54]
movzx eax, al
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x74]
jmp case.default.0x5081db
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ebx
push dword [ebp - 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
mov edx, dword [esi]
mov ecx, esi
push eax
push ebx
push dword [ebp - 0x58]
mov byte [ebp - 4], 4
call dword [edx + 0x78]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00411854
jmp case.default.0x5081db
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [esi]
push ebx
push dword [ebp - 0x50]
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x54]
push eax
push ebx
push dword [ebp - 0x58]
call dword [esi + 0x7c]
jmp case.default.0x5081db
mov eax, dword [esi]
mov ecx, esi
push 0
push ebx
push dword [ebp - 0x58]
call dword [eax + 0x80]
mov ecx, dword [ebp - 0x5c]
mov esi, eax
push 0
push ebx
mov ebx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov edi, dword [esi]
push ebx
call dword [edx + 0x54]
push eax
mov ecx, esi
call dword [edi + 0x34]
mov edi, dword [ebp - 0x5c]
jmp 0x508170
shl eax, 2
cmp eax, 0x1000
jb 0x50837a
test cl, 0x1f
je 0x508356
call fcn.0058ca51
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x508362
call fcn.0058ca51
sub ecx, eax
cmp ecx, 4
jae 0x50836e
call fcn.0058ca51
cmp ecx, 0x23
jbe 0x508378
call fcn.0058ca51
mov ecx, eax
push ecx
call fcn.004515b1
add esp, 4
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.0057086f
mov esp, ebp
pop ebp
ret