Function at 0x1002611d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1e3b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
mov eax, dword [0x10136080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x18], esi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 5
mov eax, dword [0x809478]
test eax, eax
je 0x10025edc
mov eax, dword [eax + 0x5ac]
cmp eax, 0xffffffff
je 0x10025edc
cmp eax, 5
jne 0x10025edc
call fcn.10025a10
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x40]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
push str.SetItem
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10007860
mov ecx, 0x423640
mov byte [ebp - 4], 1
call fcn.1000d360
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jge 0x10025f38
nop
add ecx, 0x423640
call fcn.1000d360
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jl 0x10025f20
push 0x18
call fcn.100b6050
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov byte [ebp - 4], 2
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.100b6050
mov ecx, dword [ebp - 0x20]
mov edx, 0x423640
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x423640
mov dword [esi + 4], 0x10025bb0
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1003be00
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x10025f9e
jmp dword [eax*4 + 0x100262e0]
push 0x10025bb0
push 0x423640
mov ecx, esi
call fcn.10037b40
jmp case.default.0x10025f9e
push 0x10025bb0
push 0x423640
mov ecx, esi
call fcn.10037dc0
jmp case.default.0x10025f9e
push 0x10025bb0
push 0x423640
mov ecx, esi
call fcn.10037e70
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000e230
mov byte [ebp - 4], 0
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1002602d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026023
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100262d5
push ecx
push edx
call fcn.100b6085
add esp, 8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SetSpell
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.10007860
mov ecx, 0x425957
mov byte [ebp - 4], 3
call fcn.1000d360
mov ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jge 0x1002608a
add ecx, 0x425957
call fcn.1000d360
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
cmp ecx, 5
jl 0x10026072
push 0x18
call fcn.100b6050
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov byte [ebp - 4], 4
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.100b6050
mov ecx, dword [ebp - 0x20]
mov edx, 0x425957
push ecx
mov byte [eax], cl
mov ecx, eax
mov dword [esi], eax
mov dword [esi + 8], 0x425957
mov dword [esi + 4], 0x10025d20
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1003be00
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100260f0
jmp dword [eax*4 + 0x100262f0]
push 0x10025d20
push 0x425957
mov ecx, esi
call fcn.10037b40
jmp case.default.0x100260f0
push 0x10025d20
push 0x425957
mov ecx, esi
call fcn.10037dc0
jmp case.default.0x100260f0
push 0x10025d20
push 0x425957
mov ecx, esi
call fcn.10037e70
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
call fcn.1000e230
mov byte [ebp - 4], 0
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1002617f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100262da
push ecx
push edx
call fcn.100b6085
add esp, 8
mov esi, dword [ebp - 0x18]
sub esp, 0x28
mov eax, esp
mov ecx, dword [esi + 0x40]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ItemDisplay::constructor_class_ZealService___class_IO_ini__::_2::_lambda_1___void___.0
mov dword [eax + 4], edi
push 5
mov dword [eax + 0x24], eax
call fcn.10039ca0
mov ecx, dword [esi + 0x40]
sub esp, 0x28
mov eax, esp
push 2
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ItemDisplay::constructor_class_ZealService___class_IO_ini__::_2::_lambda_2___void___.0
mov dword [eax + 4], edi
mov dword [eax + 0x24], eax
call fcn.10039ca0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4090ab
mov byte [ebp - 0x19], 0xeb
call esi
mov al, byte [ebp - 0x19]
mov byte [0x4090ab], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x4090ab
call esi
lea eax, [ebp - 0x18]
mov byte [ebp - 0x19], 0xeb
push eax
push 0x40
push 1
push 0x40a4c4
call esi
mov al, byte [ebp - 0x19]
mov byte [0x40a4c4], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 1
push 0x40a4c4
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xe
push 0x421ebf
call esi
mov eax, 0x421ebf
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0xe
push 0x421ebf
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xe
push 0x4e81e0
call esi
mov eax, 0x4e81e0
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0xe
push 0x4e81e0
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xe
push 0x4229be
call esi
mov eax, 0x4229be
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [eax + 0xc], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0xe
push 0x4229be
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b603d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.100bd324
call fcn.100bd324
nop
mov eax, 0xb810025f
pop edi
add dl, byte [eax]
movsd dword es:[edi], dword [esi]
pop edi
add dl, byte [eax]
retf