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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
xor ebx, ebx
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
cmp eax, edx
jae 0x497036
mov cl, byte [eax]
cmp cl, 0x80
jae 0x497036
movzx ecx, cl
inc eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ecx
mov eax, ecx
jmp 0x497096
mov ecx, edx
sub ecx, eax
cmp ecx, 0xa
jge 0x497077
cmp ecx, ebx
jle 0x49704b
test byte [edx - 1], 0x80
je 0x497077
cmp ecx, ebx
jne 0x49706e
mov eax, dword [esi + 0x20]
cmp eax, ebx
jg 0x49705c
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 0x1c]
jne 0x49706e
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, dword [esi + 0x24]
jge 0x49706e
mov byte [esi + 0x18], 1
xor eax, eax
jmp 0x497093
mov eax, esi
call fcn.0048a780
jmp 0x497093
lea edx, [esp + 0x1c]
push edx
call fcn.0048a710
add esp, 4
cmp eax, ebx
jne 0x49708c
xor eax, eax
jmp 0x497093
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x49738b
mov ecx, eax
shr ecx, 3
dec ecx
jne 0x497396
mov ecx, eax
and cl, 7
cmp cl, 2
jne 0x497396
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
jge 0x4970d5
mov edx, dword [edi + 8]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x14], ecx
jmp 0x4971f9
mov eax, dword [edi + 0x14]
cmp ecx, eax
jne 0x49715d
mov ecx, dword [edi + 0x14]
inc eax
mov dword [esp + 0x18], eax
cmp ecx, eax
jge 0x49715d
mov edi, dword [edi + 8]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x18]
jl 0x497101
lea eax, [esp + 0x14]
cmp dword [eax], 4
jg 0x49710b
mov eax, 0x500b48
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x14], eax
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c83da
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [ecx + 8], eax
cmp edi, ebx
je 0x49715b
mov edx, ecx
mov ecx, dword [edx + 0x10]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
call fcn.004cda70
add esp, 0xc
push edi
call fcn.004c9b0b
mov edi, dword [esp + 0x10]
add esp, 4
jmp 0x49715d
mov edi, ecx
inc dword [edi + 0x10]
push 0x88
call fcn.004c958c
add esp, 4
cmp eax, ebx
je 0x4971e7
mov dword [eax], vtable.google::protobuf::FileDescriptorProto.0
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov ecx, 0x52cda8
mov dword [eax + 0x80], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x84], ebx
jmp 0x4971e9
xor eax, eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
jae 0x497217
mov dl, byte [eax]
cmp dl, 0x80
jae 0x497217
movzx edx, dl
inc eax
mov dword [esp + 0x10], edx
mov dword [esi + 4], eax
jmp 0x49724a
mov edx, ecx
sub edx, eax
cmp edx, 0xa
jge 0x4972c1
cmp ecx, eax
jbe 0x497232
test byte [ecx - 1], 0x80
je 0x4972c1
lea eax, [esp + 0x20]
push eax
mov eax, esi
call fcn.0048ab70
test al, al
jne 0x4972b5
cmp al, bl
je 0x497323
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
jg 0x497323
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.0048a120
mov ecx, dword [esp + 0x14]
push esi
mov dword [esp + 0x1c], eax
call fcn.00497c20
test al, al
je 0x497323
cmp byte [esi + 0x18], bl
je 0x497323
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x20]
add dword [esi + 8], edx
lea eax, [esi + 0x1c]
mov dword [eax], ecx
cmp dword [esi + 0x24], ecx
jge 0x49729b
lea eax, [esi + 0x24]
mov ecx, dword [eax]
mov eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x497342
sub eax, ecx
sub dword [esi + 8], eax
mov dword [esi + 0x20], eax
jmp 0x497345
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov al, 1
jmp 0x497242
movzx edx, byte [eax]
mov ecx, edx
inc eax
and ecx, 0x7f
test dl, dl
jns 0x497332
movzx edx, byte [eax]
mov edi, edx
and edi, 0x7f
shl edi, 7
inc eax
or ecx, edi
test dl, dl
jns 0x49732e
movzx edx, byte [eax]
mov edi, edx
and edi, 0x7f
shl edi, 0xe
inc eax
or ecx, edi
test dl, dl
jns 0x49732e
movzx edx, byte [eax]
mov edi, edx
and edi, 0x7f
shl edi, 0x15
inc eax
or ecx, edi
test dl, dl
jns 0x49732e
movzx edx, byte [eax]
mov edi, edx
shl edi, 0x1c
inc eax
or ecx, edi
test dl, dl
jns 0x49732e
xor edi, edi
movzx edx, byte [eax]
inc eax
test dl, dl
jns 0x49732e
inc edi
cmp edi, 5
jl 0x497315
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
cmp eax, ebx
je 0x497323
mov dword [esi + 4], eax
jmp 0x49724a
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x2c]
mov byte [esi + 0x18], bl
cmp eax, ebx
jle 0x497353
dec eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jae 0x49736c
cmp byte [eax], 0xa
jne 0x497369
inc eax
mov dword [esi + 4], eax
jmp 0x4970b8
cmp eax, dword [esi + 8]
jne 0x497017
cmp dword [esi + 0x20], ebx
jne 0x497384
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0xc], ecx
jne 0x497017
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 4
je 0x49738b
lea ecx, [edi + 4]
push esi
call fcn.004848f0
add esp, 4
test al, al
jne 0x497017
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4