Function at 0x1400050f0
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 - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400760a0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor edx, edx
xor sil, sil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1400051c4
xor edi, edi
mov qword [rbp + 0x198], 0xf
lea rax, [rbp + 0x180]
mov qword [rbp + 0x190], rdi
lea r8d, [r14 + 0x23]
mov byte [rbp + 0x180], dil
lea rdx, str.Failed_to_create_process_snapshot.
lea rcx, [rbp + 0x180]
call fcn.14000ffd0
mov rdx, qword [rbp + 0x198]
cmp rdx, 0x10
jb 0x1400051bd
mov rcx, qword [rbp + 0x180]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051b8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553a
call fcn.14002b234
xor al, al
jmp 0x1400054b0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor edi, edi
test eax, eax
je 0x1400053d4
lea r12, str.chrome.exe
lea r15d, [rdi + 1]
lea r13, str.Terminating_Chrome_process_with_PID
nop word [rax + rax]
mov qword [rbp + 0x190], rdi
lea rax, [rsp + 0x6c]
mov qword [rbp + 0x198], 7
mov rdx, 0xffffffffffffffff
mov word [rbp + 0x180], di
inc rdx
cmp word [rax + rdx*2], di
jne 0x140005225
lea rcx, [rbp + 0x180]
cmp rdx, 7
ja 0x14000525d
lea rbx, [rdx + rdx]
mov qword [rbp + 0x190], rdx
mov r8, rbx
lea rdx, [rsp + 0x6c]
call fcn.14002d110
mov word [rbp + rbx + 0x180], di
jmp 0x140005267
lea r9, [rsp + 0x6c]
call fcn.140012e50
mov r11, qword [rbp + 0x198]
lea r9, [rbp + 0x180]
mov r10, qword [rbp + 0x180]
cmp r11, 8
cmovae r9, r10
cmp qword [rbp + 0x190], 0xa
jne 0x1400052cb
movzx ecx, word [r9]
mov edx, 0x63
mov r8d, 0xa
mov rax, r12
cmp cx, dx
jb 0x1400052cb
sub r9, r12
cmp cx, dx
ja 0x1400052cb
cmp r8, r15
je 0x1400054e0
movzx ecx, word [r9 + rax + 2]
add rax, 2
dec r8
movzx edx, word [rax]
cmp cx, dx
jae 0x1400052ab
xor bl, bl
cmp r11, 8
jb 0x140005308
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x140005300
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005534
mov rcx, r10
call fcn.14002b234
test bl, bl
je 0x1400053be
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400053be
mov edx, dword [rsp + 0x48]
mov r8, 0xffffffffffffffff
add rdx, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140005350
lea rcx, [rsp + 0x20]
call fcn.14000ffd0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400053a0
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000539b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553a
call fcn.14002b234
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx esi, sil
mov rcx, rbx
test eax, eax
cmovne esi, r15d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005200
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140029c5c
add rax, 0x1312d00
imul rcx, rax, 0x64
movabs rax, 0x112e0be826d694b3
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x180], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rbp + 0x188], ecx
lea rcx, [rbp + 0x180]
movaps xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x180], xmm0
call fcn.1400299d8
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], dil
test sil, sil
je 0x1400054e9
mov r8d, 0x1c
lea rdx, str.All_Chrome_instances_closed.
call fcn.14000ffd0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400054ac
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054a7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553a
call fcn.14002b234
movzx eax, sil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14002b210
lea r11, [rsp + 0x2b0]
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
movzx ebx, r15b
jmp 0x1400052cd
mov r8d, 0x2d
lea rdx, str.No_Chrome_instances_found_or_failed_to_close.
call fcn.14000ffd0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400054ac
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400054a7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553a
jmp 0x1400054a7
call fcn.1400328c4
int3
call fcn.1400328c4
int3