Function at 0x140005d60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14008d140]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor edx, edx
mov ecx, 2
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140005e20
xorps xmm0, xmm0
lea rdx, str.Failed_to_create_process_snapshot.
xor edi, edi
lea rcx, [rsp + 0x28]
mov r8d, 0x22
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], rdi
call fcn.1400244a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140005e19
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e14
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006180
call fcn.140042790
xor al, al
jmp 0x14000610a
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
test eax, eax
je 0x140005fe4
lea r12, str.chrome.exe
mov r15d, 1
lea r13, str.Terminating_Chrome_process_with_PID
nop dword [rax]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x58], rdi
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x60], rdi
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x140005e80
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.140024160
mov r10, qword [rsp + 0x60]
lea r8, [rsp + 0x48]
mov r9, qword [rsp + 0x48]
cmp r10, 7
cmova r8, r9
cmp qword [rsp + 0x58], 0xa
jne 0x140005edb
mov edx, 0xa
mov rcx, r12
sub r8, r12
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140005edb
add rcx, 2
sub rdx, r15
jne 0x140005ec2
movzx ebx, r15b
jmp 0x140005edd
xor bl, bl
cmp r10, 7
jbe 0x140005f18
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140005f10
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006180
mov rcx, r9
call fcn.140042790
test bl, bl
je 0x140005fce
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140005fce
mov edx, dword [rsp + 0x78]
xorps xmm0, xmm0
add rdx, r13
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], rdi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140005f60
lea rcx, [rsp + 0x28]
call fcn.1400244a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140005fb0
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005fab
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006180
call fcn.140042790
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx r14d, r14b
mov rcx, rbx
test eax, eax
cmovne r14d, r15d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005e60
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x20]
call fcn.1400039d0
mov rbx, qword [rsp + 0x20]
movabs rax, 0x7fffffff88ca6bff
cmp rbx, rax
jge 0x140006014
add rbx, 0x77359400
jmp 0x14000601e
movabs rbx, 0x7fffffffffffffff
lea rcx, [rsp + 0x20]
call fcn.1400039d0
mov rax, qword [rsp + 0x20]
cmp rax, rbx
jge 0x14000609f
movabs rsi, 0x4e94914f0000
movabs r15, 0x431bde82d7b634db
nop word [rax + rax]
mov rcx, rbx
sub rcx, rax
cmp rcx, rsi
jle 0x140006062
mov edx, 0x5265c00
jmp 0x140006084
mov rax, r15
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x140006084
inc edx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
lea rcx, [rsp + 0x20]
call fcn.1400039d0
mov rax, qword [rsp + 0x20]
cmp rax, rbx
jl 0x140006050
mov qword [rsp + 0x38], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
test r14b, r14b
je 0x14000613a
mov r8d, 0x1c
lea rdx, str.All_Chrome_instances_closed.
call fcn.1400244a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140006106
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006101
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006180
call fcn.140042790
movzx eax, r14b
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140042770
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8d, 0x2d
lea rdx, str.No_Chrome_instances_found_or_failed_to_close.
call fcn.1400244a0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140006106
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006101
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006101
call fcn.14004cd30
int3