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

Disassembly:
push 0xffffffffffffffff
push 0x7511bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], ebp
cmp dword [esp + 0x2c], ebp
push edi
mov dword [esp + 0x18], esi
je 0x66303e
mov dword [esi + 4], 0x7ecc54
mov dword [esi + method.CBRTTIObject.virtual_0], vtable.CBRTTIObject.0
mov ebx, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebx
jmp 0x663043
mov ebx, 1
push ebp
mov ecx, esi
call fcn.00412520
mov dword [esi + 8], vtable.CBScriptOwner.0
mov dword [esi + 0xc], vtable.CBDbgObj.0
mov eax, dword [esi + 4]
mov dword [esi], vtable.CRealm.3.0
mov dword [esi + 8], vtable.CRealm.2.0
mov dword [esi + 0xc], vtable.CRealm.1.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.CRealm.0
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea ecx, [eax - 0x234]
mov dword [eax + esi], ecx
lea ecx, [esi + 0x10]
mov dword [esp + 0x24], ebx
call fcn.00412d40
lea ecx, [esi + 0x18]
mov byte [esp + 0x24], 2
call fcn.00412d40
or eax, 0xffffffff
lea ecx, [esi + 0x5c]
mov byte [esp + 0x24], 3
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
call fcn.00412d40
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov eax, vtable.CBDList_unsigned_long_int_.0
mov dword [esi + 0x74], ebp
mov dword [esi + 0x70], eax
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x84], eax
mov dword [esi + 0x90], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x94], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0x98], eax
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa8], ebp
mov word [esi + 0x10c], bp
mov dword [esi + 0xf4], ebp
mov dword [esi + 0xf8], ebp
mov dword [esi + 0xfc], ebp
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], ebp
mov dword [esi + 0x108], ebp
mov word [esi + 0x128], bp
lea edi, [esi + 0xf4]
mov dword [esi + 0x110], ebp
mov dword [esi + 0x114], ebp
mov dword [esi + 0x118], ebp
mov dword [esi + 0x11c], ebp
mov dword [esi + 0x120], ebp
mov dword [esi + 0x124], ebp
mov word [esi + 0x144], bp
mov dword [esi + 0x12c], ebp
mov dword [esi + 0x130], ebp
mov dword [esi + 0x134], ebp
mov dword [esi + 0x138], ebp
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x140], ebp
mov dword [esi + 0x150], ebp
mov dword [esi + method.CBSList_class_CBScript__.virtual_0], vtable.CBSList_class_CBScript__.0
mov dword [esi + 0x158], ebp
mov dword [esi + 0x154], ebp
mov dword [esi + 0x15c], ebp
mov dword [esi + 0x168], ebp
mov dword [esi + method.CBDList_class_CHappinessFactor__.virtual_0], vtable.CBDList_class_CHappinessFactor__.0
mov dword [esi + 0x170], ebp
mov dword [esi + 0x16c], ebp
mov dword [esi + 0x174], ebp
mov dword [esi + method.CBArray_long_int_.virtual_0], vtable.CBArray_long_int_.0
mov dword [esi + 0x1b0], ebp
mov dword [esi + 0x1b4], ebp
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebp
mov dword [esi + method.CBArray_unsigned_long_int_.virtual_0], vtable.CBArray_unsigned_long_int_.0
mov dword [esi + 0x1c4], ebp
mov dword [esi + 0x1c8], ebp
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebp
mov dword [esi + method.CBArray_unsigned_long_int_.virtual_0], vtable.CBArray_unsigned_long_int_.0
mov dword [esi + 0x1e0], ebp
mov dword [esi + 0x1e4], ebp
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], ebp
mov dword [esi + 0x1f8], ebp
mov dword [esi + 0x1fc], ebp
mov dword [esi + 0x210], ebp
mov dword [esi + method.CBSList_struct_TRealmPartID_.virtual_0], vtable.CBSList_struct_TRealmPartID_.0
mov dword [esi + 0x218], ebp
mov dword [esi + 0x214], ebp
mov dword [esi + 0x21c], ebp
mov dword [esi + 0x224], ebp
mov dword [esi + method.CBSList_struct_TSeaNeighbor_.virtual_0], vtable.CBSList_struct_TSeaNeighbor_.0
mov dword [esi + 0x22c], ebp
mov dword [esi + 0x228], ebp
mov dword [esi + 0x230], ebp
mov ebx, dword [esp + 0x2c]
movzx edx, word [ebx + 0x20]
mov word [esi + 0x20], dx
movzx eax, word [ebx + 0x22]
mov word [esi + 0x22], ax
mov cl, byte [ebx + 0x204]
mov byte [esi + 0x204], cl
mov edx, dword [ebx + 0x24]
mov dword [esi + 0x24], edx
movzx eax, word [ebx + 0x2a]
mov word [esi + 0x2a], ax
mov cx, word [ebx + 0x2c]
mov word [esi + 0x2c], cx
movzx edx, word [ebx + 0x2e]
mov word [esi + 0x2e], dx
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x38]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], ebp
mov eax, dword [ebx + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [ebx + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [ebx + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [ebx + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [ebx + 0x54]
mov dword [esi + 0x54], ecx
movzx edx, word [ebx + 0x58]
lea eax, [ebx + 0x5c]
push eax
lea ecx, [esi + 0x5c]
mov byte [esp + 0x28], 0xe
mov word [esi + 0x58], dx
call fcn.004133c0
mov ecx, dword [ebx + 0x64]
mov dword [esi + 0x64], ecx
mov edx, dword [ebx + 0x68]
mov dword [esi + 0x68], edx
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x6c], eax
mov ecx, dword [ebx + 0xac]
mov dword [esi + 0xac], ecx
mov edx, dword [ebx + 0xb0]
mov dword [esi + 0xb0], edx
mov eax, dword [ebx + 0xec]
mov dword [esi + 0xec], eax
mov ecx, dword [ebx + 0x160]
mov eax, ebx
mov dword [esi + 0x160], ecx
lea ecx, [esi + 0xb4]
sub eax, esi
mov dword [esp + 0x30], 0xc
mov edx, dword [eax + ecx]
mov dword [ecx], edx
add ecx, 4
sub dword [esp + 0x30], 1
jne 0x663377
lea eax, [ebx + 0xf4]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, edi
call fcn.006af6b0
mov eax, dword [esp + 0x30]
add dword [esp + 0x2c], 4
add eax, 1
cmp eax, 6
mov dword [esp + 0x30], eax
jl 0x663394
lea ecx, [ebx + 0x110]
xor edi, edi
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
push eax
push edi
lea ecx, [esi + 0x110]
call fcn.006af6b0
add dword [esp + 0x30], 4
add edi, 1
cmp edi, 6
jl 0x6633c8
lea ecx, [ebx + 0x12c]
xor edi, edi
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
push eax
push edi
lea ecx, [esi + 0x12c]
call fcn.006af6b0
add dword [esp + 0x30], 4
add edi, 1
cmp edi, 6
jl 0x6633f4
lea ecx, [ebx + 0x10]
push ecx
lea ecx, [esi + 0x10]
call fcn.004133c0
mov edx, dword [ebx + 0x70]
lea edi, [ebx + 0x70]
mov ecx, edi
call dword [edx + 0x2c]
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x663451
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov eax, dword [eax]
mov edx, dword [esi + 0x70]
lea ecx, [esi + 0x70]
push eax
call dword [edx + 8]
cmp dword [esp + 0x2c], ebp
jne 0x663433
mov eax, dword [ebx + 0x148]
mov dword [esi + 0x148], eax
movzx ecx, word [ebx + 0x180]
mov word [esi + 0x180], cx
mov edx, dword [ebx + 0x184]
mov dword [esi + 0x184], edx
mov eax, dword [ebx + 0x188]
mov dword [esi + 0x188], eax
mov ecx, dword [ebx + 0x18c]
mov dword [esi + 0x18c], ecx
mov edx, dword [ebx + 0x190]
mov dword [esi + 0x190], edx
mov eax, dword [ebx + 0x178]
mov dword [esi + 0x178], eax
mov ecx, dword [ebx + 0x17c]
mov dword [esi + 0x17c], ecx
mov edx, dword [ebx + 0x194]
mov dword [esi + 0x194], edx
mov eax, dword [ebx + 0x198]
mov dword [esi + 0x198], eax
mov ecx, dword [ebx + 0x19c]
mov dword [esi + 0x19c], ecx
mov edx, dword [ebx + 0x1a0]
mov dword [esi + 0x1a0], edx
mov eax, dword [ebx + 0x1a4]
mov dword [esi + 0x1a4], eax
movzx ecx, word [ebx + 0x1a8]
mov word [esi + 0x1a8], cx
mov dx, word [ebx + 0x1aa]
mov word [esi + 0x1aa], dx
mov eax, dword [0x914298]
xor edi, edi
cmp dword [eax + 0x8bdb4], ebp
jle 0x66355d
lea ebx, [ebx]
mov edx, dword [ebx + 0x1ac]
lea ecx, [ebx + 0x1ac]
push edi
call dword [edx + 0x14]
mov eax, dword [eax]
mov edx, dword [esi + 0x1ac]
lea ecx, [esi + 0x1ac]
push edi
mov dword [esp + 0x34], eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov edx, dword [0x914298]
add edi, 1
cmp edi, dword [edx + 0x8bdb4]
jl 0x663520
mov eax, dword [ebx + 0x1c0]
lea edi, [ebx + 0x1c0]
mov ecx, edi
mov dword [esp + 0x30], ebp
call dword [eax + 0xc]
test eax, eax
jle 0x6635b4
mov eax, dword [esp + 0x30]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x14]
mov ecx, dword [eax]
mov eax, dword [esp + 0x30]
mov edx, dword [esi + 0x1c0]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x1c0]
push eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x30], 1
mov dword [eax], ecx
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xc]
cmp dword [esp + 0x30], eax
jl 0x663576
push 0xb8
call fcn.0040fa60
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0x24], 0xf
je 0x6635d9
mov ecx, eax
call fcn.005d2e40
mov edi, eax
jmp 0x6635db
xor edi, edi
xor eax, eax
mov dword [esi + 0x1d4], edi
mov ecx, 0x2e
push 0x18
mov byte [esp + 0x28], 0xe
rep stosd dword es:[edi], eax
call fcn.0040fa60
mov dword [esi + 0x1f0], eax
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
push 0x1c
mov dword [eax + 0x14], ecx
call fcn.0040fa60
mov dword [esi + 0x1f4], eax
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], edx
mov eax, dword [ebx + 0x200]
mov dword [esi + 0x200], eax
mov ecx, dword [ebx + 0x208]
mov dword [esi + 0x208], ecx
mov edx, dword [ebx + 0x1d8]
lea edi, [ebx + 0x1dc]
mov dword [esi + 0x1d8], edx
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
jle 0x66369a
lea ebx, [ebx]
mov edx, dword [edi]
push ebp
mov ecx, edi
call dword [edx + 0x14]
mov ebx, dword [eax]
mov eax, dword [esi + 0x1dc]
lea ecx, [esi + 0x1dc]
push ebp
call dword [eax + 0x14]
mov dword [eax], ebx
mov edx, dword [edi]
mov ecx, edi
add ebp, 1
call dword [edx + 0xc]
cmp ebp, eax
jl 0x663670
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8