Function at 0x10002e40
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100645d8
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xor bl, bl
mov dword [ebp - 0x168], 0x128
push 2
mov byte [ebp - 0x169], bl
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x170], eax
cmp eax, 0xffffffff
jne 0x10002eac
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000303e
cmp byte [ebp - 0x144], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x10002ee1
xor ecx, ecx
jmp 0x10002ef9
lea ecx, [ebp - 0x144]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002ef0
sub ecx, edx
push ecx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x28]
call fcn.100028c0
movaps xmm0, xmmword [0x1006fe30]
xor eax, eax
movups xmmword [ebp - 0x184], xmm0
mov word [ebp - 0x174], 0x46
mov cl, byte [ebp - 0x184]
xor byte [ebp + eax - 0x183], cl
inc eax
cmp eax, 0x10
jb 0x10002f22
cmp byte [ebp - 0x183], 0
mov byte [ebp - 0x173], 0
jne 0x10002f49
xor ecx, ecx
jmp 0x10002f5b
lea ecx, [ebp - 0x183]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002f52
sub ecx, edx
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov edx, ecx
cmovae esi, dword [ebp - 0x28]
cmp ebx, ecx
cmovb edx, ebx
test edx, edx
je 0x10002fd0
lea edi, [ebp - 0x183]
sub edx, 4
jb 0x10002f91
nop
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10002f96
add esi, 4
add edi, 4
sub edx, 4
jae 0x10002f80
cmp edx, 0xfffffffc
je 0x10002fca
mov al, byte [esi]
cmp al, byte [edi]
jne 0x10002fc3
cmp edx, 0xfffffffd
je 0x10002fca
mov al, byte [esi + 1]
cmp al, byte [edi + 1]
jne 0x10002fc3
cmp edx, 0xfffffffe
je 0x10002fca
mov al, byte [esi + 2]
cmp al, byte [edi + 2]
jne 0x10002fc3
cmp edx, 0xffffffff
je 0x10002fca
mov al, byte [esi + 3]
cmp al, byte [edi + 3]
je 0x10002fca
sbb esi, esi
or esi, 1
jmp 0x10002fcc
xor esi, esi
test esi, esi
jne 0x10002fdd
cmp ecx, ebx
jbe 0x10002fd9
or esi, 0xffffffff
jmp 0x10002fdd
sbb esi, esi
neg esi
mov cl, byte [ebp - 0x169]
test esi, esi
lea eax, [ecx + 1]
movzx edx, al
movzx eax, cl
cmovne edx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x169], dl
mov bl, dl
cmp eax, 0x10
jb 0x10003011
mov ecx, dword [ebp - 0x28]
lea edx, [eax + 1]
push 1
call fcn.10002790
add esp, 4
lea eax, [ebp - 0x168]
mov dword [ebp - 0x14], 0xf
push eax
push dword [ebp - 0x170]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10002ec2
push dword [ebp - 0x170]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp bl, 3
ja 0x10002e95
lea ecx, [ebp - 0x40]
call fcn.10002a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
inc eax
push eax
push ecx
push 0xaf7b50
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.100102d0
call fcn.1000be70
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call fcn.1001e280
mov dword [0x1007a32c], eax
test eax, eax
je 0x100030a5
mov ecx, eax
call fcn.1001e470
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10002c00
push 0
push 0
mov dword [0x1007a238], eax
mov dword [0x1007a23c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100030e1
mov ecx, dword [ebp - 0x40]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret