Function at 0x4015b0
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x9c], ecx
movlpd qword [ebp - 0x94], xmm0
xor eax, eax
movlpd qword [ebp - 0x8c], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movups xmm0, xmmword [str.C:WindowsSystem32cmd.exe]
push ebx
push esi
movups xmmword [ebp - 0x3c], xmm0
push edi
movups xmm0, xmmword [0x403368]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x98], 0x48
movups xmm0, xmmword [0x403378]
mov dword [ebp - 0x54], eax
movups xmmword [ebp - 0x1c], xmm0
movq xmm0, qword [0x403388]
movq qword [ebp - 0xc], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
lea ecx, [ebp - 0x40]
push ecx
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
jne 0x4016cf
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x401680
push ecx
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x40]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp ebx, 0x7a
jne 0x4016a9
mov eax, dword [ebp - 0x54]
jmp 0x401651
push str.____Failed_to_initialize_thread_attribute_list._n
call fcn.00401010
add esp, 4
push ebx
push str.________d_n
call fcn.00401010
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 8
jmp 0x4017a7
push 4
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push 4
mov ebx, eax
mov eax, dword [ebp - 0x9c]
push ebx
push 0x20000
push 0
mov dword [ebx], eax
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
jne 0x401727
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push str.____Failed_to_update_thread_attribute._n
mov esi, eax
call fcn.00401010
add esp, 4
push esi
push str.________d_n
call fcn.00401010
add esp, 8
jmp 0x401799
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0x80010
push 0
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40175f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
push str.____Failed_to_create_new_process._n
jmp 0x40170d
push str.___New_process_created_successfully._n
call fcn.00401010
add esp, 4
push dword [ebp - 0x48]
push str._______PID_:__lu_n
call fcn.00401010
push dword [ebp - 0x44]
push str._______TID_:__lu_n
call fcn.00401010
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push dword [ebp - 0x4c]
call esi
push dword [ebp - 0x50]
call esi
push ebx
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call ebx
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4017b6
push eax
push 0
call edi
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004017c7
mov esp, ebp
pop ebp
ret