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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cd15
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
cmp byte [0x1012fbac], 0
je 0x1000e2d4
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x1011cbf8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10008a30
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push dword [0x10129004]
lea ecx, [ebp - 0x48]
call fcn.100092c0
push 0x1000dec0
push str.SetPetSize
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1000e630
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1000dfb4
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dfaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2ee
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 0x1000e001
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dff7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2ee
push edx
push ecx
call fcn.1008025d
add esp, 8
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x1011cbf8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10008a30
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push dword [0x10129004]
lea ecx, [ebp - 0x48]
call fcn.100092c0
push 0x1000dca0
push str.SetMaxCharacter
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000e8a0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1000e08f
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e085
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2f3
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 0x1000e0dc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e0d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2f3
push edx
push ecx
call fcn.1008025d
add esp, 8
push 2
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x1011cbf8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10008a30
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
push dword [0x10129004]
lea ecx, [ebp - 0x48]
call fcn.100092c0
push 0x1000dc90
push str.CheckCreateCharacterWindow
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000c210
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1000e16a
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2f8
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 0x1000e1b7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e1ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e2f8
push edx
push ecx
call fcn.1008025d
add esp, 8
push dword [0x10129004]
mov ecx, 0x10128ff8
call fcn.1003c510
push dword [0x10129004]
mov ecx, 0x10128ff9
call fcn.100445d0
push dword [0x10129004]
call fcn.10048460
push dword [0x10129004]
mov ecx, 0x10128ffb
call fcn.10040d30
push dword [0x10129004]
call fcn.10048e10
push str.Data__Local__Rpx__Lua__CharacterSystem__CharacterList.lua
mov ecx, 0x10129000
call fcn.10036920
push 0x1000e300
push 0x4d6c3e
push 0xe8
call fcn.1007d440
add esp, 0xc
push fcn.1000e320
push 0x663e8c
push 0xe8
call fcn.1007d440
add esp, 0xc
push 0x1000e5d0
push 0x4d9e23
push 0xe8
call fcn.1007d440
add esp, 0xc
push 0x1000e600
push 0x4d75cb
push 0xe8
call fcn.1007d440
add esp, 0xc
push 0x1000e590
push 0x663e9d
push 0xe8
call fcn.1007d440
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 0xc
push eax
push 0x40
push 4
push 0x4d6c73
call esi
lea eax, [ebp - 0x14]
mov dword [0x4d6c73], 0
push eax
push dword [ebp - 0x14]
push 4
push 0x4d6c73
call esi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x402106
call esi
lea eax, [ebp - 0x14]
mov byte [0x402106], 0
push eax
push dword [ebp - 0x14]
push 1
push 0x402106
call esi
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
call fcn.100e1d1d
call fcn.100e1d1d
int3