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

Disassembly:
sub esp, 0x150
mov eax, dword [0x4d1698]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x160]
xor eax, eax
push esi
mov esi, dword [esp + 0x160]
mov ebx, ecx
mov ecx, dword [esp + 0x168]
push edi
mov edi, dword [esp + 0x174]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
cmp ecx, 3
je 0x4266c7
cmp ecx, 4
je 0x4266c7
cmp ecx, 0xc
je 0x4266c7
cmp edi, 3
je 0x42668d
cmp edi, 4
je 0x42668d
cmp edi, 5
je 0x42668d
cmp edi, 6
je 0x42668d
cmp dword [ebp + 4], 0xb
ja 0x426663
add ebp, 8
jmp 0x426666
mov ebp, dword [ebp + 8]
push esi
mov ecx, ebp
mov esi, 0xfffffff9
mov eax, str.RegisterObjectBehaviour
call fcn.00428f80
lea esi, [esp + 0x120]
mov edi, eax
call fcn.0040a2f0
mov eax, edi
jmp 0x427740
mov eax, dword [esp + 0x170]
push eax
push 1
lea esi, [esp + 0x128]
call fcn.00408360
mov esi, eax
add esp, 8
test esi, esi
jns 0x426738
cmp dword [ebp + 4], 0xb
lea ecx, [ebp + 8]
jbe 0x4266bc
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
jmp 0x42666e
mov ecx, dword [esp + 0x170]
push ecx
push eax
lea esi, [esp + 0x128]
call fcn.00408360
mov esi, eax
add esp, 8
test esi, esi
jns 0x426738
cmp dword [ebp + 4], 0xb
lea ecx, [ebp + 8]
jbe 0x4266f1
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
mov eax, str.RegisterObjectBehaviour
call fcn.00428f80
mov esi, eax
mov eax, dword [esp + 0x140]
test eax, eax
je 0x426731
lea ecx, [esp + 0x14c]
cmp eax, ecx
mov dword [esp + 0x144], 0
je 0x426731
push eax
call dword [0x4d5464]
add esp, 4
mov eax, esi
jmp 0x427740
mov ebx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
mov edi, ebx
lea ecx, [esp + 0x50]
mov byte [ebx + 4], 0
call fcn.0042ed40
mov esi, dword [esp + 0x16c]
cmp esi, 4
je 0x426764
cmp esi, 1
je 0x426764
xor al, al
jmp 0x426766
mov al, 1
movzx edx, al
xor edi, edi
neg edx
sbb edx, edx
lea eax, [esp + 0x18]
and edx, eax
push edx
mov edx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x15c]
push ecx
push 1
push edx
push ebp
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x15c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
mov byte [esp + 0x58], 0
call fcn.004057c0
cmp eax, edi
jge 0x4267f3
mov ecx, dword [esp + 0x18]
cmp ecx, edi
je 0x4267bf
push ebx
call fcn.00431b10
cmp dword [ebp + 4], 0xb
ja 0x4267ca
add ebp, 8
jmp 0x4267cd
mov ebp, dword [ebp + 8]
mov esi, 0xfffffff6
mov edx, dword [esp + 0x14]
push ebx
mov ecx, ebp
mov eax, str.RegisterObjectBehaviour
call fcn.00428f80
lea edi, [esp + 0x48]
mov esi, eax
call fcn.0042f110
jmp 0x426706
push esi
push str._beh__d_
lea ecx, [esp + 0x78]
call fcn.00433100
add esp, 8
cmp esi, 3
je 0x426816
cmp esi, 4
je 0x426816
mov dword [esp + 0xe4], ebp
mov eax, dword [ebp + 0x98]
mov edi, dword [esp + 0x94]
and eax, 0x40
mov dword [esp + 0x30], eax
je 0x4268e0
cmp dword [ebp + 0x120], 0
mov dword [esp + 0x2c], 0
jbe 0x4268e0
mov edx, dword [ebp + 0x11c]
add edx, 4
mov eax, dword [esp + 0x84]
cmp eax, dword [edx]
jne 0x426878
mov al, byte [esp + 0x8c]
test al, 4
je 0x42686d
mov byte [ebp + 0x130], 0
jmp 0x426878
test al, 1
jne 0x426878
mov byte [ebp + 0x131], 0
xor esi, esi
test edi, edi
je 0x4268c8
mov ecx, dword [esp + 0x90]
add ecx, 0xc
mov eax, dword [ecx - 8]
cmp eax, dword [edx]
jne 0x4268c0
mov al, byte [ecx]
test al, 4
jne 0x4268b9
and al, 1
je 0x4268ad
mov edi, dword [esp + 0xb8]
cmp dword [edi + esi*4], 3
mov edi, dword [esp + 0x94]
je 0x4268b9
test al, al
jne 0x4268c0
mov byte [ebp + 0x131], al
jmp 0x4268c0
mov byte [ebp + 0x130], 0
inc esi
add ecx, 0x10
cmp esi, edi
jb 0x426888
mov eax, dword [esp + 0x2c]
inc eax
add edx, 0x10
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0x120]
jb 0x42684e
mov eax, dword [esp + 0x16c]
mov esi, 0xb
test eax, eax
jne 0x426a6c
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
jne 0x42693a
cmp dword [ebp + 4], 0xb
ja 0x4267ca
add ebp, 8
jmp 0x4267cd
test dword [ebp + 0x98], 0x100000
je 0x426999
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
lea esi, [ebp + 0xa0]
mov dword [esi + 0xc], eax
mov dword [esi], eax
mov ecx, dword [ebx + 0x768]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
lea edi, [esi + 0xc]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
push edi
lea eax, [esi + 0x54]
call fcn.00422500
push esi
lea eax, [esi + 0x40]
call fcn.00422500
mov edi, dword [edi]
mov dword [esp + 0xec], edi
jmp 0x4273a2
mov ecx, dword [esp + 0xe4]
test byte [ecx + 0x98], 2
je 0x426be9
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov dword [esp + 0xec], eax
lea eax, [esp + 0xec]
push eax
lea eax, [ebp + 0xf4]
call fcn.00422500
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4269f7
mov edi, dword [esp + 0xec]
mov dword [ebp + 0xac], edi
jmp 0x4273a2
cmp eax, 1
jne 0x42739b
mov esi, dword [esp + 0x90]
lea eax, [esp + 0x1c]
call fcn.00410aa0
mov ecx, eax
call fcn.004111a0
test al, al
je 0x42739b
mov al, byte [esp + 0x28]
test al, 1
je 0x42739b
test al, 4
je 0x426a34
shr al, 3
jmp 0x426a36
shr al, 1
and al, 1
test al, al
je 0x42739b
mov ecx, dword [esp + 0xb8]
test byte [ecx], 1
je 0x42739b
cmp dword [esp + 0x20], ebp
jne 0x42739b
mov edi, dword [esp + 0xec]
mov dword [ebp + 0xb0], edi
jmp 0x4273a2
cmp eax, 2
jne 0x426b69
mov edx, dword [esp + 0xe4]
test byte [edx + 0x98], al
jne 0x426abc
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.The_behaviour_is_not_compatible_with_the_type
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call edx
cmp dword [ebp + 4], esi
ja 0x426aaf
add ebp, 8
mov esi, 0xffffffe9
jmp 0x4267d2
mov ebp, dword [ebp + 8]
mov esi, 0xffffffe9
jmp 0x4267d2
cmp dword [ebp + 0xb4], 0
je 0x426ae4
cmp dword [ebp + 4], esi
ja 0x426ad7
add ebp, 8
mov esi, 0xfffffff3
jmp 0x427716
mov ebp, dword [ebp + 8]
mov esi, 0xfffffff3
jmp 0x427716
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
jne 0x426b38
cmp dword [ebp + 4], 0xb
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
mov ebp, dword [ebp + 8]
mov esi, 0xfffffff6
jmp 0x427716
cmp dword [esp + 0x94], 0
ja 0x426b18
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xb4], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 1
jne 0x426d07
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
jne 0x426bcb
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426bb4
push ebx
call fcn.00431b10
cmp dword [ebp + 4], 0xb
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
mov ecx, dword [esp + 0xe4]
test byte [ecx + 0x98], 2
jne 0x426c14
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426be9
push ebx
call fcn.00431b10
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push str.The_behaviour_is_not_compatible_with_the_type
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call eax
cmp dword [ebp + 4], 0xb
ja 0x42770e
add ebp, 8
jmp 0x427711
cmp dword [esp + 0x94], 1
jne 0x426cc9
mov ecx, dword [esp + 0x90]
test byte [ecx + 0xc], 1
je 0x426cc9
cmp dword [ebp + 0xa4], 0
je 0x426c61
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426c4a
push ebx
call fcn.00431b10
cmp dword [ebp + 4], 0xb
ja 0x426ad7
add ebp, 8
mov esi, 0xfffffff3
jmp 0x427716
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
mov dword [ebp + 0xa4], eax
mov ecx, dword [ebx + 0x768]
mov dword [esp + 0xec], eax
mov edx, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
call fcn.0042e5b0
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0x426cab
push ebx
call fcn.00431b10
test esi, esi
jns 0x42739b
cmp dword [ebp + 4], 0xb
ja 0x426cc1
add ebp, 8
jmp 0x427716
mov ebp, dword [ebp + 8]
jmp 0x427716
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x426cd7
push ebx
call fcn.00431b10
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.List_factory_expects_only_one_reference_parameter._The_pointer_to_the_initialization_buffer_will_be_passed_in_this_parameter
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call edx
cmp dword [ebp + 4], 0xb
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
cmp eax, 3
je 0x42749e
cmp eax, 4
je 0x42749e
cmp eax, 5
jne 0x426dc4
mov eax, dword [esp + 0xe4]
mov eax, dword [eax + 0x98]
test al, 1
je 0x4276eb
test al, 0x30
jne 0x4276eb
test eax, 0x40000
jne 0x4276eb
cmp dword [ebp + 0xbc], 0
jne 0x426ac5
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
je 0x426b18
cmp dword [esp + 0x94], 0
ja 0x426b18
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xbc], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 6
jne 0x426e6f
mov eax, dword [esp + 0xe4]
mov eax, dword [eax + 0x98]
test al, 1
je 0x4276eb
test al, 0x10
jne 0x4276eb
test eax, 0x40000
jne 0x4276eb
cmp dword [ebp + 0xc0], 0
jne 0x426ac5
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
je 0x426b18
cmp dword [esp + 0x94], 0
ja 0x426b18
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xc0], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 0xc
jne 0x426f89
mov eax, dword [esp + 0xe4]
test byte [eax + 0x98], 0x40
jne 0x426eb2
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push str.The_behaviour_is_not_compatible_with_the_type
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call eax
cmp dword [ebp + 4], esi
ja 0x42770e
add ebp, 8
jmp 0x427711
cmp dword [ebp + 0xc4], 0
jne 0x426ac5
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x41
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
sete al
test al, al
jne 0x426b18
mov ecx, 2
cmp dword [esp + 0x94], ecx
jne 0x426b18
mov eax, dword [esp + 0xb8]
cmp dword [eax], 1
jne 0x426b18
cmp dword [eax + 4], ecx
jne 0x426b18
mov al, byte [esp + 0x28]
mov edi, dword [esp + 0x90]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
add edi, 0x10
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x41
mov byte [esp + 0x28], al
call fcn.004110a0
test al, al
je 0x426b18
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xc4], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
lea ecx, [eax - 0xd]
cmp ecx, 4
ja 0x4271b7
mov edx, dword [esp + 0xe4]
test byte [edx + 0x98], 4
je 0x4276eb
cmp eax, 0xd
je 0x426fb8
cmp eax, 0xe
je 0x426fb8
cmp eax, 0xf
jne 0x426fd2
test edi, edi
je 0x426fd2
cmp dword [ebp + 4], esi
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
cmp eax, 0x10
je 0x426fdc
cmp eax, 0x11
jne 0x426fe1
cmp edi, 1
jne 0x426fbc
cmp eax, 0xd
jne 0x427035
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x44
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
jne 0x4270dc
cmp dword [ebp + 4], 0xb
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
cmp eax, 0xf
jne 0x427089
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x41
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
jne 0x427134
cmp dword [ebp + 4], 0xb
ja 0x426b2b
add ebp, 8
mov esi, 0xfffffff6
jmp 0x427716
cmp eax, 0xe
je 0x427098
cmp eax, 0x10
je 0x427098
cmp eax, 0x11
jne 0x4270d7
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x50
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
je 0x426b18
mov eax, dword [esp + 0x16c]
cmp eax, 0xd
jne 0x427103
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xc8], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 0xe
jne 0x42712f
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xcc], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 0xf
jne 0x42715b
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xd0], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 0x10
jne 0x427187
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xd4], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 0x11
jne 0x42739b
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xd8], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp eax, 9
je 0x4273be
cmp eax, 8
je 0x4273be
cmp eax, 0xa
je 0x427264
cmp eax, esi
je 0x427264
cmp eax, 7
jne 0x427245
mov ecx, dword [esp + 0xe4]
mov eax, dword [ecx + 0x98]
test al, 1
je 0x426e88
test al, 0x30
jne 0x426e88
test byte [esp + 0x8c], 1
je 0x426fbc
test edi, edi
jne 0x426fbc
cmp dword [ebp + 0xdc], edi
jne 0x426ac5
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [ebp + 0xdc], eax
mov dword [esp + 0xec], edi
jmp 0x4273a2
cmp dword [ebp + 4], esi
ja 0x427257
add ebp, 8
mov esi, 0xfffffffb
jmp 0x427716
mov ebp, dword [ebp + 8]
mov esi, 0xfffffffb
jmp 0x427716
test edi, edi
jne 0x427277
test byte [esp + 0x8c], 4
jne 0x4272ae
jmp 0x426fbc
cmp edi, 1
jne 0x426fbc
mov eax, dword [esp + 0x90]
cmp dword [eax], 0x3b
jne 0x426fbc
mov ecx, dword [esp + 0xb8]
cmp dword [ecx], 2
jne 0x426fbc
cmp dword [esp + 0x80], 0x50
jne 0x426fbc
cmp byte [esp + 0xe0], 0
jne 0x426fbc
xor edx, edx
cmp edi, 1
jne 0x42730a
cmp dword [ebp + 0x10c], edx
jbe 0x427353
mov eax, dword [ebp + 0x108]
mov ecx, dword [eax]
cmp ecx, 0xa
je 0x4272e0
cmp ecx, esi
jne 0x4272fa
mov ecx, dword [eax + 4]
mov esi, dword [ebx + 0x768]
mov ecx, dword [esi + ecx*4]
cmp dword [ecx + 0x4c], edi
je 0x426c4a
mov esi, 0xb
add edx, 2
add eax, 8
cmp edx, dword [ebp + 0x10c]
jb 0x4272d5
jmp 0x427353
cmp dword [ebp + 0x10c], edx
jbe 0x427353
mov eax, dword [ebp + 0x108]
mov edi, dword [esp + 0x84]
nop
mov ecx, dword [eax]
cmp ecx, 0xa
je 0x42732b
cmp ecx, esi
jne 0x427345
mov ecx, dword [eax + 4]
mov esi, dword [ebx + 0x768]
mov ecx, dword [esi + ecx*4]
cmp dword [ecx + 0x3c], edi
je 0x426c4a
mov esi, 0xb
add edx, 2
add eax, 8
cmp edx, dword [ebp + 0x10c]
jb 0x427320
mov edx, dword [esp + 0x16c]
lea eax, [esp + 0x2c]
push eax
lea eax, [ebp + 0x108]
mov dword [esp + 0x30], edx
call fcn.00422500
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov dword [esp + 0xec], eax
lea eax, [esp + 0xec]
push eax
lea eax, [ebp + 0x108]
call fcn.00422500
mov edi, dword [esp + 0xec]
test edi, edi
jns 0x4276b5
cmp dword [ebp + 4], 0xb
ja 0x4276ab
add ebp, 8
mov esi, edi
jmp 0x4267d2
cmp edi, 1
jne 0x4273f2
mov ecx, dword [esp + 0x90]
cmp dword [ecx], 0x3b
jne 0x426fbc
mov edx, dword [esp + 0xb8]
cmp dword [edx], 2
jne 0x426fbc
cmp dword [esp + 0x80], 0x50
je 0x427408
jmp 0x426fbc
test edi, edi
jne 0x426fbc
cmp dword [esp + 0x80], 0x50
je 0x426fbc
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
xor ecx, ecx
and al, 0xfd
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], 0x41
mov byte [esp + 0x28], al
call fcn.00411100
test al, al
je 0x42745c
cmp dword [ebp + 4], 0xb
ja 0x42744f
add ebp, 8
mov esi, 0xfffffff9
jmp 0x427716
mov ebp, dword [ebp + 8]
mov esi, 0xfffffff9
jmp 0x427716
mov eax, dword [esp + 0x16c]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push ecx
lea eax, [ebp + 0x108]
call fcn.00422500
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.00427760
lea ecx, [esp + 0xec]
mov dword [esp + 0xec], eax
push ecx
jmp 0x427390
mov eax, dword [ebp + 0x98]
test al, 1
je 0x4276dd
test al, 0x10
jne 0x4276dd
mov al, byte [esp + 0x28]
and al, 0xe0
and al, 0xdf
and al, 0xf7
or al, 4
lea esi, [esp + 0x1c]
lea edi, [esp + 0x80]
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], ebp
mov byte [esp + 0x28], al
call fcn.00411040
test al, al
je 0x426ba6
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x94]
test ecx, ecx
je 0x42753c
test eax, eax
je 0x427510
mov edx, dword [esp + 0x90]
test byte [edx + 0xc], 1
jne 0x427543
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42751e
push ebx
call fcn.00431b10
push str.First_parameter_to_template_factory_must_be_a_reference._This_will_be_used_to_pass_the_object_type_of_the_template
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call eax
jmp 0x426bb4
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x16c]
cmp esi, 4
jne 0x42759f
test ecx, ecx
je 0x427573
cmp eax, 2
jne 0x42755e
test byte [edx + 0x1c], 1
jne 0x427592
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42756c
push ebx
call fcn.00431b10
push str.Template_list_factory_expects_two_reference_parameters._The_last_is_the_pointer_to_the_initialization_buffer
jmp 0x427523
cmp eax, 1
jne 0x42757d
test byte [edx + 0xc], al
jne 0x427592
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x42758b
push ebx
call fcn.00431b10
push str.List_factory_expects_only_one_reference_parameter._The_pointer_to_the_initialization_buffer_will_be_passed_in_this_parameter
jmp 0x427523
cmp dword [ebp + 0xa4], 0
jne 0x426c3c
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.00427760
mov edi, eax
mov dword [esp + 0xec], edi
cmp esi, 4
je 0x4275da
lea eax, [esp + 0xec]
push eax
lea eax, [ebp + 0xe0]
call fcn.00422500
mov edi, dword [esp + 0xec]
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4275f3
cmp eax, 1
jne 0x4275fe
test byte [ebp + 0x98], 0x40
je 0x427614
mov dword [ebp + 0xa0], edi
jmp 0x4273a2
cmp eax, 2
jne 0x4273a2
test byte [ebp + 0x98], 0x40
je 0x4273a2
cmp esi, 4
jne 0x427630
mov dword [ebp + 0xa4], edi
mov ecx, dword [ebx + 0x768]
mov edx, dword [ecx + edi*4]
lea edi, [ecx + edi*4]
jmp 0x426c8d
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
add eax, eax
lea esi, [ecx + eax*8 - 0x10]
lea eax, [esp + 0x1c]
call fcn.00410aa0
mov ecx, eax
call fcn.004111a0
test al, al
je 0x4273a2
mov al, byte [esp + 0x28]
test al, 1
je 0x4273a2
test al, 4
je 0x427671
shr al, 3
jmp 0x427673
shr al, 1
and al, 1
test al, al
je 0x4273a2
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x94]
cmp dword [edx + eax*4 - 4], 1
jne 0x4273a2
cmp dword [esp + 0x20], ebp
jne 0x4273a2
mov dword [ebp + 0xa8], edi
jmp 0x4273a2
mov ebp, dword [ebp + 8]
mov esi, edi
jmp 0x4267d2
mov esi, edi
lea edi, [esp + 0x48]
call fcn.0042f110
mov eax, dword [esp + 0x140]
test eax, eax
je 0x426731
lea edx, [esp + 0x14c]
cmp eax, edx
jmp 0x42671a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4276eb
push ebx
call fcn.00431b10
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.The_behaviour_is_not_compatible_with_the_type
push 0
push 0
push 0
push 0x4aeeef
mov ecx, ebx
call edx
cmp dword [ebp + 4], esi
ja 0x42770e
add ebp, 8
jmp 0x427711
mov ebp, dword [ebp + 8]
mov esi, 0xffffffe9
mov edx, dword [esp + 0x14]
push ebx
mov ecx, ebp
mov eax, str.RegisterObjectBehaviour
call fcn.00428f80
lea edi, [esp + 0x48]
mov ebx, eax
call fcn.0042f110
lea esi, [esp + 0x120]
call fcn.0040a2f0
mov eax, ebx
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048c97b
add esp, 0x150
ret 0x14