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

Disassembly:
sub esp, 0x10
push ebx
push edi
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100581b4], eax
je 0x10011b64
pop edi
mov eax, 0x10dd
pop ebx
add esp, 0x10
ret 8
mov eax, dword [0x100581b8]
cmp eax, edi
jne 0x10011d82
mov eax, dword [esp + 0x1c]
cmp eax, edi
jne 0x10011b86
pop edi
mov eax, 6
pop ebx
add esp, 0x10
ret 8
push esi
mov esi, dword [eax]
cmp esi, edi
jne 0x10011baa
pop esi
pop edi
mov dword [0x100581bc], eax
mov dword [0x100581b8], 6
mov eax, 6
pop ebx
add esp, 0x10
ret 8
push ebp
mov dword [esp + 0x10], edi
call fcn.10011670
mov esi, dword [esp + 0x28]
mov ebp, eax
call fcn.10011670
mov dword [esp + 0x28], eax
cmp eax, ebp
jne 0x10011bd8
cmp dword [0x100581b0], ebx
jne 0x10011d18
jmp 0x10011cf6
push 0x18
call fcn.1001e2d3
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10011bf2
lea ebx, [eax + 8]
jmp 0x10011cf6
mov eax, ebp
call fcn.10011360
mov edi, eax
test edi, edi
jne 0x10011c07
lea ebx, [eax + 8]
jmp 0x10011cf6
mov esi, ebp
xor ebx, ebx
jmp 0x10011c10
lea eax, [ebx + edi]
push eax
lea edx, [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], 0
call fcn.10011ea0
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x10011c59
mov ecx, dword [esp + 0x1c]
mov ebx, esi
sub ebx, ebp
call fcn.100112b0
test eax, eax
jne 0x10011c59
cmp ebx, 5
jl 0x10011c10
cmp ebx, 0x12
jbe 0x10011c75
mov ebx, 6
jmp 0x10011cf6
cmp ebx, 5
jge 0x10011c4a
cmp dword [0x100581b0], 0
mov ebx, 9
jne 0x10011cfc
jmp 0x10011cf6
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x1c], ecx
lea ecx, [ebx + edi]
lea edx, [ebx + ebp]
mov dword [edi + 0x18], edx
lea eax, [edi + 0x17]
lea esi, [ecx + 5]
mov byte [eax], bl
mov byte [ecx], 0xe9
inc ecx
sub edx, esi
mov dword [ecx], edx
add ecx, 4
call fcn.10011280
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 0x18]
push edx
push 0x40
push ebx
push ebp
mov dword [esp + 0x28], 0
call esi
test eax, eax
je 0x10011cee
mov ecx, ebp
call fcn.100115c0
mov ebx, eax
test ebx, ebx
je 0x10011d52
mov eax, 0x6544
cmp word [ebx + 0x1c], ax
je 0x10011d52
lea ecx, [esp + 0x28]
push ecx
push 0x40
push 0x40
push ebx
mov dword [esp + 0x38], 0
call esi
test eax, eax
jne 0x10011d2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [0x100581b8], ebx
test edi, edi
je 0x10011d07
mov eax, edi
call fcn.10011590
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10011d18
push eax
call fcn.1001e30d
add esp, 4
mov edx, dword [esp + 0x24]
pop ebp
pop esi
pop edi
mov eax, ebx
mov dword [0x100581bc], edx
pop ebx
add esp, 0x10
ret 8
mov eax, 0x6544
mov word [ebx + 0x1c], ax
mov ecx, 0x6f74
mov edx, 0x7275
mov eax, 0x2173
mov word [ebx + 0x1e], cx
mov word [ebx + 0x20], dx
mov word [ebx + 0x22], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [0x100581c4]
mov dword [eax + 0xc], ebp
mov dword [eax + 4], 0
mov dword [eax + 0x10], edi
mov edx, dword [esp + 0x18]
pop ebp
mov dword [eax + 0x14], edx
mov dword [eax], ecx
mov dword [0x100581c4], eax
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x10
ret 8