Function at 0x4075e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d677
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x58e188]
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
xor ebx, ebx
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
mov dword [ebp - 0x23c], ebx
call fcn.00515860
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x24c], edi
cmp edi, 0xffffffff
jne 0x407647
xor eax, eax
jmp 0x407881
mov eax, dword [0x58f9ac]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x240], esp
mov esi, esp
push eax
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x248], esp
push str.KillProNames
mov dword [ebp - 4], ebx
call fcn.00402730
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
push 0x53ec40
mov byte [ebp - 4], 1
call fcn.00402730
lea ecx, [ebp - 0x244]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004060e0
add esp, 0x10
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 2
call fcn.00427608
lea edx, [ebp - 0x264]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x250], esp
mov bl, 3
push 0x53ec3c
mov byte [ebp - 4], bl
call fcn.00402730
mov eax, dword [ebp - 0x244]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x248], esp
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.00402000
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], bl
call fcn.00407300
add esp, 0xc
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40783d
lea ebx, [ebx]
xor ebx, ebx
cmp dword [ebp - 0x240], ebx
jle 0x407828
test ebx, ebx
js 0x4078a2
cmp ebx, dword [ebp - 0x25c]
jge 0x4078a2
mov ecx, dword [ebp - 0x260]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x407781
cmp eax, dword [esi - 0x10]
jne 0x407781
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4077b9
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40789d
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00514fd5
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
add edi, 0x10
push edi
call fcn.00515d60
add esp, 8
test eax, eax
jne 0x4077f9
mov edx, dword [ebp - 0x234]
push edx
push eax
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4077f9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407815
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, dword [ebp - 0x240]
jl 0x40773e
mov edi, dword [ebp - 0x24c]
lea ecx, [ebp - 0x23c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x407730
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 2
call fcn.00427846
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40787c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.00514c0e
mov esp, ebp
pop ebp
ret
call fcn.0040d9b0
call fcn.004151e1
int3