Function at 0x404b30
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4062f8
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
jne 0x404b6a
xor al, al
jmp 0x404dfc
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403690
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0xf
mov esi, dword [ebp - 0x18]
mov edx, esi
cmova ecx, dword [ebp - 0x28]
push 1
sub esp, 8
call fcn.00404910
add esp, 0xc
cmp eax, 0xffffffff
je 0x404bff
cmp edi, 0xf
lea ecx, [ebp - 0x28]
push 1
cmova ecx, dword [ebp - 0x28]
mov edx, esi
sub esp, 8
call fcn.00404910
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x158], ecx
cmp esi, ecx
jb 0x404e17
mov eax, esi
or edx, 0xffffffff
sub eax, ecx
cmp eax, 0xffffffff
cmovb edx, eax
cmp edi, 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
sub esi, edx
add ecx, eax
mov eax, esi
sub eax, dword [ebp - 0x158]
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x18], esi
mov eax, edi
sub eax, esi
cmp eax, 4
jb 0x404c26
lea eax, [esi + 4]
cmp edi, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov dword [esi + eax], 0x6578652e
mov byte [esi + eax + 4], 0
jmp 0x404c44
push 4
push str..exe
mov byte [ebp - 0x158], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x158]
push 4
call fcn.004034b0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x150], 0x128
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x404c73
xor al, al
jmp 0x404dba
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov edx, esp
lea esi, [eax + 1]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c95
sub eax, esi
mov ecx, edx
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.004030e0
lea ecx, [ebp - 0x188]
call fcn.00404a70
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov ecx, esp
push eax
call fcn.00403690
lea ecx, [ebp - 0x170]
call fcn.00404a70
add esp, 0x18
mov ecx, esi
push eax
call fcn.004049d0
mov ecx, dword [ebp - 0x15c]
mov esi, eax
cmp ecx, 0xf
jbe 0x404d1b
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404d11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404de6
push ecx
push edx
call fcn.004050cf
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp ecx, 0xf
jbe 0x404d74
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404d6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404de6
push ecx
push edx
call fcn.004050cf
add esp, 8
test esi, esi
je 0x404d8b
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x404c68
push dword [ebp - 0x148]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404db1
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x151], al
cmp ecx, 0xf
jbe 0x404dfc
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404dec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404dec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004050cf
mov al, byte [ebp - 0x151]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404e1d
mov esp, ebp
pop ebp
ret
call fcn.00402c60
int3