Function at 0x4df756
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 dword [esp + 0x18], ecx
jb 0x4df776
mov esi, dword [eax]
jmp 0x4df778
mov esi, eax
mov eax, dword [eax + 0x10]
xor ebx, ebx
add eax, esi
mov edi, ebx
mov dword [esp + 0x28], eax
lea eax, [ecx + 4]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x14], eax
mov al, byte [eax + 0x14]
mov byte [esp + 0xf], al
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
test eax, eax
je 0x4dfafd
cmp dword [ecx + 0x20], ebx
jne 0x4df7e6
test edx, edx
je 0x4df7e6
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052c2c8
pop ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
mov dword [ecx + 0x20], eax
test edx, edx
je 0x4df7e2
push edx
call fcn.0052c08b
pop ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
lea edx, [eax + edx*4]
call fcn.004d203f
mov eax, dword [esp + 0x1c]
pop ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x28]
jmp 0x4df81c
movsx ecx, byte [esi]
call fcn.0042bb9c
test al, al
je 0x4df820
inc esi
cmp esi, edx
jb 0x4df80f
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x28]
jae 0x4dfa38
mov edx, dword [esp + 0x28]
movsx ecx, byte [esi]
call fcn.0042bb9c
test al, al
jne 0x4df843
inc esi
cmp esi, edx
jb 0x4df832
mov edx, dword [esp + 0x30]
cmp edx, esi
je 0x4dfa38
mov eax, esi
mov dword [esp + 0x24], ebx
sub eax, edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x4df8c7
mov eax, dword [eax]
mov ecx, eax
mov dword [esp + 0x34], eax
lea eax, [ecx + 1]
mov dword [esp + 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4df880
sub ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jne 0x4df8ad
push eax
push edx
push dword [esp + 0x3c]
call fcn.00544eba
add esp, 0xc
test eax, eax
je 0x4df93e
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc ecx
add eax, 0x18
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
cmp ecx, dword [esp + 0x10]
jb 0x4df871
mov eax, ebx
test eax, eax
je 0x4df9a3
cmp byte [esp + 0xf], bl
je 0x4df809
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x20]
jb 0x4df903
push 0x8b
push str..._bnl_tact_source_toolsTaggedManifest.cpp
push str.tagId___numTags
call fcn.0054db53
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
cmp dword [ecx], eax
jae 0x4df944
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
je 0x4df931
cmp dword [ecx], edx
je 0x4df929
add ecx, 4
cmp ecx, eax
jne 0x4df91e
cmp ecx, eax
jne 0x4df809
push 4
pop ecx
mov dword [eax], edx
inc edi
add eax, ecx
jmp 0x4df805
mov eax, dword [esp + 0x2c]
jmp 0x4df8c9
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 0x6ab1d8
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.00496d52
push dword [esp + 0x38]
lea ecx, [esp + 0x60]
call fcn.00497435
lea ecx, [esp + 0x5c]
call fcn.0042bc04
xor al, al
jmp 0x4dfaff
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x44]
sub esi, eax
mov dword [esp + 0x58], 0xf
push esi
push eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.0040644c
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 0x6ab1d8
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.00496d52
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
lea ecx, [esp + 0x5c]
cmovae eax, dword [esp + 0x44]
push eax
call fcn.004971d9
lea ecx, [esp + 0x5c]
call fcn.0042bc04
push ebx
push 1
lea ecx, [esp + 0x4c]
call fcn.0040637e
jmp 0x4df99c
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ebx
push edi
push esi
call fcn.004db698
test eax, eax
je 0x4dfa82
add eax, edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x20]
jbe 0x4dfa6f
push 0xa2
push str..._bnl_tact_source_toolsTaggedManifest.cpp
push str.entryNumTags__numImpliedTags___numTags
call fcn.0054db53
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea eax, [esi + edi*4]
push eax
push edi
push esi
call fcn.004db698
mov edi, dword [esp + 0x10]
lea edx, [esi + edi*4]
mov ecx, esi
call fcn.004dc242
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
cmp eax, dword [edx + 0x10]
jb 0x4dfab9
push 0x615
push 0x6aa1e8
push str.ord___m_numEntries
call fcn.0054db53
mov edx, dword [esp + 0x20]
add esp, 0xc
test edi, edi
je 0x4dfafd
mov eax, dword [esi + ebx*4]
imul ecx, eax, 0x18
add ecx, dword [edx + 8]
mov dword [esp + 0x10], ecx
cmp eax, dword [edx + 0xc]
jb 0x4dfaea
push 0x61c
push 0x6aa1e8
push str.tagId___m_numTags
call fcn.0054db53
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push dword [esp + 0x38]
call fcn.004da143
mov edx, dword [esp + 0x14]
inc ebx
cmp ebx, edi
jb 0x4dfabd
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8