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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x3c]
mov ax, word [esi + edi + 0x14]
mov ebp, dword [esi + edi + 0x50]
sub ax, 0xe0
movzx eax, ax
movzx eax, ax
lea ecx, [esi + eax]
mov dword [esp + 0x18], eax
lea eax, [esi + edi + 6]
mov dword [esp + 0x10], eax
movzx eax, word [eax]
test ax, ax
lea ebx, [ecx + edi + 0xf8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
jbe 0x1000f479
mov ecx, dword [esi + edi + 0x38]
movzx edx, ax
add ebx, 8
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
cmp eax, edx
jbe 0x1000f43e
mov edx, eax
mov eax, dword [ebx + 4]
add eax, edx
lea eax, [eax + ecx - 1]
xor edx, edx
div ecx
imul eax, ecx
cmp ebp, eax
ja 0x1000f46f
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
cmp eax, edx
jbe 0x1000f45d
mov edx, eax
mov eax, dword [ebx + 4]
add eax, edx
xor edx, edx
lea eax, [eax + ecx - 1]
div ecx
mov ebp, eax
imul ebp, ecx
add ebx, 0x28
sub dword [esp + 0x14], 1
jne 0x1000f433
test ebp, ebp
je 0x1000f603
mov esi, dword [esi + edi + 0x34]
push 0x40
push 0x3000
lea ebx, [ebp + 0x14]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1000f4b6
push 0x40
push 0x3000
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x1000f603
mov eax, dword [esp + 0x10]
movzx eax, word [eax]
mov edx, dword [edi + 0x3c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx + 0xf8]
push edx
push edi
push esi
call fcn.100205f0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
add esp, 0xc
cmp word [eax], bx
jbe 0x1000f529
jmp 0x1000f4f0
mov edx, dword [esp + 0x1c]
movzx eax, bx
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1000f51d
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1000f51d
mov eax, dword [eax + 0x14]
push ecx
add eax, edi
push eax
add edx, esi
push edx
call fcn.100205f0
add esp, 0xc
mov ecx, dword [esp + 0x10]
add ebx, 1
cmp bx, word [ecx]
jb 0x1000f4f0
xor eax, eax
add ebp, esi
push 8
mov dword [ebp + 0x10], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
mov dword [ebp], eax
call fcn.1001dc24
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000f5f5
mov dword [ebx + 4], esi
call fcn.1000f020
test eax, eax
je 0x1000f5ec
push esi
push ebp
call fcn.1000f1e0
add esp, 8
test eax, eax
je 0x1000f5ec
mov edi, edi
push 0
push 1
push 0x1003c958
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x1000f570
mov edx, dword [0x1003c960]
push eax
mov dword [ebx], edx
add dword [0x1003c95c], 1
push 0x1003c958
mov dword [0x1003c960], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esp + 0x20]
test word [eax + edi + 0x16], 0x2000
je 0x1000f60d
mov edi, dword [eax + edi + 0x28]
test edi, edi
je 0x1000f60d
push 0
push 1
add edi, esi
push esi
call edi
test eax, eax
jne 0x1000f60d
call fcn.1000ef30
mov edx, ebx
call fcn.1000ef50
push 0
push 0x1003c958
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
push ebp
mov eax, esi
call fcn.1000f0f0
add esp, 8
push ebx
call fcn.1001d378
add esp, 4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret