Function at 0x491d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x30], esi
call fcn.004b7550
mov dword [ebp - 4], 0
mov dword [esi], 0x5c1c78
mov bl, 1
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
mov dword [esi + 0x3c], eax
mov ecx, dword [0x64be30]
push ecx
mov edx, dword [0x64be2c]
push edx
mov ecx, esi
call fcn.004c09e0
push 0x3c
call fcn.005719e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x491dc3
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.004b76c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push str.Tibia_Classic_Control
mov ecx, edi
call fcn.0047cff0
jmp 0x491dc5
xor eax, eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x34], eax
push 0x3c
call fcn.005719e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x491e06
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.004b76c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push str.Auto_Chase_Off
mov ecx, edi
call fcn.0047cff0
jmp 0x491e08
xor eax, eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x38], eax
push 0x3c
call fcn.005719e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x491e49
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.004b76c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push str.Show_Names_of_Creatures
mov ecx, edi
call fcn.0047cff0
jmp 0x491e4b
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x30], eax
push 0x3c
call fcn.005719e2
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x491e8c
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.004b76c0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push str.Show_Textual_Effects
mov ecx, edi
call fcn.0047cff0
jmp 0x491e8e
xor eax, eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], bl
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x34]
push eax
mov ecx, esi
call fcn.004c0c60
mov ecx, dword [esi + 0x38]
push ecx
mov ecx, esi
call fcn.004c0c60
mov edx, dword [esi + 0x30]
push edx
mov ecx, esi
call fcn.004c0c60
mov eax, dword [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004c0c60
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64be34]
mov dword [ecx], edx
mov eax, dword [0x64be38]
mov dword [ecx + 4], eax
mov edx, dword [0x64be3c]
mov dword [ecx + 8], edx
mov eax, dword [0x64be40]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x34]
push ecx
mov ecx, esi
call fcn.004c4110
sub esp, 0x10
mov edx, esp
mov eax, dword [0x64be44]
mov dword [edx], eax
mov ecx, dword [0x64be48]
mov dword [edx + 4], ecx
mov eax, dword [0x64be4c]
mov dword [edx + 8], eax
mov ecx, dword [0x64be50]
mov dword [edx + 0xc], ecx
mov edx, dword [esi + 0x38]
push edx
mov ecx, esi
call fcn.004c4110
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x64be64]
mov dword [eax], ecx
mov edx, dword [0x64be68]
mov dword [eax + 4], edx
mov ecx, dword [0x64be6c]
mov dword [eax + 8], ecx
mov edx, dword [0x64be70]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x30]
push eax
mov ecx, esi
call fcn.004c4110
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x64be54]
mov dword [ecx], edx
mov eax, dword [0x64be58]
mov dword [ecx + 4], eax
mov edx, dword [0x64be5c]
mov dword [ecx + 8], edx
mov eax, dword [0x64be60]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x2c]
push ecx
mov ecx, esi
call fcn.004c4110
mov edx, dword [esi + 0x34]
mov edi, dword [edx]
call fcn.0050cb00
push eax
mov ecx, dword [esi + 0x34]
call dword [edi + 0xa0]
mov eax, dword [esi + 0x38]
mov edi, dword [eax]
call fcn.0050cb10
push eax
mov ecx, dword [esi + 0x38]
call dword [edi + 0xa0]
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx]
call fcn.0050c890
test eax, eax
setne dl
push edx
mov ecx, dword [esi + 0x30]
call dword [edi + 0xa0]
mov eax, dword [esi + 0x2c]
mov edi, dword [eax]
call fcn.0050c880
push eax
mov ecx, dword [esi + 0x2c]
call dword [edi + 0xa0]
mov ecx, esi
call fcn.004c27b0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4