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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aae49
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
cmp esi, 0x4e20
jbe 0x4d5622
cmp esi, 0x4e84
jae 0x4d5622
sub esi, 0x4e20
push 0x3200
mov dword [ebp - 0x144], esi
call fcn.0045afb5
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, eax
call fcn.004dd6f0
movzx ecx, si
push ecx
push eax
mov word [eax + 0x5a], cx
mov ecx, 0x627798
call fcn.00441800
push esi
call fcn.004ddb60
mov edi, eax
mov dword [ebp - 0x120], edi
cmp dword [edi + 0xdc], 0
je 0x4d5694
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de704
call fcn.00593b40
add esp, 4
test al, al
je 0x4d566e
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00405c30
call fcn.00593780
add esp, 0x18
test al, al
jne 0x4d5694
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___Items::loadFromXml__Duplicate_registered_item_with_id
push 0x406700
push esi
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x5de754
push dword [ebp - 0x138]
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d56ff
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d56d4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d56c1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
lea ecx, [edi + 0xcc]
add esp, 4
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x4d56ff
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00405890
push 0x5de75c
push dword [ebp - 0x138]
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d576e
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d5743
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5730
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
lea ecx, [edi + 0xfc]
add esp, 4
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x4d576e
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00405890
push 0x5de6e8
push dword [ebp - 0x138]
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d5796
lea eax, [edi + 0xe4]
mov dword [ebp - 0x140], eax
jmp 0x4d57fc
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d57c3
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d57b0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
lea esi, [edi + 0xe4]
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x140], esi
cmp esi, eax
je 0x4d57fc
cmp dword [ebp - 0x2c], 0x10
mov ecx, esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00405890
mov dword [ebp - 0x140], esi
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x4d6050
push 0x5de6f0
push eax
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d6039
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d5853
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5840
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
add esp, 4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00593ff0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
setae cl
cmovae edx, esi
mov byte [ebp - 0x119], cl
cmp edi, 4
jne 0x4d60e2
mov esi, edi
mov ecx, 0x5de6f4
sub esi, edi
jb 0x4d58b1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d58b6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d58a0
cmp esi, 0xfffffffc
je 0x4d58ea
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d58e3
cmp esi, 0xfffffffd
je 0x4d58ea
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d58e3
cmp esi, 0xfffffffe
je 0x4d58ea
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d58e3
cmp esi, 0xffffffff
je 0x4d58ea
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d58ea
sbb eax, eax
or eax, 1
jmp 0x4d58ec
xor eax, eax
test eax, eax
jne 0x4d60d9
mov esi, dword [ebp - 0x128]
push 0x5de6fc
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d5939
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5926
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.00405c30
or dword [ebp - 0x13c], 2
lea edi, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov eax, dword [ebp - 0x48]
jb 0x4d5972
mov edi, dword [ebp - 0x58]
add eax, edi
mov esi, edi
jmp 0x4d5979
lea ecx, [ebp - 0x58]
add eax, ecx
mov esi, ecx
mov dword [ebp - 0x130], eax
cmp esi, eax
je 0x4d599e
sub edi, esi
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x130]
jne 0x4d5985
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4d59d4
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d59ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d60d3
push ecx
push edx
call fcn.0045b34b
add esp, 8
movups xmm1, xmmword [ebp - 0x58]
lea edx, [ebp - 0x28]
movq xmm0, qword [ebp - 0x48]
and dword [ebp - 0x13c], 0xfffffffd
mov byte [ebp - 4], 1
movq qword [ebp - 0x18], xmm0
cmp dword [ebp - 0x14], 0x10
mov edi, dword [ebp - 0x18]
movd eax, xmm1
setae cl
movups xmmword [ebp - 0x28], xmm1
mov dword [ebp - 0x48], 0
cmovae edx, eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x119], cl
mov dword [ebp - 0x12c], eax
cmp edi, 9
jne 0x4d5ab3
mov esi, edi
mov ecx, str.container
sub esi, 4
jb 0x4d5a49
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5a4e
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5a38
cmp esi, 0xfffffffc
je 0x4d5a82
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5a7b
cmp esi, 0xfffffffd
je 0x4d5a82
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5a7b
cmp esi, 0xfffffffe
je 0x4d5a82
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5a7b
cmp esi, 0xffffffff
je 0x4d5a82
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5a82
sbb eax, eax
or eax, 1
jmp 0x4d5a84
xor eax, eax
test eax, eax
jne 0x4d5aa7
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 4
mov dword [edi + 0x31f4], 2
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 3
jne 0x4d5b41
mov esi, edi
mov ecx, 0x5de6d0
sub esi, 4
jb 0x4d5ae1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5ae6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5ad0
cmp esi, 0xfffffffc
je 0x4d5b1a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5b13
cmp esi, 0xfffffffd
je 0x4d5b1a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5b13
cmp esi, 0xfffffffe
je 0x4d5b1a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5b13
cmp esi, 0xffffffff
je 0x4d5b1a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5b1a
sbb eax, eax
or eax, 1
jmp 0x4d5b1c
xor eax, eax
test eax, eax
jne 0x4d5b35
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 9
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 0xa
jne 0x4d5bd1
mov esi, edi
mov ecx, str.magicfield
sub esi, 4
jb 0x4d5b71
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5b76
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5b60
cmp esi, 0xfffffffc
je 0x4d5baa
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5ba3
cmp esi, 0xfffffffd
je 0x4d5baa
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5ba3
cmp esi, 0xfffffffe
je 0x4d5baa
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5ba3
cmp esi, 0xffffffff
je 0x4d5baa
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5baa
sbb eax, eax
or eax, 1
jmp 0x4d5bac
xor eax, eax
test eax, eax
jne 0x4d5bc5
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 6
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 5
jne 0x4d5c61
mov esi, edi
mov ecx, 0x5de6e0
sub esi, 4
jb 0x4d5c01
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5c06
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5bf0
cmp esi, 0xfffffffc
je 0x4d5c3a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5c33
cmp esi, 0xfffffffd
je 0x4d5c3a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5c33
cmp esi, 0xfffffffe
je 0x4d5c3a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5c33
cmp esi, 0xffffffff
je 0x4d5c3a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5c3a
sbb eax, eax
or eax, 1
jmp 0x4d5c3c
xor eax, eax
test eax, eax
jne 0x4d5c55
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 1
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 7
jne 0x4d5cf1
mov esi, edi
mov ecx, str.mailbox
sub esi, 4
jb 0x4d5c91
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5c96
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5c80
cmp esi, 0xfffffffc
je 0x4d5cca
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5cc3
cmp esi, 0xfffffffd
je 0x4d5cca
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5cc3
cmp esi, 0xfffffffe
je 0x4d5cca
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5cc3
cmp esi, 0xffffffff
je 0x4d5cca
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5cca
sbb eax, eax
or eax, 1
jmp 0x4d5ccc
xor eax, eax
test eax, eax
jne 0x4d5ce5
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 2
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 0xb
jne 0x4d5d81
mov esi, edi
mov ecx, str.trashholder
sub esi, 4
jb 0x4d5d21
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5d26
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5d10
cmp esi, 0xfffffffc
je 0x4d5d5a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5d53
cmp esi, 0xfffffffd
je 0x4d5d5a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5d53
cmp esi, 0xfffffffe
je 0x4d5d5a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5d53
cmp esi, 0xffffffff
je 0x4d5d5a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5d5a
sbb eax, eax
or eax, 1
jmp 0x4d5d5c
xor eax, eax
test eax, eax
jne 0x4d5d75
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 3
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 8
jne 0x4d5e11
mov esi, edi
mov ecx, 0x5de6b0
sub esi, 4
jb 0x4d5db1
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5db6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5da0
cmp esi, 0xfffffffc
je 0x4d5dea
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5de3
cmp esi, 0xfffffffd
je 0x4d5dea
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5de3
cmp esi, 0xfffffffe
je 0x4d5dea
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5de3
cmp esi, 0xffffffff
je 0x4d5dea
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5dea
sbb eax, eax
or eax, 1
jmp 0x4d5dec
xor eax, eax
test eax, eax
jne 0x4d5e05
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 7
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 4
jne 0x4d5ea1
mov esi, edi
mov ecx, str.door
sub esi, edi
jb 0x4d5e41
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5e46
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5e30
cmp esi, 0xfffffffc
je 0x4d5e7a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5e73
cmp esi, 0xfffffffd
je 0x4d5e7a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5e73
cmp esi, 0xfffffffe
je 0x4d5e7a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5e73
cmp esi, 0xffffffff
je 0x4d5e7a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5e7a
sbb eax, eax
or eax, 1
jmp 0x4d5e7c
xor eax, eax
test eax, eax
jne 0x4d5e95
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 5
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 3
jne 0x4d5f31
mov esi, edi
mov ecx, 0x5de7d4
sub esi, 4
jb 0x4d5ed1
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5ed6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d5ec0
cmp esi, 0xfffffffc
je 0x4d5f0a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5f03
cmp esi, 0xfffffffd
je 0x4d5f0a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5f03
cmp esi, 0xfffffffe
je 0x4d5f0a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5f03
cmp esi, 0xffffffff
je 0x4d5f0a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5f0a
sbb eax, eax
or eax, 1
jmp 0x4d5f0c
xor eax, eax
test eax, eax
jne 0x4d5f25
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 8
jmp 0x4d5fed
mov eax, dword [ebp - 0x12c]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, eax
cmp edi, 4
jne 0x4d5fb2
mov ecx, 0x5de7d8
sub edi, edi
jb 0x4d5f61
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d5f66
add edx, 4
add ecx, 4
sub edi, 4
jae 0x4d5f50
cmp edi, 0xfffffffc
je 0x4d5f9a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d5f93
cmp edi, 0xfffffffd
je 0x4d5f9a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d5f93
cmp edi, 0xfffffffe
je 0x4d5f9a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d5f93
cmp edi, 0xffffffff
je 0x4d5f9a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d5f9a
sbb eax, eax
or eax, 1
jmp 0x4d5f9c
xor eax, eax
test eax, eax
jne 0x4d5fb2
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x31f8], 0xa
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_type
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
call fcn.004064c0
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push 0x406700
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edi, dword [ebp - 0x120]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4d6027
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4d601d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d60d3
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
test eax, eax
jne 0x4d5813
cmp dword [edi + 0xf4], 0
jne 0x4d60a1
cmp dword [edi + 0xdc], 0
je 0x4d60a1
mov edx, dword [ebp - 0x140]
lea eax, [edi + 0xcc]
cmp edx, eax
je 0x4d608d
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x4d607c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00405890
mov edx, dword [ebp - 0x140]
cmp byte [edi + 5], 0
je 0x4d60a1
push 1
push 0x5dfc90
mov ecx, edx
call fcn.00406140
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4dc06f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dc065
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4dc065
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 4
jne 0x4d61dc
mov esi, edi
mov ecx, 0x5de810
sub esi, edi
jb 0x4d6111
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6116
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6100
cmp esi, 0xfffffffc
je 0x4d614a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6143
cmp esi, 0xfffffffd
je 0x4d614a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6143
cmp esi, 0xfffffffe
je 0x4d614a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6143
cmp esi, 0xffffffff
je 0x4d614a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d614a
sbb eax, eax
or eax, 1
jmp 0x4d614c
xor eax, eax
test eax, eax
jne 0x4d61d3
mov esi, dword [ebp - 0x128]
push 0x5de7b4
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d6199
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6186
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
lea ecx, [edi + 0xcc]
add esp, 4
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x4d5fed
cmp dword [ebp - 0x2c], 0x10
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00405890
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 7
jne 0x4d62b9
mov esi, edi
mov ecx, 0x5de7bc
sub esi, 4
jb 0x4d6211
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6216
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6200
cmp esi, 0xfffffffc
je 0x4d624a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6243
cmp esi, 0xfffffffd
je 0x4d624a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6243
cmp esi, 0xfffffffe
je 0x4d624a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6243
cmp esi, 0xffffffff
je 0x4d624a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d624a
sbb eax, eax
or eax, 1
jmp 0x4d624c
xor eax, eax
test eax, eax
jne 0x4d62b0
mov esi, dword [ebp - 0x128]
push 0x5de7c4
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.0058d130
test al, al
jne 0x4d6295
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d6282
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00405890
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
lea ecx, [edi + 0xfc]
jmp 0x4d61af
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 6
jne 0x4d635f
mov esi, edi
mov ecx, 0x5de7cc
sub esi, 4
jb 0x4d62e7
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d62ec
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d62d6
cmp esi, 0xfffffffc
je 0x4d6320
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6319
cmp esi, 0xfffffffd
je 0x4d6320
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6319
cmp esi, 0xfffffffe
je 0x4d6320
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6319
cmp esi, 0xffffffff
je 0x4d6320
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6320
sbb eax, eax
or eax, 1
jmp 0x4d6322
xor eax, eax
test eax, eax
jne 0x4d6356
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de788
call fcn.00593b40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
lea ecx, [edi + 0xe4]
jmp 0x4d61b2
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xb
jne 0x4d6409
mov esi, edi
mov ecx, 0x5de790
sub esi, 4
jb 0x4d6391
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6396
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6380
cmp esi, 0xfffffffc
je 0x4d63ca
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d63c3
cmp esi, 0xfffffffd
je 0x4d63ca
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d63c3
cmp esi, 0xfffffffe
je 0x4d63ca
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d63c3
cmp esi, 0xffffffff
je 0x4d63ca
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d63ca
sbb eax, eax
or eax, 1
jmp 0x4d63cc
xor eax, eax
test eax, eax
jne 0x4d6400
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de79c
call fcn.00593b40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
lea ecx, [edi + 0x114]
jmp 0x4d61b2
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xd
jne 0x4d64af
mov esi, edi
mov ecx, str.runespellname
sub esi, 4
jb 0x4d6437
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d643c
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6426
cmp esi, 0xfffffffc
je 0x4d6470
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6469
cmp esi, 0xfffffffd
je 0x4d6470
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6469
cmp esi, 0xfffffffe
je 0x4d6470
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6469
cmp esi, 0xffffffff
je 0x4d6470
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6470
sbb eax, eax
or eax, 1
jmp 0x4d6472
xor eax, eax
test eax, eax
jne 0x4d64a6
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de764
call fcn.00593b40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
lea ecx, [edi + 0x12c]
jmp 0x4d61b2
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 6
jne 0x4d6588
mov esi, edi
mov ecx, 0x5de76c
sub esi, 4
jb 0x4d64e1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d64e6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d64d0
cmp esi, 0xfffffffc
je 0x4d651a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6513
cmp esi, 0xfffffffd
je 0x4d651a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6513
cmp esi, 0xfffffffe
je 0x4d651a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6513
cmp esi, 0xffffffff
je 0x4d651a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d651a
sbb eax, eax
or eax, 1
jmp 0x4d651c
xor eax, eax
test eax, eax
jne 0x4d657f
mov esi, dword [ebp - 0x128]
push 0x5de774
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
movd xmm0, dword [ebp - 0x124]
add esp, 8
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp - 0x120]
divss xmm0, dword [0x601430]
movss dword [edi + 0x31fc], xmm0
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 9
jne 0x4d664f
mov esi, edi
mov ecx, str.showcount
sub esi, 4
jb 0x4d65b6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d65bb
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d65a5
cmp esi, 0xfffffffc
je 0x4d65ef
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d65e8
cmp esi, 0xfffffffd
je 0x4d65ef
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d65e8
cmp esi, 0xfffffffe
je 0x4d65ef
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d65e8
cmp esi, 0xffffffff
je 0x4d65ef
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d65ef
sbb eax, eax
or eax, 1
jmp 0x4d65f1
xor eax, eax
test eax, eax
jne 0x4d6646
mov esi, dword [ebp - 0x128]
push 0x5de894
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 5], al
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 5
jne 0x4d6716
mov esi, edi
mov ecx, 0x5de89c
sub esi, 4
jb 0x4d6681
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6686
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6670
cmp esi, 0xfffffffc
je 0x4d66ba
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d66b3
cmp esi, 0xfffffffd
je 0x4d66ba
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d66b3
cmp esi, 0xfffffffe
je 0x4d66ba
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d66b3
cmp esi, 0xffffffff
je 0x4d66ba
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d66ba
sbb eax, eax
or eax, 1
jmp 0x4d66bc
xor eax, eax
test eax, eax
jne 0x4d670d
mov esi, dword [ebp - 0x128]
push 0x5de8a4
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x7c], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 7
jne 0x4d67d9
mov esi, edi
mov ecx, 0x5de8ac
sub esi, 4
jb 0x4d6744
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6749
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6733
cmp esi, 0xfffffffc
je 0x4d677d
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6776
cmp esi, 0xfffffffd
je 0x4d677d
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6776
cmp esi, 0xfffffffe
je 0x4d677d
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6776
cmp esi, 0xffffffff
je 0x4d677d
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d677d
sbb eax, eax
or eax, 1
jmp 0x4d677f
xor eax, eax
test eax, eax
jne 0x4d67d0
mov esi, dword [ebp - 0x128]
push 0x5de868
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x74], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xc
jne 0x4d684f
mov esi, edi
mov ecx, 0x5de870
sub esi, 4
jb 0x4d6803
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6808
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d67f2
cmp esi, 0xfffffffc
je 0x4d683c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6835
cmp esi, 0xfffffffd
je 0x4d683c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6835
cmp esi, 0xfffffffe
je 0x4d683c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6835
cmp esi, 0xffffffff
je 0x4d683c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d683c
sbb eax, eax
or eax, 1
jmp 0x4d683e
xor eax, eax
test eax, eax
je 0x4d68c0
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 8
jne 0x4d6916
mov esi, edi
mov ecx, str.extradef
sub esi, 4
jb 0x4d6881
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6886
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6870
cmp esi, 0xfffffffc
je 0x4d68ba
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d68b3
cmp esi, 0xfffffffd
je 0x4d68ba
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d68b3
cmp esi, 0xfffffffe
je 0x4d68ba
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d68b3
cmp esi, 0xffffffff
je 0x4d68ba
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d68ba
sbb eax, eax
or eax, 1
jmp 0x4d68bc
xor eax, eax
test eax, eax
jne 0x4d690d
mov esi, dword [ebp - 0x128]
push 0x5de88c
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x78], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 6
jne 0x4d69d9
mov esi, edi
mov ecx, 0x5de840
sub esi, 4
jb 0x4d6944
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6949
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6933
cmp esi, 0xfffffffc
je 0x4d697d
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6976
cmp esi, 0xfffffffd
je 0x4d697d
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6976
cmp esi, 0xfffffffe
je 0x4d697d
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6976
cmp esi, 0xffffffff
je 0x4d697d
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d697d
sbb eax, eax
or eax, 1
jmp 0x4d697f
xor eax, eax
test eax, eax
jne 0x4d69d0
mov esi, dword [ebp - 0x128]
push 0x5de848
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x6c], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xb
jne 0x4d6a4f
mov esi, edi
mov ecx, 0x5de850
sub esi, 4
jb 0x4d6a03
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6a08
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d69f2
cmp esi, 0xfffffffc
je 0x4d6a3c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6a35
cmp esi, 0xfffffffd
je 0x4d6a3c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6a35
cmp esi, 0xfffffffe
je 0x4d6a3c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6a35
cmp esi, 0xffffffff
je 0x4d6a3c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6a3c
sbb eax, eax
or eax, 1
jmp 0x4d6a3e
xor eax, eax
test eax, eax
je 0x4d6ac0
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 8
jne 0x4d6b16
mov esi, edi
mov ecx, str.extraatk
sub esi, 4
jb 0x4d6a81
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6a86
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6a70
cmp esi, 0xfffffffc
je 0x4d6aba
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6ab3
cmp esi, 0xfffffffd
je 0x4d6aba
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6ab3
cmp esi, 0xfffffffe
je 0x4d6aba
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6ab3
cmp esi, 0xffffffff
je 0x4d6aba
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6aba
sbb eax, eax
or eax, 1
jmp 0x4d6abc
xor eax, eax
test eax, eax
jne 0x4d6b0d
mov esi, dword [ebp - 0x128]
push 0x5de818
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5fe7
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x70], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xb
jne 0x4d6bc5
mov esi, edi
mov ecx, 0x5de820
sub esi, 4
jb 0x4d6b44
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6b49
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6b33
cmp esi, 0xfffffffc
je 0x4d6b7d
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6b76
cmp esi, 0xfffffffd
je 0x4d6b7d
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6b76
cmp esi, 0xfffffffe
je 0x4d6b7d
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6b76
cmp esi, 0xffffffff
je 0x4d6b7d
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6b7d
sbb eax, eax
or eax, 1
jmp 0x4d6b7f
xor eax, eax
test eax, eax
jne 0x4d6bbc
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de82c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xb4], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 8
jne 0x4d6c74
mov esi, edi
mov ecx, str.rotateto
sub esi, 4
jb 0x4d6bf3
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6bf8
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6be2
cmp esi, 0xfffffffc
je 0x4d6c2c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6c25
cmp esi, 0xfffffffd
je 0x4d6c2c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6c25
cmp esi, 0xfffffffe
je 0x4d6c2c
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6c25
cmp esi, 0xffffffff
je 0x4d6c2c
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6c2c
sbb eax, eax
or eax, 1
jmp 0x4d6c2e
xor eax, eax
test eax, eax
jne 0x4d6c6b
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de928
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xa0], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 8
jne 0x4d6cee
mov esi, edi
mov ecx, str.moveable
sub esi, 4
jb 0x4d6ca2
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6ca7
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6c91
cmp esi, 0xfffffffc
je 0x4d6cdb
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6cd4
cmp esi, 0xfffffffd
je 0x4d6cdb
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6cd4
cmp esi, 0xfffffffe
je 0x4d6cdb
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6cd4
cmp esi, 0xffffffff
je 0x4d6cdb
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6cdb
sbb eax, eax
or eax, 1
jmp 0x4d6cdd
xor eax, eax
test eax, eax
je 0x4d6d60
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 7
jne 0x4d6da3
mov esi, edi
mov ecx, 0x5de93c
sub esi, 4
jb 0x4d6d21
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6d26
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6d10
cmp esi, 0xfffffffc
je 0x4d6d5a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6d53
cmp esi, 0xfffffffd
je 0x4d6d5a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6d53
cmp esi, 0xfffffffe
je 0x4d6d5a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6d53
cmp esi, 0xffffffff
je 0x4d6d5a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6d5a
sbb eax, eax
or eax, 1
jmp 0x4d6d5c
xor eax, eax
test eax, eax
jne 0x4d6d9a
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de944
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x13], al
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov cl, byte [ebp - 0x119]
test cl, cl
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0xf
jne 0x4d6e4d
mov esi, edi
mov ecx, str.blockprojectile
sub esi, 4
jb 0x4d6dd1
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d6dd6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d6dc0
cmp esi, 0xfffffffc
je 0x4d6e0a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d6e03
cmp esi, 0xfffffffd
je 0x4d6e0a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d6e03
cmp esi, 0xfffffffe
je 0x4d6e0a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d6e03
cmp esi, 0xffffffff
je 0x4d6e0a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d6e0a
sbb eax, eax
or eax, 1
jmp 0x4d6e0c
xor eax, eax
test eax, eax
jne 0x4d6e4a
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de908
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x1c], al
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
lea ecx, [ebp - 0x28]
test al, al
cmovne ecx, esi
cmp edi, 0xf
jne 0x4d6eb2
push edi
mov edx, str.allowpickupable
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d6eac
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de920
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x1e], al
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xb
jne 0x4d70fe
push edi
mov edx, 0x5de8d4
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d70f8
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de8e0
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa0]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0xa0]
call fcn.00405b30
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
setae dl
mov byte [ebp - 0x119], dl
cmp esi, 4
jne 0x4d6f5d
push esi
mov edx, 0x5de8e8
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d6f57
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x20], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, dword [ebp - 0x28]
cmp esi, 5
jne 0x4d6f92
push esi
mov edx, str.north
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d6f8c
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x21], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, dword [ebp - 0x28]
cmp esi, 5
jne 0x4d6fc7
push esi
mov edx, 0x5de8b4
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d6fc1
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x23], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, dword [ebp - 0x28]
cmp esi, 4
jne 0x4d6ffc
push esi
mov edx, 0x5de8bc
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d6ff6
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x24], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, dword [ebp - 0x28]
cmp esi, 4
jne 0x4d7031
push esi
mov edx, 0x5de8c4
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d702b
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x22], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
push 7
cmovne ecx, dword [ebp - 0x28]
mov edx, esi
push str.northex
call fcn.00407d80
add esp, 8
test al, al
je 0x4d705e
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x25], 1
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 7
cmovne ecx, dword [ebp - 0x28]
mov edx, esi
push str.southex
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7090
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x27], 1
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 6
cmovne ecx, dword [ebp - 0x28]
mov edx, esi
push str.westex
call fcn.00407d80
add esp, 8
test al, al
je 0x4d70c2
mov edi, dword [ebp - 0x120]
mov byte [edi + 0x28], 1
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 6
cmovne ecx, dword [ebp - 0x28]
mov edx, esi
push str.eastex
call fcn.00407d80
mov edi, dword [ebp - 0x120]
add esp, 8
test al, al
je 0x4d5fed
mov byte [edi + 0x26], 1
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xa
jne 0x4d72aa
push edi
mov edx, str.corpsetype
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d72a4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0x88]
call fcn.00405b30
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de9f0
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0x70]
call fcn.00405b30
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
setae dl
cmovae ecx, edi
mov byte [ebp - 0x119], dl
cmp esi, 5
jne 0x4d71ca
push esi
mov edx, 0x5de9f8
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d71c4
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x44], 1
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, edi
cmp esi, 5
jne 0x4d7201
push esi
mov edx, 0x5dea00
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d71fb
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x44], 2
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, edi
cmp esi, 6
jne 0x4d7238
push esi
mov edx, 0x5dea08
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d7232
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x44], 3
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
cmovne ecx, edi
cmp esi, 4
jne 0x4d726b
push esi
mov edx, 0x5de99c
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d7265
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x44], esi
jmp 0x4d5fed
mov dl, byte [ebp - 0x119]
test dl, dl
lea ecx, [ebp - 0x28]
push 6
cmovne ecx, edi
mov edx, esi
push 0x5de9a4
call fcn.00407d80
add esp, 8
test al, al
je 0x4d729a
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x44], 5
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_corpseType
jmp 0x4d5fb7
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xd
jne 0x4d7307
push edi
mov edx, str.containersize
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d7301
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5de94c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x5e], ax
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xb
jne 0x4d73c0
push edi
mov edx, str.fluidsource
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d73ba
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5de960
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x118]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0x118]
call fcn.00405b30
xor esi, esi
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [esi*8 + 0x6270a0]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
je 0x4d73a1
inc esi
cmp esi, 0x16
jb 0x4d7371
mov edx, str._Warning___Items::loadFromXml__Unknown_fluidSource
jmp 0x4d5fb7
mov eax, dword [esi*8 + 0x6270a4]
test eax, eax
je 0x4d7397
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x30], eax
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 9
jne 0x4d73e5
push edi
mov edx, str.writeable
call fcn.00407320
add esp, 4
test eax, eax
je 0x4d7408
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 8
jne 0x4d7455
push edi
mov edx, 0x5deaec
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d744f
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deaf8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0xd], al
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0xc], al
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 8
jne 0x4d74b4
push edi
mov edx, 0x5deb00
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d74ae
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deab4
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0xc], al
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xa
jne 0x4d74d9
push edi
mov edx, str.maxtextlen
call fcn.00407320
add esp, 4
test eax, eax
je 0x4d74f8
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
cmovne ecx, esi
cmp edi, 0xd
jne 0x4d7536
push edi
mov edx, str.maxtextlength
call fcn.00407320
add esp, 4
test eax, eax
jne 0x4d7530
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dead8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x66], ax
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
test al, al
lea ecx, [ebp - 0x28]
push 0xf
cmovne ecx, esi
mov edx, edi
push str.writeonceitemid
call fcn.00407d80
add esp, 8
test al, al
je 0x4d758b
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dea9c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x68], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 5
cmovne ecx, esi
mov edx, edi
push 0x5deaa4
call fcn.00407d80
add esp, 8
test al, al
je 0x4d76ac
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deaac
call fcn.00592d40
add esp, 4
test al, al
je 0x4d5fe7
lea eax, [ebp - 0x124]
mov ecx, 0x6277ac
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.004416a0
mov eax, dword [eax]
cmp eax, dword [0x6277ac]
je 0x4d767c
mov ecx, dword [ebp - 0x138]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5dea34
call fcn.00593b40
add esp, 4
test al, al
je 0x4d762e
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00405c30
call fcn.00593780
add esp, 0x18
test al, al
jne 0x4d767c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___Items::loadFromXml__Duplicated_money_item
push 0x406700
push dword [ebp - 0x124]
push dword [ebp - 0x144]
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, str._with_worth
mov ecx, eax
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, 0x5dea40
mov ecx, eax
call fcn.004064c0
jmp 0x4d5fdf
lea eax, [ebp - 0x124]
mov ecx, 0x6277ac
push eax
call fcn.0040e760
mov edi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xc4], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xe
cmovne ecx, esi
mov edx, edi
push str.forceserialize
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dc02b
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.forceserialization
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dc02b
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.forcesave
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dc02b
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.leveldoor
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7776
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deb54
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xc8], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.weapontype
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7a05
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5deb68
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x100]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0x100]
call fcn.00405b30
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae ecx, esi
push 5
push 0x5deb2c
mov edx, edi
setae byte [ebp - 0x119]
call fcn.00407d80
add esp, 8
test al, al
je 0x4d781b
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 1
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5deb34
call fcn.00407d80
add esp, 8
test al, al
je 0x4d784f
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 2
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 3
cmovne ecx, esi
mov edx, edi
push 0x5deb3c
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7883
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 3
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 6
cmovne ecx, esi
mov edx, edi
push 0x5deb40
call fcn.00407d80
add esp, 8
test al, al
je 0x4d78b7
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 5
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push 0x5deb0c
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79f3
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5deb18
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79f3
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5deb20
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79e1
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 3
cmovne ecx, esi
mov edx, edi
push 0x5deb28
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79e1
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push 0x5dec18
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79cf
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5dec24
call fcn.00407d80
add esp, 8
test al, al
jne 0x4d79cf
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5dec2c
call fcn.00407d80
add esp, 8
test al, al
je 0x4d79c5
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 6
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_weaponType
jmp 0x4d5fb7
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 8
jmp 0x4d5fed
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 7
jmp 0x4d5fed
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x34], 4
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push str.slottype
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7ca6
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5dec00
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xe8]
call fcn.00593ff0
push eax
lea ecx, [ebp - 0x28]
call fcn.004086d0
lea ecx, [ebp - 0xe8]
call fcn.00405b30
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae ecx, esi
push 4
push 0x5dec08
mov edx, edi
setae byte [ebp - 0x119]
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7ab1
mov edi, dword [ebp - 0x120]
mov eax, 1
or word [edi + 0x60], 1
mov word [edi + 0x62], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5dec10
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7aec
mov edi, dword [ebp - 0x120]
mov eax, 4
or word [edi + 0x60], 8
mov word [edi + 0x62], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5debcc
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7b27
mov edi, dword [ebp - 0x120]
mov eax, 7
or word [edi + 0x60], 0x40
mov word [edi + 0x62], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 4
cmovne ecx, esi
mov edx, edi
push 0x5debd4
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7b66
mov edi, dword [ebp - 0x120]
mov eax, 0x80
or word [edi + 0x60], ax
mov eax, 8
mov word [edi + 0x62], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push 0x5debdc
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7ba1
mov edi, dword [ebp - 0x120]
mov eax, 3
or word [edi + 0x60], 4
mov word [edi + 0x62], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push 0x5debe8
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7be0
mov edi, dword [ebp - 0x120]
mov eax, 0x800
or word [edi + 0x60], ax
mov eax, 0xc
mov word [edi + 0x62], ax
jmp 0x4d5fed
mov edx, 0x5deba8
lea ecx, [ebp - 0x28]
call fcn.004066d0
test al, al
je 0x4d7c0a
mov edi, dword [ebp - 0x120]
mov eax, 2
or word [edi + 0x60], 2
mov word [edi + 0x62], ax
jmp 0x4d5fed
mov edx, 0x5debb4
lea ecx, [ebp - 0x28]
call fcn.004066d0
test al, al
je 0x4d7c38
mov edi, dword [ebp - 0x120]
mov eax, 0x100
or word [edi + 0x60], ax
mov eax, 9
mov word [edi + 0x62], ax
jmp 0x4d5fed
mov edx, 0x5debbc
lea ecx, [ebp - 0x28]
call fcn.004066d0
test al, al
je 0x4d7c5d
mov edi, dword [ebp - 0x120]
mov eax, 0xa
mov word [edi + 0x62], ax
jmp 0x4d5fed
mov edx, 0x5debc4
lea ecx, [ebp - 0x28]
call fcn.004066d0
test al, al
je 0x4d7c82
mov edi, dword [ebp - 0x120]
mov eax, 0xc
mov word [edi + 0x62], ax
jmp 0x4d5fed
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___Items::loadFromXml__Unknown_slotType
push 0x406700
call fcn.004064c0
lea edx, [ebp - 0x40]
mov ecx, eax
call fcn.004066b0
jmp 0x4d5fdf
mov edx, str.ammotype
lea ecx, [ebp - 0x28]
call fcn.004066d0
test al, al
je 0x4d7d2d
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5ded68
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea ecx, [ebp - 0x40]
call fcn.00590000
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x4c], eax
test eax, eax
jne 0x4d5fed
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___Items::loadFromXml__Unknown_ammoType
call fcn.004064c0
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push 0x406700
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.shoottype
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7d95
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5dece4
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea ecx, [ebp - 0x40]
call fcn.0058ffb0
cmp eax, 0xffff
je 0x4d7d8b
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x48], eax
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_shootType
jmp 0x4d5fb7
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 6
cmovne ecx, esi
mov edx, edi
push 0x5ded20
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7dfd
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5dec90
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea ecx, [ebp - 0x40]
call fcn.005900a0
cmp eax, 0xffff
je 0x4d7df3
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x2c], eax
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_effect
jmp 0x4d5fb7
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 5
cmovne ecx, esi
mov edx, edi
push 0x5decc8
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7e58
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5decd0
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xa8], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xc
cmovne ecx, esi
mov edx, edi
push str.stopduration
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7eb4
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dec78
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 4], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 7
cmovne ecx, esi
mov edx, edi
push str.decayto
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7f0f
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dec88
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x9c], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x10
cmovne ecx, esi
mov edx, edi
push str.transformequipto
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7f69
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee34
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x56], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.transformdeequipto
call fcn.00407d80
add esp, 8
test al, al
je 0x4d7fc3
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee50
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x58], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push 0x5dedf4
call fcn.00407d80
add esp, 8
test al, al
je 0x4d802f
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee00
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x198], 0
cmovg ecx, eax
mov dword [edi + 0xb0], ecx
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xc
cmovne ecx, esi
mov edx, edi
push str.showduration
call fcn.00407d80
add esp, 8
test al, al
je 0x4d808b
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee18
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 7], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 7
cmovne ecx, esi
mov edx, edi
push 0x5dedd0
call fcn.00407d80
add esp, 8
test al, al
je 0x4d80e6
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dedd8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0xac], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.showcharges
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8142
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dedec
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 8], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xe
cmovne ecx, esi
mov edx, edi
push str.showattributes
call fcn.00407d80
add esp, 8
test al, al
je 0x4d819e
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dedb4
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 9], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.breakchance
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8224
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dedc8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ecx, 0x64
mov dword [ebp - 0x194], 0x64
cmp dword [ebp - 0x124], ecx
mov dword [ebp - 0x190], 0
cmovl ecx, dword [ebp - 0x124]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov dword [edi + 0x80], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.ammoaction
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8289
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x40]
push eax
mov edx, 0x5deedc
call fcn.00593b40
add esp, 4
test al, al
je 0x4d5fe7
lea ecx, [ebp - 0x40]
call fcn.00590050
test eax, eax
je 0x4d827f
mov edi, dword [ebp - 0x120]
mov dword [edi + 0x3c], eax
jmp 0x4d5fed
mov edx, str._Warning___Items::loadFromXml__Unknown_ammoAction
jmp 0x4d5fb7
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push 0x5def18
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8312
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deea4
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ecx, 0x64
mov dword [ebp - 0x188], 0x64
cmp dword [ebp - 0x124], ecx
mov eax, 0xffffff9c
mov dword [ebp - 0x184], 0xffffff9c
cmovl ecx, dword [ebp - 0x124]
cmp ecx, eax
cmovg eax, ecx
mov dword [edi + 0x84], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xc
cmovne ecx, esi
mov edx, edi
push str.maxhitchance
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8398
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deebc
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ecx, 0x64
mov dword [ebp - 0x180], 0x64
cmp dword [ebp - 0x124], ecx
mov dword [ebp - 0x17c], 0
cmovl ecx, dword [ebp - 0x124]
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov dword [edi + 0x88], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push 0x5deec4
call fcn.00407d80
add esp, 8
test al, al
je 0x4d83f4
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee7c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0xa], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.preventloss
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8453
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee90
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x163], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.preventdrop
call fcn.00407d80
add esp, 8
test al, al
je 0x4d84b2
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee58
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x164], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push 0x5dee60
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8511
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5dee6c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x161], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 5
cmovne ecx, esi
mov edx, edi
push 0x5dee74
call fcn.00407d80
add esp, 8
test al, al
je 0x4d856c
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def9c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31dc], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.healthgain
call fcn.00407d80
add esp, 8
test al, al
je 0x4d85ce
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5defb0
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov byte [edi + 0x162], 1
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31e0], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.healthticks
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8630
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def74
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov byte [edi + 0x162], 1
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31e4], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push str.managain
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8692
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def88
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov byte [edi + 0x162], 1
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31e8], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.manaticks
call fcn.00407d80
add esp, 8
test al, al
je 0x4d86f4
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def4c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov byte [edi + 0x162], 1
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31ec], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.manashield
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8753
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def60
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0x160], al
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.skillsword
call fcn.00407d80
add esp, 8
test al, al
je 0x4d87ae
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def24
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3184], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 8
cmovne ecx, esi
mov edx, edi
push str.skillaxe
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8809
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5def38
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3188], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.skillclub
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8864
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df05c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3180], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.skilldist
call fcn.00407d80
add esp, 8
test al, al
je 0x4d88bf
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df070
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x318c], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.skillfish
call fcn.00407d80
add esp, 8
test al, al
je 0x4d891a
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df034
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3194], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.skillshield
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8975
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df048
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x3190], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 9
cmovne ecx, esi
mov edx, edi
push str.skillfist
call fcn.00407d80
add esp, 8
test al, al
je 0x4d89d0
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df004
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x317c], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xf
cmovne ecx, esi
mov edx, edi
push str.maxhealthpoints
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbff2
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0xc
cmovne ecx, esi
mov edx, edi
push str.maxhitpoints
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbff2
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x10
cmovne ecx, esi
mov edx, edi
push str.maxhealthpercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbfb9
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x13
cmovne ecx, esi
mov edx, edi
push str.maxhitpointspercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbfb9
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0xd
cmovne ecx, esi
mov edx, edi
push str.maxmanapoints
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8abf
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df12c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31b8], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xe
cmovne ecx, esi
mov edx, edi
push str.maxmanapercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf80
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x14
cmovne ecx, esi
mov edx, edi
push str.maxmanapointspercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf80
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0xa
cmovne ecx, esi
mov edx, edi
push str.soulpoints
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8b64
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df104
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31bc], eax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.soulpercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf47
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x11
cmovne ecx, esi
mov edx, edi
push str.soulpointspercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf47
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x10
cmovne ecx, esi
mov edx, edi
push str.magiclevelpoints
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf0e
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0xb
cmovne ecx, esi
mov edx, edi
push str.magicpoints
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbf0e
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x11
cmovne ecx, esi
mov edx, edi
push str.magiclevelpercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbed5
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.magicpointspercent
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbed5
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.increasemagicvalue
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8c9f
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df214
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x1174], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x14
cmovne ecx, esi
mov edx, edi
push str.increasemagicpercent
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8cfc
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df234
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x1176], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x14
cmovne ecx, esi
mov edx, edi
push str.increasehealingvalue
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8d59
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df1d8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x1170], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x16
cmovne ecx, esi
mov edx, edi
push str.increasehealingpercent
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8db6
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df1f8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
mov word [edi + 0x1172], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x10
cmovne ecx, esi
mov edx, edi
push str.absorbpercentall
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8e28
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df19c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
lea ecx, [edi + 0x16e]
mov edx, 0x801
nop dword [eax + eax]
mov ax, word [ebp - 0x124]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
sub edx, 1
jne 0x4d8e10
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x15
cmovne ecx, esi
mov edx, edi
push str.absorbpercentelements
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8eb3
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df1bc
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
movzx eax, word [ebp - 0x124]
add word [edi + 0x172], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x17e], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x176], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x56e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.absorbpercentmagic
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8f5a
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df164
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
movzx eax, word [ebp - 0x124]
add word [edi + 0x172], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x17e], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x176], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x56e], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x96e], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x116e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x13
cmovne ecx, esi
mov edx, edi
push str.absorbpercentenergy
call fcn.00407d80
add esp, 8
test al, al
je 0x4d8fb7
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df180
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x172], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x11
cmovne ecx, esi
mov edx, edi
push str.absorbpercentfire
call fcn.00407d80
add esp, 8
test al, al
je 0x4d9014
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df304
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x17e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x13
cmovne ecx, esi
mov edx, edi
push str.absorbpercentpoison
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbe9a
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.absorbpercentearth
call fcn.00407d80
add esp, 8
test al, al
jne 0x4dbe9a
cmp byte [ebp - 0x119], al
lea ecx, [ebp - 0x28]
push 0x10
cmovne ecx, esi
mov edx, edi
push str.absorbpercentice
call fcn.00407d80
add esp, 8
test al, al
je 0x4d90bb
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df2e0
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x56e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x11
cmovne ecx, esi
mov edx, edi
push str.absorbpercentholy
call fcn.00407d80
add esp, 8
test al, al
je 0x4d9118
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df2fc
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x96e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.absorbpercentdeath
call fcn.00407d80
add esp, 8
test al, al
je 0x4d9175
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df2a4
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x116e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x16
cmovne ecx, esi
mov edx, edi
push str.absorbpercentlifedrain
call fcn.00407d80
add esp, 8
test al, al
je 0x4d91d2
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df2c4
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x1ae], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x16
cmovne ecx, esi
mov edx, edi
push str.absorbpercentmanadrain
call fcn.00407d80
add esp, 8
test al, al
je 0x4d922f
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df26c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x1ee], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x12
cmovne ecx, esi
mov edx, edi
push str.absorbpercentdrown
call fcn.00407d80
add esp, 8
test al, al
je 0x4d928c
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df288
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x36e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x15
cmovne ecx, esi
mov edx, edi
push str.absorbpercentphysical
call fcn.00407d80
add esp, 8
test al, al
je 0x4d92e9
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df408
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x170], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x14
cmovne ecx, esi
mov edx, edi
push str.absorbpercenthealing
call fcn.00407d80
add esp, 8
test al, al
je 0x4d9346
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df428
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x26e], ax
jmp 0x4d5fed
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0x28]
push 0x16
cmovne ecx, esi
mov edx, edi
push str.absorbpercentundefined
call fcn.00407d80
add esp, 8
test al, al
je 0x4d93a3
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df3cc
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x18e], ax
jmp 0x4d5fed
mov al, byte [ebp - 0x119]
lea edx, [ebp - 0x28]
test al, al
cmovne edx, esi
cmp edi, 0x11
jne 0x4d94a0
mov esi, edi
mov ecx, str.reflectpercentall
sub esi, 4
jb 0x4d93d7
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d93dc
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d93c6
cmp esi, 0xfffffffc
je 0x4d9410
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9409
cmp esi, 0xfffffffd
je 0x4d9410
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9409
cmp esi, 0xfffffffe
je 0x4d9410
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d9409
cmp esi, 0xffffffff
je 0x4d9410
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d9410
sbb eax, eax
or eax, 1
jmp 0x4d9412
xor eax, eax
test eax, eax
jne 0x4d9497
mov esi, dword [ebp - 0x128]
push 0x5df3e8
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov edx, 0x801
lea ecx, [edi + 0x1178]
nop dword [eax]
nop dword [eax + eax]
mov ax, word [ebp - 0x124]
lea ecx, [ecx + 2]
add word [ecx - 2], ax
sub edx, 1
jne 0x4d9470
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x16
jne 0x4d95a8
mov esi, edi
mov ecx, str.reflectpercentelements
sub esi, 4
jb 0x4d94d1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d94d6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d94c0
cmp esi, 0xfffffffc
je 0x4d950a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9503
cmp esi, 0xfffffffd
je 0x4d950a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9503
cmp esi, 0xfffffffe
je 0x4d950a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d9503
cmp esi, 0xffffffff
je 0x4d950a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d950a
sbb eax, eax
or eax, 1
jmp 0x4d950c
xor eax, eax
test eax, eax
jne 0x4d959f
mov esi, dword [ebp - 0x128]
push 0x5df390
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
movzx eax, word [ebp - 0x124]
add word [edi + 0x117c], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1188], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1180], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1578], ax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x13
jne 0x4d96c9
mov esi, edi
mov ecx, str.reflectpercentmagic
sub esi, 4
jb 0x4d95d6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d95db
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d95c5
cmp esi, 0xfffffffc
je 0x4d960f
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9608
cmp esi, 0xfffffffd
je 0x4d960f
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9608
cmp esi, 0xfffffffe
je 0x4d960f
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d9608
cmp esi, 0xffffffff
je 0x4d960f
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x4d960f
sbb eax, eax
or eax, 1
jmp 0x4d9611
xor eax, eax
test eax, eax
jne 0x4d96c0
mov esi, dword [ebp - 0x128]
push 0x5df3ac
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
movzx eax, word [ebp - 0x124]
add word [edi + 0x117c], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1188], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1180], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1578], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x1978], ax
movzx eax, word [ebp - 0x124]
add word [edi + 0x2178], ax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x14
jne 0x4d97a4
mov esi, edi
mov ecx, str.reflectpercentenergy
sub esi, 4
jb 0x4d96f7
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d96fc
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d96e6
cmp esi, 0xfffffffc
je 0x4d9730
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9729
cmp esi, 0xfffffffd
je 0x4d9730
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9729
cmp esi, 0xfffffffe
je 0x4d9730
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d9729
cmp esi, 0xffffffff
je 0x4d9730
sbb eax, eax
or eax, 1
jmp 0x4d9732
xor eax, eax
test eax, eax
jne 0x4d979b
mov esi, dword [ebp - 0x128]
push 0x5df354
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov ax, word [ebp - 0x124]
add word [edi + 0x117c], ax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x12
jne 0x4d987f
mov esi, edi
mov ecx, str.reflectpercentfire
sub esi, 4
jb 0x4d97d2
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d97d7
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d97c1
cmp esi, 0xfffffffc
je 0x4d980b
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9804
cmp esi, 0xfffffffd
je 0x4d980b
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9804
cmp esi, 0xfffffffe
je 0x4d980b
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x4d9804
sbb eax, eax
or eax, 1
jmp 0x4d980d
xor eax, eax
test eax, eax
jne 0x4d9876
mov esi, dword [ebp - 0x128]
push 0x5df370
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov ax, word [ebp - 0x124]
add word [edi + 0x1188], ax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x14
jne 0x4d98fd
mov esi, edi
mov ecx, str.reflectpercentpoison
sub esi, 4
jb 0x4d98b1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d98b6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d98a0
cmp esi, 0xfffffffc
je 0x4d98ea
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d98e3
cmp esi, 0xfffffffd
je 0x4d98ea
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d98e3
cmp esi, 0xfffffffe
je 0x4d98ea
sbb eax, eax
or eax, 1
jmp 0x4d98ec
xor eax, eax
test eax, eax
je 0x4d9974
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x13
jne 0x4d99de
mov esi, edi
mov ecx, str.reflectpercentearth
sub esi, 4
jb 0x4d9931
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d9936
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d9920
cmp esi, 0xfffffffc
je 0x4d996a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9963
cmp esi, 0xfffffffd
je 0x4d996a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4d9963
sbb eax, eax
or eax, 1
jmp 0x4d996c
xor eax, eax
test eax, eax
jne 0x4d99d5
mov esi, dword [ebp - 0x128]
push 0x5df510
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x124], eax
mov eax, dword [sym.imp.libxml2.dll_xmlFree]
push esi
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 0x120]
add esp, 8
mov ax, word [ebp - 0x124]
add word [edi + 0x1180], ax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x11
jne 0x4d9abe
mov esi, edi
mov ecx, str.reflectpercentice
sub esi, 4
jb 0x4d9a11
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d9a16
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d9a00
cmp esi, 0xfffffffc
je 0x4d9a4a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9a43
cmp esi, 0xfffffffd
je 0x4d9a4a
sbb eax, eax
or eax, 1
jmp 0x4d9a4c
xor eax, eax
test eax, eax
jne 0x4d9ab5
mov esi, dword [ebp - 0x128]
push 0x5df4ac
push esi
call dword [sym.imp.libxml2.dll_xmlGetProp]
mov esi, eax
add esp, 8
test esi, esi
je 0x4dbc56
mov esi, dword [ebp - 0x28]
mov al, byte [ebp - 0x119]
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x12
jne 0x4d9b9a
mov esi, edi
mov ecx, str.reflectpercentholy
sub esi, 4
jb 0x4d9af1
nop dword [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d9af6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4d9ae0
cmp esi, 0xfffffffc
je 0x4d9b2a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4d9b23
xor eax, eax
test eax, eax
jne 0x4d9b91
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x13
jne 0x4d9c71
mov esi, edi
mov ecx, str.reflectpercentdeath
sub esi, 4
jb 0x4d9bc8
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4d9bcd
cmp esi, 0xfffffffc
je 0x4d9c01
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x17
jne 0x4d9d4a
mov esi, edi
mov ecx, str.reflectpercentlifedrain
sub esi, 4
jb 0x4d9ca1
test al, al
lea edx, [ebp - 0x28]
cmovne edx, esi
cmp edi, 0x17
jne 0x4d9e21
mov edi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x128], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df334
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov ax, word [ebp - 0x124]
add word [edi + 0x176], ax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df0ac
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31d8], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df0f0
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31c4], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df0c8
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31d0], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df15c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31cc], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5defec
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31c8], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5df02c
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
mov eax, dword [ebp - 0x124]
mov dword [edi + 0x31b4], eax
jmp 0x4d5fed
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
push eax
mov edx, 0x5deba0
call fcn.00592d40
mov edi, dword [ebp - 0x120]
add esp, 4
test al, al
je 0x4d5fed
cmp dword [ebp - 0x124], 0
setne al
mov byte [edi + 0xe], al
jmp 0x4d5fed
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 8