Function at 0x100042c0
Capabilities:
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7b1d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
xor al, al
mov dword [ebp - 0x178], 0x128
push 2
mov byte [ebp - 0x179], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x178]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x10004476
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x178]
push eax
push esi
call edi
cmp eax, 1
jne 0x10004476
nop
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004375
sub ecx, edx
lea eax, [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.10003370
movaps xmm0, xmmword [0x100e8fc0]
xor eax, eax
movups xmmword [ebp - 0x190], xmm0
mov word [ebp - 0x180], 0x2c
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x18f]
xor cl, byte [ebp - 0x190]
mov byte [ebp + eax - 0x18f], cl
inc eax
cmp eax, 0x10
jb 0x100043b0
lea edx, [ebp - 0x18f]
mov byte [ebp - 0x17f], 0
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100043e0
sub edx, ecx
lea eax, [ebp - 0x18f]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
push edx
cmova ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push eax
push ecx
call fcn.100048d0
mov cl, byte [ebp - 0x179]
add esp, 0xc
inc cl
cmp eax, 0xffffffff
movzx edx, cl
movzx ecx, byte [ebp - 0x179]
cmove edx, ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x179], dl
call fcn.10002f50
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x30], 0
call fcn.100891b0
add esp, 8
lea eax, [ebp - 0x178]
push eax
push esi
call edi
cmp eax, 1
je 0x10004350
cmp byte [ebp - 0x179], 3
jbe 0x10004476
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 - 0x4c]
call fcn.10003c00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x34], 0xf
mov eax, dword [ebp - 0x38]
cmova ecx, dword [ebp - 0x48]
inc eax
push eax
push ecx
push 0xaf7b50
call fcn.1008bc80
add esp, 0xc
call fcn.1001b130
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x85fd80
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
test eax, eax
jne 0x100044ec
mov dword [0x100f5f70], 0x85fd80
call fcn.10087d30
call esi
push eax
call fcn.10088200
push 0x100148f0
push 0x100f5f70
call fcn.100875b0
call fcn.10087d90
push 4
push 0x863bf0
call edi
test eax, eax
jne 0x10004524
mov dword [0x100f5f6c], 0x863bf0
call fcn.10087d30
call esi
push eax
call fcn.10088200
push 0x10014b50
push 0x100f5f6c
call fcn.100875b0
call fcn.10087d90
push 4
push 0x861450
call edi
test eax, eax
jne 0x1000455c
mov dword [0x100f5f68], 0x861450
call fcn.10087d30
call esi
push eax
call fcn.10088200
push 0x10014ea0
push 0x100f5f68
call fcn.100875b0
call fcn.10087d90
call fcn.10020e00
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10003de0
push 0
push 0
mov dword [0x100f5f58], eax
mov dword [0x100f5f5c], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x4c]
call fcn.10002f50
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x4c], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret