Function at 0x1000eee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f06f
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1008c0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp byte [0x1008eb19], 0
jne 0x1000f169
push 0x24
mov dword [ebp - 4], 0
call fcn.1006bfd9
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov ecx, 0x10013050
sub ecx, 0x807c30
mov dword [esi], 0x807c2b
mov dword [esi + 4], 5
mov dword [esi + 8], 0
mov dword [ebp - 0x1c], ecx
lea ecx, [esi + 0xc]
push 5
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x1d], 0xe9
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.10003ce0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
lea ecx, [eax + 5]
mov byte [eax + 4], 0
mov dword [esi + 0x10], ecx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
push 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
call fcn.10003ce0
mov eax, dword [esi + 0x18]
mov dword [eax], 0
lea ecx, [eax + 5]
mov byte [eax + 4], 0
lea eax, [ebp - 0x1d]
mov dword [esi + 0x1c], ecx
push dword [esi + 4]
push eax
push dword [esi + 0xc]
call sub.VCRUNTIME140.dll_memcpy
push dword [esi + 4]
push dword [esi]
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
cmp dword [esi + 8], 0
jne 0x1000f042
mov eax, dword [esi + 4]
lea edx, [ebp - 0x24]
mov ecx, dword [esi]
push edx
push 0x40
push eax
push ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [esi + 4]
mov dword [ebp - 0x28], eax
push dword [esi + 0xc]
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x1000f03b
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 8], 1
mov edi, dword [0x10099368]
mov dword [0x10099368], esi
test edi, edi
je 0x1000f064
mov ecx, edi
call fcn.100018d0
push 0x24
push edi
call fcn.1006c392
add esp, 8
mov dword [ebp - 4], 0xffffffff
call fcn.100136d0
mov ecx, 0x1009148c
call fcn.10013570
mov ecx, 0x10091480
call fcn.10013570
mov ecx, 0x10091498
call fcn.10013570
mov ecx, 0x10091474
call fcn.10013570
call fcn.100133f0
mov ecx, 0x100914a4
call fcn.10013570
push 0x10091438
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1000f0c1
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10091464], 0x7fffffff
jne 0x1000f0df
push 6
mov dword [0x10091464], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0x38
lea eax, [ebp - 0x68]
mov dword [0x1008eb28], 0
push 0
push eax
mov dword [0x1008eb64], 0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [ebp - 0x68]
push 0x10091438
movups xmmword [0x1008eb2c], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [0x1008eb3c], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [0x1008eb4c], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [0x1008eb5c], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 0x10
mov byte [0x1008eb19], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret