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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10091014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10092b98], 0
jne 0x1001b6cb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x10092c00]
mov eax, 0xad602b59
sub ecx, dword [0x10092bfc]
imul ecx
push ebx
add edx, ecx
sar edx, 9
push esi
mov eax, edx
push edi
xor edi, edi
shr eax, 0x1f
mov dword [ebp - 8], edi
add eax, edx
je 0x1001b903
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
mov eax, dword [0x10092bfc]
mov edx, dword [esi + eax + 0x14]
cmp edx, dword [ebp + 8]
jne 0x1001b8d2
mov ecx, dword [ebp + 0x10]
cmp dword [esi + eax + 0x24], ecx
jne 0x1001b8d2
cmp dword [ebp + 0xc], 0
je 0x1001b80c
cmp dword [esi + eax + 0xc], 0
jne 0x1001b8d2
mov ecx, dword [esi + eax + 4]
sub ecx, 0
je 0x1001b7c4
sub ecx, 1
je 0x1001b771
sub ecx, 1
jne 0x1001b7fa
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push dword [esi + eax + 8]
push edx
call ebx
mov eax, dword [0x10092bfc]
mov dword [esi + eax + 0xc], 1
jmp 0x1001b8d2
push dword [esi + eax + 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001b91b
mov ecx, dword [0x10092bfc]
push dword [esi + ecx + 8]
push 0
push dword [esi + ecx]
push dword [esi + ecx + 0x14]
push edi
call fcn.1001d9f0
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10092bfc]
mov edi, dword [ebp - 8]
mov dword [esi + eax + 0xc], 1
jmp 0x1001b8d2
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push dword [esi + eax + 8]
push edx
call ebx
mov eax, dword [0x10092bfc]
lea ecx, [ebp - 8]
push ecx
mov eax, dword [esi + eax + 0x14]
mov byte [eax], 0xcc
mov eax, dword [0x10092bfc]
push dword [ebp - 8]
push dword [esi + eax + 8]
push dword [esi + eax + 0x14]
call ebx
mov eax, dword [0x10092bfc]
mov dword [esi + eax + 0xc], 1
jmp 0x1001b8d2
cmp dword [esi + eax + 0xc], 0
je 0x1001b8d2
mov ecx, dword [esi + eax + 4]
sub ecx, 0
je 0x1001b882
sub ecx, 1
je 0x1001b841
sub ecx, 1
jne 0x1001b8c5
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [esi + eax + 8]
push edx
jmp 0x1001b8c3
push dword [esi + eax + 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001b91b
mov ecx, dword [0x10092bfc]
push dword [esi + ecx + 8]
push 0
push dword [esi + ecx]
push 0
push edi
call fcn.1001d9f0
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
jmp 0x1001b8c5
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push 0x40
push dword [esi + eax + 8]
push edx
call ebx
mov eax, dword [0x10092bfc]
push dword [esi + eax + 8]
push dword [esi + eax + 0x1c]
push dword [esi + eax + 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10092bfc]
lea ecx, [ebp - 8]
add esp, 0xc
push ecx
push dword [ebp - 8]
push dword [esi + eax + 8]
push dword [esi + eax + 0x14]
call ebx
mov eax, dword [0x10092bfc]
mov dword [esi + eax + 0xc], 0
mov ecx, dword [0x10092c00]
mov eax, 0xad602b59
sub ecx, dword [0x10092bfc]
inc edi
imul ecx
add esi, 0x2f4
mov dword [ebp - 8], edi
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1001b700
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a41e
mov esp, ebp
pop ebp
ret 0xc