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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c12b6
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x4f4025
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f4025
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x4f4079
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x4f405e
cmp eax, esi
jae 0x4f403a
test byte [esi - 1], 0x80
je 0x4f405e
cmp eax, esi
jne 0x4f4055
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x4f4055
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x4f4055
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x4f4076
mov eax, ebx
call fcn.004eb180
jmp 0x4f4076
lea edx, [esp + 0x3c]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f4076
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x4f4970
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0x4f4090
jmp dword [ecx*4 + 0x4f4994]
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x4f4090
mov esi, dword [esp + 0x20]
call fcn.004f1280
lea edi, [esp + 0x40]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.0041a530
test al, al
je 0x4f496c
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
call fcn.004ddd80
test al, al
je 0x4f496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x12
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f4103
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov esi, dword [esp + 0x20]
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x625620
jne 0x4f4148
push 0x1c
call fcn.00548a50
add esp, 4
test eax, eax
je 0x4f4138
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4f413a
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
lea edi, [esp + 0x38]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.0041a530
test al, al
je 0x4f496c
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
call fcn.004ddd80
test al, al
je 0x4f496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x1a
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f41a4
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov esi, dword [esp + 0x20]
add esi, 0x10
mov dword [esp + 0x1c], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edi, 1
lea ebx, [ebx]
cmp eax, ecx
jge 0x4f41d1
mov edx, dword [esi]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 4], eax
mov edi, ecx
jmp 0x4f421f
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x4f41e1
inc eax
push eax
mov eax, esi
call fcn.004c1990
add dword [esi + 8], edi
push 0x1c
call fcn.00548a50
add esp, 4
test eax, eax
je 0x4f4205
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x4f4207
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*4], eax
add dword [esi + 4], edi
mov edi, eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x4f423d
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f423d
movzx ecx, cl
inc eax
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], eax
jmp 0x4f4268
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x4f429f
cmp esi, eax
jbe 0x4f4250
test byte [esi - 1], 0x80
je 0x4f429f
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x4f4293
test al, al
je 0x4f496c
mov esi, dword [esp + 0x34]
call fcn.004ddd80
test al, al
je 0x4f496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f42b9
cmp byte [eax], 0x1a
jne 0x4f42b9
mov esi, dword [esp + 0x1c]
inc eax
mov dword [ebx + 4], eax
jmp 0x4f41af
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov al, 1
jmp 0x4f4260
lea edx, [esp + 0x34]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f496c
mov dword [ebx + 4], eax
jmp 0x4f4268
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x22
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f42e2
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x38]
mov esi, 1
cmp eax, ecx
jge 0x4f4305
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x34], eax
mov dword [esp + 0x1c], ecx
jmp 0x4f4343
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jne 0x4f4316
inc eax
push eax
lea eax, [edi + 0x30]
call fcn.004c1990
add dword [edi + 0x38], esi
push 0xb8
call fcn.00548a50
add esp, 4
test eax, eax
je 0x4f4331
call fcn.004f6120
jmp 0x4f4333
xor eax, eax
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
mov dword [edx + ecx*4], eax
add dword [edi + 0x34], esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x4f4361
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f4361
movzx ecx, cl
inc eax
mov dword [esp + 0x30], ecx
mov dword [ebx + 4], eax
jmp 0x4f4394
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x4f43ff
cmp esi, eax
jbe 0x4f437c
test byte [esi - 1], 0x80
je 0x4f43ff
lea eax, [esp + 0x44]
push eax
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x4f43f3
test al, al
je 0x4f496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x4f496c
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebx
call fcn.004eab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.004f6450
test al, al
je 0x4f496c
cmp byte [ebx + 0x18], 0
je 0x4f496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x4f43e0
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x4f441c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x4f4423
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], ecx
mov al, 1
jmp 0x4f438c
lea edx, [esp + 0x30]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f496c
mov dword [ebx + 4], eax
jmp 0x4f4394
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x4f4432
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4448
cmp byte [eax], 0x22
jne 0x4f4448
inc eax
mov dword [ebx + 4], eax
jmp 0x4f42e6
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x2a
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f4471
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov edx, dword [esp + 0x20]
add edx, 0x50
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov esi, dword [esp + 0x1c]
call fcn.004d5c60
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x4f44a9
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f44a9
movzx ecx, cl
inc eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 4], eax
jmp 0x4f44dc
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x4f4545
cmp esi, eax
jbe 0x4f44c4
test byte [esi - 1], 0x80
je 0x4f4545
lea eax, [esp + 0x4c]
push eax
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x4f4539
test al, al
je 0x4f496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x4f496c
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004eab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.004f8fe0
test al, al
je 0x4f496c
cmp byte [ebx + 0x18], 0
je 0x4f496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x4f4526
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x4f4562
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x4f4569
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov al, 1
jmp 0x4f44d4
lea edx, [esp + 0x24]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f496c
mov dword [ebx + 4], eax
jmp 0x4f44dc
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x4f4578
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f458e
cmp byte [eax], 0x2a
jne 0x4f458e
inc eax
mov dword [ebx + 4], eax
jmp 0x4f4480
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x32
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f45b7
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov edx, dword [esp + 0x20]
add edx, 0x70
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x1c]
call fcn.004d5ce0
mov esi, dword [ebx + 8]
mov edi, eax
mov eax, dword [ebx + 4]
cmp eax, esi
jae 0x4f45eb
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f45eb
movzx ecx, cl
inc eax
mov dword [esp + 0x2c], ecx
mov dword [ebx + 4], eax
jmp 0x4f461e
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x4f4687
cmp esi, eax
jbe 0x4f4606
test byte [esi - 1], 0x80
je 0x4f4687
lea eax, [esp + 0x54]
push eax
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x4f467b
test al, al
je 0x4f496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x4f496c
mov eax, dword [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.004eab20
push ebx
mov ecx, edi
mov esi, eax
call fcn.004fa810
test al, al
je 0x4f496c
cmp byte [ebx + 0x18], 0
je 0x4f496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x4f4668
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x4f46a4
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x4f46ab
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov al, 1
jmp 0x4f4616
lea edx, [esp + 0x2c]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f496c
mov dword [ebx + 4], eax
jmp 0x4f461e
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x4f46ba
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f46d0
cmp byte [eax], 0x32
jne 0x4f46d0
inc eax
mov dword [ebx + 4], eax
jmp 0x4f45c2
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x3a
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f46f9
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x98]
xor esi, esi
jmp 0x4f4710
cmp eax, ecx
jge 0x4f472a
mov edx, dword [edi + 0x90]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [edi + 0x94], eax
mov dword [esp + 0x1c], ecx
jmp 0x4f47a3
mov eax, dword [edi + 0x9c]
cmp ecx, eax
jne 0x4f4741
inc eax
push eax
lea eax, [edi + 0x90]
call fcn.004c1990
inc dword [edi + 0x98]
push 0x30
call fcn.00548a50
add esp, 4
mov edx, 1
cmp eax, esi
je 0x4f4788
mov ecx, 0x625620
mov dword [eax], vtable.google::protobuf::FieldDescriptorProto.0
mov dword [eax + 4], esi
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 0x4f478a
xor eax, eax
mov ecx, dword [edi + 0x94]
mov esi, dword [edi + 0x90]
mov dword [esi + ecx*4], eax
add dword [edi + 0x94], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x4f47c1
mov cl, byte [eax]
cmp cl, 0x80
jae 0x4f47c1
movzx edx, cl
inc eax
mov dword [esp + 0x28], edx
mov dword [ebx + 4], eax
jmp 0x4f47f4
mov ecx, esi
sub ecx, eax
cmp ecx, 0xa
jge 0x4f485f
cmp esi, eax
jbe 0x4f47dc
test byte [esi - 1], 0x80
je 0x4f485f
lea edx, [esp + 0x64]
push edx
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x4f4853
test al, al
je 0x4f496c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x4f496c
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebx
call fcn.004eab20
mov ecx, dword [esp + 0x1c]
push ebx
mov esi, eax
call fcn.004f8100
test al, al
je 0x4f496c
cmp byte [ebx + 0x18], 0
je 0x4f496c
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x4f4840
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x4f487c
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x4f4883
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov al, 1
jmp 0x4f47ec
lea ecx, [esp + 0x28]
push ecx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x4f496c
mov dword [ebx + 4], eax
jmp 0x4f47f4
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x4f4892
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f48a8
cmp byte [eax], 0x3a
jne 0x4f48a8
inc eax
mov dword [ebx + 4], eax
jmp 0x4f46fd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x42
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f48cd
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x4f4090
mov esi, dword [esp + 0x20]
call fcn.004c30b0
push eax
mov eax, ebx
call fcn.005069e0
add esp, 4
test al, al
je 0x4f496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x4f4006
cmp byte [eax], 0x4a
jne 0x4f4006
inc eax
mov dword [ebx + 4], eax
jmp 0x4f490e
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x4f4090
mov esi, dword [esp + 0x20]
call fcn.004f12f0
push eax
mov eax, ebx
call fcn.00506a50
add esp, 4
test al, al
je 0x4f496c
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jne 0x4f4006
cmp dword [ebx + 0x20], 0
je 0x4f4006
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
jmp 0x4f4972
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x4f4970
mov ecx, dword [esp + 0x20]
add ecx, 4
push ebx
call fcn.004e5320
add esp, 4
test al, al
jne 0x4f4006
xor al, al
jmp 0x4f4972
mov al, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00548a41
mov esp, ebp
pop ebp
ret 4