Function at 0x10003120
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 0x1007e4fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x10091040]
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 - 0x170], 0x128
push 2
mov byte [ebp - 0x171], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x170]
push eax
push esi
mov dword [ebp - 0x178], esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x100032eb
lea eax, [ebp - 0x170]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x100032eb
nop dword [eax]
nop word [eax + eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100031e0
sub ecx, edx
lea eax, [ebp - 0x14c]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100024a0
movaps xmm0, xmmword [0x10089e20]
xor eax, eax
movups xmmword [ebp - 0x18c], xmm0
mov word [ebp - 0x17c], 0x7f
mov cl, byte [ebp - 0x18c]
xor byte [ebp + eax - 0x18b], cl
inc eax
cmp eax, 0x10
jb 0x10003212
lea edx, [ebp - 0x18b]
mov byte [ebp - 0x17b], 0
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10003235
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x18b]
mov esi, dword [ebp - 0x2c]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp edi, 0xf
push eax
cmova ecx, esi
push ecx
call fcn.10003530
mov cl, byte [ebp - 0x171]
add esp, 0xc
inc cl
cmp eax, 0xffffffff
movzx edx, cl
movzx ecx, byte [ebp - 0x171]
cmove edx, ecx
mov byte [ebp - 0x171], dl
cmp edi, 0xf
jbe 0x100032af
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x100032a5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003422
push ecx
push esi
call fcn.1007d105
add esp, 8
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x100031c0
cmp byte [ebp - 0x171], 3
jbe 0x100032eb
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 - 0x44]
call fcn.10002b40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov eax, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x44]
inc eax
push eax
push ecx
push 0xaf7b50
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
call fcn.100118d0
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 0x10003361
mov dword [0x100933f0], 0x85fd80
call fcn.1007bcc0
call esi
push eax
call fcn.1007c190
push 0x1000b510
push 0x100933f0
call fcn.1007b540
call fcn.1007bd20
push 4
push 0x863bf0
call edi
test eax, eax
jne 0x10003399
mov dword [0x100933ec], 0x863bf0
call fcn.1007bcc0
call esi
push eax
call fcn.1007c190
push 0x1000b770
push 0x100933ec
call fcn.1007b540
call fcn.1007bd20
push 4
push 0x861450
call edi
test eax, eax
jne 0x100033d1
mov dword [0x100933e8], 0x861450
call fcn.1007bcc0
call esi
push eax
call fcn.1007c190
push 0x1000bac0
push 0x100933e8
call fcn.1007b540
call fcn.1007bd20
call fcn.10017940
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10002d00
push 0
push 0
mov dword [0x100933d8], eax
mov dword [0x100933dc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x10003432
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003428
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003428
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
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.1007d0a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret