Function at 0x45db60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f003d
mov eax, dword fs:[0]
push eax
sub esp, 0x590
mov eax, dword [0x53e060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x540], esi
push 0x502c00
push esi
call fcn.004ca5ae
add esp, 8
mov dword [ebp - 0x4fc], eax
test eax, eax
jne 0x45dbc2
push esi
push str.cant_read__s_n
call fcn.0049e790
add esp, 8
xor al, al
jmp 0x45dfec
push eax
lea eax, [ebp - 0x410]
xor edi, edi
push 0x400
push eax
xor esi, esi
mov dword [ebp - 0x4e8], edi
call fcn.004d20e6
add esp, 0xc
test eax, eax
je 0x45dfcb
nop dword [eax]
inc esi
cmp byte [ebp - 0x410], 0x2f
mov dword [ebp - 0x4ec], esi
jne 0x45dc0d
cmp byte [ebp - 0x40f], 0x2f
je 0x45dfa9
push 0x80
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.004c08f0
lea eax, [ebp - 0x410]
push 0x510d70
push eax
call fcn.004bfcf0
add esp, 0x14
test eax, eax
je 0x45dc3b
mov byte [eax], 0
movzx eax, byte [ebp - 0x410]
lea esi, [ebp - 0x410]
push eax
call fcn.004d2ce0
add esp, 4
test eax, eax
je 0x45dc67
movzx eax, byte [esi + 1]
inc esi
push eax
call fcn.004d2ce0
add esp, 4
test eax, eax
jne 0x45dc55
cmp byte [esi], 0
je 0x45dfa3
xor edi, edi
push 0x2c
push esi
mov dword [ebp + edi*4 - 0x490], esi
call fcn.004bff60
mov esi, eax
add esp, 8
test esi, esi
je 0x460094
mov byte [esi], 0
inc edi
inc esi
cmp edi, 0x13
jl 0x45dc72
test esi, esi
je 0x460094
cmp byte [esi], 0x7b
jne 0x45dcc0
lea eax, [esi + 1]
push 0x510e64
push eax
mov dword [ebp - 0x538], eax
call fcn.004bfcf0
add esp, 8
test eax, eax
jne 0x45dcef
push 0xa
push 0
push dword [ebp - 0x490]
call fcn.004cf2ed
mov esi, dword [ebp - 0x4ec]
push eax
push esi
push str.itemdb_read_db:_Invalid_format__Script_column__in_line__d__item_with_id__lu___skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0x18
jmp 0x45dfa9
mov byte [eax], 0
cmp byte [eax + 2], 0x7b
jne 0x45dd15
add eax, 3
push 0x510e64
push eax
mov dword [ebp - 0x53c], eax
call fcn.004bfcf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45dd44
push 0xa
push 0
push dword [ebp - 0x490]
call fcn.004cf2ed
mov esi, dword [ebp - 0x4ec]
push eax
push esi
push str.itemdb_read_db:_Invalid_format__OnEquip_Script_column__in_line__d__item_with_id__lu___skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0x18
jmp 0x45dfa9
mov byte [esi], 0
add esi, 2
mov dword [ebp - 0x4f4], esi
cmp byte [esi], 0x7b
je 0x45dd84
push 0xa
push 0
push dword [ebp - 0x490]
call fcn.004cf2ed
mov esi, dword [ebp - 0x4ec]
push eax
push esi
push str.itemdb_read_db:_Invalid_format__OnUnequip_Script_column__in_line__d__item_with_id__lu___skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0x18
jmp 0x45dfa9
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45dd90
sub ecx, edx
lea eax, [esi - 2]
add eax, ecx
mov dword [ebp - 0x4e0], eax
cmp byte [eax], 0x7d
je 0x45de50
mov ecx, esi
xor eax, eax
xor edi, edi
mov dword [ebp - 0x4dc], eax
xor edx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ddc0
sub ecx, esi
je 0x45de44
nop dword [eax + eax]
mov esi, dword [ebp - 0x4f4]
mov al, byte [esi + edx]
lea ecx, [esi + edx]
cmp al, 0x7b
jne 0x45dde3
inc edi
jmp 0x45ddf3
cmp al, 0x7d
jne 0x45ddf3
inc dword [ebp - 0x4dc]
mov dword [ebp - 0x4e0], ecx
mov eax, esi
inc edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45de00
sub eax, esi
cmp edx, eax
jb 0x45ddd0
cmp edi, dword [ebp - 0x4dc]
je 0x45de44
push 0xa
push 0
push dword [ebp - 0x490]
call fcn.004cf2ed
mov esi, dword [ebp - 0x4ec]
push eax
push esi
push str.itemdb_read_db:_Mismatching_curly_braces_in_line__d__item_with_id__lu___skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0x18
jmp 0x45dfa9
mov esi, dword [ebp - 0x4f4]
mov eax, dword [ebp - 0x4e0]
push 0xa
push 0
push dword [ebp - 0x490]
inc esi
mov byte [eax], 0
mov dword [ebp - 0x4f4], esi
call fcn.004cf2ed
add esp, 0xc
mov dword [ebp - 0x4e0], eax
mov ecx, 0x541028
push 0x1c
call fcn.004a0020
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
xorps xmm0, xmm0
mov dword [ebp - 0x4b0], 2
movups xmmword [ebp - 0x4c0], xmm0
mov ecx, 0x6449
mov dword [ebp - 0x4ac], 0xf
mov word [ebp - 0x4c0], cx
mov byte [ebp - 0x4be], 0
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.004a1620
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00405350
push 0x1f
mov ecx, esi
call fcn.004a0020
mov edx, dword [ebp - 0x4e0]
mov ecx, eax
call fcn.004071a0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.AegisName
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, dword [ebp - 0x48c]
mov ecx, eax
call fcn.00406fb0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Name
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, dword [ebp - 0x488]
mov ecx, eax
call fcn.00406fb0
push dword [ebp - 0x484]
call fcn.004d2910
push dword [ebp - 0x448]
mov esi, eax
mov dword [ebp - 0x4f8], esi
call fcn.004d2910
add esp, 8
mov edx, 0x525140
mov ecx, esi
mov edi, eax
call fcn.00408040
test eax, eax
jne 0x45e007
push dword [ebp - 0x4e0]
push esi
push str.itemdb_read_db:_Unknown_item_type__d_for_item__u__skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0xc
mov esi, dword [ebp - 0x4ec]
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.004d20e6
add esp, 0xc
test eax, eax
jne 0x45dbf0
push dword [ebp - 0x4fc]
call fcn.004ca6ea
push dword [ebp - 0x540]
push edi
push str.Done_reading_e_1_37m_de_0m_items_in_e_1_37m_se_0m._n
call fcn.0049e6f0
add esp, 0x10
mov al, 1
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.004be4ac
mov esp, ebp
pop ebp
ret
sub esp, 0x18
add eax, 3
mov ecx, esp
push eax
call fcn.004053a0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
push 0x1e
mov ecx, 0x541028
mov dword [ebp - 4], 1
call fcn.004a0020
mov edx, str.Type
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push esi
mov ecx, eax
call fcn.004a1620
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405350
mov eax, dword [ebp - 0x4f8]
cmp eax, 5
jne 0x45e0c2
test edi, edi
je 0x45e154
mov edx, 0x524824
mov ecx, edi
call fcn.00408040
test eax, eax
jne 0x45e09b
push dword [ebp - 0x4e0]
push edi
push str.itemdb_read_db:_Unknown_weapon_type__d_for_item__u__skipping._n
jmp 0x45df95
sub esp, 0x18
add eax, 2
mov ecx, esp
push eax
call fcn.004053a0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
mov dword [ebp - 4], 2
jmp 0x45e119
cmp eax, 0xa
jne 0x45e154
test edi, edi
je 0x45e154
mov edx, str.AMMO_
mov ecx, edi
call fcn.00408040
test eax, eax
jne 0x45e0f4
push dword [ebp - 0x4e0]
push edi
push str.itemdb_read_db:_Unknown_ammo_type__d_for_item__u__skipping._n
jmp 0x45df95
sub esp, 0x18
add eax, 5
mov ecx, esp
push eax
call fcn.004053a0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
mov dword [ebp - 4], 3
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.SubType
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push esi
mov ecx, eax
call fcn.004a1620
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405350
mov esi, dword [ebp - 0x480]
push esi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e1a7
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, 0x525248
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push dword [ebp - 0x480]
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov esi, dword [ebp - 0x480]
mov edi, dword [ebp - 0x47c]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e209
push esi
call fcn.004d2910
cdq
sub eax, edx
mov esi, eax
push edi
sar esi, 1
call fcn.004d2910
add esp, 8
cmp esi, eax
je 0x45e209
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Sell
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov edi, dword [ebp - 0x478]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e251
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Weight
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov ecx, dword [ebp - 0x474]
lea eax, [ebp - 0x4f0]
push eax
lea edx, [ebp - 0x4dc]
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4f0], 0
call fcn.00408ce0
mov esi, dword [ebp - 0x4dc]
add esp, 4
test esi, esi
jle 0x45e2b4
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Attack
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, esi
mov ecx, eax
call fcn.00407090
mov esi, dword [ebp - 0x4f0]
test esi, esi
jle 0x45e2e8
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.MagicAttack
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, esi
mov ecx, eax
call fcn.00407090
mov edi, dword [ebp - 0x470]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e330
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Defense
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov edi, dword [ebp - 0x46c]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e378
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Range
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov edi, dword [ebp - 0x468]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e3c0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Slots
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov eax, dword [ebp - 0x4f8]
cmp eax, 1
je 0x45e809
cmp eax, 3
je 0x45e809
cmp eax, 6
je 0x45e809
cmp eax, 7
je 0x45e809
cmp eax, 8
je 0x45e809
cmp eax, 9
je 0x45e809
push 0
push 0
push dword [ebp - 0x464]
call fcn.004cf333
mov esi, eax
add esp, 0xc
mov eax, edx
mov dword [ebp - 0x4e4], esi
mov ecx, esi
mov dword [ebp - 0x4dc], eax
or ecx, eax
je 0x45e5b1
cmp esi, 0xffffffff
jne 0x45e435
test eax, eax
je 0x45e5b1
cmp esi, 0xfffffffe
jne 0x45e4f6
test eax, eax
jne 0x45e4f6
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Jobs
mov ecx, eax
call fcn.00406fb0
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, 0x525304
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Novice
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.false
mov ecx, eax
call fcn.00406fb0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.SuperNovice
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.false
mov ecx, eax
call fcn.00406fb0
jmp 0x45e5a5
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Jobs
mov ecx, eax
call fcn.00406fb0
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
mov eax, dword [0x541000]
mov eax, dword [eax]
mov dword [ebp - 0x4f0], eax
cmp byte [eax + 0xd], 0
jne 0x45e5a5
nop dword [eax]
lea edi, [eax + 0x10]
xor ecx, ecx
mov eax, dword [edi + 0x18]
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, ecx
cmovae edx, ecx
and eax, esi
mov esi, edx
and esi, dword [ebp - 0x4dc]
cmp eax, ecx
jne 0x45e588
cmp esi, edx
jne 0x45e588
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
push edi
mov ecx, eax
call fcn.004a1620
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
lea ecx, [ebp - 0x4f0]
call fcn.00473610
mov eax, dword [ebp - 0x4f0]
mov esi, dword [ebp - 0x4e4]
cmp byte [eax + 0xd], 0
je 0x45e530
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
push dword [ebp - 0x460]
call fcn.004d2910
mov esi, eax
add esp, 4
mov dword [ebp - 0x4dc], esi
test esi, esi
jne 0x45e620
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Classes
mov ecx, eax
call fcn.00406fb0
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
push 0x1e
mov ecx, eax
call fcn.004a0020
mov edx, 0x525304
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.false
mov ecx, eax
call fcn.00406fb0
mov ecx, eax
jmp 0x45e795
cmp esi, 0x7f
je 0x45e79c
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Classes
mov ecx, eax
call fcn.00406fb0
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
mov eax, esi
and eax, 0x38
cmp al, 0x38
jne 0x45e68c
and esi, 0xffffffc7
mov ecx, 0x541028
push 0x1e
mov dword [ebp - 0x4dc], esi
call fcn.004a0020
mov edx, str.All_Third
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov eax, esi
and eax, 0x12
cmp al, 0x12
jne 0x45e6cb
and esi, 0xffffffad
mov ecx, 0x541028
push 0x1e
mov dword [ebp - 0x4dc], esi
call fcn.004a0020
mov edx, str.All_Upper
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov eax, esi
and eax, 0x24
cmp al, 0x24
jne 0x45e70a
and esi, 0xffffffdb
mov ecx, 0x541028
push 0x1e
mov dword [ebp - 0x4dc], esi
call fcn.004a0020
mov edx, str.All_Baby
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
xor edi, edi
nop dword [eax]
test esi, edi
je 0x45e78a
mov edx, str.ITEMJ_
mov ecx, edi
call fcn.00408040
test eax, eax
je 0x45e78a
sub esp, 0x18
add eax, 6
mov ecx, esp
push eax
call fcn.004053a0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
push 0x1e
mov ecx, 0x541028
mov dword [ebp - 4], 4
call fcn.004a0020
push esi
mov ecx, eax
call fcn.004a1620
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405350
mov esi, dword [ebp - 0x4dc]
inc edi
cmp edi, 0x20
jle 0x45e710
mov ecx, 0x541028
push 0x1d
call fcn.004a0020
push dword [ebp - 0x45c]
call fcn.004d2910
add esp, 4
sub eax, 0
je 0x45e7dc
sub eax, 1
jne 0x45e809
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Gender
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.Male
jmp 0x45e802
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Gender
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.Female
mov ecx, eax
call fcn.00406fb0
mov esi, dword [ebp - 0x458]
push esi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45e951
push esi
call fcn.004d2910
add esp, 4
mov dword [ebp - 0x4dc], eax
mov ecx, 0x541028
push 0x1e
call fcn.004a0020
mov edx, str.Locations
mov ecx, eax
call fcn.00406fb0
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [ebp - 0x4dc]
mov eax, ecx
and eax, 0x22
cmp al, 0x22
jne 0x45e89e
and ecx, 0xffffffdd
mov dword [ebp - 0x4dc], ecx
mov ecx, 0x541028
push 0x1e
call fcn.004a0020
mov edx, str.Both_Hand
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov ecx, dword [ebp - 0x4dc]
mov eax, ecx
and eax, 0x88
cmp al, 0x88
jne 0x45e8e8
and ecx, 0xffffff77
mov dword [ebp - 0x4dc], ecx
mov ecx, 0x541028
push 0x1e
call fcn.004a0020
mov edx, str.Both_Accessory
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov ecx, dword [ebp - 0x4dc]
mov eax, dword [0x540fe4]
mov dword [ebp - 0x4f0], eax
mov esi, dword [eax]
cmp esi, eax
je 0x45e945
mov edx, eax
nop dword [eax + eax]
test dword [esi + 0x20], ecx
lea edi, [esi + 8]
je 0x45e93d
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
push edi
mov ecx, eax
call fcn.004a1620
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x4f0]
mov eax, dword [esi]
mov esi, eax
cmp eax, edx
jne 0x45e900
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
mov edi, dword [ebp - 0x454]
push edi
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45ea54
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov cx, word [0x525400]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov edx, eax
mov al, byte [0x525402]
movq xmm0, qword [str.WeaponLevel]
mov dword [ebp - 0x498], 0xb
mov dword [ebp - 0x494], 0xf
movq qword [ebp - 0x4a8], xmm0
mov word [ebp - 0x4a0], cx
mov byte [ebp - 0x49e], al
mov byte [ebp - 0x49d], 0
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 5
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45ea1c
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ea12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
push edi
mov esi, eax
call fcn.004d2910
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00407090
mov esi, dword [ebp - 0x450]
xor edi, edi
nop dword [eax]
test esi, esi
je 0x45ea8c
push esi
call fcn.004d2910
push 0x3a
push esi
mov dword [ebp + edi*4 - 0x55c], eax
call fcn.004bff60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45ea86
mov byte [esi], 0
inc esi
inc edi
cmp edi, 2
jl 0x45ea60
test edi, edi
je 0x45ec80
mov esi, dword [ebp - 0x558]
xor eax, eax
cmp edi, 1
mov edi, dword [ebp - 0x55c]
cmove esi, eax
test edi, edi
jle 0x45eb99
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [0x525420]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov edx, eax
mov al, byte [0x525424]
movq xmm0, qword [str.EquipLevelMin]
mov dword [ebp - 0x498], 0xd
mov dword [ebp - 0x494], 0xf
movq qword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a0], ecx
mov byte [ebp - 0x49c], al
mov byte [ebp - 0x49b], 0
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 6
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x4e4], eax
cmp ecx, 0x10
jb 0x45eb6c
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45eb5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
mov eax, dword [ebp - 0x4e4]
add esp, 8
push 0x1f
mov ecx, eax
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
mov edx, edi
mov ecx, eax
call fcn.00407090
test esi, esi
jle 0x45ec80
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [0x52543c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov edx, eax
mov al, byte [0x525440]
movq xmm0, qword [str.EquipLevelMax]
mov dword [ebp - 0x498], 0xd
mov dword [ebp - 0x494], 0xf
movq qword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a0], ecx
mov byte [ebp - 0x49c], al
mov byte [ebp - 0x49b], 0
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 7
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45ec53
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ec49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, edi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
mov edx, esi
mov ecx, eax
call fcn.00407090
push dword [ebp - 0x44c]
call fcn.004d2910
add esp, 4
test eax, eax
jle 0x45ede6
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov cx, word [0x52545c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x498], 0xa
movq xmm0, qword [str.Refineable]
mov dword [ebp - 0x494], 0xf
movq qword [ebp - 0x4a8], xmm0
mov word [ebp - 0x4a0], cx
mov byte [ebp - 0x49e], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45ed3d
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ed33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
xorps xmm0, xmm0
mov dword [ebp - 0x4b0], 4
movups xmmword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4ac], 0xf
mov dword [ebp - 0x4c0], 0x65757274
mov byte [ebp - 0x4bc], 0
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4ac]
cmp ecx, 0x10
jb 0x45ede6
mov edx, dword [ebp - 0x4c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45eddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
mov edi, dword [ebp - 0x448]
push 0xa
push 0
push edi
call fcn.004cf2ed
add esp, 0xc
test eax, eax
je 0x45ee46
mov eax, dword [ebp - 0x4f8]
cmp eax, 5
je 0x45ee46
cmp eax, 0xa
je 0x45ee46
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.View
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push 0xa
push 0
push edi
mov esi, eax
call fcn.004cf2ed
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.004071a0
mov edx, dword [ebp - 0x4e0]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x4de]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x4dd]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x5616a4
push eax
mov dword [ebp - 0x4dc], eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x584]
push eax
call fcn.00499430
mov esi, dword [eax + 4]
test esi, esi
je 0x45ef62
cmp esi, dword [0x5616a8]
je 0x45ef62
mov edx, dword [esi + 0xc]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x4e4], edx
imul eax, eax, 0x1000193
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x58c]
push eax
call fcn.00499d70
mov eax, dword [eax + 4]
test eax, eax
je 0x45ef52
cmp eax, dword [0x56c320]
je 0x45ef52
lea edi, [eax + 0xc]
test edi, edi
je 0x45ef52
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.AliasName
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push edi
mov ecx, eax
call fcn.004a1620
jmp 0x45ef62
push dword [esi + 0xc]
push str.Item_name_for_item_id__u_is_not_known__item_avail_._n
call fcn.0049e790
add esp, 8
push dword [ebp - 0x4dc]
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x57c]
push eax
call fcn.004999f0
mov edi, dword [0x56c3a0]
push dword [ebp - 0x4dc]
mov eax, dword [eax + 4]
test eax, eax
cmovne edi, eax
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x594]
push eax
call fcn.00499a60
mov edx, dword [0x56c340]
mov ecx, edx
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x4e4], ecx
cmp edi, dword [0x56c3a0]
jne 0x45efc8
cmp ecx, edx
je 0x45f2f9
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Flags]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cl, byte [0x523ddc]
mov dword [ebp - 0x498], 5
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a4], cl
mov byte [ebp - 0x4a3], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f067
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f05d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
mov eax, dword [ebp - 0x4e4]
cmp eax, dword [0x56c340]
je 0x45f0ae
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.BuyingStore
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov edx, str.true
mov ecx, eax
call fcn.00406fb0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
cmp byte [edi + 0xd], 0
je 0x45f0ff
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov cl, byte [edi + 0xd]
mov edx, str.DeadBranch
mov byte [ebp - 0x544], cl
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push dword [ebp - 0x544]
mov ecx, eax
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
mov al, byte [edi + 0xe]
mov byte [ebp - 0x548], al
test al, al
je 0x45f148
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Container
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push dword [ebp - 0x548]
mov ecx, eax
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
cmp byte [edi + 0xf], 0
je 0x45f193
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.UniqueId
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [edi + 0xf]
mov byte [ebp - 0x54c], cl
mov ecx, eax
push dword [ebp - 0x54c]
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
cmp byte [edi + 0x11], 0
je 0x45f1de
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.BindOnEquip
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [edi + 0x11]
mov byte [ebp - 0x550], cl
mov ecx, eax
push dword [ebp - 0x550]
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
cmp byte [edi + 0x10], 0
je 0x45f229
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.DropAnnounce
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [edi + 0x10]
mov byte [ebp - 0x554], cl
mov ecx, eax
push dword [ebp - 0x554]
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
mov al, byte [edi + 0x12]
mov byte [ebp - 0x500], al
test al, al
je 0x45f272
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoConsume
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push dword [ebp - 0x500]
mov ecx, eax
call fcn.004a18f0
mov ecx, dword [0x56c3a0]
cmp edi, ecx
je 0x45f2ed
movzx eax, word [edi + 0x14]
test ax, ax
je 0x45f2ed
sub esp, 0x18
mov ecx, eax
mov edx, str.DROPEFFECT_
mov esi, esp
call fcn.00408040
add eax, 0xb
mov ecx, esi
push eax
call fcn.004053a0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
push 0x1e
mov ecx, 0x541028
mov dword [ebp - 4], 0xb
call fcn.004a0020
mov edx, str.DropEffect
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push esi
mov ecx, eax
call fcn.004a1620
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405350
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
push dword [ebp - 0x4dc]
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x564]
push eax
call fcn.00499980
mov edi, dword [0x561788]
mov eax, dword [eax + 4]
test eax, eax
cmovne edi, eax
cmp edi, dword [0x561788]
je 0x45f51e
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Delay]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cl, byte [0x5255e4]
mov dword [ebp - 0x498], 5
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a4], cl
mov byte [ebp - 0x4a3], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f3cb
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f3c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
xorps xmm0, xmm0
mov dword [ebp - 0x498], 8
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x494], 0xf
mov dword [ebp - 0x4a8], 0x61727544
mov dword [ebp - 0x4a4], 0x6e6f6974
mov byte [ebp - 0x4a0], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xd
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f474
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f46a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
mov edx, dword [edi + 0xc]
mov ecx, eax
call fcn.004071a0
cmp dword [edi + 0x20], 0
jbe 0x45f512
sub esp, 0x18
mov esi, esp
push 3
push ecx
lea ecx, [edi + 0x10]
call fcn.004789e0
push eax
mov ecx, esi
call fcn.004053e0
lea ecx, [ebp - 0x4c0]
call fcn.00408da0
add esp, 0x18
mov esi, eax
push 0x1e
mov ecx, 0x541028
mov dword [ebp - 4], 0xe
call fcn.004a0020
mov edx, str.Status
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
push esi
mov ecx, eax
call fcn.004a1620
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0xffffffff
call fcn.00405350
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
mov edi, dword [ebp - 0x4dc]
lea eax, [ebp - 0x4e0]
push edi
push eax
lea eax, [ebp - 0x56c]
push eax
call fcn.00499910
mov esi, dword [0x56c420]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x56c420]
je 0x45f7d5
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Stack]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cl, byte [0x525614]
mov dword [ebp - 0x498], 5
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a4], cl
mov byte [ebp - 0x4a3], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f5f1
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f5e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Amount]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cx, word [0x5243dc]
mov dword [ebp - 0x498], 6
mov dword [ebp - 0x494], 0xf
mov word [ebp - 0x4a4], cx
mov byte [ebp - 0x4a2], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f6a0
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, edi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
mov dx, word [esi + 0xc]
mov ecx, eax
call fcn.004073c0
cmp byte [esi + 0xe], 0
je 0x45f70c
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Inventory
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0xe]
mov byte [ebp - 0x504], cl
mov ecx, eax
push dword [ebp - 0x504]
call fcn.004a18f0
cmp byte [esi + 0xf], 0
je 0x45f749
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Cart
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0xf]
mov byte [ebp - 0x508], cl
mov ecx, eax
push dword [ebp - 0x508]
call fcn.004a18f0
cmp byte [esi + 0x10], 0
je 0x45f786
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Storage
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x10]
mov byte [ebp - 0x50c], cl
mov ecx, eax
push dword [ebp - 0x50c]
call fcn.004a18f0
cmp byte [esi + 0x11], 0
je 0x45f7c3
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.GuildStorage
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x11]
mov byte [ebp - 0x510], cl
mov ecx, eax
push dword [ebp - 0x510]
call fcn.004a18f0
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
mov edi, dword [ebp - 0x4dc]
push edi
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x574]
push eax
call fcn.004998a0
mov esi, dword [0x561708]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x561708]
je 0x45fa46
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.NoUse]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cl, byte [0x5256a8]
mov dword [ebp - 0x498], 5
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a4], cl
mov byte [ebp - 0x4a3], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0x11
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f8a2
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f898
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
cmp word [esi + 0xc], 0x64
je 0x45f8e1
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Override
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov dx, word [esi + 0xc]
mov ecx, eax
call fcn.004073c0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Sitting]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov edx, eax
mov dword [ebp - 0x4a8], ecx
mov cx, word [0x518b28]
mov al, byte [0x518b2a]
mov dword [ebp - 0x498], 7
mov dword [ebp - 0x494], 0xf
mov word [ebp - 0x4a4], cx
mov byte [ebp - 0x4a2], al
mov byte [ebp - 0x4a1], 0
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 0x12
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45f991
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45f987
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
xorps xmm0, xmm0
mov dword [ebp - 0x4b0], 4
movups xmmword [ebp - 0x4c0], xmm0
mov dword [ebp - 0x4ac], 0xf
mov dword [ebp - 0x4c0], 0x65757274
mov byte [ebp - 0x4bc], 0
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 4], 0x13
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4ac]
cmp ecx, 0x10
jb 0x45fa3a
mov edx, dword [ebp - 0x4c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45fa30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
push edi
lea eax, [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x59c]
push eax
call fcn.00499830
mov esi, dword [0x56c300]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x56c300]
je 0x45fd83
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Trade]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cl, byte [0x5256e0]
mov dword [ebp - 0x498], 5
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a4], cl
mov byte [ebp - 0x4a3], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0x14
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45fb13
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45fb09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1c
mov ecx, 0x541028
call fcn.004a0020
cmp word [esi + 0xc], 0x64
je 0x45fb52
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.Override
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov dx, word [esi + 0xc]
mov ecx, eax
call fcn.004073c0
cmp byte [esi + 0xe], 0
je 0x45fb8f
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoDrop
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0xe]
mov byte [ebp - 0x514], cl
mov ecx, eax
push dword [ebp - 0x514]
call fcn.004a18f0
cmp byte [esi + 0xf], 0
je 0x45fbcc
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoTrade
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0xf]
mov byte [ebp - 0x518], cl
mov ecx, eax
push dword [ebp - 0x518]
call fcn.004a18f0
cmp byte [esi + 0x10], 0
je 0x45fc09
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.TradePartner
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x10]
mov byte [ebp - 0x51c], cl
mov ecx, eax
push dword [ebp - 0x51c]
call fcn.004a18f0
cmp byte [esi + 0x11], 0
je 0x45fc46
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoSell
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x11]
mov byte [ebp - 0x520], cl
mov ecx, eax
push dword [ebp - 0x520]
call fcn.004a18f0
cmp byte [esi + 0x12], 0
je 0x45fc83
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoCart
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x12]
mov byte [ebp - 0x524], cl
mov ecx, eax
push dword [ebp - 0x524]
call fcn.004a18f0
cmp byte [esi + 0x13], 0
je 0x45fcc0
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoStorage
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x13]
mov byte [ebp - 0x528], cl
mov ecx, eax
push dword [ebp - 0x528]
call fcn.004a18f0
cmp byte [esi + 0x14], 0
je 0x45fcfd
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoGuildStorage
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x14]
mov byte [ebp - 0x52c], cl
mov ecx, eax
push dword [ebp - 0x52c]
call fcn.004a18f0
cmp byte [esi + 0x15], 0
je 0x45fd3a
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoMail
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x15]
mov byte [ebp - 0x530], cl
mov ecx, eax
push dword [ebp - 0x530]
call fcn.004a18f0
cmp byte [esi + 0x16], 0
je 0x45fd77
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov edx, str.NoAuction
mov ecx, eax
call fcn.00406fb0
push 0x1f
mov ecx, eax
call fcn.004a0020
mov cl, byte [esi + 0x16]
mov byte [ebp - 0x534], cl
mov ecx, eax
push dword [ebp - 0x534]
call fcn.004a18f0
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
mov edi, dword [ebp - 0x538]
cmp byte [edi], 0
je 0x45fe74
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [str.Script]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov dword [ebp - 0x4a8], ecx
mov cx, word [0x522fa8]
mov dword [ebp - 0x498], 6
mov dword [ebp - 0x494], 0xf
mov word [ebp - 0x4a4], cx
mov byte [ebp - 0x4a2], 0
lea ecx, [ebp - 0x4a8]
mov dword [ebp - 4], 0x15
push ecx
mov ecx, eax
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45fe35
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45fe2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
push 8
mov ecx, eax
call fcn.004a0020
mov ecx, edi
mov esi, eax
call fcn.0049f3b0
mov edx, eax
mov ecx, esi
call fcn.00406fb0
mov edi, dword [ebp - 0x53c]
cmp byte [edi], 0
je 0x45ff76
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov cx, word [0x52580c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4a8], xmm0
mov edx, eax
mov al, byte [0x52580e]
movq xmm0, qword [str.EquipScript]
mov dword [ebp - 0x498], 0xb
mov dword [ebp - 0x494], 0xf
movq qword [ebp - 0x4a8], xmm0
mov word [ebp - 0x4a0], cx
mov byte [ebp - 0x49e], al
mov byte [ebp - 0x49d], 0
lea eax, [ebp - 0x4a8]
mov dword [ebp - 4], 0x16
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x494]
cmp ecx, 0x10
jb 0x45ff37
mov edx, dword [ebp - 0x4a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ff2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0xf
mov byte [ebp - 0x4a8], 0
call fcn.004a0020
push 8
mov ecx, eax
call fcn.004a0020
mov ecx, edi
mov esi, eax
call fcn.0049f3b0
mov edx, eax
mov ecx, esi
call fcn.00406fb0
mov edi, dword [ebp - 0x4f4]
cmp byte [edi], 0
je 0x460076
push 0x1e
mov ecx, 0x541028
call fcn.004a0020
mov ecx, dword [0x52582c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4d8], xmm0
mov edx, eax
mov al, byte [0x525830]
movq xmm0, qword [str.UnEquipScript]
mov dword [ebp - 0x4c8], 0xd
mov dword [ebp - 0x4c4], 0xf
movq qword [ebp - 0x4d8], xmm0
mov dword [ebp - 0x4d0], ecx
mov byte [ebp - 0x4cc], al
mov byte [ebp - 0x4cb], 0
lea eax, [ebp - 0x4d8]
mov dword [ebp - 4], 0x17
push eax
mov ecx, edx
call fcn.004a1620
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x4c4]
cmp ecx, 0x10
jb 0x460037
mov edx, dword [ebp - 0x4d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46002d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4600c3
push ecx
push edx
call fcn.004be4f6
add esp, 8
push 0x1f
mov ecx, esi
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0xf
mov byte [ebp - 0x4d8], 0
call fcn.004a0020
push 8
mov ecx, eax
call fcn.004a0020
mov ecx, edi
mov esi, eax
call fcn.0049f3b0
mov edx, eax
mov ecx, esi
call fcn.00406fb0
push 0x1d
mov ecx, 0x541028
call fcn.004a0020
mov edi, dword [ebp - 0x4e8]
inc edi
mov dword [ebp - 0x4e8], edi
jmp 0x45dfa3
push 0xa
push 0
push dword [ebp - 0x490]
call fcn.004cf2ed
mov esi, dword [ebp - 0x4ec]
push eax
push esi
push str.itemdb_read_db:_Insufficient_columns_in_line__d__item_with_id__lu___skipping._n
call fcn.0049e790
mov edi, dword [ebp - 0x4e8]
add esp, 0x18
jmp 0x45dfa9
call fcn.004cb42e
int3