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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0xcc], 0x527d48
mov dword [ebp - 0xc8], 0x5f059c
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov edx, 0x490244
mov dword [eax + 4], edx
mov dword [eax + 8], esp
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.005341e8
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x20
mov dword [esp], eax
mov dword [ebp - 0xe0], 0xffffffff
call fcn.005943f8
lea edx, [ebp - 0x28]
mov dword [esp + 8], str._items_items.xml
mov eax, dword [ebp + 8]
add eax, 0x20
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ec2d8
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe0], 9
call fcn.00570f88
mov dword [esp], eax
call sub.libxml2_2.dll_xmlParseFile
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00593d98
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x2c], 0
je 0x49040d
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call sub.libxml2_2.dll_xmlDocGetRootElement
mov dword [ebp - 0x50], eax
mov dword [esp + 4], str.items
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
je 0x48de1b
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.libxml2_2.dll_xmlFreeDoc
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 9
call fcn.00594258
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe0], 0xffffffff
call fcn.00594258
mov dword [ebp - 0xe8], 0
jmp 0x4904b5
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4903f8
mov dword [esp + 4], 0x5faf1b
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 8]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call sub.libxml2_2.dll_xmlStrcmp
test eax, eax
jne 0x4903ea
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf20
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903bc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x4e20
jbe 0x48df35
cmp dword [ebp - 0x4c], 0x4e83
ja 0x48df35
lea eax, [ebp - 0x4c]
sub dword [eax], 0x4e20
mov dword [esp], 0xe0
call fcn.0052a9a8
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
mov dword [ebp - 0xe0], 7
call fcn.0048c140
jmp 0x48def8
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
mov word [edx + 4], ax
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 0x18
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00541320
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], 0x60e260
mov dword [ebp - 0xe0], 8
call fcn.004904d2
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf23
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x48df88
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
add eax, 8
mov dword [esp], eax
call fcn.005943f8
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x4903ea
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf28
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5faf2c
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e0f2
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5faf28
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e039
mov eax, dword [ebp - 0x58]
mov dword [eax], 0xa
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.magicfield
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e070
mov eax, dword [ebp - 0x58]
mov dword [eax], 8
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.depot
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e09e
jmp 0x4903ae
mov dword [esp + 4], str.Warning:__Items::loadFromXml_
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], str.Unknown_type
mov dword [esp], eax
call fcn.005eb730
mov edx, eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5faf23
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e157
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
add eax, 8
mov dword [esp], eax
call fcn.005943f8
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5faf75
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e1bc
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov dword [esp], eax
call fcn.005943f8
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.runeSpellName
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e221
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
add eax, 0x5c
mov dword [esp], eax
call fcn.005943f8
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.weight
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e31d
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
lea eax, [ebp - 0x78]
mov dword [esp + 8], 0x23
mov dword [esp + 4], 0x60eb20
mov dword [esp], eax
call fcn.0053dfe0
sub esp, 4
lea eax, [ebp - 0x78]
mov dword [esp + 4], 0x5faf96
mov dword [esp], eax
mov dword [ebp - 0xe0], 6
call fcn.005eb690
mov byte [ebp - 0xf5], al
jmp 0x48e2e5
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00594258
cmp byte [ebp - 0xf5], 0
je 0x4903ae
mov eax, dword [ebp - 0x58]
fild dword [ebp - 0x30]
fld dword [0x5fb39c]
fdivp st(1)
fstp dword [eax + 0x14]
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5faf9a
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e376
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x2c], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fafa0
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e3cf
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x28], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fafa8
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e428
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x24], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.rotateTo
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e481
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x54], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.containerSize
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e4db
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov word [edx + 0x10], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.writeable
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e539
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x42], 1
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x41], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.maxTextLen
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e593
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov word [edx + 0x44], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.readOnceItemId
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e5f4
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x30]
mov word [eax + 0x46], dx
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x41], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.weaponType
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e84d
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5faff5
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e671
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5faffb
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e6a9
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 2
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb000
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e6e1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 3
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb004
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e719
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 4
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb00b
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e751
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 5
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb014
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e789
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 6
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.ammunition
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e7c1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 7
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb024
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e7f9
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 8
jmp 0x4903ae
mov dword [esp + 4], str.Warning:__Items::loadFromXml_
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], str.Unknown_weaponType
mov dword [esp], eax
call fcn.005eb730
mov edx, eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.slotType
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48eae4
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5fb046
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e8d1
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 1
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb04b
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e910
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 8
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb050
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e94f
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 0x40
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb055
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e990
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 0x80
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb05a
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48e9cf
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 4
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.two_handed
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ea10
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 0x800
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb06e
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ea4f
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 2
mov word [edx + 0x30], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb077
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ea90
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 0x30]
or eax, 0x100
mov word [edx + 0x30], ax
jmp 0x4903ae
mov dword [esp + 4], str.Warning:__Items::loadFromXml_
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], str.Unknown_slotType
mov dword [esp], eax
call fcn.005eb730
mov edx, eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.ammoType
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ec25
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5fb097
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48eb61
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x1c], 2
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb09d
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48eb99
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x1c], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0a2
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ebd1
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x1c], 3
jmp 0x4903ae
mov dword [esp + 4], str.Warning:__Items::loadFromXml_
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], str.Unknown_ammoType
mov dword [esp], eax
call fcn.005eb730
mov edx, eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.shootType
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f076
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5fb0c5
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48eca2
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb09d
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ecda
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb097
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ed12
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 2
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0cb
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ed4a
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 3
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0d0
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ed82
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 4
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0d7
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48edba
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 5
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0e3
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48edf2
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 6
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0ee
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ee2a
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 7
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0fb
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ee62
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 8
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb109
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ee9a
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 9
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb114
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48eed2
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xa
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb120
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ef0a
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xb
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb12a
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ef42
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xc
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb133
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ef7a
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xd
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb13d
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48efb2
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xe
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb144
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48efea
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0xf
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0a2
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f022
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x20], 0x10
jmp 0x4903ae
mov dword [esp + 4], str.Warning:__Items::loadFromXml_
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], str.Unknown_shootType
mov dword [esp], eax
call fcn.005eb730
mov edx, eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.005ebe90
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.stopduration
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f0d3
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
cmp dword [ebp - 0x30], 0
setne al
mov byte [edx + 0x40], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.decayTo
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f12c
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x38], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.increaseMagicPercent
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f188
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x88], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.increasePhysicalPercent
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f1e4
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x8c], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.preventLoss
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f240
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x84], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.transformEquipTo
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f29a
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov word [edx + 0x76], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.transformDeEquipTo
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f2f4
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov word [edx + 0x78], ax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb1d6
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f34d
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x3c], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.showduration
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f3a4
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x7a], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb1ec
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f3fd
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x7c], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.showcharges
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f454
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x7b], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb200
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f48c
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xb9], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb20a
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f4e8
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xb4], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.healthGain
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f54e
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xba], 1
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xbc], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.healthTicks
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f5b4
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xba], 1
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc0], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.manaGain
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f61a
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xba], 1
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc4], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.manaTicks
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f680
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xba], 1
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xc8], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.manaShield
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f6da
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov byte [eax + 0xb8], 1
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillSword
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f736
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xa0], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillAxe
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f792
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xa4], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillClub
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f7ee
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x9c], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillDist
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f84a
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xa8], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillFish
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f8a6
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xb0], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillShield
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f902
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0xac], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.skillFist
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f95e
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x98], eax
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentAll
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48f9ba
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x90], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentEnergy
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fa16
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x93], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentFire
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fa72
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x92], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentPoison
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48face
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x94], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentLifeDrain
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fb2a
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x95], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentManaDrain
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fb86
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x96], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentPhysical
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fbe2
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x91], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.absorbPercentDrown
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fc3e
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x30]
mov byte [edx + 0x97], al
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.suppressDrunk
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fca6
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov edx, dword [edx + 0xd0]
or edx, 0x800
mov dword [eax + 0xd0], edx
jmp 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.field
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x490357
mov eax, dword [ebp - 0x58]
mov dword [eax], 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510f6c
test al, al
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], 0x5fb0cb
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fda7
mov dword [esp], 0x30
call fcn.0052a9a8
mov dword [ebp - 0x100], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x100]
mov dword [esp], edx
mov dword [ebp - 0xe0], 5
call fcn.00433306
jmp 0x48fd92
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], 8
jmp 0x48feec
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb0d0
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48fe4c
mov dword [esp], 0x30
call fcn.0052a9a8
mov dword [ebp - 0x108], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0xe0], 4
call fcn.00433306
jmp 0x48fe37
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 2
jmp 0x48feec
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb13d
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48feec
mov dword [esp], 0x30
call fcn.0052a9a8
mov dword [ebp - 0x110], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x110]
mov dword [esp], edx
mov dword [ebp - 0xe0], 3
call fcn.00433306
jmp 0x48fedc
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], 4
cmp dword [ebp - 0x7c], 0
je 0x4903ae
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x7c]
mov dword [edx + 0xd8], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x80]
mov dword [edx + 0xd4], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x4903ae
lea eax, [ebp - 0x48]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf28
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00510f6c
test al, al
je 0x490343
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00570f88
mov dword [esp + 4], str.ticks
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x48ffe5
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x48ffe5
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [ebp - 0x98], 0
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.005e7ed0
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.count
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x49004a
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x49004a
cmp dword [ebp - 0x30], 0
jle 0x490040
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
jmp 0x49004a
mov dword [ebp - 0x90], 1
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb34f
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4900af
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4900af
cmp dword [ebp - 0x30], 0
jle 0x4900a5
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x8c], eax
jmp 0x4900af
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], 0x5fb355
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x490343
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x490343
mov eax, dword [ebp - 0x30]
neg eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x8c], 0
jle 0x490310
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0058a3c4
lea eax, [ebp - 0xa8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0xe0], 2
call fcn.005b5664
jmp 0x490173
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.0058a3d8
lea eax, [ebp - 0x78]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
mov dword [ebp - 0xe0], 1
call fcn.00434b98
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.005b55e4
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0xe0], 1
call fcn.005b55c4
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
mov dword [esp + 4], eax
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.00572a5c
test al, al
je 0x490235
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.00572a4c
mov eax, dword [eax]
neg eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call fcn.00434394
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.0059fe08
jmp 0x4901bb
mov dword [ebp - 0x8c], 0
jmp 0x4902f9
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.005b5680
jmp 0x490343
mov eax, dword [ebp - 0x88]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00434394
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x94], eax
jmp 0x48ff42
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call fcn.00570f88
mov dword [esp + 4], str.replaceable
mov dword [esp], eax
call fcn.005edf7c
test eax, eax
jne 0x4903ae
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5faf31
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00510eb8
test al, al
je 0x4903ae
mov edx, dword [ebp - 0x58]
cmp dword [ebp - 0x30], 0
setne al
mov byte [edx + 0xdc], al
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x5c], eax
jmp 0x48df91
mov dword [esp + 4], str.Warning:__Spells::loadFromXml____No_itemid_found
mov dword [esp], 0x60f608
mov dword [ebp - 0xe0], 8
call fcn.005eb730
mov dword [esp + 4], 0x5e8450
mov dword [esp], eax
call fcn.0058f72c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x54], eax
jmp 0x48de24
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [ebp - 0xe0], 8
call sub.libxml2_2.dll_xmlFreeDoc
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov dword [ebp - 0xe0], 9
call fcn.00594258
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov dword [ebp - 0xe0], 0xffffffff
call fcn.00594258
mov dword [ebp - 0xe8], 1
jmp 0x4904b5
lea eax, [ebp - 0xe4]
mov dword [esp], eax
call fcn.005342c8
mov eax, dword [ebp - 0xe8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret