Function at 0x100132c0
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 0x10110ced
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x10130040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x10131174]
call fcn.1004da10
push str.OgocX__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x10131170
call fcn.1003b5b0
mov esi, dword [0x10131174]
lea ecx, [ebp - 0x2c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.CapeStack
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.1000cd10
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10013640
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10013391
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013387
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001362c
push ecx
push edx
call fcn.10081d8b
add esp, 8
cmp dword [0x101397e8], 0xf
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov eax, 0x101397d4
cmova eax, dword [0x101397d4]
push ecx
push eax
push esi
mov dword [ebp - 0x24], 0x10123298
mov dword [ebp - 0x20], 0x10013f50
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10086560
add esp, 0xc
push 0xfffffffffffffffe
push esi
call fcn.10084250
lea ecx, [ebp - 0x34]
call fcn.10014080
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.10014330
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.100145e0
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.10014890
push dword [0x10131174]
call fcn.1003c370
mov ecx, dword [0x10131174]
call fcn.1004fe70
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push 0x10123178
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
call fcn.1000cd10
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push dword [0x10131174]
lea ecx, [ebp - 0x50]
call fcn.10007d50
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10013cb0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10013497
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001348d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013631
push ecx
push edx
call fcn.10081d8b
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x100134dd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100134d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013631
push ecx
push edx
call fcn.10081d8b
add esp, 8
push 0x10012b20
push 0x57232e
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012bd0
push 0x5757d4
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012c40
push 0x574667
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012cb0
push 0x5750fb
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012d90
push 0x5fa844
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012ef0
push 0x5658b6
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10012fc0
push 0x8362a2
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10013010
push 0x83640e
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x10013060
push 0x57605b
push 0xe9
call fcn.10067590
add esp, 0xc
push 0x100130a0
push 0x576144
push 0xe9
call fcn.10067590
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x30]
add esp, 0xc
push eax
push 0x40
push 6
push 0x51ec76
call esi
mov eax, 0x51ec76
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 6
push 0x51ec76
call esi
push 0x10013110
push 0x51ec76
push 0xe9
call fcn.10067590
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.10081a63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100e522d
call fcn.100e522d
int3