Function at 0x100130f0
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 0x1011062d
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.1004d350
push str.OgocX__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x10131170
call fcn.1003af00
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.1000cb50
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.10013470
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100131c1
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100131b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001345c
push ecx
push edx
call fcn.100816ec
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], 0x10013d80
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10085ec0
add esp, 0xc
push 0xfffffffffffffffe
push esi
call fcn.10083bb0
lea ecx, [ebp - 0x34]
call fcn.10013eb0
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.10014160
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.10014410
sub esp, 8
lea ecx, [ebp - 0x34]
call fcn.100146c0
push dword [0x10131174]
call fcn.1003bcc0
mov ecx, dword [0x10131174]
call fcn.1004f7b0
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.1000cb50
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push dword [0x10131174]
lea ecx, [ebp - 0x50]
call fcn.10007bb0
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10013ae0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x100132c7
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100132bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013461
push ecx
push edx
call fcn.100816ec
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 0x1001330d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013303
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013461
push ecx
push edx
call fcn.100816ec
add esp, 8
push 0x10012940
push 0x57232e
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x100129f0
push 0x5757d4
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012a60
push 0x574667
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012ad0
push 0x5750fb
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012bb0
push 0x5fa844
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012d10
push 0x5658b6
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012de0
push 0x8362a2
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012e30
push 0x83640e
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012e80
push 0x57605b
push 0xe9
call fcn.10066d70
add esp, 0xc
push 0x10012ec0
push 0x576144
push 0xe9
call fcn.10066d70
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 0x10012f30
push 0x51ec76
push 0xe9
call fcn.10066d70
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.100813c4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100e4b6d
call fcn.100e4b6d
int3