Function at 0x10012ff0
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 0x1003e28a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x20], edi
mov esi, dword [ebx + 8]
mov dword [ebp - 0x4c], edi
mov dword [edi], 0
push 0x10
mov dword [ebp - 0x20], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1001b225
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
push dword [edi + 4]
push 0x10
call fcn.10002a70
mov dword [ebp - 4], 2
mov ecx, edi
mov dword [ebp - 0x24], 0x1997
mov dword [ebp - 0x20], str.Toggle_target_and_myself
call fcn.100132a0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10013760
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 0x48]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
push str.GetString
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.10003190
mov ecx, 0x550efe
mov byte [ebp - 4], 3
call fcn.10001290
mov ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jge 0x1001312a
add ecx, 0x550efe
call fcn.10001290
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, 5
jl 0x10013112
push 0x18
call fcn.1001b225
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov byte [ebp - 4], 4
movups xmmword [esi], xmm0
push 1
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x10], eax
call fcn.1001b225
add esp, 4
lea ecx, [ebp - 0x18]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push ecx
push 0x40
mov byte [edi], al
push eax
mov dword [esi], edi
mov dword [esi + 8], 0x550efe
mov dword [esi + 4], 0x10012e60
mov dword [esi + 0x14], 2
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
call esi
mov eax, dword [ebp - 0x1c]
push eax
push 0x550efe
push edi
call fcn.1001cc40
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edi
call esi
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0x14]
sub eax, 0
je 0x100131cd
sub eax, 1
je 0x100131cd
sub eax, 1
jne 0x100131de
push 0x10012e60
push 0x550efe
mov ecx, esi
call fcn.100145e0
jmp 0x100131de
push 0x10012e60
push 0x550efe
mov ecx, esi
call fcn.10014820
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10003b40
mov eax, dword [eax]
mov dword [eax + 0x20], esi
mov dword [esi + 0x14], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x1001322e
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013224
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013251
push ecx
push edx
call fcn.1001b25a
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001b217
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10020319
int3