Function at 0x1000708b
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 0x1005f57e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x1007c080]
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 - 0x1c], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 5
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
je 0x10006f7b
mov dword [edi + 8], eax
mov eax, dword [0x809478]
test eax, eax
je 0x10006f9b
mov eax, dword [eax + 0x5ac]
cmp eax, 0xffffffff
je 0x10006f9b
cmp eax, 5
jne 0x10006f9b
mov ecx, edi
call fcn.10006ad0
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x48]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
push str.SetItem
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.100054b0
mov ecx, 0x423640
mov byte [ebp - 4], 1
call fcn.100064a0
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 5
jge 0x10006ff8
nop dword [eax]
add ecx, 0x423640
call fcn.100064a0
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 5
jl 0x10006fe0
push 0x18
call fcn.10037c73
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x24]
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.10037c73
mov ecx, dword [ebp - 0x24]
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], 0x10006c50
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001dfd0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x1000705e
jmp dword [eax*4 + 0x100073c4]
push 0x10006c50
push 0x423640
mov ecx, esi
call fcn.1001b230
jmp case.default.0x1000705e
push 0x10006c50
push 0x423640
mov ecx, esi
call fcn.1001b4b0
jmp case.default.0x1000705e
push 0x10006c50
push 0x423640
mov ecx, esi
call fcn.1001b590
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.10007800
mov byte [ebp - 4], 0
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100070ed
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100070e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073b8
push ecx
push edx
call fcn.10037ca8
add esp, 8
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.SetSpell
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.100054b0
mov ecx, 0x425957
mov byte [ebp - 4], 3
call fcn.100064a0
mov ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 5
jge 0x1000714a
add ecx, 0x425957
call fcn.100064a0
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x24], ecx
cmp ecx, 5
jl 0x10007132
push 0x18
call fcn.10037c73
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x24]
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.10037c73
mov ecx, dword [ebp - 0x24]
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], 0x10006dc0
mov dword [esi + 0x14], 2
mov dword [esi + 0xc], 0
call fcn.1001dfd0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, 3
ja case.default.0x100071b0
jmp dword [eax*4 + 0x100073d4]
push 0x10006dc0
push 0x425957
mov ecx, esi
call fcn.1001b230
jmp case.default.0x100071b0
push 0x10006dc0
push 0x425957
mov ecx, esi
call fcn.1001b4b0
jmp case.default.0x100071b0
push 0x10006dc0
push 0x425957
mov ecx, esi
call fcn.1001b590
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.10007800
mov byte [ebp - 4], 0
mov dword [eax], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1000723f
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007235
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100073bd
push ecx
push edx
call fcn.10037ca8
add esp, 8
mov esi, dword [ebp - 0x18]
sub esp, 0x28
mov eax, esp
mov ecx, dword [esi + 0x34]
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.1001d1d0
mov ecx, dword [esi + 0x34]
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.1001d1d0
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::_Func_impl_no_alloc_class__public:_void___thiscall_ItemDisplay::constructor_class_ZealService___class_IO_ini__::_2::_lambda_3___bool__int_.0
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x1c], 0xc8
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
add ecx, 0x424
push eax
call fcn.10010140
mov eax, dword [eax]
add eax, 0xc
mov dword [ebp - 0x18], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x100072e1
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x100072db
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x18]
add dword [eax + 4], 0x28
jmp 0x100072ed
lea ecx, [ebp - 0x78]
push ecx
push esi
mov ecx, eax
call fcn.10010ba0
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x10007305
mov edx, dword [ecx]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4090ab
mov byte [ebp - 0x1d], 0xeb
call esi
mov al, byte [ebp - 0x1d]
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 - 0x1d], 0xeb
push eax
push 0x40
push 1
push 0x40a4c4
call esi
mov al, byte [ebp - 0x1d]
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
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.10037c60
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1003ef14
call fcn.1003ef14
nop
js 0x10007436
add byte [eax], dl
js 0x1000743a
add byte [eax], dl
jo 0x100073cf
adc byte [ebx - 0x35efff90], cl
jno 0x100073d7
adc dl, cl
jno 0x100073db
adc byte [edi - 0x22efff8f], dh
jno 0x100073e3
adc ah, cl
int3
add byte [eax], al
add byte [esi - 0x3d], bl
call fcn.1003ef14
int3
ret