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

Disassembly:
push 0xffffffffffffffff
push 0x10097440
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b8070]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx + 0x14]
cmp dword [eax + 0x3d4], 0
mov edi, dword [eax + 0x5975c]
je 0x100536e4
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x100536e4
mov eax, dword [edi + 0x40]
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, 0x2d
jae 0x100536e4
lea eax, [esp + 0x18]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.GreaterHeal
mov dword [esp + 0x30], 0
call fcn.10003700
lea edx, [esp + 0x18]
lea esi, [ebx + 4]
push edx
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.10056d40
mov ebp, eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053584
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100535ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x10053692
call fcn.1007f280
test eax, eax
jne 0x100536e4
call fcn.1007f200
test eax, eax
jne 0x100536e4
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.AllRank
call fcn.10003700
lea edx, [esp + 0x18]
push edx
mov ecx, str.Heal
mov dword [esp + 0x30], 3
call fcn.10003700
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 4
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x34], 5
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], 4
call fcn.10056d40
mov esi, eax
lea eax, [esp + 0x18]
call fcn.10001660
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10001660
test esi, esi
je 0x100536e4
mov eax, edi
call fcn.1002ec10
cmp eax, 0xa
jbe 0x100536e4
push edi
call fcn.10021900
mov eax, esi
call fcn.1006e760
call fcn.100574b0
mov esi, dword [esi]
push esi
jmp 0x100536d0
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x100536a8
mov eax, dword [edi + 0x44]
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, 0xf
jbe 0x100536e4
call fcn.1007f280
test eax, eax
jne 0x100536e4
call fcn.1007f200
test eax, eax
jne 0x100536e4
push edi
call fcn.10021900
mov eax, ebp
call fcn.1006e760
call fcn.100574b0
mov ebp, dword [ebp]
push ebp
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
push 0xce4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0x3d8], 0
je 0x100539ff
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov ecx, dword [edi + 0x64]
test ecx, ecx
jne 0x10053709
lea eax, [ecx + 0x64]
jmp 0x10053713
mov eax, dword [edi + 0x40]
imul eax, eax, 0x64
xor edx, edx
div ecx
mov ecx, dword [ebx + 0x14]
cmp eax, dword [ecx + 0x3f8]
jae 0x10053953
lea edx, [esp + 0x14]
push edx
mov ecx, str.AllRank
call fcn.10003700
lea eax, [esp + 0x18]
push eax
mov ecx, str.GreaterHeal
mov dword [esp + 0x30], 6
call fcn.10003700
lea ecx, [esp + 0x14]
lea esi, [ebx + 4]
push ecx
mov ecx, esi
mov byte [esp + 0x30], 7
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov byte [esp + 0x34], 8
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
mov ecx, edi
mov byte [esp + 0x34], 7
call fcn.10056d40
mov ebp, eax
mov byte [esp + 0x2c], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100537ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100537f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x10053909
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.AllRank
call fcn.10003700
lea edx, [esp + 0x18]
push edx
mov ecx, str.Heal
mov dword [esp + 0x30], 9
call fcn.10003700
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 0xa
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov ebp, esp
call fcn.10001820
add eax, 0x10
mov dword [ebp], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x34], 0xb
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], 0xa
call fcn.10056d40
mov esi, eax
mov byte [esp + 0x2c], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100538a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100538ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.1007f280
test eax, eax
jne 0x10053953
call fcn.1007f200
test eax, eax
jne 0x10053953
test esi, esi
je 0x10053953
mov eax, edi
call fcn.1002ec10
cmp eax, 0xa
jbe 0x10053953
push edi
call fcn.10021900
mov eax, esi
call fcn.1006e760
call fcn.100574b0
mov esi, dword [esi]
push 7
push esi
jmp 0x1005393f
call fcn.1007f280
test eax, eax
jne 0x10053953
call fcn.1007f200
test eax, eax
jne 0x10053953
mov eax, edi
call fcn.1002ec10
cmp eax, 0xf
jbe 0x10053953
push edi
call fcn.10021900
mov eax, ebp
call fcn.1006e760
call fcn.100574b0
mov ebp, dword [ebp]
push 7
push ebp
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
mov ecx, edi
call eax
push 0xce4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.Shadowform
call fcn.10003700
lea edx, [esp + 0x18]
push edx
lea ecx, [ebx + 4]
mov dword [esp + 0x30], 0xc
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10001420
mov ebp, eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100539be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x100539ff
mov esi, dword [ebp]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x100539ff
cmp dword [ebp + 0x10], eax
jne 0x100539ff
call fcn.1007f280
test eax, eax
jne 0x100539ff
call fcn.1007f200
test eax, eax
jne 0x100539ff
mov ebp, dword [ebp]
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push ebp
mov ecx, edi
call eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x100bcccc]
cmp eax, 0x3e8
jbe 0x10053dd5
call esi
mov edx, dword [edi]
mov dword [0x100bcccc], eax
mov eax, dword [edx + 8]
mov ecx, edi
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.AllRank
call fcn.10003700
lea edx, [esp + 0x18]
push edx
mov ecx, str.Renew
mov dword [esp + 0x30], 0xd
call fcn.10003700
lea eax, [esp + 0x14]
lea ebp, [ebx + 4]
push eax
mov ecx, ebp
mov byte [esp + 0x30], 0xe
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x34], 0xf
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], 0xe
call fcn.10056d40
mov ebx, eax
mov byte [esp + 0x2c], 0xd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10053ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053afa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x10053b70
mov esi, dword [ebx]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x10053b70
mov ecx, dword [edi + 0x64]
test ecx, ecx
je 0x10053b70
mov eax, dword [edi + 0x40]
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, 0x50
jae 0x10053b70
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x10053b70
call fcn.1007f200
test eax, eax
jne 0x10053b70
call fcn.100574b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 0x3d8], 0
mov ebx, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
je 0x10053b5f
mov edx, dword [eax + 0x10]
push 7
push ebx
call edx
jmp 0x10053b65
mov edx, dword [eax + 0x14]
push ebx
call edx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x14]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.PowerWordFortitude
mov dword [esp + 0x30], 0x10
call fcn.10003700
lea edx, [esp + 0x14]
mov bl, 0x11
push edx
mov ecx, ebp
mov byte [esp + 0x30], bl
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x34], 0x12
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.10056d40
mov ebx, eax
mov byte [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053c17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x10053ca2
mov esi, 0x13501
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x10053ca2
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x10053ca2
call fcn.1007f200
test eax, eax
jne 0x10053ca2
call fcn.100574b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 0x3d8], 0
mov ebx, dword [ebx]
mov eax, dword [edi]
mov ecx, edi
je 0x10053c91
mov edx, dword [eax + 0x10]
push 7
push ebx
call edx
jmp 0x10053c97
mov edx, dword [eax + 0x14]
push ebx
call edx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.InnerFire
mov dword [esp + 0x30], 0x13
call fcn.10003700
lea edx, [esp + 0x20]
mov bl, 0x14
push edx
mov ecx, ebp
mov byte [esp + 0x30], bl
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
mov byte [esp + 0x34], 0x15
call fcn.100048e0
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.10001820
add eax, 0x10
mov dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.10056d40
mov ebp, eax
mov byte [esp + 0x2c], 0x13
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053d49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10053d71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
je 0x10053dd5
mov esi, dword [ebp]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x10053dd5
mov eax, ebp
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x10053dd5
call fcn.1007f200
test eax, eax
jne 0x10053dd5
call fcn.100574b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
cmp dword [edx + 0x3d8], 0
mov eax, dword [edi]
mov ecx, dword [ebp]
je 0x10053dc2
mov edx, dword [eax + 0x10]
push 7
push ecx
mov ecx, edi
call edx
jmp 0x10053dca
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4