Function at 0x45888d
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x4c2682
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x84], esi
call fcn.004151d0
xor ebp, ebp
mov dword [esi], 0x4f57fc
mov dword [esp + 0x9c], ebp
mov dword [esi + 0xc4], ebp
mov dword [esi + 0xd4], ebp
mov dword [esi + 0xd8], ebp
mov dword [esi + 0xdc], ebp
lea edi, [esi + 0xec]
mov dword [esi + 0xe0], 0x89e80000
mov dword [esi + 0xe4], 0x8ac72304
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov dword [esi + 0x108], ebp
mov dword [esi + 0x114], ebp
mov dword [esi + 0x118], ebp
mov dword [esi + 0x11c], ebp
mov byte [esi + 0x120], 0
mov byte [esi + 0x121], 0
mov dword [esi + 0x124], ebp
mov dword [esi + 0x128], ebp
lea eax, [esp + 0x18]
mov bl, 7
push eax
mov byte [esp + 0xa0], bl
call fcn.0040d4d0
mov ecx, eax
call fcn.004016d0
mov ecx, dword [eax]
mov byte [esp + 0x9c], 8
call fcn.00401120
mov dword [esi + 0x130], eax
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esi + 0x134], edx
mov byte [esp + 0x9c], bl
je 0x458974
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x458974
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x13c], ebp
mov dword [esi + 0x140], ebp
mov dword [esi + 0x144], ebp
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0xa0], 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 [eax]
cmp eax, ebp
mov byte [esp + 0x9c], 0xb
je 0x4589be
inc dword [eax + 4]
mov ecx, dword [esi + 0xc4]
cmp ecx, ebp
mov dword [esi + 0xc4], eax
je 0x4589e1
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebp
mov dword [ecx + 4], edx
jne 0x4589e1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x9c], 0xa
je 0x458a08
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x458a08
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov byte [esp + 0x9c], 9
je 0x458a2f
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x458a2f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc4]
lea edx, [ecx + 0x240]
mov dword [esi + 0xc8], edx
mov eax, dword [ecx + 0x28]
push eax
call fcn.0043a8b0
push 0x1f4
mov ecx, edi
mov dword [esi + 0xcc], eax
mov dword [esi + 0xc0], 0xffffffff
mov byte [esi + 0xe8], 1
call fcn.00452520
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x458a8c
mov ecx, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.00426230
mov eax, dword [edi + 4]
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebp
mov ecx, dword [esi + 0x108]
cmp ecx, ebp
mov dword [esi + 0x108], ebp
je 0x458ab8
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebp
mov dword [ecx + 4], edx
jne 0x458ab8
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, str._gui_mapscreen.xml
mov byte [esi + 0x10c], 0
mov byte [esi + 0xfc], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458ae0
sub eax, edx
push eax
push str._gui_mapscreen.xml
lea ecx, [esp + 0x24]
call fcn.00402cd0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0xa0], 0xc
call fcn.0041b630
mov bl, al
mov eax, dword [esp + 0x34]
mov edi, 0x10
cmp eax, edi
mov byte [esp + 0x9c], 9
jb 0x458b30
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
test bl, bl
je 0x45a64c
mov ebx, 0xf
mov eax, str.easybutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458b52
sub eax, edx
push eax
push str.easybutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x458620
push 1
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0xd
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458ba0
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.normalbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458bb5
sub eax, edx
push eax
push str.normalbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x458620
push 1
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0xe
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458c03
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.hardbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458c18
sub eax, edx
push eax
push str.hardbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x458620
push 1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0xf
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458c66
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.easybutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
jmp 0x458c80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458c80
sub eax, edx
push eax
push str.easybutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fdd0
push 2
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x10
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458cce
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.normalbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458ce3
sub eax, edx
push eax
push str.normalbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fdd0
push 2
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x11
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458d31
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.hardbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458d46
sub eax, edx
push eax
push str.hardbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fdd0
push 2
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x12
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458d94
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.easybutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458db0
sub eax, edx
push eax
push str.easybutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fee0
push 3
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x13
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458dfe
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.normalbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458e13
sub eax, edx
push eax
push str.normalbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fee0
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x14
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458e61
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.hardbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458e76
sub eax, edx
push eax
push str.hardbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fee0
push 3
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x15
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458ec4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.playbutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458ee0
sub eax, edx
push eax
push str.playbutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x4530c0
push 1
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x16
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458f2e
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.closebutton
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458f43
sub eax, edx
push eax
push str.closebutton
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44f1a0
push 1
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x17
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458f91
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.uparrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x458fa6
sub eax, edx
push eax
push str.uparrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x452940
push 1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x18
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x458ff4
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.downarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459010
sub eax, edx
push eax
push str.downarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x452940
push 1
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x19
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x45905e
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.leftarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459073
sub eax, edx
push eax
push str.leftarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x452940
push 1
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x1a
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x4590c1
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.rightarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4590d6
sub eax, edx
push eax
push str.rightarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x452940
push 1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x1b
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x459124
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.uparrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459140
sub eax, edx
push eax
push str.uparrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fa10
push 2
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x1c
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x45918e
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.downarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4591a3
sub eax, edx
push eax
push str.downarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fa10
push 2
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x1d
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x4591f1
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.leftarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459206
sub eax, edx
push eax
push str.leftarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fa10
push 2
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x1e
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x459254
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, str.rightarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459270
sub eax, edx
push eax
push str.rightarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fa10
push 2
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x1f
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x4592be
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
mov eax, str.uparrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4592d3
sub eax, edx
push eax
push str.uparrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fbf0
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x20
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x459321
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
mov eax, str.downarrow
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x459336
sub eax, edx
push eax
push str.downarrow
lea ecx, [esp + 0x24]
call fcn.00402cd0
push 0x44fbf0
push 3
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x21
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x459384
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
push str.leftarrow
lea ecx, [esp + 0x20]
call fcn.004033c0
push 0x44fbf0
push 3
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0xa8], 0x22
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x4593c8
mov eax, dword [esp + 0x20]
push eax
call fcn.004ade5d
add esp, 4
push str.rightarrow
lea ecx, [esp + 0x20]
call fcn.004033c0
push 0x44fbf0
push 3
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 0x23
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x45940c
mov edx, dword [esp + 0x20]
push edx
call fcn.004ade5d
add esp, 4
push 0x4f59d4
lea ecx, [esp + 0x20]
call fcn.004033c0
push 0x44f430
push 1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x24
call fcn.0040fea0
cmp dword [esp + 0x34], edi
mov byte [esp + 0x9c], 9
jb 0x459450
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov edx, dword [esi + 0xcc]
mov eax, dword [edx + 0x10]
push ebp
push ebp
push eax
mov ecx, esi
call fcn.004516d0
push str.treasurybutton
lea ecx, [esp + 0x20]
call fcn.004033c0
push 0x44f6a0
push 1
lea eax, [esp + 0x24]
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x25
call fcn.0040fea0
cmp dword [esp + 0x34], edi
jb 0x45949f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ade5d
add esp, 4
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
push str.playbutton
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa0], 0x26
call fcn.004033c0
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x40]
mov bl, 0x27
push eax
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0040df80
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0x29
call fcn.00481fe0
push eax
lea ecx, [esp + 0x8c]
call fcn.0040dc60
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov byte [esp + 0x9c], 0x28
je 0x45952c
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x45952c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov byte [esp + 0x9c], bl
je 0x459552
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x459552
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x80], edi
mov byte [esp + 0x9c], 0x26
jb 0x459570
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004ade5d
add esp, 4
push 1
lea ecx, [esp + 0x8c]
call fcn.0040dc90
push 0
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.0040dc90
fld dword [edi]
fsub dword [0x4f5590]
push 0xc47a0000
push ecx
mov ebp, eax
mov edx, dword [ebp]
fstp dword [esp]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fadd dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fadd dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fadd dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fadd dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fsub dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fsub dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
mov eax, dword [ebp]
push 0xc47a0000
push ecx
fstp dword [esp]
push eax
lea ecx, [esp + 0x4c]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
push 0x38
call fcn.004ad909
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x45971b
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0
push 0
push 0xfa0
sub esp, 0x10
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0xbc], 0x2b
call fcn.0042b960
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push str._level_hints_fly2.xml
mov byte [esp + 0xd8], 0x2c
call fcn.004033c0
mov ecx, ebx
mov byte [esp + 0xd4], 0x2a
call fcn.0045e450
jmp 0x45971d
xor eax, eax
test eax, eax
mov dword [esp + 0x3c], eax
je 0x459728
inc dword [eax + 4]
lea eax, [esp + 0x3c]
lea ebx, [esi + 0x138]
push eax
mov ecx, ebx
mov byte [esp + 0xa0], 0x2d
call fcn.004460c0
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ecx
je 0x459757
push eax
call fcn.004ade5d
add esp, 4
xor ecx, ecx
fld dword [edi]
push 0xc47a0000
fsub dword [0x4f5590]
push ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
fstp dword [esp]
mov ecx, dword [ebp]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fsub dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fadd dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fsub dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fadd dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fadd dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
push 0xc47a0000
sub esp, 8
lea ecx, [esp + 0x4c]
fstp dword [esp + 4]
fld dword [ebp]
fadd dword [0x4f558c]
fstp dword [esp]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
fld dword [edi]
fsub dword [0x4f5590]
mov edx, dword [ebp]
push 0xc47a0000
push ecx
fstp dword [esp]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401450
push eax
lea ecx, [esp + 0x20]
call fcn.0042c3a0
push 0x38
call fcn.004ad909
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
je 0x4598ee
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], 0
push 0
push 0xfa0
sub esp, 0x10
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0xbc], 0x2f
call fcn.0042b960
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push str._level_hints_fly2.xml
mov byte [esp + 0xd8], 0x30
call fcn.004033c0
mov ecx, edi
mov byte [esp + 0xd4], 0x2e
call fcn.0045e450
jmp 0x4598f0
xor eax, eax
test eax, eax
mov byte [esp + 0x9c], 0x2d
je 0x4598ff
inc dword [eax + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp + 0x3c], eax
je 0x45991e
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
test eax, eax
mov dword [ecx + 4], edx
jne 0x45991e
mov edx, dword [ecx]
push 1
call dword [edx]
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.004460c0
mov edi, dword [esi + 0xc8]
mov byte [esi + 0x120], 0
mov eax, dword [edi + 0x1d8]
test eax, eax
je 0x459962
mov ecx, dword [edi + 0x1dc]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x10], edx
jne 0x45998d
mov eax, dword [edi + 0x1e8]
test eax, eax
je 0x4599a5
mov ecx, dword [edi + 0x1ec]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
je 0x4599a5
mov eax, dword [esi + 0xcc]
mov cl, byte [eax + 0x5c]
test cl, cl
jne 0x4599a5
mov byte [eax + 0x5c], 1
mov byte [esi + 0x120], 1
mov ecx, dword [esi + 0xc8]
call fcn.0043ab70
mov ecx, dword [esi + 0xc8]
mov byte [esi + 0x121], al
call fcn.0043a8f0
test al, al
je 0x459aba
mov ecx, dword [esi + 0xc8]
call fcn.0043a9d0
test eax, eax
jne 0x459aba
push str.treasurybutton
lea ecx, [esp + 0x6c]
call fcn.004033c0
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 0x31
call fcn.0040fff0
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 0x33
call fcn.00401b90
mov ecx, dword [esp + 0x38]
push 0
call fcn.004198f0
mov ecx, dword [esp + 0x38]
push 0
call fcn.0040f5b0
push str.treasury
lea ecx, [esp + 0x50]
call fcn.004033c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov bl, 0x34
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x35
call fcn.0048d770
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x459a8a
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459a8a
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x33
call fcn.00401b90
mov ecx, dword [esp + 0x38]
push 0
call fcn.004198f0
mov ecx, dword [esp + 0x38]
push 0
call fcn.0040f5b0
mov eax, dword [esp + 0x38]
jmp 0x459c2c
mov ecx, dword [esi + 0xc8]
mov al, byte [ecx + 0xb2]
test al, al
jne 0x459c4f
push str.treasurybutton
lea ecx, [esp + 0x50]
call fcn.004033c0
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0xa4], 0x36
call fcn.0040fff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x38
call fcn.00401b90
push str._gui_component_map_unlock_button.xml
lea ecx, [esp + 0x6c]
call fcn.004033c0
push 0
push 0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0xac], 0x39
call fcn.00415620
mov ecx, eax
call fcn.00431b90
lea ecx, [esp + 0x68]
call fcn.00401b90
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
push 1
mov ecx, eax
mov byte [esp + 0xa0], 0x3c
call fcn.004222f0
push eax
mov ecx, edi
call fcn.00424cf0
mov eax, dword [esp + 0x14]
test eax, eax
mov bl, 0x3b
mov byte [esp + 0x9c], bl
je 0x459b94
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459b94
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
push 1
mov ecx, eax
mov byte [esp + 0xa0], 0x3d
call fcn.00481fe0
push eax
mov ecx, edi
call fcn.00424690
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x459be7
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459be7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x38]
push 1
push 0
call fcn.0042f400
mov ecx, dword [esi + 0xc8]
mov byte [ecx + 0xb2], 1
mov eax, dword [esp + 0x38]
test eax, eax
mov byte [esp + 0x9c], 0x38
je 0x459c28
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459c28
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], 0x2d
je 0x459c4f
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459c4f
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 0xc8]
lea ecx, [edi + 0x1e4]
call fcn.0044ebb0
test al, al
je 0x459d59
lea ecx, [edi + 0x1d4]
call fcn.0044ebb0
test al, al
je 0x459d59
push 0x4f59d4
lea ecx, [esp + 0x50]
call fcn.004033c0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 0x3e
call fcn.0040fff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x40
call fcn.00401b90
mov ecx, dword [esp + 0x38]
push 0
call fcn.004198f0
mov ecx, dword [esp + 0x38]
push 0
call fcn.0040f5b0
push str.shop
lea ecx, [esp + 0x6c]
call fcn.004033c0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
mov bl, 0x41
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x42
call fcn.0048d770
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x459d29
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459d29
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x68]
mov byte [esp + 0x9c], 0x40
call fcn.00401b90
mov ecx, dword [esp + 0x38]
push 0
call fcn.004198f0
mov ecx, dword [esp + 0x38]
push 0
call fcn.0040f5b0
mov eax, dword [esp + 0x38]
jmp 0x459eba
mov al, byte [edi + 0xb1]
test al, al
jne 0x459edd
push 0x4f59d4
lea ecx, [esp + 0x50]
call fcn.004033c0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 0x43
call fcn.0040fff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x45
call fcn.00401b90
push str._gui_component_map_unlock_button.xml
lea ecx, [esp + 0x6c]
call fcn.004033c0
push 0
push 0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0xac], 0x46
call fcn.00415620
mov ecx, eax
call fcn.00431b90
lea ecx, [esp + 0x68]
call fcn.00401b90
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
push 1
mov ecx, eax
mov byte [esp + 0xa0], 0x49
call fcn.004222f0
push eax
mov ecx, edi
call fcn.00424cf0
mov eax, dword [esp + 0x14]
test eax, eax
mov bl, 0x48
mov byte [esp + 0x9c], bl
je 0x459e2f
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x459e2f
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
push 1
mov ecx, eax
mov byte [esp + 0xa0], 0x4a
call fcn.00481fe0
push eax
mov ecx, edi
call fcn.00424690
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x459e82
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459e82
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x38]
push 1
push 0
call fcn.0042f400
mov eax, dword [esp + 0x38]
test eax, eax
mov byte [esp + 0x9c], 0x45
je 0x459eb6
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459eb6
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], 0x2d
je 0x459edd
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459edd
mov eax, dword [ecx]
push 1
call dword [eax]
push str.treasurybutton
lea ecx, [esp + 0x6c]
call fcn.004033c0
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 0x4b
call fcn.0040fff0
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0x4c
call fcn.0040d940
test al, al
je 0x459f30
mov eax, dword [esi + 0xc8]
mov dl, byte [eax + 0xb2]
test dl, dl
sete al
test al, al
je 0x459f30
mov bl, 1
jmp 0x459f32
xor bl, bl
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x4b
je 0x459f59
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x459f59
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x80], 0x10
mov byte [esp + 0x9c], 0x2d
jb 0x459f78
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004ade5d
add esp, 4
test bl, bl
je 0x45a17f
push 0x38
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x9c], 0x4d
je 0x459fa5
push 1
mov ecx, eax
call fcn.00443e90
jmp 0x459fa7
xor eax, eax
lea ebp, [esi + 0x128]
push eax
mov ecx, ebp
mov byte [esp + 0xa0], 0x2d
call fcn.0040e0e0
push str.treasurybutton
lea ecx, [esp + 0x50]
call fcn.004033c0
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1c]
mov bl, 0x4e
push eax
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0040df80
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0x50
call fcn.00481fe0
push eax
lea ecx, [esp + 0x44]
call fcn.0040dc60
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x4f
je 0x45a033
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a033
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x45a059
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a059
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x2d
call fcn.00401b90
push 2
lea ecx, [esp + 0x44]
call fcn.0040dc90
fld dword [eax]
fadd dword [0x4f2588]
push 0x40c00000
push 0x3e4ccccd
sub esp, 0x1c
mov ecx, esp
fstp dword [eax]
mov dword [esp + 0x34], esp
push str._texture_effect_yellow.png
call fcn.004033c0
mov edi, dword [ebp]
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0040dc60
mov ecx, edi
call fcn.00443c70
mov ecx, dword [ebp]
push 0x40200000
push 0x40000000
call fcn.004439b0
push str.treasurybutton
lea ecx, [esp + 0x50]
call fcn.004033c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov bl, 0x51
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [ebp]
mov ecx, eax
mov byte [esp + 0x9c], 0x53
call fcn.004222f0
push eax
mov ecx, edi
call fcn.004439e0
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x52
je 0x45a146
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x45a146
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x45a16e
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x45a16e
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x2d
call fcn.00401b90
push 0x4f59d4
lea ecx, [esp + 0x6c]
call fcn.004033c0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0xa4], 0x54
call fcn.0040fff0
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0x55
call fcn.0040d940
test al, al
je 0x45a1d2
mov edx, dword [esi + 0xc8]
mov bl, byte [edx + 0xb1]
test bl, bl
sete al
test al, al
je 0x45a1d2
mov bl, 1
jmp 0x45a1d4
xor bl, bl
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x54
je 0x45a1fd
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x45a1fd
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x80], 0x10
mov byte [esp + 0x9c], 0x2d
jb 0x45a21c
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ade5d
add esp, 4
test bl, bl
je 0x45a423
push 0x38
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x9c], 0x56
je 0x45a249
push 1
mov ecx, eax
call fcn.00443e90
jmp 0x45a24b
xor eax, eax
lea ebp, [esi + 0x124]
push eax
mov ecx, ebp
mov byte [esp + 0xa0], 0x2d
call fcn.0040e0e0
push 0x4f59d4
lea ecx, [esp + 0x50]
call fcn.004033c0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c]
mov bl, 0x57
push edx
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0040df80
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0x59
call fcn.00481fe0
push eax
lea ecx, [esp + 0x44]
call fcn.0040dc60
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x58
je 0x45a2d7
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a2d7
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x45a2fd
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a2fd
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x2d
call fcn.00401b90
push 2
lea ecx, [esp + 0x44]
call fcn.0040dc90
fld dword [eax]
fadd dword [0x4f2588]
push 0x40c00000
push 0x3e4ccccd
sub esp, 0x1c
mov ecx, esp
fstp dword [eax]
mov dword [esp + 0x34], esp
push str._texture_effect_yellow.png
call fcn.004033c0
mov edi, dword [ebp]
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0040dc60
mov ecx, edi
call fcn.00443c70
mov ecx, dword [ebp]
push 0x40200000
push 0x40000000
call fcn.004439b0
push 0x4f59d4
lea ecx, [esp + 0x50]
call fcn.004033c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov bl, 0x5a
mov ecx, esi
mov byte [esp + 0xa4], bl
call fcn.0040fff0
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.0040df80
mov eax, dword [eax]
mov edi, dword [ebp]
mov ecx, eax
mov byte [esp + 0x9c], 0x5c
call fcn.004222f0
push eax
mov ecx, edi
call fcn.004439e0
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x9c], 0x5b
je 0x45a3ea
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x45a3ea
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], bl
je 0x45a412
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x10], eax
jne 0x45a412
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x2d
call fcn.00401b90
mov ecx, esi
call fcn.004581f0
mov ecx, esi
call fcn.004508c0
cmp dword [esi + 0xc0], 2
jne 0x45a4c0
mov ecx, esi
call fcn.0044f0a0
test al, al
jne 0x45a4c0
push str.uparrow
lea ecx, [esp + 0x50]
call fcn.004033c0
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0xa4], 0x5d
call fcn.0040fff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x5f
call fcn.00401b90
push str._texture_gui_map_arrow.png
lea ecx, [esp + 0x6c]
call fcn.004033c0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
call fcn.0040df80
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov byte [esp + 0xa0], 0x61
call fcn.0042c070
mov byte [esp + 0x9c], 0x60
jmp 0x45a54e
cmp dword [esi + 0xc0], 3
jne 0x45a59d
mov ecx, esi
call fcn.0044f0a0
test al, al
jne 0x45a59d
push str.rightarrow
lea ecx, [esp + 0x50]
call fcn.004033c0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0xa4], 0x62
call fcn.0040fff0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 0x64
call fcn.00401b90
push str._texture_gui_map_arrow.png
lea ecx, [esp + 0x6c]
call fcn.004033c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
call fcn.0040df80
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov byte [esp + 0xa0], 0x66
call fcn.0042c070
mov byte [esp + 0x9c], 0x65
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45a56d
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a56d
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x68]
call fcn.00401b90
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0x9c], 0x2d
je 0x45a59d
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x10], edx
jne 0x45a59d
mov eax, dword [ecx]
push 1
call dword [eax]
xor eax, eax
mov dword [esi + 0x100], eax
mov ecx, dword [esi + 0xd4]
cmp ecx, eax
je 0x45a5ba
mov eax, dword [esi + 0xd8]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0xd4]
mov ebp, dword [esi + 0xd8]
dec eax
cmp edi, ebp
mov dword [esi + 0x104], eax
je 0x45a611
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
push 0x453b30
push 1
mov ecx, eax
call fcn.0040d960
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
push 0x4541a0
push 2
mov ecx, eax
call fcn.0040d960
mov eax, dword [edi]
mov eax, dword [eax + 0x4c]
push 0x44ef70
push 3
mov ecx, eax
call fcn.0040d960
add edi, 4
cmp edi, ebp
jne 0x45a5d1
mov edi, 0xc
mov ecx, esi
call fcn.00453bb0
dec edi
jne 0x45a616
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov byte [esp + 0x9c], 0x26
je 0x45a63b
dec dword [ecx + 4]
jne 0x45a63b
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45a64c
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret