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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f32d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1012e010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x10130550]
call fcn.100534b0
push str.Data__Local__General__Lua__CharacterSystem__CharacterCreateCape.lua
mov ecx, 0x1013054c
call fcn.1003e0e0
mov esi, dword [0x10130550]
lea ecx, [ebp - 0x28]
push 9
mov dword [ebp - 0x28], 0
push str.CapeStack
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000faa0
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.1001a8e0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1001a631
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a627
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a8cd
push edx
push ecx
call fcn.10081d69
add esp, 8
cmp dword [0x1013e0b4], 0x10
lea ecx, [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov eax, 0x1013e0a0
cmovae eax, dword [0x1013e0a0]
push ecx
push eax
push esi
mov dword [ebp - 0x20], 0x10121b2c
mov dword [ebp - 0x1c], 0x1001b110
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10086500
add esp, 0xc
push 0xfffffffffffffffe
push esi
call fcn.100842d0
lea ecx, [ebp - 0x30]
call fcn.1001b240
sub esp, 8
lea ecx, [ebp - 0x30]
call fcn.1001b4b0
sub esp, 8
lea ecx, [ebp - 0x30]
call fcn.1001b720
sub esp, 8
lea ecx, [ebp - 0x30]
call fcn.1001b990
push dword [0x10130550]
call fcn.1003eed0
mov ecx, dword [0x10130550]
call fcn.10055670
push 2
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x101219f8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000faa0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push dword [0x10130550]
lea ecx, [ebp - 0x4c]
call fcn.1000cfb0
sub esp, 8
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.1001aec0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001a73b
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a8d2
push edx
push ecx
call fcn.10081d69
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x1001a781
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a777
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a8d2
push edx
push ecx
call fcn.10081d69
add esp, 8
push 0x10019dd0
push 0x57232e
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x10019e80
push 0x5757d4
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x10019ef0
push 0x574667
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x10019f60
push 0x5750fb
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a040
push 0x5fa844
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a1a0
push 0x5658b6
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a270
push 0x8362a2
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a2c0
push 0x83640e
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a310
push 0x57605b
push 0xe9
call fcn.1007da80
add esp, 0xc
push 0x1001a350
push 0x576144
push 0xe9
call fcn.1007da80
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x2c]
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 - 0x2c]
push eax
push dword [ebp - 0x2c]
push 6
push 0x51ec76
call esi
push 0x1001a3c0
push 0x51ec76
push 0xe9
call fcn.1007da80
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100819bc
mov esp, ebp
pop ebp
ret
call fcn.100e3cde
call fcn.100e3cde
int3