Function at 0x408ed0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426dad
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x43701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x437fb0], 0
jne 0x408f2d
jmp 0x4090ef
push 0x40
push 0x1000
push 0x1000
push 0
mov eax, dword [0x437fb0]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x408f55
jmp 0x4090ef
mov ecx, dword [ebp + 8]
call fcn.004092d0
add eax, 1
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.00402780
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00404b00
movzx edx, al
test edx, edx
jne 0x408f91
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
jmp 0x4090ef
mov ecx, dword [ebp + 8]
call fcn.00407ab0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
call fcn.004092d0
add eax, 1
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x50]
call fcn.00407490
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004121ad
add esp, 0xc
lea ecx, [ebp - 0x50]
call fcn.00407490
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
call fcn.004092d0
shl eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp + 8]
call fcn.004092d0
lea edx, [eax + eax + 2]
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x50]
call fcn.00407490
mov dword [ebp - 0x3c], eax
mov eax, dword [0x437fb0]
mov dword [ebp - 0x40], eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40903b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
jmp 0x4090ef
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x44]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ecx
push 0
push 0
mov edx, dword [0x437fb0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40907b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
jmp 0x4090ef
call fcn.004051a0
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00405210
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x4090b2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
jmp 0x4090ef
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 0x1c], 0
jne 0x4090d4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
jmp 0x4090ef
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00404270
xor ecx, ecx
jne 0x408f1f
cmp dword [ebp - 0x14], 0
je 0x40910f
push 0x4000
push 0x1000
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x437fb0]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x18], 0
je 0x40911f
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40912d
mov dword [ebp - 4], 0xffffffff
jmp 0x40913f
jmp 0x409148
cmp dword [0x437fc0], 0
je 0x409168
mov edx, dword [0x437fc0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x437fc0], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret