Function at 0x1002a320
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 0x1012bf65
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
mov eax, dword [0x1014e040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x1013f1e8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10007290
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x1031aa74]
lea ecx, [ebp - 0x4c]
call fcn.10007b00
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1002c0f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1002a3e0
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a3d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a6bb
push ecx
push edx
call fcn.10086031
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp ecx, 0xf
jbe 0x1002a42d
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a6bb
push ecx
push edx
call fcn.10086031
add esp, 8
push str.Data__Files__Lua__Configs__ElementSlots.lua
mov ecx, 0x1031aa70
call fcn.100418a0
push 0x1013f358
push str.StartLoadElementSlots
push 0x1031aa70
call fcn.10041a60
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
push 0x40
push 0xd
push 0x83503c
call esi
mov eax, 0x83503c
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0xd
push 0x83503c
call esi
push 0x1002a790
push 0x83503c
push 0xe9
call fcn.10083120
add esp, 0xc
push 0x1002a900
push 0x8373a0
push 0xe9
call fcn.10083120
add esp, 0xc
push 0x1002ac80
push 0x8373c0
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x83b879
call esi
mov eax, 0x83b879
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x83b879
call esi
push 0x1002ae00
push 0x83b879
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x8353d9
call esi
mov eax, 0x8353d9
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 7
push 0x8353d9
call esi
push 0x1002b1d0
push 0x8353d9
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x833b26
call esi
mov eax, 0x833b26
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 7
push 0x833b26
call esi
push 0x1002b430
push 0x833b26
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x8380da
call esi
mov eax, 0x8380da
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x8380da
call esi
push 0x1002b770
push 0x8380da
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x7dd2c6
call esi
mov eax, 0x7dd2c6
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 7
push 0x7dd2c6
call esi
push 0x1002ba20
push 0x7dd2c6
push 0xe9
call fcn.10083120
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x837b4f
call esi
mov eax, 0x837b4f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 6
push 0x837b4f
call esi
push 0x1002bb20
push 0x837b4f
push 0xe9
call fcn.10083120
add esp, 0xc
push 0x1002a290
push 0x663ef4
push 0xe8
call fcn.10083120
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10085d09
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1010013d
int3