Function at 0x4013b0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4053f0
push 0x405400
push 0
push 0
push 4
push 1
xorps xmm0, xmm0
mov dword [0x405400], 0x44
push 0
push 0
push 0
push str..ADV.EXE
movlpd qword [0x405404], xmm0
movlpd qword [0x40540c], xmm0
movlpd qword [0x405414], xmm0
movlpd qword [0x40541c], xmm0
movlpd qword [0x405424], xmm0
movlpd qword [0x40542c], xmm0
movlpd qword [0x405434], xmm0
movlpd qword [0x40543c], xmm0
movups xmmword [0x4053f0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401454
push eax
push eax
push str.Get_Start_Failed__
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebx
push esi
push edi
push 0x2c8
lea eax, [ebp - 0x344]
mov dword [ebp - 0x7c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x348], 0x1003f
lea eax, [ebp - 0x348]
push eax
push dword [0x4053f4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0
push 4
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x2a4]
add eax, 8
push eax
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
test eax, eax
jne 0x4014ca
push 0
push 0
push str.Get_BaseImage_Failed__
push 0
call esi
xor ebx, ebx
jmp 0x4014cd
mov ebx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], 0xc44db6b6
push ecx
push 0x40
push 0x2d
lea eax, [ebx + 0x71774]
mov dword [ebp - 0x30], 0xccecd5d0
push eax
push dword [0x4053f0]
mov dword [ebp - 0x2c], 0xc8aad2bd
mov dword [ebp - 0x28], 0xa3cbc1a5
mov dword [ebp - 0x24], 0xb3aba1b2
mov dword [ebp - 0x20], 0xceaacec9
mov dword [ebp - 0x1c], 0xcfc4b5d2
mov dword [ebp - 0x18], 0xb0cdc6c2
mov dword [ebp - 0x14], 0xa1a1a3c9
mov dword [ebp - 0x10], 0xa1a1a1a1
mov dword [ebp - 0xc], 0xa1a1a1a1
mov byte [ebp - 8], 0xa1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
test eax, eax
jne 0x40154e
push 0
push str.VirtualProtectEx_Failed__
jmp 0x40156e
push 0x2d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebx + 0x71774]
push eax
push dword [0x4053f0]
call edi
test eax, eax
jne 0x401572
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0xd4d2c9bf
push ecx
push 0x40
push 0x2e
lea eax, [ebx + 0x70148]
mov dword [ebp - 0x60], 0xc3d6e8c9
push eax
push dword [0x4053f0]
mov dword [ebp - 0x5c], 0xddbefdca
mov dword [ebp - 0x58], 0xdbc2c0c6
mov dword [ebp - 0x54], 0xeed7a8a3
mov dword [ebp - 0x50], 0xabc8f3b4
mov dword [ebp - 0x4c], 0x6425c7bd
mov dword [ebp - 0x48], 0xfbb7d6d7
mov dword [ebp - 0x44], 0xa1a1a9a3
mov dword [ebp - 0x40], 0xa1a1a1a1
mov dword [ebp - 0x3c], 0xa1a1a1a1
mov word [ebp - 0x38], 0xa1a1
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x4015ee
push eax
push str.VirtualProtectEx_Failed__
jmp 0x40160e
push 0x2e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebx + 0x70148]
push eax
push dword [0x4053f0]
call edi
test eax, eax
jne 0x401612
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x65], 0x86
push eax
push 0x40
push 1
push 0x42063e
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x40163d
push eax
push str.VirtualProtectEx_Failed__
jmp 0x40165b
push 1
lea eax, [ebp - 0x65]
push eax
push 0x42063e
push dword [0x4053f0]
call edi
test eax, eax
jne 0x40165f
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x66], 0xeb
push eax
push 0x40
push 1
push 0x406b13
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x40168a
push eax
push str.VirtualProtectEx_Failed__
jmp 0x4016a8
push 1
lea eax, [ebp - 0x66]
push eax
push 0x406b13
push dword [0x4053f0]
call edi
test eax, eax
jne 0x4016ac
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x70], 0xeac4
push ecx
push 0x40
push 2
lea eax, [ebx + 0x712ac]
push eax
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x4016db
push eax
push str.VirtualProtectEx_Failed__
jmp 0x4016fb
push 2
lea eax, [ebp - 0x70]
push eax
lea eax, [ebx + 0x712ac]
push eax
push dword [0x4053f0]
call edi
test eax, eax
jne 0x4016ff
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea ecx, [ebp - 0x6c]
mov word [ebp - 0x74], 0xc2d4
push ecx
push 0x40
push 2
lea eax, [ebx + 0x712b3]
push eax
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x40172e
push eax
push str.VirtualProtectEx_Failed__
jmp 0x40174e
push 2
lea eax, [ebp - 0x74]
push eax
lea eax, [ebx + 0x712b3]
push eax
push dword [0x4053f0]
call edi
test eax, eax
jne 0x401752
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
lea eax, [ebp - 0x6c]
mov word [ebp - 0x78], 0xd5c8
push eax
push 0x40
push 2
add ebx, 0x712ba
push ebx
push dword [0x4053f0]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
test eax, eax
jne 0x401781
push eax
push str.VirtualProtectEx_Failed__
jmp 0x40179b
push 2
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [0x4053f0]
call edi
test eax, eax
jne 0x40179f
push eax
push eax
push str.WriteProcessMemory_Failed__
push 0
call esi
push ecx
call fcn.00401150
add esp, 4
push dword [0x4053f4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [0x4053f0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x4053f4]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004017dd
mov esp, ebp
pop ebp
ret