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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080e79
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x100a2078]
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
push 2
xor bl, bl
mov dword [ebp - 0x200], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x200]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x100032e5
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x200]
push eax
push esi
call edi
cmp eax, 1
jne 0x100032e5
nop word [eax + eax]
cmp byte [ebp - 0x1dc], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x1000320f
xor ecx, ecx
jmp 0x10003221
lea ecx, [ebp - 0x1dc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003218
sub ecx, edx
push ecx
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002710
movaps xmm0, xmmword [0x10099930]
xor eax, eax
movups xmmword [ebp - 0x220], xmm0
mov word [ebp - 0x210], 0x68
nop word [eax + eax]
mov cl, byte [ebp - 0x220]
xor byte [ebp + eax - 0x21f], cl
inc eax
cmp eax, 0x10
jb 0x10003250
cmp byte [ebp - 0x21f], 0
mov byte [ebp - 0x20f], 0
jne 0x10003277
xor ecx, ecx
jmp 0x10003289
lea ecx, [ebp - 0x21f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003280
sub ecx, edx
push ecx
push ecx
lea eax, [ebp - 0x21f]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004d00
cmp eax, 0xffffffff
je 0x100032a1
inc bl
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100032b6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100025f0
lea eax, [ebp - 0x200]
push eax
push esi
call edi
cmp eax, 1
je 0x100031f0
cmp bl, 3
jbe 0x100032e5
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]
push 0x98
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10068b00
add esp, 4
lea ecx, [ebp - 0xd8]
call fcn.10003640
mov dword [ebp - 4], 0
mov cl, 0x53
movaps xmm0, xmmword [0x10099210]
mov al, 0xe
xor al, cl
mov byte [ebp - 0x204], cl
mov byte [ebp - 0x202], 0
xor ecx, ecx
mov byte [ebp - 0x203], al
mov byte [ebp - 0x202], 0
movups xmmword [ebp - 0x234], xmm0
mov dword [ebp - 0x224], 0x67d29
nop word [eax + eax]
mov al, byte [ebp - 0x234]
xor byte [ebp + ecx - 0x233], al
inc ecx
cmp ecx, 0x12
jb 0x10003350
lea edx, [ebp - 0x233]
mov byte [ebp - 0x221], 0
lea ecx, [ebp - 0xd8]
call fcn.10005fb0
mov esi, eax
test esi, esi
jne 0x10003385
xor ecx, ecx
jmp 0x1000338c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
push 0
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x220]
push 8
push eax
call fcn.100622d7
add esp, 0xc
mov edx, eax
mov ecx, esi
call fcn.10006260
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov byte [ecx + esi + 0x40], 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.10003cc0
lea edx, [ebp - 0x203]
mov ecx, eax
call fcn.10005fb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10003560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
inc eax
push 0
push eax
push ecx
push 0xaf7b50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.10015840
call fcn.10019bb0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0
push 0
push 0x10002f40
push 0
push 0
mov dword [0x100a55f8], eax
mov dword [0x100a55fc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000345c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100025f0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003580
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x88], vtable.std::ios_base.0
call fcn.10062337
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.10066135
mov esp, ebp
pop ebp
ret