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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10068040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x170], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x178], esi
cmp esi, 0xffffffff
jne 0x10001df7
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 eax, [ebp - 0x170]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10001f26
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x14c]
movaps xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001e30
sub ecx, edx
lea eax, [ebp - 0x14c]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10001790
movaps xmm0, xmmword [0x10062860]
xor eax, eax
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x17c], 0x25
mov cl, byte [ebp - 0x18c]
xor byte [ebp + eax - 0x18b], cl
inc eax
cmp eax, 0x10
jb 0x10001e62
lea edx, [ebp - 0x18b]
mov byte [ebp - 0x17b], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10001e85
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x18b]
mov esi, dword [ebp - 0x30]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmp edi, 0xf
push eax
cmova ecx, esi
call fcn.100018b0
mov cl, byte [ebp - 0x171]
add esp, 8
inc cl
test al, al
movzx edx, cl
movzx ecx, byte [ebp - 0x171]
cmove edx, ecx
mov byte [ebp - 0x171], dl
cmp edi, 0xf
jbe 0x10001efd
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10001ef3
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001fc9
push ecx
push esi
call fcn.10038006
add esp, 8
mov esi, dword [ebp - 0x178]
lea eax, [ebp - 0x170]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x10001f26
mov al, byte [ebp - 0x171]
mov byte [ebp - 0x171], al
jmp 0x10001e10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x171], 3
ja 0x10001de0
lea ecx, [ebp - 0x48]
call fcn.10001920
cmp dword [ebp - 0x34], 0xf
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x48]
inc eax
push eax
push ecx
push 0xaf7b50
call fcn.10039940
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10001b10
push 0
push 0
mov dword [0x1006b9a0], eax
mov dword [0x1006b9a4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x10001fb6
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001fac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001fc9
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10037fa5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1003cf4f
int3