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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x1000e90a
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x1000e913
mov dword [eax], edi
mov ebx, dword [ebp + 0x18]
cmp ebx, edi
je 0x1000e91c
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100d7354], eax
je 0x1000e934
mov eax, 0x10dd
jmp 0x1000eb3f
mov eax, dword [0x100d7358]
cmp eax, edi
jne 0x1000eb3f
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x1000e950
push 6
pop eax
jmp 0x1000eb3f
mov eax, dword [ecx]
push esi
cmp eax, edi
jne 0x1000e96a
push 6
pop eax
mov dword [0x100d7358], eax
mov dword [0x100d735c], ecx
jmp 0x1000eb3e
push edi
push eax
mov dword [ebp + 0x18], edi
call fcn.1000e1ff
push 0
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 8], esi
call fcn.1000e1ff
add esp, 0x10
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x1000e99e
cmp dword [0x100d7350], edi
jne 0x1000eae4
jmp 0x1000eac4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1000e9a7
mov dword [ecx], esi
test ebx, ebx
je 0x1000e9ad
mov dword [ebx], eax
push 0x18
call fcn.1000f124
pop ecx
mov dword [ebp + 0x18], eax
test eax, eax
jne 0x1000e9c8
mov dword [ebp - 4], 8
jmp 0x1000eac4
mov eax, esi
call fcn.1000e2c9
mov edi, eax
test edi, edi
je 0x1000e9bc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1000e9de
mov dword [eax], edi
mov eax, esi
xor ebx, ebx
jmp 0x1000e9e7
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x14], 0
lea edx, [ebp + 0x14]
push edx
push 0
lea ecx, [ebx + edi]
push eax
push ecx
mov dword [ebp - 4], eax
call fcn.1000ed7b
cmp dword [ebp + 0x14], 0
mov dword [ebp + 0x10], eax
jne 0x1000ea1d
push dword [ebp - 4]
mov ebx, eax
sub ebx, esi
call fcn.1000e253
pop ecx
test eax, eax
jne 0x1000ea1d
cmp ebx, 5
jl 0x1000e9e4
cmp ebx, 5
jge 0x1000ea3b
cmp dword [0x100d7350], 0
mov dword [ebp - 4], 9
jne 0x1000eacc
jmp 0x1000eac4
cmp ebx, 0x12
jbe 0x1000ea49
mov dword [ebp - 4], 6
jmp 0x1000eac4
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x1c], ecx
lea ecx, [ebx + edi]
lea eax, [ebx + esi]
mov dword [edi + 0x18], eax
lea edx, [edi + 0x17]
lea esi, [ecx + 5]
mov byte [edx], bl
mov byte [ecx], 0xe9
sub eax, esi
mov dword [ecx + 1], eax
push edx
add ecx, 5
push ecx
call fcn.1000e1d7
and dword [ebp - 0xc], 0
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x1000eabb
push dword [ebp - 8]
call fcn.1000e4c8
mov esi, eax
pop ecx
test esi, esi
je 0x1000eb13
mov eax, 0x6544
cmp word [esi + 0x1c], ax
je 0x1000eb13
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x1000eaef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x100d7358], eax
test edi, edi
je 0x1000ead5
call fcn.1000e4a7
cmp dword [ebp + 0x18], 0
je 0x1000eae4
push dword [ebp + 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x1000e95f
mov eax, 0x6544
mov word [esi + 0x1c], ax
mov eax, 0x6f74
mov word [esi + 0x1e], ax
mov eax, 0x7275
mov word [esi + 0x20], ax
mov eax, 0x2173
mov word [esi + 0x22], ax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x100d7364]
mov dword [eax], ecx
mov dword [0x100d7364], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x14