Function at 0x10078210
Capabilities:
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1014db0c
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x101f2fb0]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push esi
push edi
mov eax, dword [0x101f2fb0]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [0x101e8b94]
mov dword [esp + 0xfc], eax
mov eax, dword [0x101e8b9c]
mov dword [esp + 0x98], edx
mov edx, dword [0x101e8b98]
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], edx
mov edx, dword [0x101e8ba0]
lea eax, [edi + 0x6c]
mov dword [esp + 0x9c], eax
mov dword [eax], ebx
mov dword [esp + 0x108], edx
mov dword [edi + 0x64], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0xe0], 1
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x3c], ebx
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
cmp dword [edi + 0x2c], ebx
je 0x10078387
lea ecx, [edi + 0x30]
push 0x101e8b94
push ecx
call fcn.10025a20
add esp, 8
test eax, eax
je 0x10078387
mov edx, dword [esp + 0x9c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov ecx, edi
call fcn.10071a10
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov edx, dword [esp + 0x9c]
mov eax, dword [edx]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
jmp 0x1007839a
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x90]
lea eax, [esp + 0x28]
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
cmp dword [edi + 0x2c], ebx
jne 0x100783e9
lea ecx, [esp + 0xfc]
push ecx
lea edx, [edi + 0x30]
push edx
call fcn.10025a20
add esp, 8
test eax, eax
jne 0x100783e9
mov esi, 0x8012008b
jmp 0x1007938b
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0x40]
mov dword [edi + 0x4c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
movzx esi, word [ebp + 0x14]
xor ecx, ecx
mov eax, esi
mov edx, 0x18
mul edx
seto cl
mov dword [edi + 0x44], esi
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [edi + 0x48], eax
cmp eax, ebx
je 0x10079386
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x10], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x18], edx
call fcn.100519d0
mov ecx, eax
call fcn.10051960
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [edi + 0xc]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [edi + 0x10]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0x14]
mov dword [edx + 8], ecx
mov ecx, dword [edi + 0x18]
mov dword [edx + 0xc], ecx
mov ecx, eax
mov dword [esp + 0x8c], eax
call fcn.100525f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
lea eax, [edi + 0x54]
push eax
mov eax, dword [edx]
push 0x10165d5c
push ecx
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
lea eax, [edi + 0x68]
push eax
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x8c], ebx
call fcn.10071610
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.100728f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x24]
je 0x10078532
cmp eax, ebx
je 0x10078532
push eax
mov ecx, edi
call fcn.100728f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x28]
push ebx
push ecx
push edx
mov ecx, edi
call fcn.10071610
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [edi + 0x54]
mov edx, dword [eax]
lea ecx, [edi + 0x58]
push ecx
push 0x10165dcc
push eax
mov eax, dword [edx]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
cmp dword [edi + 0x2c], ebx
je 0x10078568
lea ecx, [esp + 0xfc]
push ecx
lea edx, [edi + 0x30]
push edx
call fcn.10025a20
add esp, 8
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov ecx, dword [eax]
mov dword [esp + 0xec], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xf0], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xf4], ecx
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x40]
push eax
mov eax, dword [edi + 0x2c]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0x104], edx
mov edx, ecx
mov ecx, dword [esp + 0x30]
push edx
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x100]
push eax
push ebx
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.10075b80
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [edi + 0x40]
mov edx, dword [eax]
mov edx, dword [edx + 0x98]
lea ecx, [esp + 0x170]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x24], ecx
je 0x10078655
lea eax, [edi + 0x70]
push eax
push ebx
lea eax, [esp + 0xa8]
push eax
mov edx, eax
push edx
lea eax, [edi + 0xc]
push eax
lea eax, [esp + 0x100]
push eax
lea edx, [esp + 0x188]
push edx
push ebx
push ebx
push ecx
mov ecx, edi
call fcn.10075b80
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [edi + 0x70]
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
jmp 0x10078658
mov dword [edi + 0x70], ebx
movzx eax, word [ebp + 0x14]
mov dword [esp + 0x88], ebx
cmp eax, ebx
jbe 0x10078ea5
mov eax, dword [esp + 0x98]
add eax, 8
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x64]
mov edi, dword [ecx + 0x48]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0x130]
add edi, dword [esp + 0x4c]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x98]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
lea edx, [esp + 0xd4]
push edx
push eax
mov eax, dword [ecx + 0xd4]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0xa0]
cmp ecx, dword [esp + 0xd4]
jne 0x10078fba
mov edx, dword [esp + 0xa4]
cmp edx, dword [esp + 0xd8]
jne 0x10078fba
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.ImplAAFSmartPointer_class_ImplAAFDataDef_.0
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1a0], ebx
add esi, 0xa4
call fcn.1007e410
mov ecx, dword [esp + 0x40]
mov edx, dword [esi]
push eax
push ecx
call edx
mov esi, eax
lea ecx, [esp + 0x14]
cmp esi, ebx
jne 0x10078f5d
call fcn.100b0550
mov ecx, dword [eax]
lea edx, [esp + 0x160]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x164]
push edx
call fcn.10025a20
add esp, 8
test eax, eax
je 0x10078f72
mov eax, dword [esp + 0x40]
push ebx
push 0x101e7f04
push 0x101de06c
push ebx
push eax
call sub.MSVCR90.dll___RTDynamicCast
add esp, 0x14
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x10078a91
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x138]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x16c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
lea edx, [esp + 0x11c]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x11c]
push ecx
push edx
call fcn.10025a20
add esp, 8
test eax, eax
je 0x10078f72
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x12c]
push edx
push eax
mov eax, dword [ecx + 0x13c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0xe4]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0xcc]
push edx
lea edx, [esp + 0xd4]
push edx
lea edx, [esp + 0xcc]
push edx
lea edx, [esp + 0xc8]
push edx
lea edx, [esp + 0xd0]
push edx
lea edx, [esp + 0xc8]
push edx
push eax
mov eax, dword [ecx + 0x134]
call eax
mov dword [esp + 0x54], eax
cmp eax, 0x801200cf
je 0x1007891c
mov esi, eax
cmp esi, ebx
jne 0x10078f77
cmp dword [esp + 0xbc], ebx
jne 0x10078905
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
cmp dword [esp + 0xcc], ebx
jne 0x1007891c
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov ecx, dword [esp + 0x38]
call fcn.10068670
mov ecx, eax
call fcn.10072660
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0xac]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x12c]
push edx
lea edx, [esp + 0xe8]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x130]
call eax
mov esi, eax
lea ecx, [esp + 0x14]
cmp esi, ebx
jne 0x10078f5d
mov dword [esp + 0xb0], ebx
call fcn.100b0550
mov ecx, dword [eax]
lea edx, [esp + 0xb0]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
cmp dword [esp + 0xb0], ebx
je 0x10078a0b
cmp dword [esp + 0x54], 0x801200cf
je 0x10078a0b
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc0]
push edx
push eax
mov eax, dword [ecx + 0x140]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov edx, dword [edx + 0x104]
lea eax, [esp + 0x48]
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x108]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov ecx, dword [esp + 0x38]
add ecx, 0x44
mov dword [esp + 0x40], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x60]
add ecx, 0x40
mov dword [esp + 0x38], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x60], ebx
jmp 0x10078b56
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x4c], eax
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x118]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x138]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x16c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [ecx + 0xf4]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
lea edx, [esp + 0x11c]
push edx
push eax
mov eax, dword [ecx + 0x9c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x11c]
push ecx
push edx
call fcn.10025a20
add esp, 8
test eax, eax
je 0x10078f72
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + 8]
add ecx, 0x40
call edx
mov ecx, dword [esp + 0x1c]
add ecx, 0x40
mov dword [esp + 0x50], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x20]
add ecx, 0x40
mov dword [esp + 0x1c], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], ebx
je 0x10078ba0
add eax, 0x70
jmp 0x10078ba3
add eax, 0x40
mov eax, dword [eax]
lea ecx, [eax + 0x40]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x34]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x130]
call eax
cmp eax, 0x80120102
jne 0x10078c6b
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], vtable.ImplAAFSmartPointer_class_ImplAAFDataDef_.0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a0], 1
add esi, 0x58
call fcn.1007e410
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [edx - 8]
mov edx, dword [esi]
push eax
push ecx
call edx
mov esi, eax
cmp esi, ebx
jne 0x10078f90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea esi, [eax + 4]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0xb0]
push esi
lea esi, [esp + 0xe4]
push esi
push eax
push ecx
mov ecx, dword [edx + 0x174]
call ecx
lea ecx, [esp + 0xa8]
mov esi, eax
mov byte [esp + 0x1a0], bl
call fcn.100724f0
cmp esi, ebx
jne 0x10078f77
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x130]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov edx, dword [esp + 0x30]
movsx edx, word [edx - 4]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb0]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078f77
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 8]
add ecx, 0x40
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x40
mov dword [esp + 0x44], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 8]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
mov edx, dword [ecx]
mov dword [edi + 0x10], edx
mov ax, word [ecx - 4]
mov word [edi + 0x14], ax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], vtable.ImplAAFSmartPointer_class_ImplAAFDataDef_.0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a0], 2
add esi, 0x58
call fcn.1007e410
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xf0]
push edx
push eax
call ecx
mov esi, eax
cmp esi, ebx
jne 0x10078fa5
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
mov ecx, 8
lea esi, [esp + 0x170]
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x94]
mov dword [esp + 0x15c], ebx
mov dword [esp + 0x160], ebx
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fa5
mov ecx, dword [esp + 0x38]
call fcn.10068670
mov ecx, eax
call fcn.10072660
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0xac]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fa5
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x12c]
push edx
lea edx, [esp + 0x110]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x130]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fa5
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10c]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fa5
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 8]
add ecx, 0x40
call eax
mov ecx, dword [esp + 0x38]
add ecx, 0x44
mov dword [esp + 0x20], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x48]
add ecx, 0x40
mov dword [esp + 0x38], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x1a0], bl
call fcn.100724f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.100724f0
mov eax, dword [esp + 0x88]
movzx ecx, word [ebp + 0x14]
add dword [esp + 0x30], 0x14
add dword [esp + 0x4c], 0x18
inc eax
mov dword [esp + 0x88], eax
cmp eax, ecx
jb 0x10078680
mov edi, dword [esp + 0x64]
lea ecx, [esp + 0xfc]
lea eax, [edi + 0x30]
push ecx
push eax
mov dword [esp + 0x90], eax
call fcn.10025a20
add esp, 8
test eax, eax
je 0x100790df
mov eax, dword [edi + 0x54]
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x10c]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], vtable.ImplAAFSmartPointer_class_ImplAAFClassDef_.0
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
lea ecx, [esp + 0x54]
mov dword [esp + 0x1a0], 3
add esi, 0x18
call fcn.1007e410
mov ecx, dword [esi]
push eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x110]
push edx
push eax
call ecx
mov esi, eax
lea ecx, [esp + 0x54]
cmp esi, ebx
je 0x10078fc4
mov dword [esp + 0x1a0], 0xffffffff
call fcn.10059480
jmp 0x1007938b
mov dword [esp + 0x1a0], 0xffffffff
call fcn.100724f0
jmp 0x1007938b
mov esi, 0x8012016c
lea ecx, [esp + 0x14]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.100724f0
jmp 0x1007938b
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1a0], bl
call fcn.100724f0
jmp 0x10078f77
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a0], bl
call fcn.100724f0
jmp 0x10078f77
mov esi, 0x8012016c
jmp 0x1007938b
call fcn.100b0550
mov edx, dword [eax]
mov edx, dword [edx + 0xac]
lea ecx, [esp + 0x34]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
je 0x10078ff8
lea ecx, [esp + 0x54]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.10059480
jmp 0x1007938b
mov ecx, dword [edi + 0x70]
cmp ecx, ebx
jne 0x10079002
mov ecx, dword [edi + 0x40]
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0xc4]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fdf
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xb8]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fdf
mov ecx, dword [esp + 0x78]
lea eax, [edi + 0x60]
push eax
push 0x10165dac
push ebx
push 0x101760ac
call fcn.10052510
mov esi, eax
cmp esi, ebx
jne 0x10078fdf
mov eax, dword [edi + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push 0x10165d8c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10078fdf
mov ecx, dword [esp + 0x34]
add ecx, 0x40
call fcn.100dc0b0
mov esi, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push esi
push eax
call edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [edi + 0x5c]
push ecx
mov dword [esp + 0x70], ebx
mov eax, dword [esi]
mov edx, dword [eax]
push 0x1015bca0
push esi
call edx
mov esi, eax
cmp esi, ebx
jne 0x10078fdf
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + 8]
add ecx, 0x40
call edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1a0], 0xffffffff
call fcn.10059480
jmp 0x1007923f
mov edi, dword [edi + 0x2c]
mov eax, dword [edi]
mov edx, dword [eax + 0x9c]
lea ecx, [esp + 0x94]
push ecx
push edi
call edx
mov eax, dword [esp + 0x94]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
mov eax, dword [esp + 0x98]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x50], esi
neg ecx
or ecx, eax
push ecx
call sub.MSVCR90.dll_void____cdecl_operator_new___unsigned_int_
add esp, 8
mov dword [esp + 0x3c], eax
cmp esi, ebx
je 0x10079386
cmp eax, ebx
je 0x10079386
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x64]
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
push edx
mov edx, esi
push edx
push eax
mov eax, dword [ecx + 0x98]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.100d3490
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
add esp, 8
lea eax, [esp + 0x74]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x8c]
call fcn.100525f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x70]
push ecx
push 0x10165d7c
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x70]
lea ecx, [edi + 0x60]
push ecx
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x4c]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x40]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x24]
call fcn.100838f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
je 0x1007926b
call fcn.100838f0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, edi
call fcn.100721c0
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [edi + 0x40]
add ecx, 0x40
call fcn.100dc0b0
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push 0x1015c030
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov ecx, dword [esp + 0x98]
mov eax, dword [edi + 0x58]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ecx
movzx ecx, word [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [edi + 0x60]
push ecx
mov ecx, dword [esp + 0x6c]
add edi, 0x1c
push edi
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jne 0x1007938b
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], ebx
cmp eax, ebx
je 0x100792fb
lea ecx, [eax + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10079311
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x10079327
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x78]
cmp ecx, ebx
je 0x10079336
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1007934c
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x1007935e
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
xor eax, eax
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.1012944a
mov esp, ebp
pop ebp
ret 0x18
mov esi, 0x8012015e
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x1007939f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x100793b1
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
je 0x100793c7
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], ebx
cmp eax, ebx
je 0x100793dd
lea ecx, [eax + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x100793f3
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
cmp eax, ebx
je 0x10079409
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
je 0x1007941c
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x1007942e
lea ecx, [eax + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x10079442
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x10079455
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x10079465
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x10079475
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x9c]
mov dword [eax], ebx
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x10079491
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x100794a4
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x100794b7
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100794ca
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x100794dd
mov edx, dword [ecx + 0x40]
mov eax, dword [edx + 8]
add ecx, 0x40
call eax
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x100794f0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x10079503
mov edx, dword [eax + 0x44]
lea ecx, [eax + 0x44]
mov eax, dword [edx + 8]
call eax
mov eax, esi
jmp 0x10079360