Function at 0x1005a7a0
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 0x101105e5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3c
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
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
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 0x78c015
call esi
push 0x1005a5d0
push 0x78c015
push 0xe9
call fcn.10066d70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0xa
push 0x78a01b
call esi
push 0x1005a610
push 0x78a01b
push 0xe9
call fcn.10066d70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
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 0x6403f5
call esi
push 0x1005a380
push 0x6403f5
push 0xe9
call fcn.10066d70
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 8
push 0x788c59
call esi
push 0x1005a560
push 0x788c59
push 0xe9
call fcn.10066d70
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 0x10123178
call fcn.1000cb50
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push dword [0x101388b4]
lea ecx, [ebp - 0x4c]
call fcn.10007bb0
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.1005aab0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1005a986
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a97c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa12
push ecx
push edx
call fcn.100816ec
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, 0xf
jbe 0x1005a9cf
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005a9c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005aa12
push ecx
push edx
call fcn.100816ec
add esp, 8
push str.OgocX__Lua__Configs__MessageColors.lua
mov ecx, 0x101388b0
call fcn.1003af00
push 0x101235f5
push str.StartLoadCustomMessageColors
push 0x101388b0
call fcn.1003b0c0
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
int3