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

Disassembly:
push 0x6c
mov eax, 0x4857aa
call fcn.00457967
cmp byte [ebx + 0x110], 0
jne 0x40cdb1
mov eax, dword [ebx + 0x24]
xor ecx, ecx
cmp eax, ecx
jne 0x40ca9b
cmp byte [ebx + 0x48], cl
jne 0x40ca20
push 0x49ca6c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.00457556
cmp dword [ebx + 0x38], ecx
jne 0x40ca0b
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x48], vtable.CObjectVector_struct_CProp_.0
mov dword [ebp - 4], ecx
xor eax, eax
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov esi, eax
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x1c]
push eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x50], 0x6f10701
mov dword [ebp - 0x4c], ecx
call fcn.0040cf1b
push esi
lea eax, [ebx + 0x58]
push esi
mov esi, eax
call fcn.004052f1
push 0
lea esi, [ebx + 0x80]
call fcn.00405ed2
push 0
lea esi, [ebx + 0x94]
call fcn.00405ed2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48]
push eax
call fcn.00407263
jmp 0x40cd4b
cmp eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
jle 0x40cb41
cmp dword [ebx + 0x38], ecx
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + edx*4]
mov edi, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x20], eax
jne 0x40cb1d
mov eax, dword [ebx + 0x24]
dec eax
cmp edx, eax
jge 0x40cade
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
add eax, edi
push eax
lea esi, [ebx + 0x6c]
call fcn.004052f1
jmp 0x40caf3
lea esi, [ebx + 0x94]
xor eax, eax
call fcn.00402a5a
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
xor eax, eax
inc eax
cmp dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
jbe 0x40cb1d
lea esi, [ebx + 0x94]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
call fcn.00405ed2
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jb 0x40cb04
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], edi
add dword [ebp - 0x14], eax
push eax
push edi
lea esi, [ebx + 0x58]
call fcn.004052f1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp eax, dword [ebx + 0x24]
jl 0x40caac
mov eax, dword [ebx + 0x38]
cmp eax, ecx
je 0x40cbd0
mov dword [ebp - 0x10], ecx
jle 0x40cba7
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebx + 0x3c]
add eax, dword [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, ecx
jbe 0x40cb6b
mov edx, dword [ebx + 0x64]
add ecx, dword [edx]
add edx, 8
dec esi
jne 0x40cb63
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
add edx, ecx
xor esi, esi
test edi, edi
jbe 0x40cb87
mov ecx, dword [ebx + 0x64]
add ecx, 4
add esi, dword [ecx]
add ecx, 8
dec edi
jne 0x40cb7f
mov eax, dword [eax + 0xc]
add eax, esi
push eax
push edx
lea esi, [ebx + 0x6c]
call fcn.004052f1
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x1c], 0x10
xor ecx, ecx
cmp eax, dword [ebx + 0x38]
jl 0x40cb54
xor edi, edi
cmp dword [ebp - 0x14], ecx
jle 0x40cbd0
push edi
lea ecx, [ebx + 0x58]
call fcn.0040bca2
cmp eax, 0xffffffff
jne 0x40cbc8
push edi
lea esi, [ebx + 0x94]
call fcn.00405ed2
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x40cbae
xor ecx, ecx
xor edi, edi
cmp dword [ebp - 0x18], ecx
jle 0x40cbf9
push edi
lea ecx, [ebx + 0x58]
call fcn.0040bc7e
cmp eax, 0xffffffff
jne 0x40cbf1
push edi
lea esi, [ebx + 0x80]
call fcn.00405ed2
inc edi
cmp edi, dword [ebp - 0x18]
jl 0x40cbd7
xor ecx, ecx
cmp dword [ebx + 0x88], ecx
je 0x40ca0b
mov eax, dword [ebx + 0x8c]
mov ecx, dword [eax]
lea esi, [ebx + 0x58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004053e2
mov ecx, dword [ebp - 0x1c]
xor edi, edi
test ecx, ecx
jbe 0x40cc35
mov eax, dword [ebx + 0x64]
add eax, 4
add edi, dword [eax]
add eax, 8
dec ecx
jne 0x40cc2d
lea esi, [ebx + 0x58]
push edi
mov ecx, esi
call fcn.0040bca2
xor ecx, ecx
cmp eax, ecx
jl 0x40cc4e
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + eax*8]
jmp 0x40cc10
cmp dword [ebx + 0x9c], ecx
jle 0x40cc8a
mov eax, dword [ebx + 0xa0]
cmp dword [eax], edi
je 0x40cc6e
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x9c]
jl 0x40cc5c
jmp 0x40cc8a
push 1
lea esi, [ebx + 0x94]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
xor eax, eax
call fcn.00402a5a
mov eax, dword [esi + 0xc]
mov dword [eax], edi
cmp byte [ebx + 0x48], 0
je 0x40cd4b
mov eax, dword [ebx + 0x9c]
xor edi, edi
test eax, eax
mov dword [ebp - 0x1c], eax
jle 0x40ccc0
lea esi, [ebx + 0x6c]
mov ecx, dword [ebx + 0xa0]
mov eax, dword [ebp - 0x18]
push dword [ecx + edi*4]
add eax, edi
push eax
call fcn.004052f1
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x40cca6
lea ecx, [ebx + 0x94]
push dword [ecx + 8]
mov eax, dword [ecx]
xor esi, esi
push esi
call dword [eax + 4]
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
jle 0x40cd4b
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x70], vtable.CObjectVector_struct_CProp_.0
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebx + 0x1c]
push eax
lea edi, [ebp - 0x78]
mov dword [ebp - 0x78], 0x6f10701
mov dword [ebp - 0x74], ecx
call fcn.0040cf1b
xor eax, eax
inc eax
push eax
push eax
lea esi, [ebx + 0x58]
call fcn.004052f1
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add eax, edi
push eax
lea esi, [ebx + 0x94]
call fcn.00405ed2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.00407263
inc edi
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
jl 0x40ccd9
mov edi, dword [ebx + 0x24]
dec edi
js 0x40cd6a
lea esi, [ebx + 0xfc]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edi*4]
push dword [eax + 4]
push dword [eax]
call fcn.004052f1
dec edi
jns 0x40cd57
push 0xa8
call fcn.00402aa5
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x40cd93
lea eax, [ebx + 0x58]
push eax
push dword [ebp - 0x1c]
call fcn.00404ee8
mov edi, eax
jmp 0x40cd95
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xa8]
mov dword [ebx + 0xf8], edi
call fcn.0040517f
mov byte [ebx + 0x110], 1
xor eax, eax
call fcn.00457a3f
ret