Function at 0x45ca60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5075b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call fcn.00473210
mov eax, dword [ebp + 8]
mov dword [esi], 0x51e2a0
mov dword [esi + 0x40], eax
mov ecx, dword [0x5742b8]
mov edx, dword [0x5742b4]
push ecx
mov dword [ebp - 4], 0
mov bl, 1
push edx
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00478cd0
push 0x34
call fcn.004ee057
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 2
je 0x45cade
push str.Tibia_Classic_Control
call fcn.0044f170
jmp 0x45cae0
xor eax, eax
push 0x34
mov byte [ebp - 4], bl
mov dword [esi + 0x38], eax
call fcn.004ee057
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 3
je 0x45cb09
push str.Auto_Chase_Off
call fcn.0044f170
jmp 0x45cb0b
xor eax, eax
push 0x34
mov byte [ebp - 4], bl
mov dword [esi + 0x3c], eax
call fcn.004ee057
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x45cb34
push str.Show_Hints
call fcn.0044f170
jmp 0x45cb36
xor eax, eax
push 0x34
mov byte [ebp - 4], bl
mov dword [esi + 0x34], eax
call fcn.004ee057
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 5
je 0x45cb5f
push str.Show_Names_of_Creatures
call fcn.0044f170
jmp 0x45cb61
xor eax, eax
push 0x34
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
call fcn.004ee057
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
mov byte [ebp - 4], 6
je 0x45cb8a
push str.Show_Textual_Effects
call fcn.0044f170
jmp 0x45cb8c
xor eax, eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00478f80
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, esi
call fcn.00478f80
mov edx, dword [esi + 0x34]
push edx
mov ecx, esi
call fcn.00478f80
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.00478f80
mov ecx, dword [esi + 0x2c]
push ecx
mov ecx, esi
call fcn.00478f80
mov eax, dword [0x5742bc]
mov ecx, dword [0x5742c0]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x5742c4]
mov dword [edx + 4], ecx
mov ecx, dword [0x5742c8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x38]
push edx
mov ecx, esi
call fcn.0047b710
mov ecx, dword [0x5742cc]
mov edx, dword [0x5742d0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x5742d4]
mov dword [eax + 4], edx
mov edx, dword [0x5742d8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x3c]
push eax
mov ecx, esi
call fcn.0047b710
mov edx, dword [0x5742dc]
mov eax, dword [0x5742e0]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [0x5742e4]
mov dword [ecx + 4], eax
mov eax, dword [0x5742e8]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.0047b710
mov eax, dword [0x5742fc]
mov ecx, dword [0x574300]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x574304]
mov dword [edx + 4], ecx
mov ecx, dword [0x574308]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x30]
push edx
mov ecx, esi
call fcn.0047b710
mov ecx, dword [0x5742ec]
sub esp, 0x10
mov eax, esp
mov edx, dword [0x5742f0]
mov dword [eax], ecx
mov ecx, dword [0x5742f4]
mov dword [eax + 4], edx
mov edx, dword [0x5742f8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x2c]
push eax
mov ecx, esi
call fcn.0047b710
call fcn.004aaa70
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
call fcn.004aaa80
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
call fcn.004aab00
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
call fcn.004aa820
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
test eax, eax
setne al
push eax
call dword [edx + 0xa0]
call fcn.004aa810
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xa0]
mov ecx, esi
call fcn.0047a660
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4