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

Disassembly:
push 0xffffffffffffffff
push 0x1007f03b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa0]
lea eax, [esp + 0x18]
push eax
mov ecx, 0x10085ec8
mov dword [esp + 0x9c], 0
call fcn.10001a30
lea esi, [ebp + 0x59840]
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ebx, str.SpellsShare.xml
mov byte [esp + 0xa0], 1
call fcn.1001ef50
add esp, 8
mov byte [esp + 0x98], 2
mov eax, dword [ebp + 0x30]
cmp eax, 0xa
ja case.default.0x1001e5a0
jmp dword [eax*4 + 0x1001ea18]
lea edx, [esp + 0x20]
push esi
push edx
mov ebx, str.SpellsShaman.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 3
call fcn.100038f0
lea eax, [esp + 0x20]
jmp 0x1001e788
lea eax, [esp + 0x24]
push esi
push eax
mov ebx, str.SpellsWarlock.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 4
call fcn.100038f0
lea eax, [esp + 0x24]
jmp 0x1001e788
lea ecx, [esp + 0x28]
push esi
push ecx
mov ebx, str.SpellsMonk.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 5
call fcn.100038f0
lea eax, [esp + 0x28]
jmp 0x1001e788
lea edx, [esp + 0x2c]
push esi
push edx
mov ebx, str.SpellsWarrior.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 6
call fcn.100038f0
lea eax, [esp + 0x2c]
jmp 0x1001e788
lea eax, [esp + 0x30]
push esi
push eax
mov ebx, str.SpellsPaladin.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 7
call fcn.100038f0
lea eax, [esp + 0x30]
jmp 0x1001e788
lea ecx, [esp + 0x34]
push esi
push ecx
mov ebx, str.SpellsHunter.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 8
call fcn.100038f0
lea eax, [esp + 0x34]
jmp 0x1001e788
lea edx, [esp + 0x38]
push esi
push edx
mov ebx, str.SpellsRogue.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 9
call fcn.100038f0
lea eax, [esp + 0x38]
jmp 0x1001e788
lea eax, [esp + 0x3c]
push esi
push eax
mov ebx, str.SpellsPriest.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 0xa
call fcn.100038f0
lea eax, [esp + 0x3c]
jmp 0x1001e788
lea ecx, [esp + 0x40]
push esi
push ecx
mov ebx, str.SpellsDeathKinght.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 0xb
call fcn.100038f0
lea eax, [esp + 0x40]
jmp 0x1001e788
lea edx, [esp + 0x44]
push esi
push edx
mov ebx, str.SpellsMage.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 0xc
call fcn.100038f0
lea eax, [esp + 0x44]
jmp 0x1001e788
lea eax, [esp + 0x48]
push esi
push eax
mov ebx, str.SpellsDruid.xml
call fcn.1001ef50
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x98], 0xd
call fcn.100038f0
lea eax, [esp + 0x48]
mov byte [esp + 0x98], 2
call fcn.1001f1f0
call fcn.10002380
mov dword [esp + 0x54], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov dword [esp + 0x58], 0
mov byte [esp + 0x98], 0xe
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.10059bf0
push ecx
mov byte [esp + 0x9c], 0xf
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
mov ecx, 0x10088f98
call fcn.10001a30
lea esi, [esp + 0x54]
lea ecx, [esp + 0x80]
call fcn.1005a480
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.10059bf0
push ecx
mov byte [esp + 0x9c], 0x10
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
mov ecx, 0x10088f98
call fcn.10001a30
lea ebx, [ebp + 0xc]
mov esi, ebx
lea ecx, [esp + 0x6c]
call fcn.1005a480
mov ecx, dword [esp + 0x54]
mov edi, dword [ecx]
lea esi, [esp + 0x50]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
jmp 0x1001e850
test esi, esi
mov ebp, dword [esp + 0x54]
je 0x1001e860
lea edx, [esp + 0x50]
cmp esi, edx
je 0x1001e865
call fcn.10067664
cmp edi, ebp
je 0x1001e89d
test esi, esi
jne 0x1001e872
call fcn.10067664
cmp edi, dword [esi + 4]
jne 0x1001e87c
call fcn.10067664
add edi, 0xc
push edi
lea eax, [esp + 0x60]
push eax
call fcn.10005940
lea esi, [esp + 0x48]
call fcn.100023c0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
jmp 0x1001e850
mov byte [esp + 0x98], 0x12
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e8c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 0x11
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e8ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x68]
mov byte [esp + 0x98], 0xf
call fcn.10001c30
mov byte [esp + 0x98], 0x14
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 0x13
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e954
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x7c]
mov byte [esp + 0x98], 0xe
call fcn.10001c30
lea eax, [esp + 0x50]
mov byte [esp + 0x98], 2
call fcn.10001c30
mov byte [esp + 0x98], 1
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 0x1001e99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 0
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 0x1001e9c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e9f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 8