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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10092014]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10093b98], 0
jne 0x1001c5fb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [0x10093c00]
mov eax, 0xad602b59
sub ecx, dword [0x10093bfc]
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 0x1001c833
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
mov eax, dword [0x10093bfc]
mov edx, dword [esi + eax + 0x14]
cmp edx, dword [ebp + 8]
jne 0x1001c802
mov ecx, dword [ebp + 0x10]
cmp dword [esi + eax + 0x24], ecx
jne 0x1001c802
cmp dword [ebp + 0xc], 0
je 0x1001c73c
cmp dword [esi + eax + 0xc], 0
jne 0x1001c802
mov ecx, dword [esi + eax + 4]
sub ecx, 0
je 0x1001c6f4
sub ecx, 1
je 0x1001c6a1
sub ecx, 1
jne 0x1001c72a
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 [0x10093bfc]
mov dword [esi + eax + 0xc], 1
jmp 0x1001c802
push dword [esi + eax + 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001c84b
mov ecx, dword [0x10093bfc]
push dword [esi + ecx + 8]
push 0
push dword [esi + ecx]
push dword [esi + ecx + 0x14]
push edi
call fcn.1001e930
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x10093bfc]
mov edi, dword [ebp - 8]
mov dword [esi + eax + 0xc], 1
jmp 0x1001c802
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 [0x10093bfc]
lea ecx, [ebp - 8]
push ecx
mov eax, dword [esi + eax + 0x14]
mov byte [eax], 0xcc
mov eax, dword [0x10093bfc]
push dword [ebp - 8]
push dword [esi + eax + 8]
push dword [esi + eax + 0x14]
call ebx
mov eax, dword [0x10093bfc]
mov dword [esi + eax + 0xc], 1
jmp 0x1001c802
cmp dword [esi + eax + 0xc], 0
je 0x1001c802
mov ecx, dword [esi + eax + 4]
sub ecx, 0
je 0x1001c7b2
sub ecx, 1
je 0x1001c771
sub ecx, 1
jne 0x1001c7f5
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [esi + eax + 8]
push edx
jmp 0x1001c7f3
push dword [esi + eax + 0x24]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1001c84b
mov ecx, dword [0x10093bfc]
push dword [esi + ecx + 8]
push 0
push dword [esi + ecx]
push 0
push edi
call fcn.1001e930
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
jmp 0x1001c7f5
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 [0x10093bfc]
push dword [esi + eax + 8]
push dword [esi + eax + 0x1c]
push dword [esi + eax + 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x10093bfc]
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 [0x10093bfc]
mov dword [esi + eax + 0xc], 0
mov ecx, dword [0x10093c00]
mov eax, 0xad602b59
sub ecx, dword [0x10093bfc]
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 0x1001c630
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001b35e
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.1001b35e
mov esp, ebp
pop ebp
ret 0xc