Function at 0x10017a20
Capabilities:
Create thread
Enumerate processes
Set file attributes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x12c
push 0xffffffffffffffff
push 0x1001bafb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x10030a98]
xor eax, ebp
mov dword [ebp + 0x128], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x134]
push 0
push 2
mov dword [ebp], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10017abd
mov eax, edi
lea ecx, [ebp + 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10017aa6
test dl, dl
je 0x10017aa2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10017aa6
add ecx, 2
add eax, 2
test dl, dl
jne 0x10017a86
xor eax, eax
jmp 0x10017aab
sbb eax, eax
or eax, 1
test eax, eax
je 0x10017aeb
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10017a81
cmp esi, 0xffffffff
je 0x10017ac9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
call fcn.100194a0
lea esp, [ebp + 0x12c]
pop ebp
ret
push dword [ebp + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x10030f24], 1
jne 0x10017b5d
push 1
push 0x40
push 8
push 0x10027190
lea ecx, [ebp - 0x174]
call fcn.100014c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nPID_Scan:
push eax
call fcn.10001050
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.10001050
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.10001ab0
cmp dword [0x10030f34], 1
jne 0x10017c38
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x100271b4
call fcn.100014c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x100271b8
push eax
call fcn.10001050
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push str.PID_Scan:
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.10001050
lea eax, [ebp - 0xc4]
push 0x100271d8
push eax
call fcn.10001050
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.10001f00
test eax, eax
jne 0x10017c20
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x10027200
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10001ab0
mov eax, dword [0x10030f28]
push 0
cmp eax, 1
jne 0x10017c6a
push 0
push 0
push 0x10017ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10017c7a
push 0
push 0
push 0x10017cb0
jmp 0x10017c4d
cmp eax, 3
jne 0x10017c8a
push 0
push 0
push 0x10017d10
jmp 0x10017c4d
cmp eax, 4
jne 0x10017c64
push 0
push 0
push 0x10018d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10017c62