Function at 0x100521e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10097630
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 ebp, dword [esp + 0x34]
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 0x5975c]
lea eax, [esp + 0x18]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.MarkoftheWild
mov dword [esp + 0x30], 0
call fcn.10003700
lea edx, [esp + 0x18]
add ebp, 4
push edx
mov ecx, ebp
mov byte [esp + 0x30], 1
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 dword [esi], eax
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x34], 2
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 dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.10056d40
mov ebx, 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 0x100522be
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 0x100522e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x1005237c
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x1005237c
call fcn.1007f200
test eax, eax
jne 0x1005237c
cmp dword [ebx + 0x10], eax
jne 0x1005237c
mov eax, dword [ebx]
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x1005237c
mov esi, dword [ebx]
call fcn.1007e040
test eax, eax
je 0x1005237c
mov esi, 0x134d5
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x1005237c
call fcn.100574b0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x408]
cmp eax, 3
jne 0x10052360
mov ebx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ebx
mov ecx, edi
call edx
jmp 0x1005237c
cmp eax, 1
jne 0x10052369
push 9
jmp 0x10052370
cmp eax, 2
jne 0x1005237c
push 7
mov ebx, dword [ebx]
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ebx
mov ecx, edi
call edx
lea eax, [esp + 0x14]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.Rejuvenation
mov dword [esp + 0x30], 3
call fcn.10003700
lea edx, [esp + 0x14]
mov bl, 4
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], 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], bl
call fcn.10056d40
mov ebx, eax
mov byte [esp + 0x2c], 3
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 0x10052423
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 0x1005244b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x100524bb
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x100524bb
call fcn.1007f200
test eax, eax
jne 0x100524bb
cmp dword [ebx + 0x10], eax
jne 0x100524bb
mov eax, dword [ebx]
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x100524bb
mov esi, dword [ebx]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x100524bb
mov esi, dword [ebx]
call fcn.1007e040
test eax, eax
je 0x100524bb
mov eax, edi
call fcn.10003b60
cmp eax, 0x55
jae 0x100524bb
call fcn.100574b0
mov edx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [edx + 0x14]
push eax
mov ecx, edi
call edx
jmp 0x10052719
lea eax, [esp + 0x14]
push eax
mov ecx, str.AllRank
call fcn.10003700
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.HealingTouch
mov dword [esp + 0x30], 6
call fcn.10003700
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x30], 7
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], 8
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], 7
call fcn.10056d40
mov ebx, 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 0x10052562
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 0x1005258a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x100525e8
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x100525e8
call fcn.1007f200
test eax, eax
jne 0x100525e8
cmp dword [ebx + 0x10], eax
jne 0x100525e8
mov eax, dword [ebx]
mov ecx, dword [0x100bb2cc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x64]
call eax
test eax, eax
jne 0x100525e8
mov esi, dword [ebx]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x100525e8
mov esi, dword [ebx]
call fcn.1007e040
test eax, eax
je 0x100525e8
mov eax, edi
call fcn.10003b60
cmp eax, 0x3c
jb 0x100524a5
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x14]
cmp dword [ecx + 0x408], 2
jne 0x10052719
lea edx, [esp + 0x1c]
push edx
mov ecx, str.AllRank
call fcn.10003700
lea eax, [esp + 0x34]
push eax
mov ecx, str.CatForm
mov dword [esp + 0x30], 9
call fcn.10003700
lea ecx, [esp + 0x1c]
push ecx
mov bl, 0xa
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 edx, [esp + 0x38]
push edx
mov ecx, ebp
mov byte [esp + 0x34], 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 dword [esi], eax
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.10056d40
mov ebx, eax
mov byte [esp + 0x2c], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100526a3
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100526cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x10052719
mov eax, ebx
call fcn.1006e760
call fcn.1007f280
test eax, eax
jne 0x10052719
call fcn.1007f200
test eax, eax
jne 0x10052719
mov esi, dword [ebx]
mov eax, edi
call fcn.10056f10
test eax, eax
jne 0x10052719
mov esi, dword [ebx]
call fcn.1007e040
test eax, eax
je 0x10052719
mov edx, dword [edi]
mov eax, dword [ebx]
mov edx, dword [edx + 0x10]
push 7
push eax
mov ecx, edi
call edx
push 0x5dc
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