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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cf85
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1012800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x4f12f4
call esi
mov eax, 0x4f12f4
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x4f12f4
call esi
push 0x10024160
push 0x4f12f4
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x833a33
call esi
mov eax, 0x833a33
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x833a33
call esi
push 0x100242e0
push 0x833a33
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 6
push 0x833ba9
call esi
mov eax, 0x833ba9
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 6
push 0x833ba9
call esi
push 0x10024310
push 0x833ba9
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 9
push 0x5769ea
call esi
mov eax, 0x5769ea
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov byte [eax + 8], 0x90
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 9
push 0x5769ea
call esi
push 0x10024340
push 0x5769ea
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 9
push 0x588221
call esi
mov eax, 0x588221
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov byte [eax + 8], 0x90
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 9
push 0x588221
call esi
push 0x10024380
push 0x588221
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x4f8c4e
call esi
mov eax, 0x4f8c4e
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x4f8c4e
call esi
push 0x100243b0
push 0x4f8c4e
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push 0x8133a5
call esi
mov eax, 0x8133a5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push 0x8133a5
call esi
push 0x10024420
push 0x8133a5
push 0xe9
call fcn.1007d440
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4f921d
call esi
lea eax, [ebp - 0x14]
mov byte [0x4f921d], 0xeb
push eax
push dword [ebp - 0x14]
push 1
push 0x4f921d
call esi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4f921e
call esi
lea eax, [ebp - 0x14]
mov byte [0x4f921e], 0x19
push eax
push dword [ebp - 0x14]
push 1
push 0x4f921e
call esi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4f921f
call esi
lea eax, [ebp - 0x14]
mov byte [0x4f921f], 0x90
push eax
push dword [ebp - 0x14]
push 1
push 0x4f921f
call esi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4f9220
call esi
lea eax, [ebp - 0x14]
mov byte [0x4f9220], 0x90
push eax
push dword [ebp - 0x14]
push 1
push 0x4f9220
call esi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4f9221
call esi
lea eax, [ebp - 0x14]
mov byte [0x4f9221], 0x90
push eax
push dword [ebp - 0x14]
push 1
push 0x4f9221
call esi
push 0x10024440
push 0x663f54
push 0xe8
call fcn.1007d440
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 2
push 0x1011cbf8
call fcn.10008a30
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x1012f5dc]
lea ecx, [ebp - 0x48]
call fcn.100092c0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100254c0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10024ac7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024abd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b5a
push edx
push ecx
call fcn.1008025d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10024b10
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10024b06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024b5a
push edx
push ecx
call fcn.1008025d
add esp, 8
push str.Data__Local__Rpx__Lua__CharacterSystem__DarkSpirit.lua
mov ecx, 0x1012f5d8
call fcn.10036920
push dword [0x1012f5dc]
call fcn.100376c0
mov ecx, dword [0x1012f5dc]
call fcn.1004a5c0
push dword [0x1012f5dc]
call fcn.1003e660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ff35
mov esp, ebp
pop ebp
ret
call fcn.100e1d1d
int3