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

Disassembly:
push 0xffffffffffffffff
push 0x4c3ca9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f8
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x304]
push ebx
push ebp
push esi
mov dword [esp + 0x300], eax
mov al, byte [esp + 0x314]
push edi
xor ebx, ebx
cmp al, bl
mov edi, ecx
mov dword [esp + 0x24], edi
mov ebp, 0xf
je 0x466f6a
mov eax, 0x4f6518
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x466e32
sub eax, edx
push eax
push 0x4f6518
lea ecx, [esp + 0x50]
call fcn.00402cd0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x318], ebx
call fcn.0040fff0
cmp dword [esp + 0x60], 0x10
mov byte [esp + 0x310], 2
jb 0x466e7e
mov edx, dword [esp + 0x4c]
push edx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1ec]
push eax
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040fd00
mov eax, dword [edi + 0xe4]
cmp eax, ebx
jne 0x466ea9
xor edx, edx
jmp 0x466ec2
mov ecx, dword [edi + 0xe8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov eax, dword [edi + 0xf0]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
add edx, 0xfffffffa
cmp eax, ebx
fstp dword [esp + 0x20]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fdiv dword [esp + 0x10]
fstp dword [esp + 0x10]
jne 0x466ef7
mov dword [esp + 0x10], ebx
fld dword [esp + 0x10]
push 1
fmul dword [0x4f2a10]
lea ecx, [esp + 0x1f0]
fsub dword [0x4f6514]
fstp dword [esp + 0x14]
call fcn.0040dc90
mov edx, dword [esp + 0x10]
sub esp, 0xc
mov dword [eax], edx
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x1f8]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0040dc60
mov ecx, esi
call fcn.0040dfe0
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x310], 0xffffffff
je 0x466f6a
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x30], edx
jne 0x466f6a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x310], 3
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x314], 9
call fcn.00437070
mov ecx, eax
call fcn.00437010
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.00437210
mov eax, dword [esp + 0x68]
cmp eax, ebx
mov byte [esp + 0x310], 0xa
je 0x467007
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x30], eax
jne 0x467007
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x28]
push eax
call fcn.0043a8b0
mov dword [edi + 0x13c], eax
mov eax, dword [edi + 0xe4]
cmp eax, ebx
mov esi, 6
mov dword [esp + 0x44], esi
je 0x46704a
mov ecx, dword [edi + 0xe8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, esi
jae 0x467077
mov eax, dword [edi + 0xe4]
cmp eax, ebx
jne 0x467058
xor esi, esi
jmp 0x467073
mov ecx, dword [edi + 0xe8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov esi, edx
mov dword [esp + 0x44], esi
cmp esi, ebx
mov dword [esp + 0x2c], ebx
jle 0x467ee9
mov edi, dword [esp + 0x2c]
push edi
lea edx, [esp + 0x2f8]
push 0x4f1300
push edx
call fcn.004ae68f
mov eax, str.listitem
add esp, 0xc
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4670c0
sub eax, edx
push eax
push str.listitem
lea ecx, [esp + 0xdc]
call fcn.00402cd0
lea eax, [esp + 0x2f4]
mov byte [esp + 0x310], 0xb
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4670f0
sub eax, edx
push eax
lea eax, [esp + 0x2f8]
push eax
lea ecx, [esp + 0xdc]
call fcn.00402620
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, ebp
call fcn.0040fff0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0xc
je 0x467137
inc dword [eax + 4]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
je 0x46715a
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x46715a
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov byte [esp + 0x310], 0xb
je 0x467181
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x467181
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [ebp + 0xf0]
mov eax, dword [ebp + 0xe4]
add esi, edi
lea esi, [esi + esi*4]
push 0xffffffffffffffff
shl esi, 4
add esi, eax
push ebx
push esi
lea ecx, [esp + 0x90]
call fcn.00402aa0
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0xa0], ecx
mov edx, dword [esi + 0x20]
mov dword [esp + 0xa4], edx
mov eax, dword [esi + 0x24]
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x28]
mov dword [esp + 0xac], ecx
mov edx, dword [esi + 0x2c]
push 0xffffffffffffffff
mov dword [esp + 0xb4], edx
mov eax, dword [esi + 0x30]
push ebx
add esi, 0x34
push esi
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc0], eax
call fcn.00402aa0
mov eax, str.icon
mov dword [esp + 0x194], 0xf
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467217
sub eax, esi
push eax
push str.icon
lea ecx, [esp + 0x184]
call fcn.00402cd0
lea ecx, [esp + 0x17c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x318], 0xd
call fcn.0040f3f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0xe
je 0x467261
inc dword [eax + 4]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov esi, eax
mov dword [esp + 0x10], esi
je 0x467282
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x467282
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov byte [esp + 0x310], 0xd
je 0x4672a9
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x4672a9
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x194], 0x10
jb 0x4672c3
mov ecx, dword [esp + 0x180]
push ecx
call fcn.004ade5d
add esp, 4
lea edx, [esp + 0x80]
mov edi, 0xf
push edx
mov ecx, esi
mov dword [esp + 0x198], edi
mov dword [esp + 0x194], ebx
mov byte [esp + 0x184], bl
call fcn.0040df80
mov eax, dword [eax]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
mov byte [esp + 0x314], 0xf
call fcn.0042c070
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov byte [esp + 0x310], 0xb
je 0x46732f
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x46732f
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, str.label
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467350
sub eax, edx
push eax
push str.label
lea ecx, [esp + 0x14c]
call fcn.00402cd0
lea ecx, [esp + 0x144]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x318], 0x10
call fcn.0040f3f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0x11
je 0x46739d
inc dword [eax + 4]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov edi, eax
mov dword [esp + 0x20], edi
je 0x4673be
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x4673be
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov byte [esp + 0x310], 0x10
je 0x4673e5
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x28], edx
jne 0x4673e5
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x15c], 0x10
mov byte [esp + 0x310], 0xb
jb 0x467407
mov ecx, dword [esp + 0x148]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, 0xf
mov dword [esp + 0x15c], eax
mov dword [esp + 0x108], eax
mov eax, str.hierarchy.Screen.Shop.
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467440
sub eax, esi
push eax
push str.hierarchy.Screen.Shop.
lea ecx, [esp + 0xf8]
call fcn.00402cd0
mov eax, dword [ebp + 0xf0]
add eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0xe4]
lea eax, [eax + eax*4]
push 0xffffffffffffffff
shl eax, 4
add eax, ecx
push ebx
push eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x31c], 0x12
call fcn.00402530
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x2dc]
push eax
call fcn.00416de0
mov ecx, eax
call fcn.004118f0
push eax
mov ecx, edi
mov byte [esp + 0x314], 0x13
call fcn.00417a70
cmp dword [esp + 0x2f0], 0x10
mov byte [esp + 0x310], 0x12
jb 0x4674d9
mov ecx, dword [esp + 0x2dc]
push ecx
call fcn.004ade5d
add esp, 4
mov esi, 0xf
mov eax, str.value
mov dword [esp + 0x2f0], esi
mov dword [esp + 0x2ec], ebx
mov byte [esp + 0x2dc], bl
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467510
sub eax, edx
push eax
push str.value
lea ecx, [esp + 0x1bc]
call fcn.00402cd0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x318], 0x14
call fcn.0040f3f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0x15
je 0x46755a
inc dword [eax + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
mov edi, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], edi
je 0x46757f
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x46757f
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x64]
cmp eax, ebx
mov byte [esp + 0x310], 0x14
je 0x4675a8
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x40], eax
jne 0x4675a8
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x1cc], 0x10
mov byte [esp + 0x310], 0x12
jb 0x4675ca
mov eax, dword [esp + 0x1b8]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.hierarchy.Screen.Shop.currentLevel
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x124], esi
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467600
sub eax, esi
push eax
push str.hierarchy.Screen.Shop.currentLevel
lea ecx, [esp + 0x114]
call fcn.00402cd0
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0x18]
lea ecx, [eax + eax*2 + 0x48]
mov edx, dword [ebp + ecx*4 + 0x240]
mov ecx, dword [esp + 0x24]
inc edx
push edx
lea eax, [esp + 0x26c]
push eax
mov byte [esp + 0x318], 0x16
call fcn.00465d10
mov esi, eax
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0x2a4]
push edx
mov byte [esp + 0x318], 0x17
call fcn.00416de0
mov ecx, eax
call fcn.004118f0
push esi
push eax
lea eax, [esp + 0x238]
push eax
mov byte [esp + 0x31c], 0x18
call fcn.00403020
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x314], 0x19
call fcn.00417a70
cmp dword [esp + 0x248], 0x10
jb 0x4676b6
mov ecx, dword [esp + 0x234]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x2b8], 0x10
mov esi, 0xf
mov dword [esp + 0x248], esi
mov dword [esp + 0x244], ebx
mov byte [esp + 0x234], bl
jb 0x4676ea
mov edx, dword [esp + 0x2a4]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x280], 0x10
mov dword [esp + 0x2b8], esi
mov dword [esp + 0x2b4], ebx
mov byte [esp + 0x2a4], bl
jb 0x467719
mov eax, dword [esp + 0x26c]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x124], 0x10
mov dword [esp + 0x280], esi
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
mov byte [esp + 0x310], 0x12
jb 0x467750
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004ade5d
add esp, 4
push 1
push 0xffffffffffffffff
mov ecx, edi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
call fcn.00418150
mov eax, dword [esp + 0xa0]
lea edx, [eax + eax*2 + 0x48]
cmp dword [ebp + edx*4 + 0x240], ebx
mov ecx, edi
jne 0x467789
push ebx
jmp 0x46778b
push 1
call fcn.0040f5b0
mov eax, str.nextvalue
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4677b0
sub eax, edx
push eax
push str.nextvalue
lea ecx, [esp + 0x130]
call fcn.00402cd0
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebp
mov byte [esp + 0x318], 0x1a
call fcn.0040f3f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0x1b
je 0x4677fc
inc dword [eax + 4]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov edi, eax
mov dword [esp + 0x34], edi
je 0x46781d
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x46781d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x70]
cmp eax, ebx
mov byte [esp + 0x310], 0x1a
je 0x467846
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x40], eax
jne 0x467846
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x140], 0x10
mov byte [esp + 0x310], 0x12
jb 0x467868
mov eax, dword [esp + 0x12c]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.completed
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4678a0
sub eax, edx
push eax
push str.completed
lea ecx, [esp + 0x168]
call fcn.00402cd0
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0x7c]
push edx
mov ecx, ebp
mov byte [esp + 0x318], 0x1c
call fcn.0040f3f0
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0x310], 0x1d
je 0x4678e8
inc dword [eax + 4]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov ebp, eax
mov dword [esp + 0x3c], ebp
je 0x467909
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x467909
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x78]
cmp eax, ebx
mov byte [esp + 0x310], 0x1c
je 0x467930
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x40], edx
jne 0x467930
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x178], 0x10
mov byte [esp + 0x310], 0x12
jb 0x467952
mov ecx, dword [esp + 0x164]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, 0xf
mov dword [esp + 0x178], eax
mov dword [esp + 0x1b0], eax
mov eax, str.hierarchy.Screen.Shop.nextLevel
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467990
sub eax, esi
push eax
push str.hierarchy.Screen.Shop.nextLevel
lea ecx, [esp + 0x1a0]
call fcn.00402cd0
mov eax, dword [esp + 0xa0]
lea edx, [eax + eax*2 + 0x48]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edx*4 + 0x240]
imul ecx, dword [esp + 0xac]
add ecx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x250]
push edx
mov byte [esp + 0x318], 0x1e
call fcn.00465d10
mov esi, eax
lea eax, [esp + 0x198]
push eax
lea ecx, [esp + 0x218]
push ecx
mov byte [esp + 0x318], 0x1f
call fcn.00416de0
mov ecx, eax
call fcn.004118f0
push esi
push eax
lea edx, [esp + 0x200]
push edx
mov byte [esp + 0x31c], 0x20
call fcn.00403020
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x314], 0x21
call fcn.00417a70
cmp dword [esp + 0x210], 0x10
jb 0x467a54
mov eax, dword [esp + 0x1fc]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x22c], 0x10
mov esi, 0xf
mov dword [esp + 0x210], esi
mov dword [esp + 0x20c], ebx
mov byte [esp + 0x1fc], bl
jb 0x467a88
mov ecx, dword [esp + 0x218]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x264], 0x10
mov dword [esp + 0x22c], esi
mov dword [esp + 0x228], ebx
mov byte [esp + 0x218], bl
jb 0x467ab7
mov edx, dword [esp + 0x250]
push edx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x1b0], 0x10
mov dword [esp + 0x264], esi
mov dword [esp + 0x260], ebx
mov byte [esp + 0x250], bl
mov byte [esp + 0x310], 0x12
jb 0x467aee
mov eax, dword [esp + 0x19c]
push eax
call fcn.004ade5d
add esp, 4
push 1
push 0xff22ff22
mov ecx, edi
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1b4], ebx
mov byte [esp + 0x1a4], bl
call fcn.00418150
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x18]
lea ecx, [eax + eax*2 + 0x48]
mov edx, dword [esi + ecx*4 + 0x240]
imul edx, dword [esp + 0xac]
add edx, dword [esp + 0xa8]
cmp dword [esi + 0x240], edx
jge 0x467b53
push 1
push 0xffff0000
mov ecx, edi
call fcn.00418150
mov eax, dword [esp + 0xa0]
lea eax, [eax + eax*2 + 0x48]
mov ecx, dword [esi + eax*4 + 0x240]
cmp ecx, dword [esp + 0xa4]
push 1
jl 0x467c6c
mov ecx, dword [esp + 0x2c]
push 0xffffff
call fcn.00418150
push 1
push 0xffffffffffffffff
mov ecx, edi
call fcn.00418150
mov eax, str.hierarchy.Screen.Shop.maxlevel
mov dword [esp + 0x1e8], 0xf
mov dword [esp + 0x1e4], ebx
mov byte [esp + 0x1d4], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467ba7
sub eax, esi
push eax
push str.hierarchy.Screen.Shop.maxlevel
lea ecx, [esp + 0x1d8]
call fcn.00402cd0
lea edx, [esp + 0x1d0]
push edx
lea eax, [esp + 0x288]
push eax
mov byte [esp + 0x318], 0x22
call fcn.00416de0
mov ecx, eax
call fcn.004118f0
push eax
mov ecx, edi
mov byte [esp + 0x314], 0x23
call fcn.00417a70
cmp dword [esp + 0x29c], 0x10
jb 0x467c10
mov ecx, dword [esp + 0x288]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x1e8], 0x10
mov esi, 0xf
mov dword [esp + 0x29c], esi
mov dword [esp + 0x298], ebx
mov byte [esp + 0x288], bl
mov byte [esp + 0x310], 0x12
jb 0x467c4c
mov edx, dword [esp + 0x1d4]
push edx
call fcn.004ade5d
add esp, 4
push 1
mov ecx, ebp
mov dword [esp + 0x1ec], esi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
call fcn.0040f5b0
jmp 0x467c80
mov ecx, edi
call fcn.0040f5b0
push ebx
mov ecx, ebp
call fcn.0040f5b0
mov esi, 0xf
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp + 0xe4]
cmp eax, ebx
jne 0x467c92
xor edx, edx
jmp 0x467cab
mov ecx, dword [ebp + 0xe8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, dword [ebp + 0xf0]
mov edi, dword [esp + 0x2c]
add ecx, edx
cmp edi, ecx
jge 0x467dca
mov eax, str.hierarchy.Screen.Shop.
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467cd3
sub eax, esi
push eax
push str.hierarchy.Screen.Shop.
lea ecx, [esp + 0x50]
call fcn.00402cd0
mov eax, dword [ebp + 0xf0]
mov ecx, dword [ebp + 0xe4]
add eax, edi
lea eax, [eax + eax*4]
push 0xffffffffffffffff
shl eax, 4
add eax, ecx
push ebx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x31c], 0x24
call fcn.00402530
mov eax, str.Hint
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x467d20
sub eax, esi
push eax
push str.Hint
lea ecx, [esp + 0x50]
call fcn.00402620
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x2c0]
push eax
call fcn.00416de0
mov ecx, eax
call fcn.004118f0
mov edi, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x98]
mov byte [esp + 0x31c], 0x25
call fcn.00402aa0
cmp dword [esp + 0x2d4], 0x10
jb 0x467d86
mov ecx, dword [esp + 0x2c0]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x60], 0x10
mov esi, 0xf
mov dword [esp + 0x2d4], esi
mov dword [esp + 0x2d0], ebx
mov byte [esp + 0x2c0], bl
mov byte [esp + 0x310], 0x12
jb 0x467dbc
mov edx, dword [esp + 0x4c]
push edx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jmp 0x467dce
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2 + 0x48]
mov edx, dword [ecx + eax*4 + 0x240]
cmp edx, dword [esp + 0xa4]
jl 0x467e64
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.0040fff0
mov esi, dword [eax]
cmp esi, ebx
mov byte [esp + 0x310], 0x26
je 0x467e16
inc dword [esi + 4]
cmp edi, ebx
mov dword [esp + 0x14], esi
je 0x467e33
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
cmp eax, ebx
mov dword [edi + 4], ecx
jne 0x467e33
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x310], 0x12
je 0x467e5c
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x40], eax
jne 0x467e5c
mov edx, dword [ecx]
push 1
call dword [edx]
push ebx
mov ecx, esi
call fcn.004198f0
mov eax, dword [esp + 0x108]
mov edi, 0x10
cmp eax, edi
jb 0x467e84
mov eax, dword [esp + 0xf4]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0xec], edi
mov esi, 0xf
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov byte [esp + 0x310], 0xa
jb 0x467ebf
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0x2c], eax
jl 0x467083
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x240]
mov ecx, dword [edx + 0x144]
push eax
call fcn.00482c90
mov ecx, dword [esi + 4]
dec ecx
mov eax, ecx
cmp eax, ebx
mov byte [esp + 0x310], 9
mov dword [esi + 4], ecx
jne 0x467f20
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0xd0]
mov edi, 0x10
cmp eax, edi
jb 0x467f40
mov eax, dword [esp + 0xbc]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x9c], edi
mov esi, 0xf
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x467f73
mov ecx, dword [esp + 0x88]
push ecx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
mov byte [esp + 0x310], 7
je 0x467fab
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x467fab
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
mov byte [esp + 0x310], 6
je 0x467fce
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x467fce
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
mov byte [esp + 0x310], 5
je 0x467ff1
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x467ff1
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov byte [esp + 0x310], 4
je 0x468014
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x468014
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
mov byte [esp + 0x310], 3
je 0x468037
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x468037
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov dword [esp + 0x310], 0xffffffff
je 0x468055
dec dword [ecx + 4]
jne 0x468055
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x304]
xor ecx, dword [esp + 0x314]
call fcn.004ae650
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x304
ret 4