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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1002bccc]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx + 0x50]
movzx esi, word [ecx + 0x14]
push eax
push 0
add esi, ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x10]
mov ebx, eax
xor eax, eax
xor edi, edi
cmp ax, word [edx + 6]
jae 0x10001d51
add esi, 0x28
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10001d45
mov eax, dword [esi]
test eax, eax
je 0x10001d45
push eax
mov eax, dword [esi + 4]
add eax, dword [ebp - 0xc]
push eax
lea eax, [ecx + ebx]
push eax
call fcn.10006910
mov edx, dword [ebp - 0x10]
add esp, 0xc
movzx eax, word [edx + 6]
inc edi
add esi, 0x28
cmp edi, eax
jl 0x10001d21
mov esi, dword [edx + 0xa0]
mov edi, ebx
sub edi, dword [edx + 0x34]
add esi, ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, ecx
je 0x10001dc7
nop word [eax + eax]
lea eax, [ecx - 8]
mov edx, 0
shr eax, 1
mov dword [ebp - 0xc], eax
je 0x10001db8
nop
movzx eax, word [esi + edx*2 + 8]
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x10001da5
cmp ecx, 0xa
jne 0x10001daf
and eax, 0xfff
add eax, dword [esi]
add dword [eax + ebx], edi
adc dword [eax + ebx + 4], 0
jmp 0x10001daf
and eax, 0xfff
add eax, dword [esi]
add dword [eax + ebx], edi
inc edx
cmp edx, dword [ebp - 0xc]
jl 0x10001d80
mov ecx, dword [esi + 4]
mov eax, dword [esi + ecx]
add esi, ecx
mov ecx, dword [esi + 4]
add eax, ecx
jne 0x10001d70
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x80]
add ecx, ebx
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx]
test eax, eax
je 0x10001e62
nop dword [eax]
mov esi, dword [ecx + 0xc]
add eax, ebx
mov edx, dword [ecx + 0x10]
add esi, ebx
add edx, ebx
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
jne 0x10001e0e
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
xor edi, edi
mov eax, dword [eax]
test eax, eax
je 0x10001e50
xor esi, esi
test eax, eax
jns 0x10001e24
movzx eax, ax
jmp 0x10001e29
add eax, 2
add eax, ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001e3b
mov ecx, dword [ebp - 8]
mov dword [esi + ecx], eax
mov eax, dword [ebp - 0x14]
inc edi
mov ecx, dword [ebp - 0x18]
lea esi, [edi*4]
mov eax, dword [esi + eax]
test eax, eax
jne 0x10001e1d
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ecx]
test eax, eax
jne 0x10001de0
mov edx, dword [ebp - 0x10]
mov esi, dword [edx + 0x28]
lea eax, [ebp - 8]
push eax
push 0x40
push dword [ebp - 0x1c]
add esi, ebx
mov dword [ebp - 8], 0x40
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push 0
push 0
push 0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100053d5
mov esp, ebp
pop ebp
ret