Function at 0x499d60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8619
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x4fe37c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x4e20
mov dword [ebp - 0x18], 0x64
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x4d], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00426d20
mov byte [ebp - 4], 1
call fcn.00498c70
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x54], 0
jmp 0x499de5
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
cmp dword [ebp - 0x54], ecx
jge 0x49a046
mov byte [ebp - 0x4d], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x49a02b
mov dword [ebp - 0x28c], 0x22c
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x49a01a
mov dword [ebp - 0x290], 0
jmp 0x499e4b
mov ecx, dword [ebp - 0x290]
add ecx, 1
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp + 8]
call fcn.00415890
cmp dword [ebp - 0x290], eax
jge 0x49a002
mov edx, dword [ebp - 0x290]
push edx
mov ecx, dword [ebp + 8]
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x499ffd
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x284]
je 0x499ffd
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00406f90
mov byte [ebp - 4], 2
push 0x4db894
lea ecx, [ebp - 0x2ac]
call fcn.00407050
mov eax, dword [ebp - 0x290]
push eax
mov ecx, dword [ebp + 8]
call fcn.004259e0
mov ecx, eax
call fcn.00407070
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00407050
lea ecx, [ebp - 0x2ac]
call fcn.00407070
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2e0], esp
push eax
call fcn.00406f50
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.004992d0
add esp, 0x20
mov byte [ebp - 0x305], al
movzx edx, byte [ebp - 0x305]
test edx, edx
jne 0x499f3d
push 0x4db898
lea eax, [ebp + 0x10]
push eax
call fcn.00409460
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x499fee
cmp dword [ebp + 0xc], 0
je 0x499f5b
mov edx, dword [ebp - 0x290]
push edx
mov ecx, dword [ebp + 8]
call fcn.004259e0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00406ff0
mov eax, dword [ebp - 0x284]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
je 0x499fee
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00498d40
add esp, 4
cmp eax, dword [ebp - 0x28]
je 0x499fee
mov byte [ebp - 0x19], 1
mov byte [ebp - 0x4d], 1
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x54]
push eax
push str.TerminateProcess__d_:__s
push 0
mov ecx, dword [0x503934]
push ecx
call fcn.00498ad0
add esp, 0x14
push 1
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00426de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
call fcn.00406fd0
jmp 0x49a002
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2ac]
call fcn.00406fd0
jmp 0x499e3c
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x58]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x499e30
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x58], 0
movzx edx, byte [ebp - 0x4d]
test edx, edx
jne 0x49a037
jmp 0x49a046
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x499ddc
lea ecx, [ebp - 0x4c]
call fcn.0041dc60
test eax, eax
je 0x49a163
lea ecx, [ebp - 0x2d0]
call fcn.0043c4b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0042d130
jmp 0x49a08a
push 0
lea edx, [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x2d8]
call fcn.00426fd0
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00426db0
push eax
lea ecx, [ebp - 0x2d8]
call fcn.00432d20
movzx ecx, al
test ecx, ecx
je 0x49a0c5
lea ecx, [ebp - 0x2d8]
call fcn.00426fb0
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004329a0
jmp 0x49a076
push 0x3e8
push 1
push 0
lea ecx, [ebp - 0x2d0]
call fcn.00438e50
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00419220
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x2b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2dc], 0
jmp 0x49a119
mov edx, dword [ebp - 0x2dc]
add edx, 1
mov dword [ebp - 0x2dc], edx
lea ecx, [ebp - 0x2d0]
call fcn.00419220
cmp dword [ebp - 0x2dc], eax
jae 0x49a154
mov eax, dword [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00438e50
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2d0]
call fcn.0041df80
jmp 0x49a10a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d0]
call fcn.00427010
movzx edx, byte [ebp - 0x4d]
push edx
push str.TerminateProcess_Return_Value_bFoundAndTryKill_:__d
push 0
mov eax, dword [0x503934]
push eax
call fcn.00498ba0
add esp, 0x10
movzx ecx, byte [ebp - 0x4d]
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x2fd], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00426a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00406fd0
mov al, byte [ebp - 0x2fd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004443e3
mov esp, ebp
pop ebp
ret