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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x19], al
mov dword [ebp - 0xb0], 0x527d48
mov dword [ebp - 0xac], 0x5f0f56
lea eax, [ebp - 0xa8]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x4bad59
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.005341e8
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x19], 0
je 0x4b9518
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 0xffffffff
call fcn.004bb3d6
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4b9518
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004bb372
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b9518
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004b5ece
cmp byte [ebp - 0x21], 0
je 0x4b959b
mov dword [esp], 0xc0
mov dword [ebp - 0xc4], 0xffffffff
call fcn.0052a9a8
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [esp], ecx
mov dword [ebp - 0xc4], 6
call fcn.004b5b2a
jmp 0x4b9592
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x1a], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov dword [ebp - 0xc4], 0xffffffff
call fcn.00570f88
mov dword [esp], eax
call sub.libxml2_2.dll_xmlParseFile
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4bae88
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.libxml2_2.dll_xmlDocGetRootElement
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x5fdc5f
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
je 0x4b9624
mov dword [esp + 4], 0x5fdf58
mov dword [esp], 0x60f568
call fcn.005eb730
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 0xffffffff
call fcn.00593d98
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc6c
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510f6c
test al, al
je 0x4b967e
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.005943f8
jmp 0x4b9682
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], str.nameDescription
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510f6c
test al, al
je 0x4b96c4
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [esp], eax
call fcn.005943f8
jmp 0x4b9761
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdf78
mov dword [esp], edx
mov dword [ebp - 0xc4], 5
call fcn.005ec1e0
sub esp, 4
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [esp], eax
mov dword [ebp - 0xc4], 4
call fcn.005943f8
jmp 0x4b973e
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00594258
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [esp], eax
call fcn.00510e64
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], str.race
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510f6c
test al, al
je 0x4b98c3
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], str.venom
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
je 0x4b97c6
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 1
je 0x4b97c6
jmp 0x4b97d5
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 1
jmp 0x4b98c3
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.blood
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
je 0x4b9818
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 2
je 0x4b9818
jmp 0x4b9827
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 2
jmp 0x4b98c3
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.undead
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
je 0x4b986a
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 3
je 0x4b986a
jmp 0x4b9876
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 3
jmp 0x4b98c3
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.fire
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
je 0x4b98b9
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp], eax
call sub.msvcrt.dll_atoi
cmp eax, 4
je 0x4b98b9
jmp 0x4b98c3
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 4
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdf93
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510f6c
test al, al
je 0x4b9913
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xe0], edx
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp], eax
call sub.msvcrt.dll__atoi64
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc7a
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9944
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.manacost
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9975
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x78], eax
cmp dword [ebp - 0x30], 0
je 0x4bae15
mov dword [esp + 4], 0x5fdfa7
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4b9a0f
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdfae
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4b99cc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x34], eax
jmp 0x4b99d0
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc9a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9a06
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x38], eax
jmp 0x4bae07
mov byte [ebp - 0x1a], 0
jmp 0x4bae07
mov dword [esp + 4], str.flags
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4b9d51
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], str.flag
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4b9d43
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.summonable
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4b9a9d
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x68], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.attackable
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9ad2
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x6b], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.hostile
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9b07
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x6c], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.hostileonattack
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9b3c
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x6d], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.illusionable
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9b71
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x69], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.convinceable
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9ba6
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x6a], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.pushable
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9bdb
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x2c], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.canpushitems
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9c10
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x34], 0
setne al
mov byte [edx + 0x18], al
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.staticattack
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9c5b
cmp dword [ebp - 0x34], 0
jns 0x4b9c45
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x64
jle 0x4b9c52
mov dword [ebp - 0x34], 0x64
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x1c], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lightlevel
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9c8c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x70], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lightcolor
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9cbd
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x74], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.targetdistance
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9d12
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [ebp - 0x60], 1
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.005e7ed0
mov eax, dword [eax]
mov edx, dword [ebp - 0xe4]
mov dword [edx + 0x24], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.runonhealth
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9d43
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4b9a40
mov dword [esp + 4], str.targetchange
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4b9e2e
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc7a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4b9db7
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc80
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4b9db7
jmp 0x4b9df1
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xe8], ecx
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [ebp - 0x64], 1
lea eax, [ebp - 0x64]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.005e7ed0
mov eax, dword [eax]
mov edx, dword [ebp - 0xe8]
mov dword [edx + 0xb0], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc89
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4bae07
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xb4], eax
jmp 0x4bae07
mov dword [esp + 4], str.strategy
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4b9eb9
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.attack
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4b9e7c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xb8], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe06f
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4bae07
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xbc], eax
jmp 0x4bae07
mov dword [esp + 4], 0x5fe077
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba064
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe07c
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4b9ff9
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x3c], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe081
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4b9f33
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x44], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe086
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9f64
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x48], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe08b
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9f95
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x4c], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe090
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4b9fc6
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x50], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe095
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba02a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x54], eax
jmp 0x4ba02a
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe09c
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba02a
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x40], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.corpse
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4bae07
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x58], eax
jmp 0x4bae07
mov dword [esp + 4], str.attacks
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba104
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], str.attack
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba0f9
lea eax, [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004b7304
test al, al
je 0x4ba0f9
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 0x8c
mov dword [esp], eax
call fcn.005b0890
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4ba091
mov dword [esp + 4], str.defenses
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba200
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe06f
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4ba153
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fe0bb
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba184
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], 0x5fe06f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba1f5
lea eax, [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004b7304
test al, al
je 0x4ba1f5
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 0x94
mov dword [esp], eax
call fcn.005b0890
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4ba18d
mov dword [esp + 4], str.immunities
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba895
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], str.immunity
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc6c
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4ba586
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], str.physical
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba2b8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x60]
or edx, 1
mov dword [eax + 0x60], edx
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.energy
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba304
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 2
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 4
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.fire
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba350
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 8
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 2
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.poison
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba39c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 4
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 1
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.drown
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba3ec
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 0x100
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 0x8000
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.ragi
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba43c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 0x200
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 0x20000
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.lifedrain
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba488
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 0x20
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 8
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.paralyze
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba4c5
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x20
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], 0x5fdd1f
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba502
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x40
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.drunk
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba542
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x800
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00570f88
mov dword [esp + 4], str.invisible
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x80
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.physical
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba5cc
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x60]
or edx, 1
mov dword [eax + 0x60], edx
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.energy
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba621
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 2
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 4
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.fire
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba676
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 8
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 2
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.poison
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba6cb
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 4
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 1
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.ragi
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba724
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 0x200
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 0x20000
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.lifedrain
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba779
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x60]
or eax, 0x20
mov dword [edx + 0x60], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
or eax, 8
mov dword [edx + 0x5c], eax
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.paralyze
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba7bf
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x20
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdd1f
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba805
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x40
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.drunk
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba847
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x800
mov dword [eax + 0x5c], edx
jmp 0x4ba887
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.invisible
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba887
cmp dword [ebp - 0x34], 0
je 0x4ba887
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x5c]
or edx, 0x80
mov dword [eax + 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4ba231
mov dword [esp + 4], str.voices
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4baa7c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc7a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4ba904
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc80
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4ba904
jmp 0x4ba910
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0xa0], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc89
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4ba944
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x9c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], str.voice
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4baa6e
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0053dd08
mov dword [esp + 4], 0x5fdc40
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xc4], 3
call fcn.005943b8
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], str.sentence
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4ba9d2
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.005943f8
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.yell
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 3
call fcn.00510eb8
test al, al
je 0x4baa04
cmp dword [ebp - 0x34], 0
setne al
mov byte [ebp - 0x54], al
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 0xa4
mov dword [esp], eax
mov dword [ebp - 0xc4], 3
call fcn.005b7608
jmp 0x4baa59
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.0053dd1c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4ba944
mov dword [esp + 4], str.loot
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4bab70
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.005648ec
lea eax, [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 2
call fcn.004baefc
test al, al
je 0x4bab13
lea eax, [ebp - 0x88]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 0x84
mov dword [esp], eax
call fcn.005b1cdc
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4bab53
lea eax, [ebp - 0x88]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00564a50
jmp 0x4baaad
mov dword [esp + 4], str.summons
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4bae07
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], str.maxSummons
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4babd6
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc9a
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4babd6
jmp 0x4bac13
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x8c], 0x64
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.005e7f70
mov eax, dword [eax]
mov edx, dword [ebp - 0xf4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4bae07
mov dword [esp + 4], str.summon
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4badf9
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x94], 0x3e8
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc7a
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4baca0
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc80
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
jne 0x4baca0
jmp 0x4baca9
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc89
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510eb8
test al, al
je 0x4bacda
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5fdc6c
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.00510f6c
test al, al
je 0x4badf9
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0053e1d0
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xc4], 1
call fcn.005943f8
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
add eax, 0x7c
mov dword [esp], eax
call fcn.005b0a68
jmp 0x4bade4
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call fcn.0053e1e4
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x4bac1c
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x30], eax
jmp 0x4b9975
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xc4], 5
call sub.libxml2_2.dll_xmlFreeDoc
jmp 0x4bae71
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xc4], 0xffffffff
call fcn.00594258
jmp 0x4bae8c
mov byte [ebp - 0x1a], 0
cmp byte [ebp - 0x1a], 0
je 0x4bae9d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xcc], eax
jmp 0x4baedf
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x4baed5
mov edx, dword [ebp - 0x100]
mov dword [esp], edx
mov dword [ebp - 0xc4], 0xffffffff
call fcn.004b6386
mov ecx, dword [ebp - 0x100]
mov dword [esp], ecx
call fcn.00529158
mov dword [ebp - 0xcc], 0
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call fcn.005342c8
mov eax, dword [ebp - 0xcc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret