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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 4]
mov dword [ebp - 0x18], ebx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea esi, [ebx + 0x10]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov byte [ebx + 0x20], 0
mov dword [ebx], eax
cmp esi, ecx
je 0x1010b00b
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov edx, dword [esi + 8]
sub edi, eax
mov dword [ebp - 0x10], eax
cmp edi, edx
jbe 0x1010afc4
cmp edi, 0x7fffffff
ja 0x1010b11b
mov ecx, edx
mov eax, 0x7fffffff
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x1010af93
mov eax, 0x7fffffff
jmp 0x1010af9b
lea eax, [ecx + edx]
cmp eax, edi
cmovb eax, edi
push eax
mov dword [ebp + 8], eax
call fcn.10014460
mov dword [esi], eax
mov dword [esi + 4], eax
add eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov esi, dword [esi]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [esi + edi]
mov dword [ebx + 0x14], eax
jmp 0x1010b002
mov ecx, dword [esi + 4]
mov dword [ebp + 8], ecx
cmp edi, ecx
jbe 0x1010aff6
push ecx
push eax
push 0
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x10]
sub edi, dword [ebp + 8]
add eax, dword [ebp + 8]
mov esi, dword [esi + 4]
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
lea eax, [edi + esi]
add esp, 0x18
mov dword [ebx + 0x14], eax
jmp 0x1010b005
push edi
push eax
push 0
call sub.VCRUNTIME140.dll_memmove
mov dword [esi + 4], edi
add esp, 0xc
mov ecx, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov dword [ebx + 0x1c], eax
mov esi, dword [ecx + 4]
sub esi, dword [ecx]
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp + 0xc], eax
cmp esi, ecx
jae 0x1010b02d
lea eax, [esi + edx]
jmp 0x1010b058
jbe 0x1010b05b
mov eax, dword [edi + 8]
sub eax, edx
cmp esi, eax
jbe 0x1010b043
push ecx
push esi
mov ecx, edi
call fcn.1010b680
jmp 0x1010b05b
sub esi, ecx
push esi
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, esi
mov dword [edi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push dword [ebx + 0x1c]
push dword [ebx]
call esi
push dword [ebx + 0x1c]
push dword [ebx]
push dword [edi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push dword [ebx + 0x1c]
push dword [ebx]
call esi
cmp byte [ebx + 0x20], 0
jne 0x1010b106
mov esi, dword [ebx + 0x1c]
lea eax, [ebx + 0x10]
mov edi, dword [ebx]
lea ecx, [ebp - 0x28]
push eax
call fcn.1010b580
lea eax, [ebp + 0xc]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push dword [ebp - 0x28]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x1010b102
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x1010b0f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1010b0f8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10122308
add esp, 8
mov byte [ebx + 0x20], 1
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.10016240
int3