Function at 0x4015b0
Capabilities:
Enumerate gui resources
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x25c
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x22c]
call dbg.enumerate_processes
test eax, eax
je 0x40187b
mov edx, dword [section..bss]
mov edi, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x23c], 0
test edx, edx
je 0x4016d5
lea esi, [esi]
mov ecx, dword [ebp - 0x23c]
lea eax, [ecx*4]
mov dword [ebp - 0x244], eax
mov eax, dword [0x405004]
mov eax, dword [eax + ecx*4]
mov esi, eax
mov ebx, eax
jmp 0x401644
add esi, 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_iswdigit]
test eax, eax
je 0x401710
movzx eax, word [esi]
test ax, ax
jne 0x401630
mov dword [esp], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [info.found], 0
mov dword [info.pid], eax
mov ebx, eax
mov eax, dword [ebp - 0x24c]
cmp ebx, eax
je 0x401838
lea edx, [info.pid]
mov dword [esp], dbg.pid_enum_proc
mov dword [esp + 4], edx
call sym._EnumWindows_8
mov eax, dword [info.found]
sub esp, 8
test eax, eax
je 0x401806
mov dword [esp + 4], ebx
mov dword [esp], 0x6b
call dbg.taskkill_message_printfW
add dword [ebp - 0x23c], 1
mov eax, dword [ebp - 0x23c]
cmp eax, dword [section..bss]
jb 0x401608
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
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 - 0x250]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, eax
mov eax, ebx
lea edx, [info.pid]
xor esi, esi
mov ebx, ecx
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x401814
mov dword [ebp - 0x248], ebx
mov ebx, edx
mov dword [ebp - 0x240], ecx
jmp 0x401751
mov eax, dword [ebp - 0x240]
add esi, 1
cmp esi, eax
je 0x4017f8
mov eax, dword [edi + esi*4]
mov edx, ebx
call sym._get_process_name_from_pid.constprop.0
test eax, eax
je 0x401740
mov eax, dword [0x405004]
mov edx, dword [ebp - 0x244]
mov eax, dword [eax + edx]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x401740
mov dword [ebp - 0x228], 0
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x224], 0
mov eax, dword [edi + esi*4]
mov dword [ebp - 0x228], eax
cmp eax, edx
je 0x401858
lea eax, [ebp - 0x228]
mov dword [esp], dbg.pid_enum_proc
mov dword [esp + 4], eax
call sym._EnumWindows_8
mov eax, dword [edi + esi*4]
add esi, 1
sub esp, 8
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x6c
call dbg.taskkill_message_printfW
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x248], 1
cmp esi, eax
jne 0x401751
lea esi, [esi]
mov ebx, dword [ebp - 0x248]
test ebx, ebx
jne 0x4016bc
mov eax, dword [0x405004]
mov edx, dword [ebp - 0x244]
mov eax, dword [eax + edx]
mov dword [esp + 4], eax
mov dword [esp], 0x6f
call dbg.taskkill_message_printfW
mov dword [ebp - 0x250], pe_nt_image_headers32
jmp 0x4016bc
mov eax, 0x72
call sym._taskkill_message.isra.0
mov dword [ebp - 0x250], 1
jmp 0x4016bc
mov eax, 0x72
call sym._taskkill_message.isra.0
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x250], 1
jmp 0x401740
mov eax, 0x70
call sym._taskkill_message.isra.0
mov dword [ebp - 0x250], 1
jmp 0x4016f9