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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xac]
add eax, 0x5c
mov dword [ebp - 0x28], eax
mov cl, byte [eax + 0x6a]
mov dword [ebp - 0x24], 0x14
cmp cl, 3
je 0x4bc6ef
mov byte [ebp - 1], 0
cmp cl, 4
jne 0x4bc6f3
mov byte [ebp - 1], 1
mov cl, byte [eax + 0x98]
mov edi, dword [ebp + 0x10]
mov al, byte [eax + 0x85]
mov byte [ebp - 3], cl
mov byte [ebp - 2], al
cmp di, 0x29
jl 0x4bc71c
cmp di, 0x3c
jg 0x4bc71c
mov ebx, dword [ebp + 0xc]
jmp 0x4bc7f1
mov ebx, dword [ebp + 0xc]
push 4
push 0
push str.Damage_Type:
push 0xe
push 0x46
add ebx, 3
push ebx
push 0x14
mov ecx, esi
call fcn.004ee820
mov eax, dword [ebp + 0xc]
push 0
push 0
push 0xfa
push 0xfa
push eax
push 0x64
push 0x6b
push dword [esi + 0x14]
lea edi, [esi + 0x678]
mov ecx, edi
call fcn.004d3670
push edi
call fcn.004c0500
movzx eax, byte [ebp - 3]
add esp, 4
push 0
push eax
push 0x14e
push dword [esi + 0x67c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0
push str.State_Type:
push 0xe
push 0x3c
push ebx
push 0x168
mov ecx, esi
call fcn.004ee820
mov ebx, dword [ebp + 0xc]
push 0
push 0
push 0xfa
push 0xa0
push ebx
push 0x1a4
push 0x6c
push dword [esi + 0x14]
lea edi, [esi + 0x650]
mov ecx, edi
call fcn.004d3670
push edi
mov dword [ebp - 0x24], 0x244
call fcn.004c13e0
movzx eax, byte [ebp - 2]
add esp, 4
push 0
push eax
push 0x14e
push dword [esi + 0x654]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp + 0x10]
add ebx, 0x20
mov dword [ebp - 0x18], ebx
cmp di, 0x3e
je 0x4bc81e
cmp di, 0x43
je 0x4bc81e
cmp di, 0x52
je 0x4bc81e
cmp di, 0x5b
jne 0x4bc830
push 6
lea eax, [ebp - 0x24]
push eax
push ebx
mov ecx, esi
call fcn.004ba6a0
mov ebx, eax
jmp 0x4bc833
push 3
lea eax, [ebp - 0x24]
push eax
push ebx
mov ecx, esi
call fcn.004ba6a0
mov ebx, eax
jmp 0x4bc833
mov ebx, dword [ebp - 0x18]
push 4
push 0
push 0x544d84
push 0x12
push 0x14
add ebx, 0x10
push ebx
push 0x14
mov ecx, esi
call fcn.004ee820
push 4
push 0
push 0x53b980
push 0x12
push 0x1e
push ebx
push 0x28
mov ecx, esi
call fcn.004ee820
push 4
push 0
push 0x544d88
push 0xe
push 0x1e
push ebx
push 0x4b
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Cost_SP
push 0xe
push 0x2d
push ebx
push 0x6e
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Cost_MP
push 0xe
push 0x2d
push ebx
push 0x9b
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Cast
push 0xe
push 0x32
push ebx
push 0xd2
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Reset
push 0xe
push 0x28
push ebx
push 0xf0
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Chance
push 0xe
push 0x32
push ebx
push 0x122
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Element
push 0xe
push 0x28
push ebx
push 0x15e
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Target
push 0xe
push 0x32
push ebx
push 0x1a9
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Dist.
push 0xe
push 0x28
push ebx
push 0x226
mov ecx, esi
call fcn.004ee820
push 4
push 0
push str.Range
push 0xe
push 0x28
push ebx
push 0x244
mov ecx, esi
call fcn.004ee820
movsx eax, di
add eax, 0xffffffeb
mov edx, 0x26c
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x2c], eax
cmp eax, 0x69
ja case.0x4bc983.23
movzx eax, byte [eax + 0x4bdd74]
jmp dword [eax*4 + 0x4bdd2c]
push 4
push 0
push str.Hits
push 0xe
push 0x28
push ebx
push 0x271
mov ecx, esi
call fcn.004ee820
mov edx, 0x28a
mov dword [ebp - 0xc], edx
push 4
push 1
push str.Base_Damage
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push edx
mov ecx, esi
call fcn.004ee820
mov edi, dword [ebp - 0xc]
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push edi
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
add edi, 0x2d
push edi
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
add edi, 0x2d
push ebx
push edi
mov ecx, esi
mov dword [ebp - 0xc], edi
call fcn.004ee820
mov edx, edi
add edx, 0x2d
jmp 0x4bcafe
push 4
push 1
push str.Base_Damage
push 0xe
push 0x87
lea edi, [ebx - 0x10]
push edi
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Add._Damage
push 0xe
push 0x87
push edi
push 0x2f3
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x2f3
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x320
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x34d
mov ecx, esi
call fcn.004ee820
mov edx, 0x37a
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov cl, byte [ebp - 1]
movzx eax, byte [ebp - 2]
dec eax
cmp eax, 0xa
ja case.0x4bcb1c.7
movzx eax, byte [eax + 0x4bdde8]
jmp dword [eax*4 + 0x4bdde0]
push 4
push 1
push str.Heal
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
mov edx, 0x2f3
jmp 0x4bcb01
push 4
push 1
push str.Base_Damage
push 0xe
push 0x87
lea edi, [ebx - 0x10]
push edi
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Time_Damage
jmp 0x4bca97
push 4
push 1
push str.Base_Damage
push 0xe
push 0x87
lea edi, [ebx - 0x10]
push edi
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abilities
push 0xe
push 0x87
push edi
push 0x2f3
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.1
push 0xe
push 0x28
push ebx
push 0x2f3
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.2
push 0xe
push 0x28
push ebx
push 0x320
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.3
jmp 0x4bcae8
push 4
push 1
push str.Dmg_HP
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
mov edx, 0x299
jmp 0x4bcb01
push 4
push 1
push str.Taunt
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
mov edx, 0x299
xor cl, cl
mov dword [ebp - 0xc], edx
mov byte [ebp - 1], cl
jmp 0x4bcb07
push 4
push 1
push str.Taunt
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
mov edx, 0x299
mov dword [ebp - 0xc], edx
mov cl, 1
mov byte [ebp - 1], cl
jmp 0x4bcb07
push 4
push 1
push str.Heal_over_time
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x32
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x32
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x32
jmp 0x4bcb84
push 4
push 1
push str.Abilities
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.1
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.2
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.3
jmp 0x4bcb80
push 4
push 1
push str.Phys
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Dist
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Magic
jmp 0x4bcb80
push 4
push 1
push str.Base_Damage
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f20
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f24
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push 0x523f28
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Taunt
push 0xe
push 0x28
push ebx
push 0x2f3
mov ecx, esi
call fcn.004ee820
mov edx, 0x320
jmp 0x4bcb01
push 4
push 1
push str.Defence
push 0x1c
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
mov edx, 0x299
jmp 0x4bcb01
push 4
push 1
push str.Abilities
push 0xe
push 0x87
lea eax, [ebx - 0x10]
push eax
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.1
push 0xe
push 0x28
push ebx
push 0x26c
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.2
push 0xe
push 0x28
push ebx
push 0x299
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.3
push 0xe
push 0x28
push ebx
push 0x2c6
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.4
push 0xe
push 0x28
push ebx
push 0x2f3
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.5
push 0xe
push 0x28
push ebx
push 0x320
mov ecx, esi
call fcn.004ee820
push 4
push 1
push str.Abt.6
push 0xe
push 0x28
push ebx
push 0x34d
mov ecx, esi
call fcn.004ee820
mov edx, 0x37a
jmp 0x4bcb01
push 4
push 1
push str.Dmg_HP
jmp 0x4bcd3d
mov byte [ebp - 1], 1
jmp 0x4bcffe
test cl, cl
je 0x4bd01b
push 4
push 0
push str.KeepTime
push 0xe
push 0x3c
push ebx
lea eax, [edx - 2]
push eax
mov ecx, esi
call fcn.004ee820
add dword [ebp - 0xc], 0x37
add ebx, 0x12
lea eax, [edi - 0x29]
cmp ax, 2
mov eax, dword [esi + 0xac]
setbe byte [ebp + 0x13]
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x18], ebx
jle 0x4bdbce
lea eax, [ebx - 2]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x988]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x1930]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1138]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov edi, 0xc8
add eax, 0x67
mov dword [ebp - 0x1c], edi
mov dword [ebp + 0xc], eax
mov edi, edi
xor eax, eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
lea eax, [edi - 0xc7]
push eax
push 0x531d2c
lea eax, [ebp - 0x24]
push 4
push eax
mov byte [ebp - 0x24], 0
call fcn.004f20e4
add esp, 0x10
lea eax, [ebp - 0x24]
push 1
push 0
push eax
mov eax, dword [ebp - 0x20]
push 0x12
push 0x14
add eax, 5
push eax
push 0x14
mov ecx, esi
call fcn.004ee820
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax - 0xa]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0x23
push edi
push dword [esi + 0x14]
add ecx, 0xffffff4c
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0x46
lea eax, [edi + 0xf]
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x16]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x6e
lea eax, [edi + 0x1e]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xb4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x18]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x9b
lea eax, [edi + 0x2d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x168]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x1a]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0xcd
lea eax, [edi + 0x3c]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x21c]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x1b]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0xf0
lea eax, [edi + 0x4b]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x2d0]
call fcn.004d36f0
mov ecx, dword [ebp - 8]
push 0
push 2
push 0
push 0x12
push 0x14
push ebx
push 0x11d
lea eax, [edi + 0x69]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x384]
call fcn.004d3570
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x25]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0x131
lea eax, [edi + 0x78]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x438]
call fcn.004d36f0
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 0x15e
push 0x41
push dword [ebp - 0x20]
lea eax, [edi + 0x26c]
push 0x159
push eax
push dword [esi + 0x14]
add ecx, 0xfffffda8
call fcn.004d3670
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 0x64
push 0x78
push dword [ebp - 0x20]
lea eax, [edi + 0x27b]
push 0x1a4
push eax
push dword [esi + 0x14]
call fcn.004d3670
mov ecx, dword [ebp - 0x10]
push str.Any_ennemy
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Caster
call fcn.004d2f80
cmp byte [ebp + 0x13], 0
mov ecx, dword [ebp - 0x10]
jne 0x4bd269
push str.Selected_ennemy
jmp 0x4bd26e
push str.Selected_ally
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Allies_near_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Allies_but_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Ennemies_near_caster
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Ennemies_near_target
call fcn.004d2f80
mov ecx, dword [ebp - 0x10]
push str.Party_members
call fcn.004d2f80
mov eax, dword [ebp + 0xc]
push 0
movzx eax, byte [eax + 0x26]
dec eax
push eax
mov eax, dword [ebp - 0x10]
push 0x14e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x1d]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0x221
lea eax, [edi + 0x140]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xb04]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x27]
push 0
push 0
push eax
push 0x12
push 0x1e
push ebx
push 0x244
lea eax, [edi + 0x14f]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xa50]
call fcn.004d36f0
mov eax, dword [ebp - 0x2c]
mov edx, 0x26c
mov dword [ebp - 0xc], edx
cmp eax, 0x69
ja case.0x4bd347.2
movzx eax, byte [eax + 0x4bde2c]
jmp dword [eax*4 + 0x4bddf4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x28]
push 0
push 0
push eax
push 0x12
push 0x19
push ebx
push 0x26c
lea eax, [edi + 0x5a]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xc6c]
call fcn.004d36f0
mov edx, 0x28a
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push edx
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
movsx eax, word [eax + 0x34]
mov ecx, dword [ebp - 8]
push 0
push 0
push eax
mov eax, dword [ebp - 0x1c]
push 0x12
push 0x28
push ebx
add edi, 0x2d
push edi
add eax, 0x17c
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x36]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
add edi, 0x2d
push edi
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x1c]
lea ecx, [ecx + 0xe88]
lea eax, [edi + 0x18b]
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov edx, dword [ebp - 0xc]
add edx, 0x2d
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
movsx eax, word [eax + 0x34]
push 0
push 0
push eax
mov eax, dword [ebp - 0x18]
push 0x12
push 0x28
push eax
push 0x299
lea eax, [edi + 0x17c]
push eax
push dword [esi + 0x14]
lea ecx, [ebx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
push 0
movsx eax, word [eax + 0x36]
push 0
push eax
mov eax, dword [ebp - 0x1c]
push 0x12
push 0x28
push dword [ebp - 0x18]
add eax, 0x18b
push 0x2c6
push eax
push dword [esi + 0x14]
mov edi, ebx
lea ecx, [edi + 0xe88]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
push 0
movsx eax, word [eax + 0x3f]
push 0
push eax
mov eax, dword [ebp - 0x1c]
push 0x12
push 0x28
push dword [ebp - 0x18]
add eax, 0x19a
push 0x2f3
push eax
push dword [esi + 0x14]
mov ecx, ebx
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
push 0
movsx eax, word [eax + 0x41]
push 0
push eax
mov eax, dword [ebp - 0x1c]
push 0x12
push 0x28
push dword [ebp - 0x18]
add eax, 0x1a9
push 0x320
push eax
push dword [esi + 0x14]
lea ecx, [ebx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
push 0
push 0
movsx eax, word [eax + 0x43]
mov ebx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push 0x12
push 0x28
push ebx
push 0x34d
add eax, 0x1b8
push eax
push dword [esi + 0x14]
lea ecx, [edi + 0xe88]
call fcn.004d36f0
mov edi, dword [ebp - 0x1c]
jmp 0x4bdb5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x34]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0x17c]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x36]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0x18b]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xe88]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x39]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2f3
lea eax, [edi + 0x1c7]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1158]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x3b]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x320
lea eax, [edi + 0x1d6]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x120c]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
push 0
movsx eax, word [eax + 0x3d]
push 0
push eax
lea eax, [edi + 0x1e5]
mov ecx, dword [ebp - 8]
lea ecx, [ecx + 0x12c0]
jmp 0x4bdb49
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x34]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0x17c]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x36]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0x18b]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xe88]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x46]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2f3
lea eax, [edi + 0xa0]
push eax
push dword [esi + 0x14]
add ecx, 0xfffffff4
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x49]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x320
lea eax, [edi + 0xaf]
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x4c]
push 0
push 0
push eax
lea eax, [edi + 0xbe]
lea ecx, [ecx + 0xc]
jmp 0x4bdb49
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov edx, 0x299
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x2f]
push 0
push 0
push eax
push 0x12
push 0x2d
push ebx
push 0x26c
lea eax, [edi + 0x28a]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1888]
call fcn.004d36f0
mov edx, 0x299
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x32]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x16d]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xd20]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x34]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0x17c]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xdd4]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x36]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0x18b]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xe88]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movsx eax, word [eax + 0x2f]
push 0
push 0
push eax
push 0x12
push 0x2d
push ebx
push 0x2f3
lea eax, [edi + 0x28a]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1888]
call fcn.004d36f0
mov edx, 0x320
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, byte [eax + 0x70]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x24e]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x17d4]
call fcn.004d36f0
mov edx, 0x299
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x63]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x1f4]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1374]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x65]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0x203]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1428]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x67]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0x212]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x14dc]
call fcn.004d36f0
mov edx, 0x2f3
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x69]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0x221]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1590]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x6b]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0x230]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x1644]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x6d]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0x23f]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x16f8]
call fcn.004d36f0
mov edx, 0x2f3
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x46]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0xa0]
push eax
push dword [esi + 0x14]
lea ecx, [ecx - 0xc]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x49]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0xaf]
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x4c]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0xbe]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xc]
call fcn.004d36f0
mov edx, 0x2f3
jmp 0x4bdb61
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x46]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x26c
lea eax, [edi + 0xa0]
push eax
push dword [esi + 0x14]
lea ecx, [ecx - 0xc]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x49]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x299
lea eax, [edi + 0xaf]
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x4c]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2c6
lea eax, [edi + 0xbe]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xc]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x4f]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x2f3
lea eax, [edi + 0xcd]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x18]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x52]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push 0x320
lea eax, [edi + 0xdc]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0x24]
call fcn.004d36f0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
movsx eax, word [eax + 0x55]
push 0
push 0
push eax
lea eax, [edi + 0xeb]
lea ecx, [ecx + 0x30]
push 0x12
push 0x28
push ebx
push 0x34d
push eax
push dword [esi + 0x14]
call fcn.004d36f0
mov edx, 0x37a
mov dword [ebp - 0xc], edx
cmp byte [ebp - 1], 0
je 0x4bdb98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + 0x29]
push 0
push 0
push eax
push 0x12
push 0x28
push ebx
push edx
lea eax, [edi + 0x15e]
push eax
push dword [esi + 0x14]
lea ecx, [ecx + 0xbb8]
call fcn.004d36f0
add dword [ebp - 0xc], 0x37
mov eax, dword [esi + 0xac]
add dword [ebp - 0x20], 0x17
add dword [ebp - 0x10], 0x28
add dword [ebp - 0x14], 0x78
add dword [ebp + 0xc], 0xec
add dword [ebp - 8], 0xc
inc edi
add ebx, 0x17
lea ecx, [edi - 0xc8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
cmp ecx, dword [eax + 0x10]
jl 0x4bd070
mov eax, dword [esi + 0xac]
mov edi, 0x343
mov eax, dword [eax + 0x10]
add ebx, 0x10
add eax, edi
mov dword [ebp - 0x18], ebx
cmp eax, edi
jle 0x4bdc0a
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 0x4bdbe8
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x24], 0
cmp dword [eax + 0x10], 0
jle 0x4bdd17
mov ecx, dword [ebp - 0x28]
add ecx, 0x86
lea edi, [esi + 0x1570]
mov dword [ebp + 0xc], ecx
lea ebx, [esi + 0x16d8]
mov dword [ebp + 0x10], edi
lea esp, [esp]
cmp byte [ecx + 5], 1
mov eax, dword [edi - 0xb4]
lea ecx, [edi - 0xb4]
sete byte [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
push edi
call dword [eax + 0x38]
mov ecx, dword [ebp + 0x10]
push edi
mov eax, dword [ecx]
mov edi, ecx
call dword [eax + 0x10]
push str.none
mov ecx, ebx
call fcn.004d2f80
push str.Fire_1
mov ecx, ebx
call fcn.004d2f80
push str.Water_1
mov ecx, ebx
call fcn.004d2f80
push str.Earth_1
mov ecx, ebx
call fcn.004d2f80
push str.Wind_1
mov ecx, ebx
call fcn.004d2f80
push str.Fire_2
mov ecx, ebx
call fcn.004d2f80
push str.Water_2
mov ecx, ebx
call fcn.004d2f80
push str.Earth_2
mov ecx, ebx
call fcn.004d2f80
push str.Wind_2
mov ecx, ebx
call fcn.004d2f80
mov eax, dword [ebp + 0xc]
push 0
movzx eax, byte [eax]
push eax
push 0x14e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0xac]
inc edx
add edi, 0xc
add ecx, 0xec
add ebx, 0x28
mov dword [ebp - 0x24], edx
mov dword [ebp + 0x10], edi
mov dword [ebp + 0xc], ecx
cmp edx, dword [eax + 0x10]
jl 0x4bdc40
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc