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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b958b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4f0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov edi, dword [0x4f7f30]
mov dword [ebp - 0x10], edi
lea eax, [edi + 0x4f0]
push eax
call fcn.00454b10
mov eax, dword [0x4f7f30]
add eax, 0x4e8
push eax
call fcn.00454b10
mov eax, dword [edi + 0x214]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4538f5
push 0x14
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CScriptFont.0
mov dword [edi + 0xc], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8774
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x2c], edi
mov dword [edi + 4], ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4538a0
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x1d4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x453913
mov ecx, esi
call fcn.0046fd10
mov esi, dword [esi + 4]
test esi, esi
jne 0x453905
mov eax, dword [edi + 0x1d8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x453938
mov ecx, esi
call fcn.004706d0
mov ecx, esi
call fcn.00471180
mov esi, dword [esi + 4]
test esi, esi
jne 0x453923
mov eax, dword [edi + 0x1dc]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x45395d
mov ecx, esi
call fcn.004706d0
mov ecx, esi
call fcn.00472820
mov esi, dword [esi + 4]
test esi, esi
jne 0x453948
mov eax, dword [edi + 0x1e0]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x45397e
nop dword [eax]
mov ecx, esi
call fcn.004734b0
mov esi, dword [esi + 4]
test esi, esi
jne 0x453970
mov eax, dword [edi + 0x1e4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x45399e
nop
mov ecx, esi
call fcn.004739a0
mov esi, dword [esi + 4]
test esi, esi
jne 0x453990
mov eax, dword [0x4f7f30]
mov eax, dword [eax + 0x418]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x4539c1
mov ecx, esi
call fcn.00481770
mov esi, dword [esi + 4]
test esi, esi
jne 0x4539b3
mov eax, dword [0x4f7f30]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x4539e4
mov ecx, esi
call fcn.00481770
mov esi, dword [esi + 4]
test esi, esi
jne 0x4539d6
mov eax, dword [0x4f7f30]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x453a0e
nop dword [eax]
mov ecx, esi
call fcn.00481770
mov esi, dword [esi + 4]
test esi, esi
jne 0x453a00
mov edi, 0x70c
mov eax, dword [0x4f7f30]
mov eax, dword [edi + eax]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x453a33
mov ecx, esi
call fcn.00481770
mov esi, dword [esi + 4]
test esi, esi
jne 0x453a25
add edi, 4
cmp edi, 0x724
jl 0x453a13
mov eax, dword [0x4f7f30]
mov eax, dword [eax + 0x6a0]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x453a61
mov ecx, esi
call fcn.00478d80
mov esi, dword [esi + 4]
test esi, esi
jne 0x453a53
mov ecx, 0x6a8
mov dword [ebp - 0x14], ecx
nop dword [eax]
mov eax, dword [0x4f7f30]
mov eax, dword [ecx + eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453ad7
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 1
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptCommandLayout.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8c14
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x20], edi
mov dword [edi + 4], ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453a82
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
cmp ecx, 0x6bc
jl 0x453a70
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f0]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453b79
nop dword [eax]
push 0x23c
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
lea ecx, [edi + 0x238]
mov dword [edi], vtable.CScriptClassType.0
mov dword [edi + 0x234], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d90f4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x38], edi
mov dword [edi + 0x230], ebx
push eax
push dword [ebx + 0x34]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x3c], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453b00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453c76
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 3
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptDifficulty.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d9004
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x34], edi
push 0x248
mov dword [edi + 4], ebx
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 4
lea ecx, [edi + 0x244]
mov dword [edi], vtable.CScriptReferenceList.0
mov dword [edi + 0x240], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d87f4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4f7f30]
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x3c], edi
mov eax, dword [eax + 0x278]
mov dword [edi + 0x234], eax
lea eax, [ebp - 0x1c]
mov dword [edi + 0x238], ecx
mov ecx, dword [0x4f7ef8]
mov dword [edi + 0x23c], 0xda
push eax
push dword [ebx + 0x30]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x38], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453b90
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x274]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453cfd
nop dword [eax]
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 5
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptRace.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8b44
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x24], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x20]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453c90
mov eax, dword [ebp - 0x10]
mov ecx, 0xa
add eax, 0x218
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453d90
nop dword [eax]
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 6
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptNpc.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d13d4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x28], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x20]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453d20
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x453d10
mov eax, dword [ebp - 0x10]
mov ecx, 0xa
add eax, 0x284
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453e3e
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 7
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptOriginalData.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d87a4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x78], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x20]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
lea ecx, [ebx + 0x28]
push 1
mov dword [ebx + 0x7c], eax
call fcn.00474560
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453dc4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jne 0x453db8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x278]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453edc
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 8
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptFusion.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8854
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x200], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x1fc]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x204], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453e66
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x27c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453f66
nop
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 9
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptMetamorphoze.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8954
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x1d0], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0xb4]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x1d4], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453ef0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x280]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x453fd9
nop dword [eax]
push 0x14
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xa
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CScriptTerrainGroup.0
mov dword [edi + 0xc], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8a44
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x10], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x13
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x453f80
mov eax, dword [0x4f7f30]
mov eax, dword [eax + 0x20c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4540c3
push 0x23c
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xb
lea ecx, [edi + 0x238]
mov dword [edi], vtable.CScriptClassGroup.0
mov dword [edi + 0x234], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8d14
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x14], edi
mov dword [edi + 0x230], ebx
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4540b2
nop dword [eax]
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xc
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptClassGroupEntry.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d87e4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x74], edi
mov dword [edi + 4], ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454060
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x453ff5
mov eax, dword [ebp - 0x10]
mov ecx, 4
add eax, 0x1f8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4541d6
nop dword [eax]
push 0x23c
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xd
lea ecx, [edi + 0x238]
mov dword [edi], vtable.CScriptWeaponType.0
mov dword [edi + 0x234], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8d74
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x40], edi
mov dword [edi + 0x230], ebx
push eax
push dword [ebx + 0x2c]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + 4]
mov esi, dword [esi + 4]
test esi, esi
je 0x4541c5
nop
push 0x14
call fcn.00491300
mov ebx, eax
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0xe
lea ecx, [ebx + 0x10]
mov dword [ebx], vtable.CScriptCompatibleData.0
mov dword [ebx + 0xc], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d9164
push edx
mov edi, dword [edx]
call dword [edi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [ebx + 8], esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x454170
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x4540f0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
jne 0x4540d6
mov ebx, dword [ebp - 0x10]
push dword [ebx + 0x1d0]
call fcn.004562f0
mov ecx, dword [0x4f7f30]
cmp dword [ecx + 0x108], 0
je 0x454296
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x454296
mov edi, dword [ebp + 8]
nop
cmp dword [ecx + 0x644], 0
je 0x45422e
cmp dword [esi + 8], edi
jne 0x45428f
mov ecx, esi
call fcn.00477fc0
mov ecx, esi
call fcn.004780d0
push dword [esi + 0x228]
call fcn.004562f0
push dword [esi + 0x22c]
call fcn.004562f0
push dword [esi + 0x230]
call fcn.004562f0
push dword [esi + 0x234]
call fcn.004562f0
push dword [esi + 0x254]
call fcn.004562f0
push dword [esi + 0x294]
call fcn.004562f0
push dword [esi + 0x298]
call fcn.004562f0
mov ecx, dword [0x4f7f30]
mov esi, dword [esi + 4]
test esi, esi
jne 0x454220
cmp dword [ecx + 0x3f0], 0
je 0x4542aa
push dword [ecx + 0xa8]
call fcn.004562f0
push 1
push dword [ebx + 0x1ec]
call fcn.00456090
push 0
push dword [ebx + 0x1e8]
call fcn.00456090
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x45432d
push 0x14
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0xf
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CScriptTerrainGroup.0
mov dword [edi + 0xc], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8a44
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x10], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], 0x13
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4542d4
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x6a0]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x454357
mov ecx, esi
call fcn.00478d80
mov esi, dword [esi + 4]
test esi, esi
jne 0x454343
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x6a4]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4543c7
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0x10
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptShopLayout.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8dc4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x50], edi
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 0x48]
call fcn.00479450
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454367
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x430]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x42c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x454444
push 0x23c
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x11
lea ecx, [edi + 0x238]
mov dword [edi], vtable.CScriptInteropTextUI.0
mov dword [edi + 0x234], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8bc4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x2c], edi
mov dword [edi + 0x230], ebx
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4543e0
mov ecx, dword [0x4f7f30]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
test esi, esi
je 0x454465
mov ecx, esi
call fcn.00479450
mov esi, dword [esi + 4]
test esi, esi
jne 0x454451
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x43c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4544e8
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x12
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptCharacterDictionary.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8794
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x40], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x20]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp + 8]
mov dword [ebx + 0x44], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454475
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x440]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x45456b
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x13
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptWordDictionary.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d9024
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x38], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x20]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3c], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4544f8
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x444]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4545f3
nop dword [eax + eax]
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x14
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptGraphicsDictionary.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8d64
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x30], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x28]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp + 8]
mov dword [ebx + 0x34], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454580
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x448]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x454676
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x15
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptMediaDictionary.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8a84
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x34], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x30]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp + 8]
mov dword [ebx + 0x38], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454603
mov ecx, dword [0x4f7f30]
push dword [ecx + 0x6fc]
call fcn.00454bd0
mov eax, dword [0x4f7f30]
push dword [eax + 0x700]
call fcn.00454bd0
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x704]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x454792
nop
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x16
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptRestQuest.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8f64
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x58], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x54]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x45477b
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0x17
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptQuestReward.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d87b4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454723
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 4]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4546b0
mov ecx, dword [0x4f7f30]
mov eax, dword [ecx + 0x708]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x454815
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x18
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptRestArea.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8c44
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp + 8]
mov ecx, dword [0x4f7ef8]
mov dword [ebx + 0x34], edi
mov dword [edi + 4], ebx
push eax
push dword [ebx + 0x30]
mov ecx, dword [ecx + 8]
call fcn.00468d20
mov eax, dword [ebp + 8]
mov dword [ebx + 0x38], eax
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4547a2
mov ecx, dword [0x4f7f30]
push dword [ecx + 0x110]
call fcn.00455fd0
mov eax, dword [0x4f7f30]
push dword [eax + 0x118]
call fcn.00455fd0
mov eax, dword [0x4f7f30]
push dword [eax + 0x114]
call fcn.00455fd0
mov eax, dword [0x4f7f30]
push dword [eax + 0x11c]
call fcn.00455fd0
mov ecx, 0x168
mov dword [ebp + 8], ecx
nop dword [eax + eax]
mov eax, dword [0x4f7f30]
mov eax, dword [ecx + eax]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4548c7
push 0x10
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0x19
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptOriginalMotion.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d8ef4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], ebx
mov dword [ebx + 0x18], edi
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x454872
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp + 8], ecx
cmp ecx, 0x174
jl 0x454860
mov ecx, dword [ebp - 0x24]
call fcn.00454c90
mov ecx, 0x194
call fcn.00483a30
mov esi, eax
push 0xc
mov dword [0x4f7ef4], esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00491300
mov dword [ebp + 8], eax
add esp, 4
mov ecx, 0x9c6
mov dword [eax], vtable.APPROACHPATTERN.0
mov dword [eax + 8], 0
mov dword [esi + 0x1c], eax
mov dword [eax + 4], 0
mov dword [esi + 0x30], 0
call fcn.00457ac0
mov ecx, 0x9c6
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
call fcn.00457ac0
mov ecx, 0x9ce
mov dword [esi + 0x3c], eax
call fcn.00457ac0
mov ebx, dword [0x4f7ef4]
push 0x10
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], 0
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0x1a
lea ecx, [edi + 0xc]
mov dword [edi], vtable.CScriptAIPattern.0
mov dword [edi + 8], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d9154
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], ebx
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x48], edi
test eax, eax
jne 0x4549c1
mov ecx, dword [ebx + 0x1c]
jmp 0x4549dd
cmp eax, 1
jne 0x4549cb
mov ecx, dword [ebx + 0x20]
jmp 0x4549dd
cmp eax, 2
jne 0x4549d5
mov ecx, dword [ebx + 0x24]
jmp 0x4549dd
cmp eax, 0x64
jne 0x4549e2
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0x248
call fcn.00491300
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0x1b
lea ecx, [edi + 0x244]
mov dword [edi], vtable.CScriptReferenceList.0
mov dword [edi + 0x240], 1
mov dword [ecx], 0
mov edx, dword [0x4f7f00]
push ecx
push 0x4d87f4
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov eax, dword [0x4f7d20]
mov ecx, dword [ebx + 0x2c]
mov dword [ebx + 0x4c], edi
mov eax, dword [eax + 0x1fc]
mov dword [edi + 0x234], eax
mov eax, 1
mov dword [edi + 0x238], ecx
mov dword [edi + 0x23c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4