Function at 0x48408e
Capabilities:
Enumerate processes
Get process image filename
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528273
mov eax, dword fs:[0]
push eax
mov eax, 0x1788
call fcn.004ade10
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x1790], 0
and dword [ebp - 0x1738], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1750], eax
cmp dword [ebp - 0x1750], 0
jne 0x4840ec
mov dword [ebp - 0x1744], 1
jmp 0x4840f3
and dword [ebp - 0x1744], 0
movzx eax, byte [ebp - 0x1744]
test eax, eax
je 0x484109
mov eax, dword [ebp - 0x1738]
jmp 0x484620
push dword [ebp + 8]
call fcn.00481158
pop ecx
movzx eax, al
test eax, eax
jne 0x484124
mov eax, dword [ebp - 0x1738]
jmp 0x484620
push 0x410
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.004b0090
add esp, 0xc
push 0x207
mov ecx, dword [ebp + 8]
call fcn.0040a5f1
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004d9104
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
call fcn.004ce705
pop ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x1740], eax
cmp dword [ebp - 0x1740], 0xffffffff
jne 0x4841e7
push str._KillAllProcess_create_snapshot_fail
lea ecx, [ebp - 0x14c0]
call fcn.0040c8ed
and dword [ebp - 4], 0
lea eax, [ebp - 0x14c0]
push eax
push dword [ebp + 0x10]
call fcn.004838f3
pop ecx
pop ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x14c0]
call fcn.00405a40
mov dword [ebp - 4], 2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14c0]
mov dword [ebp - 0x178c], eax
mov dword [ebp - 4], 3
mov dword [ebp - 4], 4
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1738]
jmp 0x484620
push 0x410
push 0
lea eax, [ebp - 0xc40]
push eax
call fcn.004b0090
add esp, 0xc
mov dword [ebp - 0x1734], 0x22c
lea eax, [ebp - 0x1734]
push eax
push dword [ebp - 0x1740]
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x174c], eax
mov dword [ebp - 0x1738], 1
cmp dword [ebp - 0x174c], 0
je 0x484607
push dword [ebp - 0x172c]
push 0
push 0x411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x173c], eax
lea ecx, [ebp - 0x1478]
call fcn.0040b2fe
mov dword [ebp - 4], 5
cmp dword [ebp - 0x173c], 0
je 0x4845af
push dword [ebp - 0x172c]
call fcn.00483bc2
pop ecx
test eax, eax
je 0x484372
push 0x820
push 0
lea eax, [ebp - 0x1460]
push eax
call fcn.004b0090
add esp, 0xc
push 0x410
lea eax, [ebp - 0x1460]
push eax
push dword [ebp - 0x173c]
call sub.PSAPI.DLL_GetProcessImageFileNameW
lea eax, [ebp - 0x1460]
push eax
lea ecx, [ebp - 0x14d8]
call fcn.00409053
mov dword [ebp - 0x1774], eax
mov eax, dword [ebp - 0x1774]
mov dword [ebp - 0x1770], eax
mov byte [ebp - 4], 6
push dword [ebp - 0x1770]
lea eax, [ebp - 0x14f0]
push eax
call fcn.00483d45
pop ecx
pop ecx
mov dword [ebp - 0x176c], eax
mov eax, dword [ebp - 0x176c]
mov dword [ebp - 0x1768], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x1768]
lea ecx, [ebp - 0x1478]
call fcn.0041dc17
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14f0]
call fcn.0040a62b
mov byte [ebp - 4], 9
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14f0]
mov dword [ebp - 0x1794], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 6
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14d8]
call fcn.0040a62b
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 5
lea eax, [ebp - 0x14d8]
mov dword [ebp - 0x1778], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 5
jmp 0x4843b6
push 0x104
lea eax, [ebp - 0xc40]
push eax
push 0
push dword [ebp - 0x173c]
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0xc40]
push eax
call fcn.004cc4f3
pop ecx
mov dword [ebp - 0x1764], eax
push dword [ebp - 0x1764]
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0x1478]
call fcn.0040a770
mov eax, dword [ebp - 0x1468]
mov dword [ebp - 0x1760], eax
cmp dword [ebp - 0x1760], 0
jne 0x4843d7
mov dword [ebp - 0x1748], 1
jmp 0x4843de
and dword [ebp - 0x1748], 0
movzx eax, byte [ebp - 0x1748]
test eax, eax
jne 0x4845a3
push 0x410
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004b0090
add esp, 0xc
push 0x207
lea ecx, [ebp - 0x1478]
call fcn.0040a5f1
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004d9104
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call fcn.004ce705
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.004cc4f3
pop ecx
mov dword [ebp - 0x175c], eax
push dword [ebp - 0x175c]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1478]
call fcn.0040a770
push 0
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x1478]
call fcn.00450057
cmp eax, 0xffffffff
je 0x4845a3
lea eax, [ebp - 0x1478]
push eax
lea eax, [ebp - 0x1490]
push eax
call fcn.00483a22
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1490]
push eax
push str._KillAllProcess_process:
lea eax, [ebp - 0x1508]
push eax
call fcn.00484f91
add esp, 0xc
mov dword [ebp - 0x1758], eax
mov eax, dword [ebp - 0x1758]
mov dword [ebp - 0x1754], eax
mov byte [ebp - 4], 0x11
push dword [ebp - 0x1754]
push dword [ebp + 0x10]
call fcn.004838f3
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1508]
call fcn.00405a40
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x1508]
mov dword [ebp - 0x177c], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x10
cmp dword [ebp + 0xc], 0
je 0x484574
push 0
push dword [ebp - 0x173c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x484574
and dword [ebp - 0x1738], 0
push str._KillAllProcess_kill_failed
lea ecx, [ebp - 0x14a8]
call fcn.0040c8ed
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x14a8]
push eax
push dword [ebp + 0x10]
call fcn.004838f3
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x14a8]
call fcn.00405a40
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x14a8]
mov dword [ebp - 0x1780], eax
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1490]
call fcn.00405a40
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1490]
mov dword [ebp - 0x1784], eax
mov byte [ebp - 4], 0x1d
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 5
push dword [ebp - 0x173c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1734]
push eax
push dword [ebp - 0x1740]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x174c], eax
mov dword [ebp - 4], 0x1f
lea ecx, [ebp - 0x1478]
call fcn.0040a62b
mov dword [ebp - 4], 0x20
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1478]
mov dword [ebp - 0x1788], eax
mov dword [ebp - 4], 0x21
mov dword [ebp - 4], 0x22
or dword [ebp - 4], 0xffffffff
jmp 0x484229
push dword [ebp - 0x1740]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x1740], 0xffffffff
mov eax, dword [ebp - 0x1738]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret