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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
cmp dword [eax + 0x14], 0x10
mov edi, eax
mov dword [esp + 0x18], ecx
jb 0x4e0877
mov edi, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
add eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], eax
lea eax, [ecx + 4]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], eax
mov al, byte [eax + 0x14]
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x4e0bfa
mov esi, dword [ecx + 0x20]
test esi, esi
jne 0x4e08f0
mov esi, ebx
test edx, edx
je 0x4e08f0
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053b995
mov esi, eax
mov eax, dword [esp + 0x1c]
pop ecx
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x20], esi
test ecx, ecx
je 0x4e08ec
push ecx
call fcn.0053b990
mov esi, dword [esp + 0x1c]
pop ecx
mov esi, dword [esi + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
lea edx, [esi + edx*4]
mov ecx, esi
call fcn.004b8709
pop ecx
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x3c]
jmp 0x4e091b
movsx ecx, byte [edi]
call fcn.0042e3c4
test al, al
je 0x4e091f
inc edi
cmp edi, edx
jb 0x4e090e
mov dword [esp + 0x18], edi
cmp edi, edx
jae 0x4e0b2e
movsx ecx, byte [edi]
call fcn.0042e3c4
test al, al
jne 0x4e093c
inc edi
cmp edi, edx
jb 0x4e092b
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4e0b2e
mov edx, edi
mov dword [esp + 0x30], ebx
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4e09bf
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e0979
sub ecx, dword [esp + 0x40]
cmp ecx, edx
jne 0x4e09a5
push edx
push dword [esp + 0x1c]
push dword [esp + 0x34]
call fcn.00553798
add esp, 0xc
test eax, eax
je 0x4e0a37
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
inc ecx
add eax, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [esp + 0xc]
jb 0x4e096a
mov eax, ebx
test eax, eax
je 0x4e0a9c
cmp byte [esp + 0x13], bl
je 0x4e0908
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x4e09fb
push 0x8b
push 0x79eb20
push str.tagId___numTags
call fcn.0055c77a
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
cmp dword [edx], eax
jae 0x4e0a3d
mov edx, dword [esp + 0x34]
mov eax, esi
cmp esi, edx
je 0x4e0a23
cmp dword [eax], ecx
je 0x4e0a1b
add eax, 4
cmp eax, edx
jne 0x4e0a10
cmp eax, edx
jne 0x4e0908
inc dword [esp + 0x28]
push 4
pop eax
mov dword [edx], ecx
add edx, eax
mov dword [esp + 0x34], edx
jmp 0x4e0908
mov eax, dword [esp + 0x24]
jmp 0x4e09c1
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x60]
pop eax
push 0x8f
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourceutil_taggedmanifest.cpp
mov dword [esp + 0x68], str.too_many_entries_in_PSV_manifest__declared_size_is__d_
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], str.TaggedManifest
call fcn.00492518
push dword [esp + 0x38]
lea ecx, [esp + 0x60]
call fcn.00492b4d
lea ecx, [esp + 0x5c]
call fcn.0042e42b
xor al, al
jmp 0x4e0bfc
push dword [esp + 0x20]
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], ebx
push dword [esp + 0x1c]
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x4c], bl
call fcn.00406551
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x60]
pop eax
push 0x9a
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourceutil_taggedmanifest.cpp
mov dword [esp + 0x68], str.invalid_tag__s_in_tagged_manifest
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], str.TaggedManifest
call fcn.00492518
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
lea ecx, [esp + 0x5c]
cmovae eax, dword [esp + 0x44]
push eax
call fcn.004928ff
lea ecx, [esp + 0x5c]
call fcn.0042e42b
lea ecx, [esp + 0x44]
call fcn.004063c5
jmp 0x4e0a95
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push ebx
push edi
push esi
call fcn.004dbbae
test eax, eax
je 0x4e0b78
add eax, edi
mov dword [esp + 0xc], eax
cmp eax, dword [esp + 0x1c]
jbe 0x4e0b65
push 0xa2
push 0x79eb20
push str.entryNumTags__numImpliedTags___numTags
call fcn.0055c77a
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esi + edi*4]
push eax
push edi
push esi
call fcn.004dbbae
mov edi, dword [esp + 0xc]
push dword [esp + 0xc]
lea edx, [esi + edi*4]
mov ecx, esi
push edi
call fcn.004dcbec
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
pop ecx
pop ecx
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
cmp eax, dword [edx + 0x10]
jb 0x4e0bb6
push 0x617
push 0x79d8d0
push str.ord___m_numEntries
call fcn.0055c77a
mov edx, dword [esp + 0x20]
add esp, 0xc
test edi, edi
je 0x4e0bfa
mov eax, dword [esi + ebx*4]
imul ecx, eax, 0x18
add ecx, dword [edx + 8]
mov dword [esp + 0xc], ecx
cmp eax, dword [edx + 0xc]
jb 0x4e0be7
push 0x61e
push 0x79d8d0
push str.tagId___m_numTags
call fcn.0055c77a
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
push dword [esp + 0x30]
call fcn.004da6eb
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, edi
jb 0x4e0bba
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8