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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18c
mov bl, byte [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.004f7cce
test eax, eax
je 0x4ff997
test bl, bl
jne 0x4fba8a
mov dword [esp + 8], 0x4a
mov dword [esp + 4], str._Warning___Monsters::loadMonster__Duplicate_registered_monster_with_name:
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp], eax
call fcn.0075c288
mov bl, 1
jmp 0x4ff98d
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.004f7cce
test eax, eax
je 0x4fbacd
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004f787e
mov dword [ebp - 0x13c], eax
test eax, eax
je 0x4fbacd
mov dword [esp], eax
call fcn.004faaca
mov byte [ebp - 0x14d], 0
jmp 0x4fbcb8
mov dword [esp], 0xe8
call fcn.0076790c
mov ebx, eax
mov dword [ebp - 0x13c], eax
mov dword [eax], vtable.esult.0
mov byte [eax + 0x18], 0
mov word [eax + 0x12], 0
mov word [eax + 0x10], 0
mov byte [eax + 0x17], 0
mov byte [eax + 0x16], 0
mov byte [eax + 0x15], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x90], 0x7bf7b0
mov dword [eax + 0x94], 0x7bf7b0
lea eax, [eax + 0x98]
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x9c], eax
lea eax, [ebx + 0xa0]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xb0], 0
lea eax, [ebx + 0xac]
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], eax
lea eax, [ebx + 0xc0]
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], eax
lea eax, [ebx + 0xc8]
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xd8], 0
mov dword [ebx + 0xdc], 0
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [esp], ebx
call fcn.004faaca
jmp 0x4fbcb1
mov byte [ebp - 0x14d], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp], eax
call sub.libxml2.dll_xmlParseFile
mov dword [ebp - 0x148], eax
test eax, eax
jne 0x4fbe13
mov dword [esp + 8], 0x37
mov dword [esp + 4], str._Warning___Monsters::loadMonster__Cannot_load_monster__
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 8
mov dword [esp + 4], str.__file__
mov dword [esp], eax
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x7df955
mov dword [esp], eax
call fcn.00757358
mov dword [esp], ebx
call fcn.0075c288
lea eax, [ebp - 0x100]
mov dword [esp], eax
call fcn.0058eaa9
sub esp, 4
mov eax, dword [ebp - 0x100]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp], eax
call fcn.0075c288
mov ebx, dword [ebp - 0x100]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4ff98b
jmp 0x4fbdc4
cmp dword [0x8e6f60], 0
je 0x4fbde4
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov esi, eax
jmp 0x4fbded
mov esi, dword [ebx + 8]
lea eax, [esi - 1]
mov dword [ebx + 8], eax
test esi, esi
jg 0x4ff98b
lea eax, [ebp - 0x2e]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
mov bl, 0
jmp 0x4ff98d
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sub.libxml2.dll_xmlDocGetRootElement
mov esi, eax
mov dword [esp + 4], 0x7df512
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
je 0x4fbedf
mov dword [esp + 8], 0x33
mov dword [esp + 4], str._Error___Monsters::loadMonster__Malformed_monster__
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 8
mov dword [esp + 4], str.__file__
mov dword [esp], eax
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x7df955
mov dword [esp], eax
call fcn.00757358
mov dword [esp], ebx
call fcn.0075c288
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sub.libxml2.dll_xmlFreeDoc
mov bl, 0
jmp 0x4ff98d
mov dword [ebp - 0x108], 0x7bf7b0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3de
mov dword [esp], esi
call fcn.0058c488
test al, al
jne 0x4fbf10
mov byte [ebp - 0x141], 0
jmp 0x4fbf34
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
add eax, 0x90
mov dword [esp], eax
call fcn.00703510
mov byte [ebp - 0x141], 1
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df98c
mov dword [esp], esi
call fcn.0058c488
test al, al
je 0x4fbf74
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x13c]
add eax, 0x94
mov dword [esp], eax
call fcn.00703510
jmp 0x4fc03c
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 0x13c]
add eax, 0x90
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df99c
mov dword [esp], edx
call fcn.007618d0
sub esp, 4
mov ebx, dword [ebp - 0x13c]
add ebx, 0x94
lea eax, [ebp - 0xfc]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00703510
mov edi, dword [ebp - 0xfc]
sub edi, 0xc
cmp edi, 0x7bf7a4
je 0x4fc034
cmp dword [0x8e6f60], 0
je 0x4fbfef
mov dword [esp + 4], 0xffffffff
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x140], eax
jmp 0x4fbffe
mov edx, dword [edi + 8]
mov dword [ebp - 0x140], edx
mov eax, edx
dec eax
mov dword [edi + 8], eax
cmp dword [ebp - 0x140], 0
jg 0x4fc034
lea eax, [ebp - 0x2d]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00702c78
jmp 0x4fc034
mov dword [esp], ebx
call fcn.0058b075
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], str.race
mov dword [esp], esi
call fcn.0058c488
test al, al
je 0x4fc21b
lea edx, [ebp - 0x134]
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0058b1f5
sub esp, 4
mov dword [esp + 4], str.venom
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.006dc90c
test eax, eax
je 0x4fc0aa
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 1
jne 0x4ff9a4
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x1c], 1
jmp 0x4fc1c5
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 2
jne 0x4ff9c7
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x1c], 2
jmp 0x4fc1c5
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 3
jne 0x4ff9ea
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x1c], 3
jmp 0x4fc1c5
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 4
jne 0x4ffa0d
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x1c], 4
jmp 0x4fc1c5
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 5
jne 0x4ffa30
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x1c], 5
jmp 0x4fc1c5
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
jmp 0x4fc1c5
mov ebx, dword [ebp - 0x134]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4fc21b
cmp dword [0x8e6f60], 0
je 0x4fc1f6
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4fc1ff
mov edi, dword [ebx + 8]
lea eax, [edi - 1]
mov dword [ebx + 8], eax
test edi, edi
jg 0x4fc21b
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
jmp 0x4fc21b
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df9c3
mov dword [esp], esi
call fcn.0058a732
test al, al
je 0x4fc256
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x88], ebx
mov edx, ebx
sar edx, 0x1f
mov dword [eax + 0x8c], edx
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e3
mov dword [esp], esi
call fcn.0058a732
test al, al
je 0x4fc283
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x40], ebx
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.manacost
mov dword [esp], esi
call fcn.0058a732
test al, al
je 0x4fc2b3
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x80], ebx
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df9d7
mov dword [esp], esi
call fcn.0058c488
test al, al
je 0x4fc36f
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.0058b5fa
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x20], eax
mov ebx, dword [ebp - 0xf8]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4fc36f
cmp dword [0x8e6f60], 0
je 0x4fc335
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4fc33e
mov edi, dword [ebx + 8]
lea eax, [edi - 1]
mov dword [ebx + 8], eax
test edi, edi
jg 0x4fc36f
lea eax, [ebp - 0x2b]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
jmp 0x4fc36f
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df55b
mov dword [esp], esi
call fcn.0058c488
test al, al
je 0x4fc42b
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0058b31f
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x24], eax
mov ebx, dword [ebp - 0xf4]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4fc42b
cmp dword [0x8e6f60], 0
je 0x4fc3f1
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4fc3fa
mov edi, dword [ebx + 8]
lea eax, [edi - 1]
mov dword [ebx + 8], eax
test edi, edi
jg 0x4fc42b
lea eax, [ebp - 0x2a]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
jmp 0x4fc42b
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df9dd
mov dword [esp], esi
call fcn.0058c488
test al, al
je 0x4fc4e7
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.0058b238
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x28], eax
mov ebx, dword [ebp - 0xf0]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4fc4e7
cmp dword [0x8e6f60], 0
je 0x4fc4ad
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4fc4b6
mov edi, dword [ebx + 8]
lea eax, [edi - 1]
mov dword [ebx + 8], eax
test edi, edi
jg 0x4fc4e7
lea eax, [ebp - 0x29]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
jmp 0x4fc4e7
mov esi, dword [esi + 0xc]
mov dword [ebp - 0x140], esi
mov eax, dword [ebp - 0x13c]
add eax, 0xc0
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x13c]
add edx, 0xc8
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x13c]
add eax, 0xd0
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x13c]
add edx, 0xa0
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x13c]
add eax, 0xa8
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x13c]
add edx, 0x98
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x13c]
add eax, 0xdc
mov dword [ebp - 0x164], eax
lea edx, [ebp - 0x134]
mov dword [ebp - 0x17c], edx
jmp 0x4ff76d
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x140], eax
jmp 0x4ff76d
mov dword [esp + 4], 0x7df9e4
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fc757
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df9eb
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fc5e8
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x38], ebx
jmp 0x4fc681
mov dword [esp + 8], 0x20
mov dword [esp + 4], str._Error___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 0x12
mov dword [esp + 4], str.Missing_health.now
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 3
mov dword [esp + 4], 0x7df9bd
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.00757358
mov dword [esp], ebx
call fcn.0075c288
mov byte [ebp - 0x141], 0
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df403
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fc6b9
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x3c], ebx
jmp 0x4ff75e
mov dword [esp + 8], 0x20
mov dword [esp + 4], str._Error___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 0x12
mov dword [esp + 4], str.Missing_health.max
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 3
mov dword [esp + 4], 0x7df9bd
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov ebx, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.00757358
mov dword [esp], ebx
call fcn.0075c288
mov byte [ebp - 0x141], 0
jmp 0x4ff75e
mov dword [esp + 4], str.flags
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fd5fa
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4fd5d7
lea edi, [ebp - 0xb8]
mov dword [esp + 4], str.flag
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fd5cc
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.summonable
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fc873
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 4], al
mov esi, dword [ebp - 0xec]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fc873
cmp dword [0x8e6f60], 0
je 0x4fc830
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fc83d
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fc873
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fc873
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfa4d
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fc93c
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 7], al
mov esi, dword [ebp - 0xe8]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fc93c
cmp dword [0x8e6f60], 0
je 0x4fc8f9
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fc906
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fc93c
lea eax, [ebp - 0x27]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fc93c
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.hostile
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fca05
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 8], al
mov esi, dword [ebp - 0xe4]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fca05
cmp dword [0x8e6f60], 0
je 0x4fc9c2
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fc9cf
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fca05
lea eax, [ebp - 0x26]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fca05
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.illusionable
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcace
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 5], al
mov esi, dword [ebp - 0xe0]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcace
cmp dword [0x8e6f60], 0
je 0x4fca8b
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fca98
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcace
lea eax, [ebp - 0x25]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcace
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.convinceable
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcb97
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 6], al
mov esi, dword [ebp - 0xdc]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcb97
cmp dword [0x8e6f60], 0
je 0x4fcb54
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fcb61
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcb97
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcb97
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.pushable
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcc60
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xd8]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xd], al
mov esi, dword [ebp - 0xd8]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcc60
cmp dword [0x8e6f60], 0
je 0x4fcc1d
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fcc2a
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcc60
lea eax, [ebp - 0x23]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcc60
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.canpushitems
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcd29
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xd4]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xb], al
mov esi, dword [ebp - 0xd4]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcd29
cmp dword [0x8e6f60], 0
je 0x4fcce6
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fccf3
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcd29
lea eax, [ebp - 0x22]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcd29
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.canpushcreatures
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcdf2
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xc], al
mov esi, dword [ebp - 0xd0]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcdf2
cmp dword [0x8e6f60], 0
je 0x4fcdaf
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fcdbc
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcdf2
lea eax, [ebp - 0x21]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcdf2
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfaa1
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcebb
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xcc]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xe], al
mov esi, dword [ebp - 0xcc]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcebb
cmp dword [0x8e6f60], 0
je 0x4fce78
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fce85
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcebb
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcebb
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfaaa
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fcf84
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xf], al
mov esi, dword [ebp - 0xc8]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fcf84
cmp dword [0x8e6f60], 0
je 0x4fcf41
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fcf4e
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fcf84
lea eax, [ebp - 0x1f]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fcf84
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.lootmessage
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fcfb1
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x2c], esi
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.staticattack
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fd08b
cmp dword [ebp - 0x104], 0x64
jbe 0x4fd07c
mov dword [esp + 8], 0x22
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 0x2d
mov dword [esp + 4], str.staticattack_lower_than_0_or_greater_than_100
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 3
mov dword [esp + 4], 0x7df9bd
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov esi, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.00757358
mov dword [esp], esi
call fcn.0075c288
mov dword [ebp - 0x104], 0
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x7c], esi
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.lightlevel
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fd0b8
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x64], esi
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.lightcolor
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fd0e5
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x68], esi
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.targetdistance
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fd1be
cmp dword [ebp - 0x104], 0xb
jle 0x4fd1a6
mov dword [esp + 8], 0x22
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 0x28
mov dword [esp + 4], str.targetdistance_greater_than_maxViewportX
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 3
mov dword [esp + 4], 0x7df9bd
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov esi, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.00757358
mov dword [esp], esi
call fcn.0075c288
mov eax, dword [ebp - 0x104]
test eax, eax
jg 0x4fd1b5
mov eax, 1
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x54], eax
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.runonhealth
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fd1eb
mov esi, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x58], esi
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lureable
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fd2b4
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 9], al
mov esi, dword [ebp - 0xc4]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fd2b4
cmp dword [0x8e6f60], 0
je 0x4fd271
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fd27e
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fd2b4
lea eax, [ebp - 0x1e]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fd2b4
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfb86
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fd37d
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call fcn.0058b785
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0xa], al
mov esi, dword [ebp - 0xc0]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fd37d
cmp dword [0x8e6f60], 0
je 0x4fd33a
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fd347
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fd37d
lea eax, [ebp - 0x1d]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fd37d
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df9d7
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fd446
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0xbc]
mov dword [esp], eax
call fcn.0058b5fa
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x20], eax
mov esi, dword [ebp - 0xbc]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fd446
cmp dword [0x8e6f60], 0
je 0x4fd403
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fd410
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fd446
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fd446
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df55b
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fd503
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00704290
mov dword [esp], edi
call fcn.0058b31f
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x24], eax
mov esi, dword [ebp - 0xb8]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fd503
cmp dword [0x8e6f60], 0
je 0x4fd4c0
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fd4cd
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fd503
lea eax, [ebp - 0x1b]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fd503
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df9dd
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fd5cc
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xb4]
mov dword [esp], edx
call fcn.00704290
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.0058b238
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x28], eax
mov esi, dword [ebp - 0xb4]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4fd5cc
cmp dword [0x8e6f60], 0
je 0x4fd589
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x14c], eax
jmp 0x4fd596
mov eax, dword [esi + 8]
mov dword [ebp - 0x14c], eax
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x14c], 0
jg 0x4fd5cc
lea edx, [ebp - 0x1a]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00702c78
jmp 0x4fd5cc
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fc78f
mov eax, dword [ebp - 0x13c]
cmp byte [eax + 0xc], 0
je 0x4ff75e
cmp byte [eax + 0xd], 0
je 0x4ff75e
mov byte [eax + 0xd], 0
jmp 0x4ff75e
mov dword [esp + 4], str.targetchange
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fd760
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e3
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
jne 0x4fd667
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e9
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4ffa59
mov eax, dword [ebp - 0x104]
test eax, eax
jg 0x4fd676
mov eax, 1
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x6c], eax
jmp 0x4fd6c0
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3f2
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd6f8
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x70], ebx
jmp 0x4ff75e
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_targetchange.chance
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
jmp 0x4ff75e
mov dword [esp + 4], str.strategy
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fd7c2
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df446
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dfbdc
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
jmp 0x4ff75e
mov dword [esp + 4], 0x7dfbe4
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fdaa6
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df4e6
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd923
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov word [eax + 0x10], bx
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df4eb
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
je 0x4fd84e
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0x14], bl
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df4f0
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd881
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov byte [eax + 0x15], bl
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df4f5
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
je 0x4fd8b4
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0x16], bl
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df4fa
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd8e7
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov byte [eax + 0x17], bl
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df4ff
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
je 0x4fd9bc
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov byte [edx + 0x18], bl
jmp 0x4fd9bc
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df506
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd959
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov word [eax + 0x12], bx
jmp 0x4fd9bc
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_look_type_typeex
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.corpse
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fd9ef
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x44], ebx
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.corpseUniqueId
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
jne 0x4fda37
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.corpseUid
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
je 0x4fda46
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x48], ebx
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.corpseActionId
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
jne 0x4fda92
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.corpseAid
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4ff75e
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x4c], ebx
jmp 0x4ff75e
mov dword [esp + 4], str.attacks
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fdbff
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4ff75e
mov dword [esp + 4], 0x7df446
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fdbef
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
lea eax, [ebp - 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.004f80ce
test al, al
je 0x4fdb5d
mov dword [esp], 0x24
call fcn.0076790c
mov dword [ebp - 0x14c], eax
cmp eax, 0xfffffff8
je 0x4fdb40
mov edi, eax
add edi, 8
mov esi, dword [ebp - 0x17c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x14c]
mov dword [esp], edx
call fcn.00716f88
jmp 0x4fdbef
mov dword [esp + 8], 0x22
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 0xf
mov dword [esp + 4], str.Cant_load_spell
mov dword [esp], 0x7bfa20
call fcn.00757358
mov dword [esp + 8], 3
mov dword [esp + 4], 0x7df9bd
mov dword [esp], 0x7bfa20
call fcn.00757358
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x7bfa20
call fcn.00757358
mov esi, eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.00757358
mov dword [esp], esi
call fcn.0075c288
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fdad8
jmp 0x4ff75e
mov dword [esp + 4], str.defenses
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fdd8c
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dfbdc
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4fdc53
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x30], ebx
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfc5c
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call fcn.0058a732
test al, al
je 0x4fdc86
mov ebx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x13c]
mov dword [edx + 0x34], ebx
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4ff75e
mov dword [esp + 4], 0x7dfbdc
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fdd7c
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
lea eax, [ebp - 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.004f80ce
test al, al
je 0x4fdd19
mov dword [esp], 0x24
call fcn.0076790c
mov dword [ebp - 0x14c], eax
cmp eax, 0xfffffff8
je 0x4fdcff
mov edi, eax
add edi, 8
mov esi, dword [ebp - 0x17c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x14c]
mov dword [esp], edx
call fcn.00716f88
jmp 0x4fdd7c
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Cant_load_spell
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fdc97
jmp 0x4ff75e
mov dword [esp + 4], str.immunities
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fea96
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4ff75e
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x88]
mov dword [esp + 4], str.immunity
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fea86
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df3de
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe141
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0x134]
mov dword [esp], edx
call fcn.0058b1f5
sub esp, 4
mov dword [esp + 4], 0x7df453
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fde4f
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 1
or dword [edx + 0x5c], 8
jmp 0x4fe12e
mov dword [esp + 4], 0x7df461
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fde7c
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 2
or dword [edx + 0x5c], 4
jmp 0x4fe12e
mov dword [esp + 4], 0x7df45c
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdea9
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 8
or dword [edx + 0x5c], 2
jmp 0x4fe12e
mov dword [esp + 4], 0x7df488
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fdee1
mov dword [esp + 4], 0x7df468
lea edx, [ebp - 0x134]
mov dword [esp], edx
call fcn.00760f54
test al, al
je 0x4ffa82
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x60], 4
or dword [eax + 0x5c], 1
jmp 0x4fe12e
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x200
or dword [edx + 0x5c], 0x40000
jmp 0x4fe12e
mov dword [esp + 4], 0x7df494
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdf40
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x400
or dword [edx + 0x5c], 0x80000
jmp 0x4fe12e
mov dword [esp + 4], 0x7df499
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdf73
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x800
or dword [edx + 0x5c], 0x100000
jmp 0x4fe12e
mov dword [esp + 4], 0x7df482
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdfa6
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x100
or dword [edx + 0x5c], 0x8000
jmp 0x4fe12e
mov dword [esp + 4], 0x7df49f
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdfcf
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x20
jmp 0x4fe12e
mov dword [esp + 4], 0x7df4a9
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fdff8
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x40
jmp 0x4fe12e
mov dword [esp + 4], 0x7dfc76
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fe021
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x20
jmp 0x4fe12e
mov dword [esp + 4], 0x7df4df
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fe04a
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x40
jmp 0x4fe12e
mov dword [esp + 4], 0x7df524
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fe076
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x800
jmp 0x4fe12e
mov dword [esp + 4], 0x7df51a
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
je 0x4fe0a2
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x80
jmp 0x4fe12e
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Unknown_immunity_name
mov dword [esp], eax
call fcn.0076107c
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
jmp 0x4fe12e
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df453
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe1ea
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0xb0]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe1d2
cmp byte [ebp - 0x14c], 0
je 0x4fe1ea
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 1
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df461
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe297
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe27b
cmp byte [ebp - 0x14c], 0
je 0x4fe297
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x60], 2
or dword [eax + 0x5c], 4
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df45c
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe344
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe328
cmp byte [ebp - 0x14c], 0
je 0x4fe344
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 8
or dword [edx + 0x5c], 2
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df488
mov dword [esp], ebx
call fcn.0058c488
test al, al
jne 0x4fe38b
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df468
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe40f
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe3f3
cmp byte [ebp - 0x14c], 0
je 0x4fe40f
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 4
or dword [edx + 0x5c], 1
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df482
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe4c2
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe4a0
cmp byte [ebp - 0x14c], 0
je 0x4fe4c2
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x60], 0x100
or dword [eax + 0x5c], 0x8000
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df7ec
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe575
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x9c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe553
cmp byte [ebp - 0x14c], 0
je 0x4fe575
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x200
or dword [edx + 0x5c], 0x40000
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df494
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe628
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe606
cmp byte [ebp - 0x14c], 0
je 0x4fe628
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x60], 0x400
or dword [eax + 0x5c], 0x80000
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df499
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe6db
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe6b9
cmp byte [ebp - 0x14c], 0
je 0x4fe6db
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x800
or dword [edx + 0x5c], 0x100000
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df49f
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe784
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe76c
cmp byte [ebp - 0x14c], 0
je 0x4fe784
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x60], 0x20
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df4a9
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe82d
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe815
cmp byte [ebp - 0x14c], 0
je 0x4fe82d
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x60], 0x20
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dfc76
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe8c0
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.00704290
mov byte [ebp - 0x14c], 1
mov dword [esp], esi
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
mov dword [esp], esi
call fcn.0070479c
jmp 0x4fe8a8
cmp byte [ebp - 0x14c], 0
je 0x4fe8c0
mov eax, dword [ebp - 0x13c]
or dword [eax + 0x5c], 0x20
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df4df
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe953
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00704290
mov byte [ebp - 0x14c], 1
mov dword [esp], edi
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
mov dword [esp], edi
call fcn.0070479c
jmp 0x4fe93b
cmp byte [ebp - 0x14c], 0
je 0x4fe953
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x40
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df524
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fe9ef
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea edx, [ebp - 0x80]
mov dword [esp], edx
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fe9d4
cmp byte [ebp - 0x14c], 0
je 0x4fe9ef
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x800
jmp 0x4fea86
mov byte [ebp - 0x14c], 0
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df51a
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fea86
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00704290
mov byte [ebp - 0x14c], 1
lea edx, [ebp - 0x7c]
mov dword [esp], edx
call fcn.0058b785
test al, al
setne byte [ebp - 0x14c]
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4fea70
cmp byte [ebp - 0x14c], 0
je 0x4fea86
mov edx, dword [ebp - 0x13c]
or dword [edx + 0x5c], 0x80
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fddca
jmp 0x4ff75e
mov dword [esp + 4], 0x7dfc96
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fedbc
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e3
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
jne 0x4feb03
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e9
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4ffaa5
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x78], ebx
jmp 0x4feb53
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3f2
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4feb88
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x74], ebx
jmp 0x4febeb
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_voices.chance
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x4ff75e
lea esi, [ebp - 0x130]
lea edi, [ebp - 0x78]
mov dword [esp + 4], 0x7dfcc8
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fedac
mov dword [ebp - 0x130], 0x7bf7b0
mov dword [esp + 4], 0x7dfcce
mov dword [esp], esi
call fcn.007033f8
mov byte [ebp - 0x134], 0
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], str.sentence
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fec73
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00703510
jmp 0x4fecd6
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_voice.sentence
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dfcef
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4fed2d
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00704290
mov dword [esp], edi
call fcn.0058b785
mov byte [ebp - 0x134], al
mov dword [esp], edi
call fcn.0070479c
jmp 0x4fed2d
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0xd4]
cmp eax, dword [edx + 0xd8]
je 0x4fed71
test eax, eax
je 0x4fed62
mov dl, byte [ebp - 0x134]
mov byte [eax], dl
mov dword [esp + 4], esi
add eax, 4
mov dword [esp], eax
call fcn.00704290
jmp 0x4fed62
mov eax, dword [ebp - 0x13c]
add dword [eax + 0xd4], 8
jmp 0x4feda4
lea edx, [ebp - 0x134]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x16c]
mov dword [esp], eax
call fcn.0072e5f4
jmp 0x4feda4
mov dword [esp], esi
call fcn.0070479c
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fec05
jmp 0x4ff75e
mov dword [esp + 4], str.loot
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4fef33
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
lea esi, [ebp - 0x110]
jmp 0x4fef26
cmp dword [ebx + 4], 1
je 0x4fedff
mov ebx, dword [ebx + 0x18]
jmp 0x4fef26
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x114], 0x7bf7b0
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], 0
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x124], 0xffffffff
lea edx, [ebp - 0x134]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004fb3b2
test al, al
je 0x4fee9b
lea edx, [ebp - 0x134]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x168]
mov dword [esp], eax
call fcn.00724118
jmp 0x4feefe
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Cant_load_loot
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov ebx, dword [ebx + 0x18]
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.006b090c
jmp 0x4fef26
test ebx, ebx
jne 0x4fedf1
jmp 0x4ff75e
mov dword [esp + 4], str.elements
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff2dd
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
lea edi, [ebp - 0x4c]
lea esi, [ebp - 0x50]
jmp 0x4ff2d0
mov dword [esp + 4], str.element
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff2cd
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.firePercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fefca
mov dword [ebp - 0x74], 8
lea eax, [ebp - 0x74]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.energyPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff011
mov dword [ebp - 0x70], 2
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.icePercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff058
mov dword [ebp - 0x6c], 0x200
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.poisonPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
jne 0x4ff098
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.earthPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4fface
mov dword [ebp - 0x68], 4
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
mov dword [ebp - 0x64], 0x400
lea eax, [ebp - 0x64]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.deathPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff131
mov dword [ebp - 0x60], 0x800
lea eax, [ebp - 0x60]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.drownPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff178
mov dword [ebp - 0x5c], 0x100
lea eax, [ebp - 0x5c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.physicalPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff1bf
mov dword [ebp - 0x58], 1
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lifeDrainPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff206
mov dword [ebp - 0x54], 0x20
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.manaDrainPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff24a
mov dword [ebp - 0x50], 0x40
mov dword [esp + 4], esi
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.healingPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff28b
mov dword [ebp - 0x4c], pe_nt_image_headers32
mov dword [esp + 4], edi
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
jmp 0x4ff2cd
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.undefinedPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff2cd
mov dword [ebp - 0x48], 0x10
lea edx, [ebp - 0x48]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call fcn.0072253c
mov edx, dword [ebp - 0x104]
mov dword [eax], edx
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4fef68
jmp 0x4ff75e
mov dword [esp + 4], str.summons
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff5ab
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], str.maxSummons
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
jne 0x4ff346
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df403
mov edx, dword [ebp - 0x140]
mov dword [esp], edx
call fcn.0058a732
test al, al
je 0x4ff355
mov ebx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x13c]
mov dword [eax + 0x50], ebx
mov edx, dword [ebp - 0x140]
mov ebx, dword [edx + 0xc]
jmp 0x4ff59e
mov dword [esp + 4], str.summon
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff59b
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3e3
mov dword [esp], ebx
call fcn.0058a732
test al, al
jne 0x4ff3bf
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df3e9
mov dword [esp], ebx
call fcn.0058a732
mov esi, 0x3e8
test al, al
je 0x4ff3c5
mov esi, dword [ebp - 0x104]
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3f2
mov dword [esp], ebx
call fcn.0058a732
mov edi, 0x64
test al, al
je 0x4ff3ee
mov edi, dword [ebp - 0x104]
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7dfddf
mov dword [esp], ebx
call fcn.0058a732
test al, al
jne 0x4ff434
lea eax, [ebp - 0x104]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df403
mov dword [esp], ebx
call fcn.0058a732
mov dword [ebp - 0x14c], 1
test al, al
je 0x4ff440
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x14c], edx
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7df3de
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4ff538
mov dword [ebp - 0x134], 0x7bf7b0
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00703510
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x130], edi
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x128], edx
mov dword [esp], 0x18
call fcn.0076790c
mov edi, eax
cmp eax, 0xfffffff8
je 0x4ff4f6
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.00704290
mov eax, dword [ebp - 0x130]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x128]
mov dword [edi + 0x14], eax
jmp 0x4ff4f6
mov edx, dword [ebp - 0x160]
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.00716f88
jmp 0x4ff528
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4ff59b
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_summon.name
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4ff363
jmp 0x4ff75e
mov dword [esp + 4], 0x7df3d7
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff6e6
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 0xc]
jmp 0x4ff6dc
mov dword [esp + 4], 0x7dfdfa
mov eax, dword [ebx + 8]
mov dword [esp], eax
call sub.libxml2.dll_xmlStrcmp
test eax, eax
jne 0x4ff6d9
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7df3de
mov dword [esp], ebx
call fcn.0058c488
test al, al
je 0x4ff676
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0xe0]
cmp eax, dword [edx + 0xe4]
je 0x4ff658
test eax, eax
je 0x4ff646
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00704290
jmp 0x4ff646
mov eax, dword [ebp - 0x13c]
add dword [eax + 0xe0], 4
jmp 0x4ff6d9
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
call fcn.007387a8
jmp 0x4ff6d9
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_name_for_script_event
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov ebx, dword [ebx + 0x18]
test ebx, ebx
jne 0x4ff5da
jmp 0x4ff75e
mov eax, dword [ebp - 0x140]
mov ebx, dword [eax + 8]
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Unknown_attribute_type__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 0x7df9bd
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.007612c8
mov dword [esp + 4], 0x7df9c1
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], fcn.0075c288
mov dword [esp], eax
call fcn.0070253c
mov eax, dword [ebp - 0x140]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x4ffaf5
cmp byte [ebp - 0x141], 0
je 0x4ffaf5
mov edx, dword [ebp - 0x140]
cmp dword [edx + 4], 1
jne 0x4fc57b
jmp 0x4fc58f
cmp byte [ebp - 0x141], 0
je 0x4ff8f4
cmp byte [ebp - 0x14d], 0
jne 0x4ff7b9
mov bl, 1
jmp 0x4ff934
inc dword [0x8dfb20]
lea eax, [ebp - 0x44]
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0058b1f5
sub esp, 4
mov esi, dword [ebp + 8]
add esi, 8
mov edi, dword [ebp + 8]
add edi, 0xc
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00743a14
mov ebx, eax
cmp edi, eax
je 0x4ff819
lea eax, [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.006dc960
test eax, eax
jns 0x4ff863
lea eax, [ebp - 0x44]
mov dword [esp + 4], eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.00704290
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.00743bd4
mov ebx, eax
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4ff863
mov esi, dword [0x8dfb20]
mov dword [ebx + 0x14], esi
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4ff88b
mov ebx, dword [ebp + 8]
add ebx, 0x20
mov esi, dword [ebp + 8]
add esi, 0x24
mov dword [esp + 0xc], 0x8dfb20
mov dword [esp + 8], esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007486d8
cmp esi, eax
je 0x4ff8c4
mov esi, dword [0x8dfb20]
cmp esi, dword [eax + 0x10]
jae 0x4ff8e7
mov esi, dword [0x8dfb20]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007487bc
mov edx, dword [ebp - 0x13c]
mov dword [eax + 0x14], edx
mov bl, 1
jmp 0x4ff934
cmp byte [ebp - 0x14d], 0
je 0x4ff932
cmp dword [ebp - 0x13c], 0
je 0x4ff932
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 4]
jmp 0x4ff92e
mov bl, 0
jmp 0x4ff934
mov bl, 0
mov esi, dword [ebp - 0x108]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x4ff98d
cmp dword [0x8e6f60], 0
je 0x4ff965
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4ff96e
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x4ff98d
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x4ff98d
mov bl, 0
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
test bl, bl
je 0x4fbacd
jmp 0x4fba8a
mov dword [esp + 4], 0x7dfe38
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fc0d3
jmp 0x4fc0bc
mov dword [esp + 4], str.undead
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fc0fc
jmp 0x4fc0e5
mov dword [esp + 4], 0x7df45c
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fc125
jmp 0x4fc10e
mov dword [esp + 4], 0x7df461
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fc14e
jmp 0x4fc137
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Unknown_race_type
mov dword [esp], eax
call fcn.0076107c
jmp 0x4fc15d
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_targetchange.speed
mov dword [esp], eax
call fcn.0076107c
jmp 0x4fd681
mov dword [esp + 4], 0x7df7ec
lea eax, [ebp - 0x134]
mov dword [esp], eax
call fcn.00760f54
test al, al
jne 0x4fdef4
jmp 0x4fdf0d
mov dword [esp + 4], str._Warning___Monsters::loadMonster_
mov dword [esp], 0x7bfa20
call fcn.0076107c
mov dword [esp + 4], str.Missing_voices.speed
mov dword [esp], eax
call fcn.0076107c
jmp 0x4feb14
lea edx, [ebp - 0x104]
mov dword [esp + 8], edx
mov dword [esp + 4], str.holyPercent
mov dword [esp], ebx
call fcn.0058a732
test al, al
je 0x4ff0ea
jmp 0x4ff0c1
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
call sub.libxml2.dll_xmlFreeDoc
jmp 0x4ff79c