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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100623fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push ebx
push esi
push edi
call fcn.10003a50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100118a0
mov esi, dword [ebp - 0x28]
mov edi, dword [0x100a87c4]
cmp byte [esi + 0xd], 0
jne 0x100116b8
cmp dword [esi + 0x24], 0xf
lea eax, [esi + 0x10]
mov edx, dword [eax + 0x10]
jbe 0x1001169a
mov eax, dword [eax]
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
push edx
cmova ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
push eax
call fcn.10003510
add esp, 8
test eax, eax
je 0x100116ba
jns 0x100116ba
mov esi, edi
cmp esi, edi
je 0x1001186b
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x1001186b
mov eax, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1001186b
add ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x1001186b
mov edx, dword [esi + 0x44]
add ecx, eax
mov ebx, dword [esi + 0x38]
add edx, eax
mov edi, dword [esi + 0x40]
add ebx, eax
mov dword [ebp - 0x14], ecx
add edi, eax
mov ecx, dword [esi + 0x34]
add ecx, eax
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x48]
mov dword [ebp + 8], ecx
add edx, eax
mov ecx, dword [esi + 0x3c]
add ecx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov edx, 0x100134d0
mov ecx, dword [ebp - 0x10]
push 0x100a871c
call fcn.1003e606
test eax, eax
jne 0x1001186b
mov ecx, dword [ebp - 0x14]
mov edx, 0x1003f070
push section..data
call fcn.1003e606
test eax, eax
jne 0x1001186b
mov ecx, dword [ebp - 0x18]
call fcn.10011c70
test al, al
je 0x1001186b
mov eax, dword [ebp + 8]
cmp ebx, eax
jbe 0x1001186b
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
sub ebx, eax
push ebx
push eax
call esi
push ebx
push 0x90
push dword [ebp + 8]
call fcn.10045a70
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push ebx
push dword [ebp + 8]
call esi
mov ebx, dword [ebp - 0x1c]
cmp edi, ebx
jbe 0x1001186b
lea eax, [ebp + 8]
sub edi, ebx
push eax
push 0x40
push edi
push ebx
call esi
push edi
push 0x90
push ebx
call fcn.10045a70
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push edi
push ebx
call esi
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
cmp ebx, edi
jbe 0x1001186b
lea eax, [ebp + 8]
sub ebx, edi
push eax
push 0x40
push ebx
push edi
call esi
push ebx
push 0x90
push edi
call fcn.10045a70
add esp, 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push ebx
push edi
call esi
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmova eax, dword [ebp - 0x48]
mov ecx, 0x100a6f4c
push eax
call fcn.10010d40
xor esi, esi
mov ecx, 1
mov ebx, 0x100a875c
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
je 0x10011855
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x20
jae 0x10011841
push 0
jmp 0x10011843
push 1
call edi
inc esi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x10011838
cmp dword [0x100a87b8], 0
je 0x10011863
call fcn.1003e550
xor eax, eax
xchg dword [ebx], eax
mov bl, 1
jmp 0x1001186d
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10003480
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4