Function at 0x1004ef70
Capabilities:
Create thread
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e975b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
push esi
push edi
lea edi, [ebp - 0x2cc]
mov ecx, 0xb0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1011e764]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0x128
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1004f02a
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.1000146a
add esp, 8
test eax, eax
jne 0x1004f00f
mov esi, esp
mov ecx, dword [ebp - 0x134]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 0x148], eax
mov esi, esp
push 0
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call fcn.10004ea8
cmp dword [0x10120c64], 1
jne 0x1004edd2
push 1
push 0x40
push 8
push 0x100fd2f8
lea ecx, [ebp - 0x1fc]
call fcn.10005fbf
mov dword [ebp - 4], 0
push str._nPID_Scan:
lea eax, [ebp - 0x1fc]
push eax
call fcn.10003bcf
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1fc]
push edx
call fcn.10003bcf
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.10001447
cmp dword [0x10120c74], 1
jne 0x1004eec1
lea eax, [ebp - 0x20c]
push eax
call fcn.1004eb80
add esp, 4
lea ecx, [ebp - 0x20c]
push ecx
call fcn.1004eb60
add esp, 4
mov dword [ebp - 0x214], eax
push 1
push 0x40
push 8
push 0x100fd318
lea ecx, [ebp - 0x2c8]
call fcn.10005fbf
mov dword [ebp - 4], 1
push 0x100fd31c
lea edx, [ebp - 0x2c8]
push edx
call fcn.10003bcf
add esp, 8
mov eax, dword [ebp - 0x214]
push eax
call fcn.10005353
add esp, 4
push eax
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.10003bcf
add esp, 8
push str.PID_Scan:
lea edx, [ebp - 0x2c8]
push edx
call fcn.10003bcf
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.10003bcf
add esp, 8
push 0x100fd33c
lea edx, [ebp - 0x2c8]
push edx
call fcn.10003bcf
add esp, 8
lea ecx, [ebp - 0x2c8]
call fcn.10002f0e
mov esi, esp
push 2
push 0x100fd364
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.10004ea8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.10001447
cmp dword [0x10120c68], 1
jne 0x1004ef0d
mov esi, esp
push 0
push 0
push 0
push 0x10003cc9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10120c68], 2
jne 0x1004ef59
mov esi, esp
push 0
push 0
push 0
push 0x10001587
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10120c68], 3
jne 0x1004efa5
mov esi, esp
push 0
push 0
push 0
push 0x100076fd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x10120c68], 4
jne 0x1004effe
mov esi, esp
push 0
push 0
push 0
push 0x10003dd2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0x200010
push str.PID_Scan
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, esp
call fcn.10004ea8
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x144]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1004ed1d
cmp dword [ebp - 0x144], 0xffffffff
je 0x1004f049
mov esi, esp
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10004ea8
push edx
mov ecx, ebp
push eax
lea edx, [0x1004f084]
call fcn.1000453e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10003675
add esp, 0x2cc
cmp ebp, esp
call fcn.10004ea8
mov esp, ebp
pop ebp
ret