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

Disassembly:
push 0x29c
mov eax, 0x55186d
call fcn.00550118
push 0
xor bl, bl
push 2
mov byte [ebp - 0x141], bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x40b7d0
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
push dword [ebp - 0x138]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x150], esi
test esi, esi
je 0x40b7b5
and dword [ebp - 0x148], 0
mov ebx, 0x58e404
lea eax, [ebp - 0x14c]
push eax
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebx - 4]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40b791
cmp dword [ebp - 0x14c], 8
jne 0x40b791
lea ecx, [ebp - 0x18]
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40b791
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 4]
jne 0x40b791
push 0
push esi
mov byte [ebp - 0x141], 1
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [0x68d67c], 1
jne 0x40b67f
push 1
push 0x40
push 8
push 0x55c9cc
call fcn.00408fb9
pop ecx
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00409075
and dword [ebp - 4], 0
push 0x55de8c
call fcn.00408fb9
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004081fc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.004081fc
add esp, 0x14
lea ecx, [ebp - 0x2a8]
call fcn.00409583
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.00409144
cmp dword [0x68d68c], 1
jne 0x40b768
lea eax, [ebp - 0x158]
push eax
call fcn.0041310f
lea eax, [ebp - 0x158]
push eax
call fcn.0040ee71
pop ecx
pop ecx
push 1
push 0x40
push 8
push 0x55ca18
mov esi, eax
call fcn.00408fb9
pop ecx
push eax
lea ecx, [ebp - 0x200]
call fcn.00409075
push 0x55ca30
mov dword [ebp - 4], 1
call fcn.00408fb9
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004081fc
push esi
call dword [sym.imp.MSVCR120.dll_asctime]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004081fc
push 0x55deb0
call fcn.00408fb9
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004081fc
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004081fc
push 0x55ca78
call fcn.00408fb9
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004081fc
add esp, 0x38
lea ecx, [ebp - 0x200]
call fcn.00409583
push 2
push 0x55ded4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.00409144
mov esi, dword [ebp - 0x150]
mov eax, dword [0x68d680]
cmp eax, 1
je 0x40b846
cmp eax, 2
je 0x40b83a
cmp eax, 3
je 0x40b81b
cmp eax, 4
je 0x40b7e7
test eax, eax
je 0x40b7df
mov eax, dword [ebp - 0x148]
add ebx, 0xc
add eax, 0xc
mov dword [ebp - 0x148], eax
cmp eax, 0xbc4
jb 0x40b5b9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x140]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40b58a
mov bl, byte [ebp - 0x141]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.005500d6
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x40b022
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push 0x55ded8
call fcn.00408fb9
pop ecx
push eax
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
jmp 0x40b7e1
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x4108b8
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40b818
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x40b852
jmp 0x40b825
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x40b87a
jmp 0x40b825