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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x30], 0
mov byte [ebp - 1], 0
cmp dword [ebp + 0x10], 0xffff
ja 0x411bde
mov byte [ebp - 1], 1
mov eax, 0x4124c0
sub eax, 0x412470
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x411bfc
mov dword [ebp - 0x1c], 0
jmp 0x411c0e
mov edx, dword [ebp + 0x10]
push edx
call fcn.0041c180
add esp, 4
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x10]
mov dword [ebp - 0x34], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 0x34]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x411da8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 0x28], edx
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
push 0x4d8628
push 0x4d8638
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00411db0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
movzx edx, byte [ebp - 1]
test edx, edx
je 0x411c9d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
jmp 0x411ca3
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x412470
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00411610
add esp, 0x10
movzx eax, al
test eax, eax
je 0x411d93
push 0x10
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411610
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x411d93
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x411d15
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00411610
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x411d93
push 0
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x411d93
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x2c], 0x54fd32fc
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x411d89
cmp dword [ebp - 0x2c], 0xab02cd03
jne 0x411d89
push 0x10
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411590
add esp, 0x10
movzx edx, al
test edx, edx
je 0x411d89
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [ebp - 0x30]
mov esp, ebp
pop ebp
ret