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

Disassembly:
push 0xffffffffffffffff
push 0x61342b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
mov eax, dword [esi]
push edi
mov ebp, ecx
push str.GoldTime
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
mov dword [esp + 0x34], ebp
call dword [eax + 0x7c]
push eax
lea edx, [ebp + 0x4c]
xor ebx, ebx
push edx
mov dword [esp + 0xd4], ebx
call fcn.0040b2f0
mov eax, dword [esp + 0x74]
or edi, 0xffffffff
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421333
mov eax, dword [esp + 0x58]
push eax
call fcn.005e0f6d
add esp, 4
mov edx, dword [esi]
push str.SilverTime
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x7c]
push eax
lea ecx, [ebp + 0x50]
push ecx
mov dword [esp + 0xd4], 1
call fcn.0040b2f0
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421379
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov eax, dword [esi]
push str.Prize
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
push eax
lea edx, [ebp + 0x54]
push edx
mov dword [esp + 0xd4], 2
call fcn.00554190
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x4213bf
mov eax, dword [esp + 0x58]
push eax
call fcn.005e0f6d
add esp, 4
mov edx, dword [esi]
push str.SilverPrize
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x7c]
push eax
lea ecx, [ebp + 0x58]
push ecx
mov dword [esp + 0xd4], 3
call fcn.00554190
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421405
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov eax, dword [esi]
push str.GoldPrize
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
push eax
lea edx, [ebp + 0x5c]
push edx
mov dword [esp + 0xd4], 4
call fcn.00554190
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x42144b
mov eax, dword [esp + 0x58]
push eax
call fcn.005e0f6d
add esp, 4
mov edx, dword [esi]
push str.BearKillingNum
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x7c]
push eax
lea ecx, [ebp + 0x60]
push ecx
mov dword [esp + 0xd4], 5
call fcn.00554190
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421491
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov eax, dword [esi]
push str.StartMoney
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
push eax
lea edx, [ebp + 0x48]
push edx
mov dword [esp + 0xd4], 6
call fcn.00554190
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x4214d7
mov eax, dword [esp + 0x58]
push eax
call fcn.005e0f6d
add esp, 4
mov edx, dword [esi]
push 0x6676c0
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x7c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov dword [esp + 0xd0], 7
call fcn.00402020
push edi
push ebx
lea ecx, [ebp + 0x64]
push eax
mov byte [esp + 0xd8], 8
call fcn.00401410
cmp dword [esp + 0x48], 0x10
jb 0x421526
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp dword [esp + 0x6c], 8
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0xcc], edi
jb 0x421551
mov eax, dword [esp + 0x58]
push eax
call fcn.005e0f6d
add esp, 4
mov edx, dword [esi]
push 0x6676b4
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call dword [edx + 0x7c]
push edi
push ebx
lea ecx, [ebp + 0x80]
push eax
mov dword [esp + 0xd8], 9
call fcn.00405fd0
cmp dword [esp + 0x6c], 8
mov dword [esp + 0xcc], edi
jb 0x421596
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005e0f6d
add esp, 4
push 9
push str.StartPets
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0xd4], 0xa
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xcc], edi
jb 0x4215f5
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4216f7
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x18], ebx
call dword [eax + 0x88]
test eax, eax
jbe 0x4216f7
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
test al, al
je 0x4216d8
mov ecx, dword [esp + 0x20]
push str.Type
lea eax, [esp + 0x34]
mov dword [esp + 0x28], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0xd4], 0xb
call fcn.00554190
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421684
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
mov edi, dword [esp + 0x2c]
mov ebp, dword [edi + 0x1c]
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x24]
add edi, 0x18
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebp
mov ecx, edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
mov dword [esp + 0x28], eax
call fcn.004c3d30
push 1
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.004133b0
mov eax, dword [esp + 0x1c]
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
mov ebp, dword [esp + 0x2c]
mov dword [ecx], eax
or edi, 0xffffffff
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
inc edx
mov dword [esp + 0x18], edx
call dword [eax + 0x88]
cmp dword [esp + 0x18], eax
jb 0x421617
mov ecx, dword [ebp + 0x34]
add ebp, 0x30
mov dword [esp + 0x14], ebx
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp + 4]
mov dword [ecx + 4], ecx
cmp eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
je 0x42172d
mov ecx, dword [eax]
push eax
mov dword [esp + 0x20], ecx
call fcn.005e0f6d
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
add esp, 4
cmp eax, ecx
jne 0x421713
push 5
push str.Goals
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0xd4], 0xc
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xcc], edi
jb 0x421788
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x421996
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
call dword [eax + 0x88]
test eax, eax
jbe 0x421996
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov edx, dword [ecx]
push ebp
call dword [edx + 0x14]
test al, al
je 0x42197d
mov ecx, dword [esp + 0x18]
push str.Type
lea eax, [esp + 0x34]
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0xd4], 0xd
call fcn.00414220
mov eax, dword [esp + 0x50]
mov ebp, 8
add esp, 8
cmp eax, ebp
mov dword [esp + 0xcc], edi
jb 0x421829
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push 0x66768c
lea edx, [esp + 0xac]
push edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call dword [eax + 0x7c]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0xd4], 0xe
call fcn.00554190
mov eax, dword [esp + 0xc8]
add esp, 8
cmp eax, ebp
mov dword [esp + 0xcc], edi
jb 0x42188b
mov ecx, dword [esp + 0xac]
push ecx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push str.EndlessStars
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0xd4], 0xf
call fcn.00554190
mov eax, dword [esp + 0x9c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0xcc], edi
jb 0x4218f6
mov edx, dword [esp + 0x80]
push edx
call fcn.005e0f6d
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, 0x1e
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jae 0x42212e
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x422145
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x34]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x4c]
add ecx, 0x30
lea edx, [esp + 0x98]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 4]
push edx
push eax
push edi
call fcn.004102c0
mov ecx, dword [esp + 0x2c]
push 1
add ecx, 0x30
mov ebp, eax
call fcn.004134f0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ebp, dword [esp + 0x1c]
or edi, 0xffffffff
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
inc ebp
mov dword [esp + 0x1c], ebp
call dword [edx + 0x88]
cmp ebp, eax
jb 0x4217b0
push 6
push str.Houses
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebp, 0x10
mov ecx, esi
mov dword [esp + 0xd4], ebp
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], ebp
mov dword [esp + 0xcc], edi
jb 0x4219f5
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x421c2e
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
xor ebp, ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], ebp
call dword [edx + 0x88]
test eax, eax
jbe 0x421c2e
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov eax, dword [ecx]
push ebp
call dword [eax + 0x14]
test al, al
je 0x421c15
mov ecx, dword [esp + 0x18]
push str.PosIndex
lea edx, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], ebx
mov eax, dword [ecx]
push edx
call dword [eax + 0x7c]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd4], 0x11
call fcn.00414220
mov eax, dword [esp + 0x9c]
mov esi, 8
add esp, 8
cmp eax, esi
mov dword [esp + 0xcc], edi
jb 0x421ab1
mov ecx, dword [esp + 0x80]
push ecx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push str.Type
lea eax, [esp + 0xac]
mov ebp, 7
push eax
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0xd4], 0x12
call fcn.00414220
mov eax, dword [esp + 0xc8]
add esp, 8
cmp eax, esi
mov dword [esp + 0xcc], edi
jb 0x421b1d
mov edx, dword [esp + 0xac]
push edx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
push str.Upgrade
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
call dword [eax + 0x7c]
push eax
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0xd4], 0x13
call fcn.00414220
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, esi
mov dword [esp + 0xcc], edi
jb 0x421b7b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, 6
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jae 0x42215c
mov eax, dword [esp + 0x4c]
cmp eax, 5
ja 0x422173
mov edx, dword [esp + 0x24]
cmp edx, 0xc
jae 0x42218a
cmp eax, ebx
jbe 0x421bc1
cmp dword [esp + ecx*4 + 0x30], ebx
jne 0x4221a1
mov dword [esp + ecx*4 + 0x30], eax
mov esi, dword [esp + 0x2c]
mov edi, dword [esi + 0x28]
add esi, 0x24
mov dword [esp + 0x98], edx
lea edx, [esp + 0x98]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0xa4], ecx
push edi
mov ecx, esi
call fcn.004102c0
push 1
mov ecx, esi
mov ebp, eax
call fcn.004134f0
mov esi, dword [esp + 0xd4]
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ebp, dword [esp + 0x20]
or edi, 0xffffffff
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
inc ebp
mov dword [esp + 0x20], ebp
call dword [edx + 0x88]
cmp ebp, eax
jb 0x421a33
push 0xd
push str.AccessProduct
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0xd4], 0x14
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xcc], edi
jb 0x421c8d
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x421d90
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
xor ebp, ebp
mov dword [esp + 0x24], ebp
call dword [eax + 0x88]
test eax, eax
jbe 0x421d90
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebx
mov edx, dword [ecx]
push ebp
call dword [edx + 0x14]
test al, al
je 0x421d77
mov ecx, dword [esp + 0x1c]
push str.Product
lea eax, [esp + 0x58]
mov dword [esp + 0x50], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0xd4], 0x15
call fcn.00414220
mov eax, dword [esp + 0x74]
add esp, 8
cmp eax, 8
mov dword [esp + 0xcc], edi
jb 0x421d1a
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, 0x10
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x4221b8
cmp eax, 0x14
ja 0x4221b8
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 4]
mov edx, dword [edi + 4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push edx
push edi
call fcn.004c3d30
mov ecx, dword [esp + 0x2c]
push 1
mov ebp, eax
call fcn.004133b0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov ebp, dword [esp + 0x24]
or edi, 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
inc ebp
mov dword [esp + 0x24], ebp
call dword [eax + 0x88]
cmp ebp, eax
jb 0x421cb1
push 0xd
push str.Accessibility
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0xd4], 0x16
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xcc], edi
jb 0x421def
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x421f84
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
xor edi, edi
mov dword [esp + 0x4c], edi
call dword [eax + 0x88]
test eax, eax
jbe 0x421f84
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test al, al
je 0x421f6b
mov ecx, dword [esp + 0x18]
push str.Value
lea eax, [esp + 0x58]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0xc
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0xd4], 0x17
call fcn.00414220
mov eax, dword [esp + 0x74]
or esi, 0xffffffff
mov edi, 8
add esp, 8
cmp eax, edi
mov dword [esp + 0xcc], esi
jb 0x421e8b
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x18]
push str.CritID
lea edx, [esp + 0x80]
mov dword [esp + 0x20], ebx
mov eax, dword [ecx]
push edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call dword [eax + 0x7c]
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xd4], 0x18
call fcn.00554190
mov eax, dword [esp + 0x9c]
add esp, 8
cmp eax, edi
mov dword [esp + 0xcc], esi
jb 0x421ef1
mov ecx, dword [esp + 0x80]
push ecx
call fcn.005e0f6d
add esp, 4
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov edi, dword [esi + 0x10]
add esi, 0xc
lea eax, [esp + 0x24]
mov dword [esp + 0x28], edx
mov ecx, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
call fcn.00410290
push 1
mov ecx, esi
mov ebp, eax
call fcn.00413450
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
cmp dword [esp + 0x24], ebx
jbe 0x4221cf
mov eax, dword [esp + 0x28]
cmp eax, ebx
jl 0x4221cf
cmp eax, 0xc
jge 0x4221cf
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0xd4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
inc edi
mov dword [esp + 0x4c], edi
call dword [edx + 0x88]
cmp edi, eax
jb 0x421e13
push 9
push str.BearTimes
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401500
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
mov dword [esp + 0xd4], 0x19
call dword [edx + 0x10]
mov byte [esp + 0x13], al
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0xcc], 0xffffffff
jb 0x421fe7
mov edx, dword [esp + 0x34]
push edx
call fcn.005e0f6d
add esp, 4
cmp byte [esp + 0x13], bl
je 0x422251
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x18], ebx
call dword [eax + 0x88]
test eax, eax
jbe 0x422251
mov edi, 7
mov ebp, 8
mov esi, ebx
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x7c], ebx
mov edx, dword [ecx]
push esi
call dword [edx + 0x14]
test al, al
je 0x422238
mov ecx, dword [esp + 0x74]
push 0x6675e0
lea eax, [esp + 0x58]
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], ebx
mov edx, dword [ecx]
push eax
call dword [edx + 0x7c]
push eax
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0xd4], 0x1a
call fcn.0040b2f0
mov eax, dword [esp + 0x74]
or esi, 0xffffffff
add esp, 8
cmp eax, ebp
mov dword [esp + 0xcc], esi
jb 0x422088
mov edx, dword [esp + 0x58]
push edx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
push str.Type
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
call dword [eax + 0x7c]
push eax
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0xd4], 0x1b
call fcn.00554190
mov eax, dword [esp + 0x9c]
add esp, 8
cmp eax, ebp
mov dword [esp + 0xcc], esi
jb 0x4220e6
mov ecx, dword [esp + 0x80]
push ecx
call fcn.005e0f6d
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + 4]
add ecx, 0x3c
mov esi, eax
cmp byte [edx + 0x15], bl
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
jne 0x4221f3
fld dword [edx + 0xc]
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 5
jp 0x4221e6
mov edx, dword [edx + 8]
jmp 0x4221ea
push 0x690a10
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], str.Invalid_goal_Type.
call fcn.005e0f72
push 0x690a10
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], str.Invalid_goal_Val.
call fcn.005e0f72
push 0x690a10
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], str.Invalid_PosIndex.
call fcn.005e0f72
push 0x690a10
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], str.Invalid_Upgrade.
call fcn.005e0f72
push 0x690a10
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], str.Invalid_House_Type.
call fcn.005e0f72
push 0x690a10
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], str.PosIndex_house_collision.
call fcn.005e0f72
push 0x690a10
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], str.Invalid_product_accesibility.
call fcn.005e0f72
push 0x690a10
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x54], str.Invalid_criteria.
call fcn.005e0f72
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0x15], bl
je 0x422114
cmp esi, dword [ecx + 4]
mov edx, esi
je 0x422208
fld dword [esp + 0x70]
fcomp dword [esi + 0xc]
fnstsw ax
test ah, 5
jp 0x422226
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x50], edx
push esi
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x5c], ebx
call fcn.0041d690
mov edx, dword [eax]
mov eax, dword [esp + 0x78]
mov dword [edx + 0x10], eax
cmp dword [esp + 0x78], 4
jae 0x42226c
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
inc esi
mov dword [esp + 0x18], esi
call dword [edx + 0x88]
cmp esi, eax
jb 0x422015
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 4
push 0x690a10
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], str.Invalid_bear_type.
call fcn.005e0f72
int3