Function at 0x100271d0
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 0x10123b35
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c
mov eax, dword [0x1014800c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x4f12f4
call esi
mov eax, 0x4f12f4
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 0x4f12f4
call esi
push 0x100269f0
push 0x4f12f4
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x833a33
call esi
mov eax, 0x833a33
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 0x833a33
call esi
push 0x10026b30
push 0x833a33
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x833ba9
call esi
mov eax, 0x833ba9
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 0x833ba9
call esi
push 0x10026b60
push 0x833ba9
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 9
push 0x5769ea
call esi
mov eax, 0x5769ea
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov byte [eax + 8], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 9
push 0x5769ea
call esi
push 0x10026b90
push 0x5769ea
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 9
push 0x588221
call esi
mov eax, 0x588221
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov byte [eax + 8], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 9
push 0x588221
call esi
push 0x10026bd0
push 0x588221
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x4f8c4e
call esi
mov eax, 0x4f8c4e
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 0x4f8c4e
call esi
push 0x10026c00
push 0x4f8c4e
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x8133a5
call esi
mov eax, 0x8133a5
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 0x8133a5
call esi
push 0x10026c90
push 0x8133a5
push 0xe9
call fcn.10079670
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4f921d
call esi
lea eax, [ebp - 0x18]
mov byte [0x4f921d], 0xeb
push eax
push dword [ebp - 0x18]
push 1
push 0x4f921d
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4f921e
call esi
lea eax, [ebp - 0x18]
mov byte [0x4f921e], 0x19
push eax
push dword [ebp - 0x18]
push 1
push 0x4f921e
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4f921f
call esi
lea eax, [ebp - 0x18]
mov byte [0x4f921f], 0x90
push eax
push dword [ebp - 0x18]
push 1
push 0x4f921f
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4f9220
call esi
lea eax, [ebp - 0x18]
mov byte [0x4f9220], 0x90
push eax
push dword [ebp - 0x18]
push 1
push 0x4f9220
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x4f9221
call esi
lea eax, [ebp - 0x18]
mov byte [0x4f9221], 0x90
push eax
push dword [ebp - 0x18]
push 1
push 0x4f9221
call esi
push 0x10026cb0
push 0x663f54
push 0xe8
call fcn.10079670
add esp, 0xc
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
push 2
push 0x10139bc8
call fcn.10008440
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x1031485c]
lea ecx, [ebp - 0x4c]
call fcn.10008cb0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100280e0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10027567
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002755d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276eb
push ecx
push edx
call fcn.1007c591
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, 0x10
jb 0x100275b4
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100275aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276eb
push ecx
push edx
call fcn.1007c591
add esp, 8
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0x10139bc8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
call fcn.10008440
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
push dword [0x1031485c]
lea ecx, [ebp - 0x68]
call fcn.10008cb0
push 0x10026fd0
push str.SetEffectRaven
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10024a60
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x1002763e
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027634
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276f0
push ecx
push edx
call fcn.1007c591
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0x10
jb 0x10027687
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002767d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100276f0
push ecx
push edx
call fcn.1007c591
add esp, 8
push str.Data__Files__Lua__CharacterSystem__DarkSpirit.lua
mov ecx, 0x10314858
call fcn.10041910
push dword [0x1031485c]
call fcn.100428a0
mov ecx, dword [0x1031485c]
call fcn.100579b0
push dword [0x1031485c]
call fcn.1004a560
push 0x10139b88
push str.StartLoadDarkSpirit
push 0x10314858
call fcn.10041ad0
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.1007c269
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100f66fd
call fcn.100f66fd
int3