Function at 0x1006bff0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1009c7a4
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b8070]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x597c4]
cmp ecx, 2
je 0x1006c058
xor eax, eax
mov byte [ebp + 0x79], al
mov byte [ebp + 0x74], al
mov byte [ebp + 0x75], al
mov byte [ebp + 0x77], al
mov byte [ebp + 0x78], al
mov byte [ebp + 0x76], al
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
jmp 0x1006db2b
mov ebx, dword [eax + 0x5975c]
push eax
call fcn.1001ad10
push ebp
call fcn.10003bc0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x59798]
test eax, eax
ja 0x1006c0b2
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebx + 0xec], 0
mov eax, dword [ebp + 0x14]
add eax, 0x597d0
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], 2
call fcn.1001d970
mov dword [eax], 0
jmp 0x1006db1f
mov eax, ebp
call fcn.100015c0
cmp dword [ebx + 0x94], 0
jne 0x1006db26
cmp dword [ebx + 0x98], 0
jne 0x1006db26
mov eax, dword [ebp + 0x14]
add eax, 0x59790
cmp dword [eax + 8], 0
mov dword [esp + 0x24], eax
jne 0x1006c0f0
push ebx
call fcn.10021900
jmp 0x1006db26
call fcn.10004a40
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.1006f5f0
fld dword [esi + 0xc]
fstp dword [esp + 0x4c]
lea eax, [esp + 0x5c]
fld dword [esi + 8]
lea ecx, [esp + 0x48]
fstp dword [esp + 0x48]
fld dword [esi + 0x10]
fstp dword [esp + 0x50]
fld dword [esi + 0x14]
fstp dword [esp + 0x54]
fld dword [ebx + 0x34]
fstp dword [esp + 0x60]
fld dword [ebx + 0x30]
fstp dword [esp + 0x5c]
fld dword [ebx + 0x38]
fstp dword [esp + 0x64]
fld dword [ebx + 0x3c]
fstp dword [esp + 0x68]
call fcn.10003a50
fst qword [esp + 0x2c]
fcomp qword [0x100a9868]
fnstsw ax
test ah, 5
jp 0x1006c1e6
fld dword [esp + 0x48]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x5c]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.1006ddc0
fstp dword [esp + 0x2c]
add esp, 4
fld dword [0x100a982c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.100218b0
add esp, 0xc
test eax, eax
jne 0x1006c1b2
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.10021920
mov edi, esi
call fcn.10055280
test eax, eax
jne 0x1006c1e6
mov eax, edi
call fcn.10003b20
cmp eax, 0x64
jne 0x1006db26
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, edi
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
jmp 0x1006db26
call fcn.1007e120
test eax, eax
je 0x1006c218
mov eax, esi
call fcn.10003ac0
test eax, eax
jne 0x1006c218
mov al, 0
mov ecx, dword [0x100bb500]
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
push edx
mov eax, esi
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
call fcn.1007ec20
test eax, eax
je 0x1006c22f
mov al, 0
mov ecx, dword [0x100bb500]
mov byte [ecx], al
add dword [ebp + 0x7c], 1
cmp dword [ebp + 0x7c], 1
jle 0x1006c241
call fcn.10024010
mov dword [ebp + 0x7c], 0
cmp dword [ebp + 0x38], 0
mov edi, 0x211
jne 0x1006c268
fld dword [ebx + 0x34]
fstp dword [ebp + 0x28]
fld dword [ebx + 0x30]
fstp dword [ebp + 0x24]
fld dword [ebx + 0x38]
fstp dword [ebp + 0x2c]
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x38], 1
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
push ecx
push eax
mov eax, ebx
call fcn.10003b80
test eax, eax
je 0x1006c362
fld qword [0x100a98b0]
fld qword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x1006c2c2
fld dword [esp + 0x4c]
mov dword [ebp + 0x34], edi
fld dword [esp + 0x60]
mov dword [ebp + 0x38], 1
fsubr st(1)
fdiv st(2)
fsubp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x48]
fld dword [esp + 0x5c]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [ebp + 0x24]
jmp 0x1006c2c4
fstp st(0)
fld dword [esp + 0x48]
sub esp, 0x10
fsub dword [esp + 0x6c]
fstp qword [esp + 8]
fld dword [esp + 0x5c]
fsub dword [esp + 0x70]
fstp qword [esp]
call fcn.1006ddc0
fstp dword [esp + 0x2c]
add esp, 4
fld dword [0x100a9900]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.100218b0
add esp, 0xc
test eax, eax
jne 0x1006c322
push ebx
call fcn.10021900
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.10021920
mov edx, dword [ebp + 0x34]
lea eax, [ebp + 0x24]
mov ecx, 1
mov esi, ebx
call fcn.10056b10
cmp eax, 2
jne 0x1006c354
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x24]
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
jmp 0x1006c3e9
cmp eax, 1
jne 0x1006c3f0
jmp 0x1006c3e9
fld dword [esi + 0xc]
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
fld dword [esi + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x80]
fstp dword [esp + 0x70]
fld dword [esi + 0x10]
mov ecx, dword [esp + 0x70]
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
fld dword [esi + 0x14]
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
fld dword [ebx + 0x34]
mov dword [esp + 0x50], eax
fstp dword [esp + 0x60]
mov dword [esp + 0x54], ecx
fld dword [ebx + 0x30]
lea eax, [esp + 0x5c]
fstp dword [esp + 0x5c]
lea ecx, [esp + 0x48]
fld dword [ebx + 0x38]
mov dword [esp + 0x58], edx
fstp dword [esp + 0x64]
fld dword [ebx + 0x3c]
fstp dword [esp + 0x68]
call fcn.10003a50
fcomp qword [0x100a98b0]
fnstsw ax
test ah, 5
jp 0x1006dabb
push ebx
call fcn.10021900
mov dword [ebp + 0x38], 0
fld dword [esp + 0x48]
sub esp, 0x10
fsub dword [esp + 0x6c]
fst qword [esp + 0x4c]
fld dword [esp + 0x5c]
fsub dword [esp + 0x70]
fst qword [esp + 0x44]
fxch st(1)
fstp qword [esp + 8]
fstp qword [esp]
call fcn.1006ddc0
fstp dword [esp + 0x2c]
add esp, 4
fld dword [0x100a982c]
fstp dword [esp + 8]
fld dword [esp + 0x74]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
call fcn.100218b0
add esp, 0xc
test eax, eax
jne 0x1006c452
fld dword [esp + 0x1c]
push ecx
fstp dword [esp]
call fcn.10021920
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push 0x11
call fcn.100579d0
test eax, eax
je 0x1006c490
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
test eax, eax
je 0x1006c490
mov edx, dword [ebx]
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
test eax, eax
jle 0x1006c490
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
push 0x12
call fcn.100579d0
test eax, eax
je 0x1006c4c5
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx]
add eax, 0xc
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
test eax, eax
je 0x1006c4c5
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
test eax, eax
jle 0x1006c4c5
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov ecx, ebx
call eax
push 0x19
call fcn.100579d0
test eax, eax
je 0x1006c4ea
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x19
mov ecx, ebx
call eax
test eax, eax
jle 0x1006c4ea
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x19
mov ecx, ebx
call eax
push 0x1a
call fcn.100579d0
test eax, eax
je 0x1006c50f
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0x1a
mov ecx, ebx
call eax
test eax, eax
jle 0x1006c50f
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 0x1a
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov eax, ebx
call fcn.10003b60
cmp eax, 0x28
jae 0x1006c5dd
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.HealingWave
call fcn.10003700
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 0
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006c5dd
cmp dword [esi + 0x10], 0
jne 0x1006c5dd
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006c5dd
mov esi, dword [esi]
call fcn.1007e040
test eax, eax
je 0x1006c5dd
mov eax, ebx
call fcn.1002ec10
cmp eax, 8
jbe 0x1006c5dd
mov edi, ebx
call fcn.100574b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
push 0xc1c
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x32
lea ecx, [esp + 0x28]
push ecx
jbe 0x1006c605
mov ecx, str.LightningShield
call fcn.10003700
mov dword [esp + 0xc0], 1
jmp 0x1006c61a
mov ecx, str.WaterShield
call fcn.10003700
mov dword [esp + 0xc0], 2
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test edi, edi
je 0x1006c693
cmp dword [edi + 0x10], 0
jne 0x1006c693
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006c693
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006c693
mov esi, dword [edi]
mov eax, ebx
call fcn.10056f10
test eax, eax
jne 0x1006c693
mov eax, dword [edi]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
mov eax, ebx
call fcn.10003b60
cmp eax, 0x32
jb 0x1006c6af
mov eax, ebp
call fcn.10004640
cmp eax, 2
jbe 0x1006c8ed
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.StoneclawTotem
call fcn.10003700
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 3
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test edi, edi
je 0x1006c770
cmp dword [edi + 0x10], 0
jne 0x1006c770
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006c770
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006c770
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006c770
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
jbe 0x1006c770
cmp byte [ebp + 0x76], 0
jne 0x1006c770
cmp byte [ebp + 0x75], 0
jne 0x1006c770
mov eax, dword [edi]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
push 0xc8
mov byte [ebp + 0x75], 1
mov byte [ebp + 0x76], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov eax, ebx
call fcn.10003b60
cmp eax, 0x3c
jae 0x1006c8ed
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.Healing_Surge
call fcn.10003700
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 4
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006c834
cmp dword [esi + 0x10], 0
jne 0x1006c834
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006c834
mov esi, dword [esi]
call fcn.1007e040
test eax, eax
je 0x1006c834
mov eax, ebx
call fcn.1002ec10
cmp eax, 8
jbe 0x1006c834
mov edi, ebx
call fcn.100574b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
push 0x5dc
jmp 0x1006c8da
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.GreaterHeal
call fcn.10003700
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 5
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test edi, edi
je 0x1006c8ed
cmp dword [edi + 0x10], 0
jne 0x1006c8ed
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006c8ed
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006c8ed
mov eax, ebx
call fcn.1002ec10
cmp eax, 8
jbe 0x1006c8ed
mov edi, ebx
call fcn.100574b0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
push 0xc1c
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x1c]
mov dword [ebp + 0x3c], eax
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov esi, ebx
call fcn.10057090
test eax, eax
je 0x1006c9a9
push 3
mov eax, ebx
call fcn.1005ab70
test eax, eax
jne 0x1006c923
push 4
mov eax, ebx
call fcn.1005ab70
test eax, eax
je 0x1006c9a9
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.CureToxins
call fcn.10003700
lea edx, [esp + 0x28]
push edx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 6
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
or esi, 0xffffffff
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc0], esi
call fcn.10001660
test edi, edi
je 0x1006c9ac
mov edi, ebx
call fcn.100574b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
push edx
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
or esi, 0xffffffff
fld qword [0x100a9818]
fld qword [esp + 0x2c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x1006cc7d
fcomp qword [0x100a98b0]
fnstsw ax
test ah, 1
jne 0x1006cc7f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006cc7f
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x300]
cmp eax, 1
jne 0x1006caac
lea edx, [esp + 0x28]
push edx
mov ecx, str.EarthShock
call fcn.10003700
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 7
push eax
lea ecx, [ebp + 0x68]
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [edi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], esi
call fcn.10001660
test edi, edi
je 0x1006cc00
cmp dword [edi + 0x10], 0
jne 0x1006cc00
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006cc00
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006cc00
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
jbe 0x1006cc00
mov eax, dword [edi]
push eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
cmp eax, 2
jne 0x1006cb61
lea eax, [esp + 0x28]
push eax
mov ecx, str.FrostShock
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebp + 0x68]
mov dword [esp + 0xc4], 8
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [edi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], esi
call fcn.10001660
test edi, edi
je 0x1006cc00
cmp dword [edi + 0x10], 0
jne 0x1006cc00
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006cc00
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006cc00
mov eax, ebx
call fcn.1002ec10
cmp eax, 0xf
jbe 0x1006cc00
mov eax, dword [esp + 0x20]
call fcn.1006f950
test eax, eax
je 0x1006cc00
jmp 0x1006ca92
cmp eax, 3
jne 0x1006cb8a
lea eax, [esp + 0x28]
push eax
mov ecx, str.FlameShock
call fcn.10003700
lea ecx, [esp + 0x28]
mov dword [esp + 0xc0], 9
push ecx
jmp 0x1006ca1b
test edi, edi
jne 0x1006cc00
fld dword [esp + 0x4c]
lea eax, [ebp + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fld qword [0x100a9840]
lea ecx, [edi + 2]
fmul st(1), st(0)
mov esi, ebx
fld qword [esp + 0x2c]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], 1
fdiv st(2), st(0)
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x3c]
fmulp st(1)
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
call fcn.10056b10
cmp eax, 2
jne 0x1006cbf4
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x24]
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
jmp 0x1006cbf9
cmp eax, 1
jne 0x1006cc00
mov dword [ebp + 0x38], 0
fld dword [esp + 0x4c]
lea eax, [ebp + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fld qword [0x100a9840]
mov ecx, 2
fmul st(1), st(0)
mov esi, ebx
fld qword [esp + 0x2c]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], 1
fdiv st(2), st(0)
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x3c]
fmulp st(1)
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
call fcn.10056b10
cmp eax, 2
jne 0x1006cc6f
mov ecx, dword [ebp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
mov dword [ebp + 0x38], 0
jmp 0x1006cc7f
cmp eax, 1
jne 0x1006cc7f
mov dword [ebp + 0x38], 0
jmp 0x1006cc7f
fstp st(0)
fld qword [0x100a98b0]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x1006db26
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0x324], 0
je 0x1006cdb0
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
lea eax, [esp + 0x28]
push eax
mov ecx, str.CalloftheAncestors
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0xa
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d158
cmp dword [esi + 0x10], 0
jne 0x1006d158
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d158
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d158
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d158
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
jbe 0x1006d158
cmp byte [ebp + 0x79], 0
jne 0x1006d158
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x324], 0
je 0x1006d158
push ebx
call fcn.10021900
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp + 0x79], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x28]
push eax
mov ecx, str.StrengthofEarthTotem
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
lea edi, [ebp + 0x68]
mov ecx, edi
mov dword [esp + 0xc4], 0xb
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006cea9
cmp dword [esi + 0x10], 0
jne 0x1006cea9
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006cea9
mov eax, dword [esp + 0x20]
call fcn.10003b20
cmp eax, 0x41
jbe 0x1006cea9
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006cea9
cmp byte [ebp + 0x75], 0
jne 0x1006cea9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006cea9
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, ebx
call fcn.10056f10
test eax, eax
jne 0x1006cea9
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x28
jbe 0x1006cea9
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x2dc], 0
je 0x1006cea9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
mov byte [ebp + 0x75], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x28]
push eax
mov ecx, str.ManaSpringTotem
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xc
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006cf71
cmp dword [esi + 0x10], 0
jne 0x1006cf71
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006cf71
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006cf71
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006cf71
cmp byte [ebp + 0x77], 0
jne 0x1006cf71
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, ebx
call fcn.10056f10
test eax, eax
jne 0x1006cf71
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
mov byte [ebp + 0x77], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x28]
push eax
mov ecx, str.SearingTotem
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xd
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d062
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d062
cmp dword [esi + 0x10], 0
jne 0x1006d062
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d062
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d062
cmp byte [ebp + 0x74], 0
jne 0x1006d062
mov eax, dword [esp + 0x20]
call fcn.10003b20
cmp eax, 0x63
jae 0x1006d062
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d062
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x28
jbe 0x1006d062
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x2e0], 0
je 0x1006d062
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
mov byte [ebp + 0x74], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x28]
push eax
mov ecx, str.GraceofAirTotem
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xe
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d158
cmp dword [esi + 0x10], 0
jne 0x1006d158
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d158
mov eax, dword [esp + 0x20]
call fcn.10003b20
cmp eax, 0x41
jbe 0x1006d158
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d158
cmp byte [ebp + 0x78], 0
jne 0x1006d158
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d158
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, ebx
call fcn.10056f10
test eax, eax
jne 0x1006d158
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x28
jbe 0x1006d158
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x2e8], 0
je 0x1006d158
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
mov byte [ebp + 0x78], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x28]
push eax
mov ecx, str.Bloodlust
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0xf
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d20c
cmp dword [esi + 0x10], 0
jne 0x1006d20c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d20c
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d20c
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d20c
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov eax, ebx
call fcn.10056f10
test eax, eax
jne 0x1006d20c
mov esi, 0xe17c
mov eax, ebx
call fcn.10056fd0
test eax, eax
je 0x1006d529
lea eax, [esp + 0x28]
push eax
mov ecx, str.ShamanisticRage
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x10
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d2ab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d2ab
cmp dword [esi + 0x10], 0
jne 0x1006d2ab
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d2ab
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d2ab
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x32
jb 0x1006c98b
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.Stormstrike
call fcn.10003700
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x11
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d34a
cmp dword [esi + 0x10], 0
jne 0x1006d34a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 0x3c]
cmp eax, 0x3e8
jbe 0x1006d34a
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d34a
mov eax, esi
mov esi, dword [eax]
call fcn.1007e040
test eax, eax
je 0x1006d34a
mov eax, ebx
call fcn.1002ec10
cmp eax, 0xf
ja 0x1006d529
lea eax, [esp + 0x28]
push eax
mov ecx, str.LavaLash
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x12
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d3d9
cmp dword [esi + 0x10], 0
jne 0x1006d3d9
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d3d9
mov edx, esi
mov esi, dword [edx]
call fcn.1007e040
test eax, eax
je 0x1006d3d9
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
ja 0x1006c98b
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x308], 0
je 0x1006d478
lea edx, [esp + 0x28]
push edx
mov ecx, str.FeralSpirit
call fcn.10003700
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0xc4], 0x13
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d478
cmp dword [esi + 0x10], 0
jne 0x1006d478
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d478
mov ecx, esi
mov esi, dword [ecx]
call fcn.1007e040
test eax, eax
je 0x1006d478
mov eax, ebx
call fcn.1002ec10
cmp eax, 0xf
ja 0x1006d529
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x300]
cmp eax, 1
jne 0x1006d535
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.EarthShock
call fcn.10003700
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x14
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d73f
mov eax, esi
cmp dword [eax + 0x10], 0
jne 0x1006d73f
call fcn.10023fd0
test eax, eax
jne 0x1006d73f
mov ecx, esi
mov esi, dword [ecx]
call fcn.1007e040
test eax, eax
je 0x1006d73f
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
jbe 0x1006d73f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ecx
jmp 0x1006ca95
cmp eax, 2
jne 0x1006d60e
lea eax, [esp + 0x28]
push eax
mov ecx, str.FrostShock
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x15
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d73f
mov edx, esi
cmp dword [edx + 0x10], 0
jne 0x1006d73f
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d73f
mov eax, esi
mov esi, dword [eax]
call fcn.1007e040
test eax, eax
je 0x1006d73f
mov eax, dword [esp + 0x20]
call fcn.10003b20
cmp eax, 0x28
jae 0x1006d73f
mov eax, ebx
call fcn.1002ec10
cmp eax, 0xf
jbe 0x1006d73f
mov eax, dword [esp + 0x20]
call fcn.1006f950
test eax, eax
je 0x1006d73f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ecx
jmp 0x1006ca95
cmp eax, 3
jne 0x1006d6c4
lea eax, [esp + 0x28]
push eax
mov ecx, str.FlameShock
call fcn.10003700
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x16
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d73f
mov edx, esi
cmp dword [edx + 0x10], 0
jne 0x1006d73f
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d73f
mov eax, esi
mov esi, dword [eax]
call fcn.1007e040
test eax, eax
je 0x1006d73f
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x14
jbe 0x1006d73f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push ecx
jmp 0x1006ca95
cmp dword [esp + 0x1c], 0
jne 0x1006d73f
fld dword [esp + 0x4c]
lea eax, [ebp + 0x24]
fld qword [esp + 0x34]
mov edx, 0x211
fld qword [0x100a9840]
mov ecx, 2
fmul st(1), st(0)
mov esi, ebx
fld qword [esp + 0x2c]
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x38], 1
fdiv st(2), st(0)
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp + 0x28]
fld qword [esp + 0x3c]
fmulp st(1)
fdivrp st(1)
fsubr dword [esp + 0x48]
fstp dword [eax]
call fcn.10056b10
cmp eax, 2
jne 0x1006d733
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x24]
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
jmp 0x1006d738
cmp eax, 1
jne 0x1006d73f
mov dword [ebp + 0x38], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x304]
cmp eax, 1
jne 0x1006d7eb
lea edx, [esp + 0x28]
push edx
mov ecx, str.FireElementalTotem
call fcn.10003700
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0xc4], 0x17
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d88c
cmp dword [esi + 0x10], 0
jne 0x1006d88c
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d88c
mov ecx, esi
mov esi, dword [ecx]
call fcn.1007e040
test eax, eax
je 0x1006d88c
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
jmp 0x1006d879
cmp eax, 2
jne 0x1006d88c
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.EarthElementalTotem
call fcn.10003700
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x18
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d88c
cmp dword [esi + 0x10], 0
jne 0x1006d88c
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d88c
mov eax, esi
mov esi, dword [eax]
call fcn.1007e040
test eax, eax
je 0x1006d88c
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
mov eax, ebp
call fcn.10004640
cmp eax, 1
jbe 0x1006da1a
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.Fire_Nova
call fcn.10003700
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x19
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov esi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test esi, esi
je 0x1006d957
cmp dword [esi + 0x10], 0
jne 0x1006d957
mov eax, esi
call fcn.10023fd0
test eax, eax
jne 0x1006d957
mov eax, esi
mov esi, dword [eax]
call fcn.1007e040
test eax, eax
je 0x1006d957
mov eax, ebx
call fcn.1002ec10
cmp eax, 0xf
jbe 0x1006d957
cmp byte [ebp + 0x74], 0
jne 0x1006d933
cmp byte [ebp + 0x79], 0
je 0x1006d957
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push ecx
mov ecx, ebx
call edx
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x30c], 0
je 0x1006da1a
lea ecx, [esp + 0x28]
push ecx
mov ecx, str.LavaBurst
call fcn.10003700
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0xc4], 0x1a
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test edi, edi
je 0x1006db26
cmp dword [edi + 0x10], 0
jne 0x1006db26
mov eax, edi
call fcn.10023fd0
test eax, eax
jne 0x1006db26
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006db26
mov eax, ebx
call fcn.1002ec10
cmp eax, 0x23
jbe 0x1006db26
mov ecx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, ebx
call edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x3c], eax
jmp 0x1006db26
lea eax, [esp + 0x24]
push eax
mov ecx, str.Attack
call fcn.10003700
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov dword [esp + 0xc4], 0x1b
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebp
mov dword [esi], eax
call fcn.10001420
mov edi, eax
lea eax, [esp + 0x24]
mov dword [esp + 0xc0], 0xffffffff
call fcn.10001660
test edi, edi
je 0x1006db26
mov eax, dword [edi]
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x1006db26
mov esi, dword [edi]
call fcn.1007e040
test eax, eax
je 0x1006db26
mov eax, edi
call fcn.1002ebf0
test eax, eax
jne 0x1006db26
mov edx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [edx + 0x14]
push eax
mov ecx, ebx
call edx
jmp 0x1006db26
fld dword [esp + 0x74]
lea eax, [ebp + 0x24]
fld dword [esp + 0x60]
mov edx, edi
fsubr st(1)
mov ecx, 1
fld qword [esp + 0x2c]
mov esi, ebx
mov dword [ebp + 0x34], edx
fdiv st(1), st(0)
mov dword [ebp + 0x38], 1
fxch st(2)
fsubrp st(1)
fstp dword [ebp + 0x28]
fld dword [esp + 0x70]
fld dword [esp + 0x5c]
fsubr st(1)
fdivrp st(2)
fsubrp st(1)
fstp dword [eax]
call fcn.10056b10
cmp eax, 2
jne 0x1006db1a
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [esp + 0x24]
call fcn.1001b910
mov eax, dword [esp + 0x24]
call fcn.10004a60
jmp 0x1006db1f
cmp eax, 1
jne 0x1006db26
mov dword [ebp + 0x38], 0
mov eax, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4