Function at 0x4018a0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24c
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x224]
call dbg.enumerate_processes
mov dword [ebp - 0x248], eax
test eax, eax
je 0x401c59
mov eax, dword [section..bss]
mov edi, dword [sym.imp.ucrtbase.dll_iswdigit]
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x22c], 0
test eax, eax
je 0x4019e0
lea esi, [esi]
nop
mov ecx, dword [ebp - 0x22c]
lea eax, [ecx*4]
mov dword [ebp - 0x234], eax
mov eax, dword [0x405004]
mov eax, dword [eax + ecx*4]
mov esi, eax
mov ebx, eax
jmp 0x401938
add esi, 2
mov dword [esp], eax
call edi
test eax, eax
je 0x401a20
movzx eax, word [esi]
test ax, ax
jne 0x401928
mov dword [esp], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll_wcstol]
mov ebx, eax
mov eax, dword [ebp - 0x238]
cmp ebx, eax
je 0x401c10
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x401b5e
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
sub esp, 8
test eax, eax
je 0x401b90
mov dword [esp + 4], ebx
mov dword [esp], 0x6d
call dbg.taskkill_message_printfW
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
add dword [ebp - 0x22c], 1
mov eax, dword [ebp - 0x22c]
cmp eax, dword [section..bss]
jb 0x401900
mov edi, dword [ebp - 0x248]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x244]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x224]
mov ecx, eax
xor esi, esi
mov eax, ebx
mov ebx, ecx
test edx, edx
je 0x401b6c
mov dword [ebp - 0x23c], ebx
mov ebx, dword [ebp - 0x248]
mov dword [ebp - 0x230], edx
jmp 0x401a61
mov eax, dword [ebp - 0x230]
add esi, 1
cmp esi, eax
je 0x401b50
mov eax, dword [ebx + esi*4]
lea edx, [ebp - 0x220]
call sym._get_process_name_from_pid.constprop.0
test eax, eax
je 0x401a50
mov eax, dword [0x405004]
mov ecx, dword [ebp - 0x234]
mov eax, dword [eax + ecx]
mov dword [esp + 4], eax
lea eax, [ebp - 0x220]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x401a50
mov eax, dword [ebx + esi*4]
mov ecx, dword [ebp - 0x238]
cmp eax, ecx
je 0x401c20
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_OpenProcess]
sub esp, 0xc
test eax, eax
je 0x401c2c
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x240], eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov edx, dword [ebp - 0x240]
sub esp, 8
test eax, eax
je 0x401bd0
mov eax, dword [ebx + esi*4]
mov dword [ebp - 0x23c], edx
add esi, 1
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x234]
mov eax, dword [0x405004]
mov eax, dword [eax + ecx]
mov dword [esp], 0x6e
mov dword [esp + 4], eax
call dbg.taskkill_message_printfW
mov edx, dword [ebp - 0x23c]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x23c], 1
sub esp, 4
cmp esi, eax
jne 0x401a61
lea esi, [esi]
mov ebx, dword [ebp - 0x23c]
test ebx, ebx
jne 0x4019c7
mov eax, dword [0x405004]
mov ebx, dword [ebp - 0x234]
mov eax, dword [eax + ebx]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call dbg.taskkill_message_printfW
mov dword [ebp - 0x244], pe_nt_image_headers32
jmp 0x4019c7
mov eax, dword [0x405004]
mov ebx, dword [ebp - 0x234]
mov eax, dword [eax + ebx]
mov dword [esp], 0x71
mov dword [esp + 4], eax
call dbg.taskkill_message_printfW
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x244], 1
jmp 0x4019c7
mov ecx, dword [ebp - 0x234]
mov eax, dword [0x405004]
mov eax, dword [eax + ecx]
mov dword [esp], 0x71
mov dword [esp + 4], eax
call dbg.taskkill_message_printfW
mov edx, dword [ebp - 0x240]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x244], 1
jmp 0x401a50
mov eax, 0x72
call sym._taskkill_message.isra.0
jmp 0x401bba
mov eax, 0x72
call sym._taskkill_message.isra.0
jmp 0x401c00
mov eax, dword [0x405004]
mov ecx, dword [ebp - 0x234]
mov eax, dword [eax + ecx]
mov dword [esp], 0x6f
mov dword [esp + 4], eax
call dbg.taskkill_message_printfW
mov dword [ebp - 0x244], pe_nt_image_headers32
jmp 0x401a50
mov eax, 0x70
call sym._taskkill_message.isra.0
mov dword [ebp - 0x244], 1
jmp 0x401a0a