Function at 0x548dd0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565ba5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00402320
test eax, eax
jne 0x548e06
jmp 0x548fea
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x548e1e
jmp 0x548fea
mov dword [ebp - 0x27c], 0x22c
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x548e43
mov byte [ebp - 0xd], 1
jmp 0x548e47
mov byte [ebp - 0xd], 0
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x548fe2
lea ecx, [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402550
mov dword [ebp - 4], 0
push 0
push 0x58edf8
lea ecx, [ebp - 0x14]
call fcn.00402490
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x548ec7
lea ecx, [ebp - 0x14]
call fcn.004025c0
sub eax, dword [ebp - 0x24]
sub eax, 1
push eax
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x14]
call fcn.004023b0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402530
lea ecx, [ebp - 0x14]
call fcn.00402440
push eax
lea ecx, [ebp - 0x14]
call fcn.00402510
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x28]
call fcn.00402370
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
call fcn.00402350
mov dword [ebp - 0x38], eax
jmp 0x548eff
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x38]
je 0x548fa9
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x50]
call fcn.004027b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00402600
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00402440
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402510
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402380
add esp, 8
movzx edx, al
test edx, edx
je 0x548f8c
push 0
mov eax, dword [ebp - 0x274]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00402640
jmp 0x548fa9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00402640
jmp 0x548ef6
lea ecx, [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x548fc4
mov byte [ebp - 0xe], 1
jmp 0x548fc8
mov byte [ebp - 0xe], 0
mov al, byte [ebp - 0xe]
mov byte [ebp - 0xf], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00402530
jmp 0x548e4d
xor ecx, ecx
jne 0x548df5
cmp dword [ebp - 0x18], 0xffffffff
je 0x549001
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret