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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
cmp byte [ebx + 0x110], 0
jne 0x40fcf2
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x40f68b
cmp byte [ebx + 0x48], cl
je 0x40fd06
cmp dword [ebx + 0x38], ecx
jne 0x40fd06
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 4
mov dword [ebp - 0x84], vtable.CObjectVector_struct_CProp_.0
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x88], ecx
lea ecx, [ebx + 0x1c]
push eax
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x8c], 0x6f10701
call fcn.0040e070
push 1
push 1
lea ecx, [ebx + 0x58]
call fcn.0040e1c0
lea ecx, [ebx + 0x80]
call fcn.0042fb80
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x8c]
mov dword [eax + ecx*4], 0
lea ecx, [ebx + 0x94]
inc dword [ebx + 0x88]
call fcn.0042fb80
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0xa0]
mov dword [eax + ecx*4], 0
inc dword [ebx + 0x9c]
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 1
mov dword [ebp - 0x84], vtable.CObjectVector_struct_CProp_.0
call fcn.0042f990
lea ecx, [ebp - 0x84]
call fcn.0042f920
mov dword [ebp - 4], 0xffffffff
jmp 0x40fc5b
xor edx, edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edx
test ecx, ecx
jle 0x40f786
lea edi, [ebx + 0x58]
mov dword [ebp - 0x28], edi
lea esp, [esp]
cmp dword [ebx + 0x38], 0
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x1c], esi
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x18], esi
jne 0x40f74e
lea eax, [ecx - 1]
cmp edx, eax
jge 0x40f6f6
mov esi, dword [ebp - 0x1c]
lea ecx, [ebx + 0x6c]
add esi, dword [ebp - 0x14]
call fcn.0042fb80
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edx
inc dword [ebx + 0x74]
jmp 0x40f70e
push 0
lea ecx, [ebx + 0x94]
call fcn.0042fa40
mov eax, dword [ebx + 0xa0]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov esi, dword [ebp - 0x18]
mov edi, 1
cmp esi, edi
jbe 0x40f74b
lea esi, [ebx + 0x94]
mov ebx, dword [ebp - 0x18]
mov ecx, esi
call fcn.0042fb80
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x10]
add edx, edi
inc edi
mov dword [eax + ecx*4], edx
inc dword [esi + 8]
cmp edi, ebx
jb 0x40f723
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
jmp 0x40f74e
lea edi, [ebx + 0x58]
mov eax, dword [ebp - 0x14]
mov ecx, edi
add eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
call fcn.0042fb80
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + eax*8 + 4], esi
inc edx
inc dword [edi + 8]
mov ecx, dword [ebx + 0x24]
mov dword [ebp - 0x20], edx
cmp edx, ecx
jl 0x40f6b0
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40f8d6
mov dword [ebp - 0x24], 0
jle 0x40f88e
xor eax, eax
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x3c]
xor edx, edx
add ecx, eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov edi, dword [ecx]
cmp edi, 2
jb 0x40f7d7
mov ecx, dword [ebx + 0x64]
dec edi
nop
add edx, dword [ecx + eax*8]
add esi, dword [ecx + eax*8 + 8]
add eax, 2
cmp eax, edi
jb 0x40f7c0
mov edi, dword [ebp - 0x20]
cmp eax, dword [edi]
jb 0x40f7e0
jmp 0x40f7e6
test edi, edi
je 0x40f7e6
mov ecx, dword [ebx + 0x64]
mov edi, edi
mov eax, dword [ecx + eax*8]
mov dword [ebp - 0x1c], eax
lea eax, [edx + esi]
xor edi, edi
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
add edx, eax
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 4]
add esi, edx
xor edx, edx
mov dword [ebp - 0x34], esi
mov esi, dword [eax + 8]
mov dword [ebp - 0x30], edx
cmp esi, 2
jb 0x40f840
mov eax, dword [ebx + 0x64]
lea ecx, [esi - 2]
shr ecx, 1
add eax, 0xc
inc ecx
lea edx, [ecx + ecx]
mov dword [ebp - 0x1c], edx
mov edx, edi
mov edi, edi
add edi, dword [eax - 8]
lea eax, [eax + 0x10]
add edx, dword [eax - 0x10]
sub ecx, 1
jne 0x40f820
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp edx, esi
jb 0x40f846
mov edx, dword [ebp - 0x30]
jmp 0x40f84d
test esi, esi
je 0x40f84d
mov edx, ecx
mov eax, dword [ebx + 0x64]
mov edx, dword [eax + edx*8 + 4]
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x20]
add edx, eax
lea ecx, [ebx + 0x6c]
mov esi, dword [edi + 0xc]
add esi, edx
call fcn.0042fb80
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebp - 0x34]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
inc ecx
inc dword [ebx + 0x74]
add eax, 0x10
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
cmp ecx, dword [ebx + 0x38]
jl 0x40f7a3
xor edi, edi
cmp dword [ebp - 0x10], edi
jle 0x40f8d6
mov edx, dword [ebx + 0x74]
xor ecx, ecx
test edx, edx
jle 0x40f8b0
mov eax, dword [ebx + 0x78]
add eax, 4
cmp dword [eax], edi
je 0x40f8d0
inc ecx
add eax, 8
cmp ecx, edx
jl 0x40f8a4
lea ecx, [ebx + 0x94]
call fcn.0042fb80
mov ecx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0xa0]
mov dword [eax + ecx*4], edi
inc dword [ebx + 0x9c]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x40f895
mov eax, dword [ebp - 0x14]
xor edi, edi
test eax, eax
jle 0x40f922
nop
mov edx, dword [ebx + 0x74]
xor ecx, ecx
test edx, edx
jle 0x40f8fc
mov eax, dword [ebx + 0x78]
lea esp, [esp]
cmp dword [eax], edi
je 0x40f91c
inc ecx
add eax, 8
cmp ecx, edx
jl 0x40f8f0
lea ecx, [ebx + 0x80]
call fcn.0042fb80
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0x8c]
mov dword [eax + ecx*4], edi
inc dword [ebx + 0x88]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x40f8e0
cmp dword [ebx + 0x88], 0
jne 0x40f93f
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x34]
push 0x5ff84c
jmp 0x40fd15
mov eax, dword [ebx + 0x8c]
mov ecx, dword [eax]
xor eax, eax
lea esp, [esp]
cmp eax, dword [ebx + 0x60]
jae 0x40f92b
mov esi, dword [ebx + 0x64]
mov edx, dword [esi + eax*8]
cmp ecx, edx
jb 0x40f964
sub ecx, edx
inc eax
jmp 0x40f950
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
cmp eax, 2
jb 0x40f9a1
lea edx, [eax - 2]
shr edx, 1
lea ecx, [esi + 0xc]
inc edx
lea esi, [edx + edx]
mov dword [ebp - 0x34], esi
mov esi, edi
add edi, dword [ecx - 8]
lea ecx, [ecx + 0x10]
add esi, dword [ecx - 0x10]
sub edx, 1
jne 0x40f984
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
mov esi, dword [ebx + 0x64]
cmp ecx, eax
jb 0x40f9a5
jmp 0x40f9ac
test eax, eax
je 0x40f9ac
mov eax, dword [esi + ecx*8 + 4]
mov dword [ebp - 0x28], eax
add edi, dword [ebp - 0x20]
xor eax, eax
add edi, dword [ebp - 0x28]
mov edx, dword [ebx + 0x74]
test edx, edx
jle 0x40f9cd
mov esi, dword [ebx + 0x78]
lea ecx, [esi + 4]
cmp dword [ecx], edi
je 0x40f9ee
inc eax
add ecx, 8
cmp eax, edx
jl 0x40f9c1
mov edx, dword [ebx + 0x9c]
xor ecx, ecx
test edx, edx
jle 0x40fa21
mov eax, dword [ebx + 0xa0]
nop
cmp dword [eax], edi
je 0x40f9fa
inc ecx
add eax, 4
cmp ecx, edx
jl 0x40f9e0
jmp 0x40fa21
test eax, eax
js 0x40f9cd
mov ecx, dword [esi + eax*8]
jmp 0x40f947
mov eax, dword [ebx + 0x94]
push 1
push ecx
lea ecx, [ebx + 0x94]
call dword [eax + 4]
push 0
lea ecx, [ebx + 0x94]
call fcn.0042fa40
mov eax, dword [ebx + 0xa0]
mov dword [eax], edi
cmp byte [ebx + 0x48], 0
je 0x40fc5b
mov eax, dword [ebx + 0x9c]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
test eax, eax
jle 0x40fa74
lea edx, [ebx + 0x6c]
mov eax, dword [ebx + 0xa0]
mov edi, dword [ebp - 0x14]
add edi, ecx
mov esi, dword [eax + ecx*4]
mov ecx, edx
call fcn.0042fb80
mov ecx, dword [ebx + 0x78]
lea edx, [ebx + 0x6c]
mov eax, dword [edx + 8]
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], esi
mov ecx, dword [ebp - 0x28]
inc dword [edx + 8]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x20]
jl 0x40fa40
lea edi, [ebx + 0x94]
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0042f990
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jle 0x40fc5b
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x58]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x40fab0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x5c], vtable.CObjectVector_struct_CProp_.0
push 0x28
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x64], 0x6f10701
mov dword [ebp - 0x60], 0
call fcn.0042fbc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x40fbd0
mov eax, dword [ebp - 0x64]
lea edi, [esi + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 4], eax
mov dword [ebp - 0x38], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 4
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [edi], vtable.CObjectVector_struct_CProp_.0
call fcn.0042f990
mov ecx, dword [ebp - 0x54]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [ebp - 0x28], ecx
push eax
mov ecx, edi
call fcn.0042fab0
xor ebx, ebx
cmp dword [ebp - 0x28], ebx
jle 0x40fbbc
mov eax, dword [ebp - 0x50]
push 0x18
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x34], eax
call fcn.0042fbc0
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 5
test esi, esi
je 0x40fb9a
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [esi], ecx
lea ecx, [eax + 8]
push ecx
lea ecx, [esi + 8]
call fcn.0042ff40
jmp 0x40fb9c
xor esi, esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042fb80
mov ecx, dword [edi + 8]
inc ebx
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
cmp ebx, dword [ebp - 0x28]
jl 0x40fb65
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x24], eax
jmp 0x40fbd2
xor esi, esi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0042fb80
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
inc dword [ebx + 8]
call fcn.0042fb80
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ecx + eax*8], 1
mov dword [ecx + eax*8 + 4], 1
mov ecx, edi
inc dword [esi + 8]
call fcn.0042fb80
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
add edx, esi
mov dword [eax + ecx*4], edx
inc dword [edi + 8]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x5c], vtable.CObjectVector_struct_CProp_.0
call fcn.0042f990
lea ecx, [ebp - 0x5c]
call fcn.0042f920
inc esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x20]
jl 0x40fab0
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x24]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
js 0x40fca6
lea edx, [ebx + 0xfc]
lea esp, [esp]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, edx
mov esi, dword [eax]
mov edi, dword [eax + 4]
call fcn.0042fb80
mov ecx, dword [ebx + 0x108]
lea edx, [ebx + 0xfc]
mov eax, dword [edx + 8]
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], edi
mov ecx, dword [ebp - 0x2c]
inc dword [edx + 8]
sub ecx, 1
mov dword [ebp - 0x2c], ecx
jns 0x40fc70
push 0xa8
call fcn.0042fbc0
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x40fcd0
lea ecx, [ebx + 0x58]
push ecx
mov ecx, eax
call fcn.00421cd0
mov ecx, eax
jmp 0x40fcd2
xor ecx, ecx
lea eax, [ebx + 0xa8]
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebx + 0xf8], ecx
call fcn.00422210
mov byte [ebx + 0x110], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x2c]
push 0x5ff84c
push eax
call fcn.00541d4e
int3