Function at 0x404d40
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424e91
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x435080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x28c], ebx
cmp ebx, 0xffffffff
jne 0x404e44
push 0x27
xor eax, eax
mov dword [ebp - 0x278], 0
push str.Failed_to_create_snapshot_of_processes.
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.00407e50
mov edx, str.Info:
mov dword [ebp - 4], 0
mov ecx, 0x4360c8
call fcn.00408800
cmp dword [ebp - 0x274], 8
lea edx, [ebp - 0x288]
push dword [ebp - 0x278]
cmovae edx, dword [ebp - 0x288]
mov ecx, eax
call fcn.00409f30
add esp, 4
push eax
call fcn.00408ac0
mov edx, dword [ebp - 0x274]
add esp, 4
cmp edx, 8
jb 0x4050f3
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40510f
push edx
push ecx
call fcn.0040d2e6
add esp, 8
jmp 0x4050f3
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4050f0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e96
sub ecx, edx
lea eax, [ebp - 0x24c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.00407e50
mov edi, dword [ebp - 0x274]
lea ecx, [ebp - 0x288]
mov esi, dword [ebp - 0x288]
cmp edi, 8
cmovae ecx, esi
cmp dword [ebp - 0x278], 0xa
jne 0x404ef0
push 0xa
mov edx, str.chrome.exe
call fcn.004084d0
add esp, 4
test eax, eax
jne 0x404ef0
mov bl, 1
jmp 0x404ef2
xor bl, bl
cmp edi, 8
jb 0x404f26
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x404f1c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40510f
push ecx
push esi
call fcn.0040d2e6
add esp, 8
test bl, bl
je 0x4050ce
push dword [ebp - 0x268]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4050ce
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov ecx, dword [ebp - 0x268]
lea esi, [ebp - 0x12]
mov eax, 0xcccccccd
add esi, 0xfffffffe
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x404f63
xor eax, eax
mov dword [ebp - 0x294], edx
mov word [ebp - 0x2a4], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0x290], 7
cmp esi, eax
je 0x404fb4
sub eax, esi
lea ecx, [ebp - 0x2a4]
sar eax, 1
push eax
push esi
call fcn.00407e50
lea eax, [ebp - 0x2a4]
mov dword [ebp - 4], 1
push eax
mov edx, str.Terminated_chrome.exe_process_with_PID:
lea ecx, [ebp - 0x2bc]
call fcn.00408b00
add esp, 4
mov esi, eax
mov edx, str.Info:
mov byte [ebp - 4], 2
mov ecx, 0x4360c8
call fcn.00408800
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x404ff5
mov esi, dword [esi]
push ecx
mov edx, esi
mov ecx, eax
call fcn.00409f30
add esp, 4
push eax
call fcn.00408ac0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x40504f
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405045
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40510f
push edx
push ecx
call fcn.0040d2e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
cmp edx, 8
jb 0x4050af
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4050a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40510f
push edx
push ecx
call fcn.0040d2e6
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
jmp 0x4050d4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28c]
lea eax, [ebp - 0x270]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x404e70
push ebx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040cf25
mov esp, ebp
pop ebp
ret
call fcn.00411af1
int3