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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0xac]
add eax, 0x5c
mov dword [ebp - 0x40], eax
cmp byte [eax + 0x68], 0
push edi
sete al
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x19], al
test al, al
je 0x4be26c
mov eax, dword [ebx]
push str.Noos_Editor
call dword [eax + 0x28]
mov ecx, dword [0x57d0f8]
push str.icon_skills
lea ecx, [ecx + 0x234]
call fcn.004c6320
mov edi, eax
test edi, edi
je 0x4be2c6
push edi
lea ecx, [ebx + 0x354]
call fcn.004088d0
push edi
lea ecx, [ebx + 0x388]
call fcn.004088d0
push 0x20
push 0x20
push 0x22
push 0x22
push 0x15
push 0x14
push 0x65
push dword [ebx + 0x14]
lea ecx, [ebx + 0x2e0]
mov dword [ebx + 0x410], 0x18
call fcn.004d5810
push 4
push 0
push str.Name:
push 0xe
push 0x28
push 0x12
push 0x5a
mov ecx, ebx
call fcn.004ee820
push 0
push 0x800000
push 0x522a58
push 0x12
push 0x118
push 0x10
push 0x8c
push 0x67
push dword [ebx + 0x14]
lea ecx, [ebx + 0x428]
call fcn.004d38d0
mov esi, dword [ebx + 0x428]
push 6
call fcn.004e1d10
add esp, 4
lea ecx, [ebx + 0x428]
push eax
call dword [esi + 8]
push 0
push 0x1a
push 0xc5
push dword [ebx + 0x42c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0
push str.Family:
push 0xe
push 0x28
push 0x2d
push 0x5a
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0
push 0xfa
push 0x118
push 0x28
push 0x8c
push 0x71
push dword [ebx + 0x14]
lea esi, [ebx + 0x434]
mov ecx, esi
call fcn.004d3c50
push esi
call fcn.004c14b0
mov eax, dword [ebp - 0x40]
add esp, 4
movzx eax, word [eax + 0x6b]
mov dword [ebp - 0x38], eax
cwde
push eax
mov ecx, esi
call fcn.004d4680
mov ecx, ebx
push 4
push 0
push str.Category:
push 0x12
push 0x32
push 0x48
push 0x50
call fcn.004ee820
lea esi, [ebx + 0x45c]
push 0
push 0
push 0x96
push 0x64
push 0x44
push 0x8c
push 0x6e
push dword [ebx + 0x14]
mov ecx, esi
call fcn.004d3670
push str.Noos___Other
mov ecx, esi
call fcn.004d2f80
push str.Passive
mov ecx, esi
call fcn.004d2f80
push str.Basic
mov ecx, esi
call fcn.004d2f80
push str.Combat
mov ecx, esi
call fcn.004d2f80
push str.Special
mov ecx, esi
call fcn.004d2f80
push 4
push 0
push str.Animation:
push 0x12
push 0x32
push 0x48
push 0x104
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0
push 0x12
push 0x32
push 0x46
push 0x140
push 0x66
push dword [ebx + 0x14]
lea ecx, [ebx + 0x484]
call fcn.004d36f0
push 4
push 0
push str.Type:
push 0x18
push 0x28
push 0x14
push 0x1c2
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0x96
push 0x78
push 0x10
push 0x1ea
push 0x6f
push dword [ebx + 0x14]
lea ecx, [ebx + 0x540]
call fcn.004d3670
push str.Passive
lea ecx, [ebx + 0x540]
call fcn.004d2f80
push str.Physical_Attack
lea ecx, [ebx + 0x540]
call fcn.004d2f80
push str.Shooting_Attack
lea ecx, [ebx + 0x540]
call fcn.004d2f80
push str.Magic_Attack
lea ecx, [ebx + 0x540]
call fcn.004d2f80
push 4
push 0
push str.Effect:
push 0x18
push 0x28
push 0x2c
push 0x1c2
mov ecx, ebx
call fcn.004ee820
push 0
push 0
lea esi, [ebx + 0x568]
push 0x96
push 0x78
push 0x28
push 0x1ea
push 0x70
push dword [ebx + 0x14]
mov ecx, esi
call fcn.004d3670
push str.Buff__Noss_
mov ecx, esi
call fcn.004d2f80
push str.Basic_Damage
mov ecx, esi
call fcn.004d2f80
push str.Healing__Dispel
mov ecx, esi
call fcn.004d2f80
push str.Debuff
mov ecx, esi
call fcn.004d2f80
push str.Buff
mov ecx, esi
call fcn.004d2f80
push str.Fixed_Damage
mov ecx, esi
call fcn.004d2f80
push str.Other
mov ecx, esi
call fcn.004d2f80
push 4
push 0
push str.Description:
push 0x10
push 0x64
push 0x5e
push 0x14
mov ecx, ebx
call fcn.004ee820
push 0
push 0x800004
push 0x522a58
push 0x30
push 0x140
push 0x6e
push 0x14
push 0x68
push dword [ebx + 0x14]
lea ecx, [ebx + 0x490]
call fcn.004d38d0
mov esi, dword [ebx + 0x490]
push 6
call fcn.004e1d10
add esp, 4
lea ecx, [ebx + 0x490]
push eax
call dword [esi + 8]
push 0
push 0x200
push 0xc5
push dword [ebx + 0x494]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x490]
push 0
lea ecx, [ebx + 0x490]
call dword [eax + 0x10]
push 0
push 0x50000000
push str.Edit...
push 0x18
push 0x3c
push 0x7a
push 0x168
push 0x36b
push dword [ebx + 0x14]
lea ecx, [ebx + 0x49c]
call fcn.004d3570
push 5
push 0
push str.Skill_used_by:
push 0x12
push 0x50
push 0xac
push 0x14
mov ecx, ebx
call fcn.004ee820
push 0
push 0x10002
push str.Fighter
push 0x12
push 0x3c
push 0xba
push 0x23
push 0x78
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4a8]
call fcn.004d3570
push 0
push 2
push str.Defender
push 0x12
push 0x3c
push 0xba
push 0x64
push 0x79
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4b4]
call fcn.004d3570
push 0
push 2
push str.Ranger
push 0x12
push 0x3c
push 0xba
push 0xa5
push 0x7a
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4c0]
call fcn.004d3570
push 0
push 2
push str.Archer
push 0x12
push 0x3c
push 0xba
push 0xe6
push 0x7b
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4cc]
call fcn.004d3570
push 0
push 2
push str.Mage
push 0x12
push 0x3c
push 0xba
push 0x127
push 0x7c
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4d8]
call fcn.004d3570
push 0
push 2
push str.Priest
push 0x12
push 0x3c
push 0xba
push 0x168
push 0x7d
push dword [ebx + 0x14]
lea ecx, [ebx + 0x4e4]
call fcn.004d3570
push 4
push 0
push str.from:
push 0x12
push 0x28
push 0xd6
push 0x23
mov ecx, ebx
call fcn.004ee820
push 0
lea esi, [ebx + 0x4f0]
push 0
push 0xc8
push 0x82
push 0xd2
push 0x46
push 0x69
push dword [ebx + 0x14]
mov ecx, esi
call fcn.004d3670
push str.Human
mov ecx, esi
call fcn.004d2f80
push 0x5243b8
mov ecx, esi
call fcn.004d2f80
push str.Light
mov ecx, esi
call fcn.004d2f80
push str.Deatheater
mov ecx, esi
call fcn.004d2f80
push str.Vail
mov ecx, esi
call fcn.004d2f80
push str.Fury
mov ecx, esi
call fcn.004d2f80
push str.All_factions
mov ecx, esi
call fcn.004d2f80
push 4
push 0
push str.in_mode:
push 0x12
push 0x2d
push 0xd6
push 0xd2
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0x96
push 0x78
push 0xd2
push 0xff
push 0x6a
push dword [ebx + 0x14]
lea ecx, [ebx + 0x518]
call fcn.004d3670
push str.Easy_or_higher
lea ecx, [ebx + 0x518]
call fcn.004d2f80
push str.Normal_or_higher
lea ecx, [ebx + 0x518]
call fcn.004d2f80
push str.Difficult_or_higher
lea ecx, [ebx + 0x518]
call fcn.004d2f80
push str.Ultimate
lea ecx, [ebx + 0x518]
call fcn.004d2f80
push 5
push 0
push str.Skill_usable_with:
push 0x18
push 0x96
push 0x50
push 0x1c2
mov ecx, ebx
call fcn.004ee820
push 0
push 0x10002
push dword [0x57ab90]
lea ecx, [ebx + 0x590]
push 0x12
push 0x64
push 0x60
push 0x1c2
push 0x82
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57ab94]
lea ecx, [ebx + 0x59c]
push 0x12
push 0x64
push 0x72
push 0x1c2
push 0x83
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57ab98]
lea ecx, [ebx + 0x5a8]
push 0x12
push 0x64
push 0x84
push 0x1c2
push 0x84
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57ab9c]
lea ecx, [ebx + 0x5b4]
push 0x12
push 0x64
push 0x96
push 0x1c2
push 0x85
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57aba0]
lea ecx, [ebx + 0x5c0]
push 0x12
push 0x64
push 0xa8
push 0x1c2
push 0x86
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 0x10002
push dword [0x57aba4]
lea ecx, [ebx + 0x5cc]
push 0x12
push 0x64
push 0x60
push 0x23a
push 0x87
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57aba8]
lea ecx, [ebx + 0x5d8]
push 0x12
push 0x64
push 0x72
push 0x23a
push 0x88
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abac]
lea ecx, [ebx + 0x5e4]
push 0x12
push 0x64
push 0x84
push 0x23a
push 0x89
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abb0]
push 0x12
push 0x64
push 0x96
push 0x23a
push 0x8a
push dword [ebx + 0x14]
lea ecx, [ebx + 0x5f0]
call fcn.004d3570
push 0
push 2
push dword [0x57abb4]
lea ecx, [ebx + 0x5fc]
push 0x12
push 0x64
push 0xa8
push 0x23a
push 0x8b
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 0x10002
push dword [0x57abb8]
lea ecx, [ebx + 0x608]
push 0x12
push 0x64
push 0x60
push 0x2b2
push 0x8c
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abbc]
lea ecx, [ebx + 0x614]
push 0x12
push 0x64
push 0x72
push 0x2b2
push 0x8d
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abc0]
lea ecx, [ebx + 0x620]
push 0x12
push 0x64
push 0x84
push 0x2b2
push 0x8e
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abc4]
lea ecx, [ebx + 0x62c]
push 0x12
push 0x64
push 0x96
push 0x2b2
push 0x8f
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 2
push dword [0x57abc8]
lea ecx, [ebx + 0x638]
push 0x12
push 0x64
push 0xa8
push 0x2b2
push 0x90
push dword [ebx + 0x14]
call fcn.004d3570
push 0
push 0x10002
push dword [0x57abcc]
push 0x12
push 0x64
push 0xba
push 0x1c2
push 0x91
push dword [ebx + 0x14]
lea ecx, [ebx + 0x644]
call fcn.004d3570
push 4
push 0
push str.Requires:
push 0x12
push 0x32
push 0xda
push 0x1c2
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0x96
push 0x82
push 0xd6
push 0x1fe
push 0x72
push dword [ebx + 0x14]
lea edi, [ebx + 0x6a0]
mov ecx, edi
call fcn.004d3670
push 4
push 0
push 0x5426cc
push 0x12
push 0x14
push 0xda
push 0x28a
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0x96
push 0x82
push 0xd6
push 0x29e
push 0x73
push dword [ebx + 0x14]
lea esi, [ebx + 0x6c8]
mov ecx, esi
mov dword [ebp - 0x30], esi
call fcn.004d3670
push str.None
mov ecx, edi
call fcn.004d2f80
push str.None
mov ecx, esi
call fcn.004d2f80
mov ebx, dword [ebp - 0x30]
mov esi, 0x57ab90
lea ebx, [ebx]
push dword [esi]
mov ecx, edi
call fcn.004d2f80
push dword [esi]
mov ecx, ebx
call fcn.004d2f80
add esi, 4
cmp esi, 0x57abd0
jl 0x4beba0
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x34]
movzx eax, byte [esi + 0x92]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x10
cmp eax, 0x13
push 0
cmove eax, ecx
push eax
push 0x14e
push dword [ebx + 0x6a4]
call edi
movzx eax, byte [esi + 0x93]
cmp eax, 0x13
mov ecx, 0x10
push 0
cmove eax, ecx
push eax
push 0x14e
push dword [ebx + 0x6cc]
call edi
push 4
push 0
push str.Def._Type:
push 0xe
push 0x3c
push 0xf9
push 0x14
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0xfa
push 0x96
push 0xf6
push 0x50
push 0x6d
push dword [ebx + 0x14]
lea ecx, [ebx + 0x28e4]
call fcn.004d3670
push str.none
lea ecx, [ebx + 0x28e4]
call fcn.004d2f80
push str.Melee_Attacks
lea ecx, [ebx + 0x28e4]
call fcn.004d2f80
push str.Ranged_Attacks
lea ecx, [ebx + 0x28e4]
call fcn.004d2f80
push str.Magical_Attacks
lea ecx, [ebx + 0x28e4]
call fcn.004d2f80
mov eax, esi
push 0
movzx eax, byte [eax + 0xd6]
push eax
push 0x14e
push dword [ebx + 0x28e8]
call edi
push 4
push 0
push str.State_Type:
push 0xe
push 0x3c
push 0xf9
push 0xf0
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0xfa
push 0x96
push 0xf6
push 0x12c
push 0x6c
push dword [ebx + 0x14]
lea esi, [ebx + 0x650]
mov ecx, esi
call fcn.004d3670
push esi
call fcn.004c13e0
mov eax, dword [ebp - 0x40]
add esp, 4
movzx eax, byte [eax + 0x85]
push 0
push eax
push 0x14e
push dword [ebx + 0x654]
call edi
push 4
push 0
push str.Damage:
push 0xe
push 0x32
push 0xf9
push 0x1cc
mov ecx, ebx
call fcn.004ee820
push 0
push 0
push 0xfa
push 0xfa
push 0xf6
push 0x1fe
push 0x6b
push dword [ebx + 0x14]
lea esi, [ebx + 0x678]
mov ecx, esi
call fcn.004d3670
push str.Deals_fixed_damage
mov ecx, esi
call fcn.004d2f80
push str.Attack_or_magic_power_plus_extra_damage
mov ecx, esi
call fcn.004d2f80
push str.Deals_the_attack_or_magic_power_times_coeff
mov ecx, esi
call fcn.004d2f80
push str.Deals_damage_equals_to_toons_HP_times_coeff
mov ecx, esi
call fcn.004d2f80
push str.Reduces_the_targets_MP_by_a_percent
mov ecx, esi
call fcn.004d2f80
push str.Damage_equals_to_a_percent_of_the_target_HP
mov ecx, esi
call fcn.004d2f80
push str.Damage_equals_to_toons_REC_times_coeff
mov ecx, esi
call fcn.004d2f80
push str.Damage_equals_to_toons_REC_plus_extra
mov ecx, esi
call fcn.004d2f80
mov eax, dword [ebp - 0x40]
push 0
movzx eax, byte [eax + 0x98]
push eax
push 0x14e
push dword [ebx + 0x67c]
call edi
cmp word [ebp - 0x38], 0x53
mov ebx, 0x116
mov dword [ebp - 0x28], ebx
je 0x4befbb
mov edi, dword [ebp - 0x34]
mov edx, 9
mov eax, dword [edi + 0xac]
mov ecx, 3
mov eax, dword [eax + 0xe30]
and eax, 0xfff
cmp eax, 0x600
cmovge ecx, edx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x4befb5
lea esi, [edi + 0x2cc]
xor ecx, ecx
jmp 0x4bee40
lea eax, [ecx + ecx*4]
mov dword [ebp - 0x24], 0x14
lea edi, [edi + eax*8]
add edi, 0x7ec
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], edi
lea ecx, [ecx]
lea eax, [ecx + 1]
push eax
push str.Ability__d:
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push 0x10
push eax
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
call fcn.004f20e4
mov ecx, dword [ebp - 0x34]
add esp, 0x10
lea eax, [ebp - 0x14]
push 4
push 0
push eax
push 0xe
push 0x32
lea eax, [ebx + 6]
push eax
push dword [ebp - 0x24]
call fcn.004ee820
cmp dword [ebp - 0x20], 2
push 0
push 0
push 0
push 0x15e
mov ecx, 0x32
mov eax, 0x3c
cmove eax, ecx
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov eax, dword [ebp - 0x30]
push 0x96
push ebx
push ecx
add eax, 0x15e
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
push dword [eax + 0x14]
mov ecx, edi
call fcn.004d3c50
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x4bef14
lea ebx, [ebx]
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea eax, [eax + edi*2]
push eax
mov ecx, esi
call dword [edx + 0xc]
inc edi
cmp edi, dword [esi + 0xc]
jl 0x4bef00
mov dword [esi + 8], 0
mov eax, dword [str.None]
xor edi, edi
test eax, eax
je 0x4bef50
mov ebx, dword [ebp - 0x2c]
lea esp, [esp]
push edi
push eax
mov ecx, ebx
call fcn.004d2fd0
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi*4 + 0x5772cc]
inc edi
test eax, eax
jne 0x4bef30
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
push 0x15e
mov eax, dword [edi]
push 0x96
mov ecx, edi
call dword [eax + 0x20]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x30]
mov eax, dword [ecx + 0xac]
add eax, 0x5c
push dword [eax - 0x4c]
push eax
push edi
call fcn.004bffc0
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x24], 0xa0
mov ecx, dword [ebp - 0x44]
inc eax
add edi, 0x28
add esp, 0x10
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], eax
cmp eax, 3
jl 0x4bee60
mov edi, dword [ebp - 0x34]
add ebx, 0x1c
dec dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
jne 0x4bee40
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp - 0x34]
mov eax, 0x11
cmp byte [esi + 0x2ac4], 0
mov ecx, 0x21
cmovne eax, ecx
add eax, 3
add eax, ebx
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0xac]
xor edi, edi
cmp dword [eax + 0x10], edi
jle 0x4bf039
mov ebx, dword [ebp - 0x44]
lea ebx, [ebx]
xor eax, eax
inc edi
push edi
push 0x531d2c
mov word [ebp - 0x2b], ax
mov byte [ebp - 0x29], al
lea eax, [ebp - 0x2c]
push 4
push eax
mov byte [ebp - 0x2c], 0
call fcn.004f20e4
add esp, 0x10
lea eax, [ebp - 0x2c]
push 1
push 0
push eax
push 0x12
push 0x14
push ebx
push 0x14
mov ecx, esi
call fcn.004ee820
mov eax, dword [esi + 0xac]
add ebx, 0x17
cmp edi, dword [eax + 0x10]
jl 0x4beff0
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x2ac4], 0
je 0x4bf0b5
mov eax, dword [esi + 0xac]
mov edi, 0xe1
mov eax, dword [eax + 0xe30]
and eax, 0xfff
cmp eax, 0x400
mov ecx, 0x5f
cmove edi, ecx
cmp eax, 0x600
jl 0x4bf072
add edi, 0x8c
push 0
push 0x100000
lea eax, [edi + 0x11]
push eax
push 0x2f8
push ebx
push 0x28
mov eax, esi
push 0x3e9
push dword [eax + 0x14]
lea ecx, [esi + 0x2a74]
call fcn.004edc90
push edi
push 0x627
lea ecx, [esi + 0x2a74]
call fcn.004ee080
mov eax, 5
lea ebx, [eax + 0xb]
jmp 0x4bf0ba
mov eax, 0x14
mov cl, byte [esi + 0x2ac4]
mov dword [ebp - 0x18], eax
lea edi, [esi + 0x2a74]
test cl, cl
jne 0x4bf0ee
push 4
push 0
push 0x544d84
push 0x12
push 0x14
push ebx
push eax
mov ecx, esi
mov edi, esi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x14
mov dword [ebp - 0x18], eax
push 4
push 0
push 0x53b980
push 0x12
push 0x1e
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push 0x544d88
push 0xe
push 0x1e
add eax, 0x23
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Cost_SP
push 0xe
push 0x2d
add eax, 0x1e
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Cost_MP
push 0xe
push 0x2d
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Cast
push 0xe
push 0x32
add eax, 0x32
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Reset
push 0xe
push 0x28
add eax, 0x23
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x18], eax
jne 0x4bf1cd
push 4
push 0
push str.Hits
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x1e
mov dword [ebp - 0x18], eax
push 4
push 0
push str.Chance
push 0xe
push 0x32
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x32
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x18], eax
jne 0x4bf211
push 4
push 0
push str.Weapon
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x32
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x38], 0x53
push 4
mov ecx, edi
push 0
jne 0x4bf258
push str.Phys
push 0xe
push 0x28
push ebx
push eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Dist
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
push 4
push 0
push str.Magic
jmp 0x4bf290
push str.Abt.1
push 0xe
push 0x28
push ebx
push eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Abt.2
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
push 4
push 0
push str.Abt.3
mov eax, dword [ebp - 0x18]
push 0xe
push 0x28
add eax, 0x28
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x28
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x18], eax
jne 0x4bf2d4
push 4
push 0
push str.Element
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x46
mov dword [ebp - 0x18], eax
push 4
push 0
push str.Target
push 0xe
push 0x32
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Dist.
push 0xe
push 0x28
add eax, 0x7d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 0
push str.Range
push 0xe
push 0x28
add eax, 0x23
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push str.Keep_Time
push 0x1c
push 0x28
lea ecx, [ebx - 0x10]
add eax, 0x23
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x18], eax
jne 0x4bf4d1
push 4
push 1
push str.Base_Damage
push 0xe
push 0x82
lea ecx, [ebx - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f24
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f28
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push str.Additional_Damage
push 0xe
push 0x82
lea ecx, [ebx - 0x10]
add eax, 0x2d
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f24
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push str.Damage_over_time
push 0xe
push 0x82
lea ecx, [ebx - 0x10]
add eax, 0x2d
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f24
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f28
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
mov dword [ebp - 0x18], eax
push 4
push 1
push str.Heal
push 0xe
push 0x82
lea ecx, [ebx - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f24
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f28
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push str.Heal_over_time
push 0xe
push 0x82
lea ecx, [ebx - 0x10]
add eax, 0x2d
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push 0x523f24
push 0xe
push 0x28
add eax, 0x2d
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004ee820
mov eax, dword [ebp - 0x18]
add eax, 0x2d
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x18], eax
jne 0x4bf604
push 4
push 1
push str.Defence_Value
push 0x1c
push 0x28
lea ecx, [ebx - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x18]
push 4
push 1
push str.Aggro
push 0x1c
push 0x28
push ebx
add eax, 0x2d
push eax
mov ecx, edi
call fcn.004ee820
mov eax, dword [ebp - 0x38]
add eax, 0xffffffd7
add ebx, 0x12
cmp ax, 2
mov eax, dword [esi + 0xac]
setbe byte [ebp - 0x39]
cmp dword [eax + 0x10], 0
jle 0x4bfd88
mov ecx, dword [ebp - 0x40]
lea eax, [ebx - 2]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x1930]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x988]
mov dword [ebp - 0x2c], eax
mov edx, 0xd7
lea eax, [esi + 0x1138]
add ecx, 0x67
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x4bf660
mov eax, dword [ebp - 0x34]
mov esi, 0x23
cmp byte [eax + 0x2ac4], 0
mov eax, 0
push eax
push eax
cmovne esi, eax
movsx eax, word [ecx - 0xa]
mov ecx, dword [ebp - 0x24]
push eax
push 0x12
push 0x1e
push ebx
push esi
lea eax, [edx - 0xf]
push eax
push dword [edi + 0x14]
add ecx, 0xffffff4c
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
add esi, 0x23
push esi
push dword [ebp - 0x18]
push dword [edi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x16]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x23
push esi
add eax, 0xf
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xb4]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x18]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1e
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x168]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
push 0
movzx eax, byte [eax + 0x1a]
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x1e
push ebx
add esi, 0x2d
push esi
add eax, 0x2d
push eax
push dword [edi + 0x14]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + 0x21c]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x1b]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x23
push esi
add eax, 0x3c
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x2d0]
call fcn.004d36f0
add esi, 0x2d
cmp byte [ebp - 0x19], 0
jne 0x4bf7a5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x28]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x19
push ebx
push esi
add eax, 0x4b
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xc6c]
call fcn.004d36f0
add esi, 0x1e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
push 0
push 2
push 0
push 0x12
push 0x14
push ebx
push esi
add eax, 0x5a
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x384]
call fcn.004d3570
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x25]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x1e
push ebx
add esi, 0x14
push esi
add eax, 0x69
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x438]
call fcn.004d36f0
add esi, 0x23
cmp byte [ebp - 0x19], 0
jne 0x4bf82c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x2d]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
push esi
add eax, 0x78
push eax
push dword [edi + 0x14]
lea ecx, [ecx - 0xa48]
call fcn.004d36f0
add esi, 0x2d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
movsx eax, word [eax + 0x46]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
push esi
add eax, 0x91
push eax
push dword [edi + 0x14]
add ecx, 0xfffffff4
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
movsx eax, word [eax + 0x49]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x23
push ebx
add esi, 0x2d
push esi
add eax, 0xa0
push eax
push dword [edi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
movsx eax, word [eax + 0x4c]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x23
push ebx
add esi, 0x28
push esi
add eax, 0xaf
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xc]
call fcn.004d36f0
add esi, 0x28
cmp byte [ebp - 0x19], 0
jne 0x4bf8df
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0x15e
push 0x41
push dword [ebp - 0x30]
add eax, 0x25d
push esi
push eax
push dword [edi + 0x14]
add ecx, 0xfffffda8
call fcn.004d3670
add esi, 0x46
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push 0
push 0
push 0x64
push 0x78
push dword [ebp - 0x30]
add eax, 0x26c
push esi
push eax
push dword [edi + 0x14]
call fcn.004d3670
mov ecx, dword [ebp - 0x28]
push str.Any_ennemy
add esi, 0x7d
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Caster
call fcn.004d2f80
cmp byte [ebp - 0x39], 0
mov ecx, dword [ebp - 0x28]
jne 0x4bf92c
push str.Selected_ennemy
jmp 0x4bf931
push str.Selected_ally
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Allies_near_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Allies_but_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Ennemies_near_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Ennemies_near_target
call fcn.004d2f80
mov ecx, dword [ebp - 0x28]
push str.Party_members
call fcn.004d2f80
mov eax, dword [ebp - 0x20]
push 0
movzx eax, byte [eax + 0x26]
dec eax
push eax
mov eax, dword [ebp - 0x28]
push 0x14e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x1d]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x1e
push ebx
push esi
add eax, 0x131
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xb04]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x27]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x1e
push ebx
add esi, 0x23
push esi
add eax, 0x140
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xa50]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x29]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x23
push esi
add eax, 0x14f
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xbb8]
call fcn.004d36f0
add esi, 0x2d
cmp byte [ebp - 0x19], 0
jne 0x4bfbd1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
push esi
add eax, 0x15e
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x34]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x16d
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x36]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x17c
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xe88]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x3f]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x18b
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0xf3c]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
push 0
movsx eax, word [eax + 0x41]
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x19a
push eax
push dword [edi + 0x14]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + 0xff0]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x43]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1a9
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x10a4]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x39]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1b8
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x1158]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x3b]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1c7
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x120c]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x3d]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1d6
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x12c0]
call fcn.004d36f0
add esi, 0x2d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x63]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
push esi
add eax, 0x1e5
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x1374]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x65]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x1f4
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x1428]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x67]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x203
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x14dc]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x69]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x212
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x1590]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
push 0
movzx eax, word [eax + 0x6b]
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x221
push eax
push dword [edi + 0x14]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + 0x1644]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, word [eax + 0x6d]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
add esi, 0x2d
push esi
add eax, 0x230
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x16f8]
call fcn.004d36f0
add esi, 0x2d
cmp byte [ebp - 0x19], 0
jne 0x4bfd4c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movzx eax, byte [eax + 0x70]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push ebx
push esi
add eax, 0x23f
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x17d4]
call fcn.004d36f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
movsx eax, word [eax + 0x2f]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
lea eax, [esi + 0x2d]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x27b
push eax
push dword [edi + 0x14]
lea ecx, [ecx + 0x1888]
call fcn.004d36f0
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
add dword [ebp - 0x20], 0xec
mov eax, dword [esi + 0xac]
add dword [ebp - 0x30], 0x17
add dword [ebp - 0x2c], 0x78
add dword [ebp - 0x28], 0x28
add dword [ebp - 0x24], 0xc
inc edx
add ebx, 0x17
lea ecx, [edx - 0xd7]
cmp ecx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
jl 0x4bf660
mov eax, dword [esi + 0xac]
mov edi, 0x343
mov eax, dword [eax + 0x10]
add ebx, 0x10
add eax, edi
mov dword [ebp - 0x28], ebx
cmp eax, edi
jle 0x4bfdc4
mov eax, dword [esi]
push edi
push 0
push 1
mov ecx, esi
call dword [eax + 0x98]
mov eax, dword [esi + 0xac]
inc edi
mov eax, dword [eax + 0x10]
add eax, 0x343
cmp edi, eax
jl 0x4bfda2
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x30], 0
cmp dword [eax + 0x10], 0
jle 0x4bfed4
mov ecx, dword [ebp - 0x40]
add ecx, 0x86
mov dword [ebp - 0x38], ecx
lea edi, [esi + 0x16d8]
lea ebx, [esi + 0x1570]
jmp 0x4bfe00
cmp byte [ecx + 5], 1
mov eax, dword [ebx - 0xb4]
sete byte [ebp - 0x44]
mov esi, dword [ebp - 0x44]
lea ecx, [ebx - 0xb4]
push esi
call dword [eax + 0x38]
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x10]
push str.none
mov ecx, edi
call fcn.004d2f80
push str.Fire_1
mov ecx, edi
call fcn.004d2f80
push str.Water_1
mov ecx, edi
call fcn.004d2f80
push str.Earth_1
mov ecx, edi
call fcn.004d2f80
push str.Wind_1
mov ecx, edi
call fcn.004d2f80
push str.Fire_2
mov ecx, edi
call fcn.004d2f80
push str.Water_2
mov ecx, edi
call fcn.004d2f80
push str.Earth_2
mov ecx, edi
call fcn.004d2f80
push str.Wind_2
mov ecx, edi
call fcn.004d2f80
mov eax, dword [ebp - 0x38]
push 0
movzx eax, byte [eax]
push eax
push 0x14e
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0xac]
inc edx
add ecx, 0xec
add ebx, 0xc
add edi, 0x28
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], ecx
cmp edx, dword [eax + 0x10]
jl 0x4bfe00
mov ebx, dword [ebp - 0x28]
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call dword [eax + 0x48]
mov edx, dword [esi]
lea eax, [ebx + 0x3c]
push eax
push dword [ebp - 0x4c]
mov ecx, esi
call dword [edx + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x144]
mov ecx, esi
call fcn.004de4e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret