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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10052024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
sub eax, esi
push edi
sub eax, 5
mov dword [ebp - 8], esi
mov edi, ecx
mov dword [ebp + 0xc], eax
cmp byte [esi], 0xe9
mov dword [ebp - 0x14], edi
jne 0x100146c4
push 5
mov dword [edi + 0x10], 5
call fcn.100265e4
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push dword [edi + 0x10]
push dword [edi + 0xc]
call ebx
mov ecx, esi
call fcn.10015d60
mov edi, eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
sub edi, esi
push esi
sub edi, 5
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0xe9
push eax
push dword [ebp - 0xc]
push 1
push esi
call ebx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov esi, dword [ecx + 0xc]
inc esi
push esi
call ebx
lea eax, [ebp - 0xc]
mov dword [esi], edi
push eax
push dword [ebp - 0xc]
push 4
push esi
call ebx
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 1
push esi
call ebx
lea eax, [ebp - 0xc]
mov byte [esi], 0xe9
push eax
push dword [ebp - 0xc]
push 1
push esi
call ebx
lea eax, [ebp - 0xc]
inc esi
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 4
jmp 0x100147fc
mov eax, dword [edi + 0x10]
xor ecx, ecx
add eax, 5
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.100265e4
add esp, 4
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x10]
push 0x40
add eax, 5
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, dword [edi + 0x10]
lea eax, [ebp - 0xc]
mov esi, dword [edi]
mov edi, dword [edi + 0xc]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push esi
push edi
call fcn.1001cc40
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov edi, ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
sub edi, eax
sub edi, ecx
lea esi, [eax + ecx]
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov byte [esi], 0xe9
push eax
push dword [ebp - 8]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
inc ecx
lea eax, [ebp - 8]
add esi, ecx
push eax
push 0x40
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
mov dword [esi], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 1
push ebx
call edi
lea eax, [ebp - 8]
mov byte [ebx], 0xe9
push eax
push dword [ebp - 8]
push 1
push ebx
call edi
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea esi, [ebx + 1]
push esi
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x10]
cmp edi, 5
jle 0x100147ff
lea eax, [ebp - 8]
add edi, 0xfffffffb
push eax
push 0x40
lea esi, [ebx + 5]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push esi
call ebx
push edi
push 0x90
push esi
call fcn.1001d1c0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001b217
mov esp, ebp
pop ebp
ret 8