Function at 0x140052ba0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3e0
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
xor esi, esi
mov r12, rcx
xor edx, edx
mov dword [rsp + 0x20], esi
lea ecx, [rsi + 0xf]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x170]
mov dword [rsp + 0x170], 0x238
mov rcx, rax
mov r13, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140052ee2
nop word [rax + rax]
cmp qword [r12 + 0x18], 8
mov r8, r12
jb 0x140052c1f
mov r8, qword [r12]
lea rax, [rsp + 0x19c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140052c44
add rax, 2
test ecx, ecx
jne 0x140052c30
test edx, edx
jne 0x140052eca
mov r8d, dword [rsp + 0x178]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140052eca
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140052e54
mov rdx, r12
lea rcx, [rsp + 0x3b0]
or esi, 3
call fcn.14003aba0
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x140052c96
mov r14, qword [rax]
xor r9d, r9d
lea rdx, str.D:uworkspace03_28cefwinauto_srcutils_win.cc
mov r8d, 0x184
lea rcx, [rsp + 0x68]
call fcn.1400c74b0
xor ebp, ebp
lea rdi, [rax + 8]
mov rax, qword [rax + 8]
movsxd rcx, dword [rax + 4]
mov rbx, qword [rcx + rdi + 0x28]
cmp rbx, 0x27
jl 0x140052ccf
add rbx, 0xffffffffffffffda
jmp 0x140052cd1
xor ebx, ebx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140006e10
cmp byte [rsp + 0x30], bpl
jne 0x140052cef
mov ebp, 4
jmp 0x140052e0f
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
mov ecx, dword [rax + rdi + 0x18]
and ecx, 0x1c0
cmp ecx, 0x40
je 0x140052d6f
test rbx, rbx
jle 0x140052d6f
nop word [rax + rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov r8, qword [rdi + rcx + 0x48]
movzx r9d, byte [rdi + rcx + 0x58]
mov rax, qword [r8 + 0x40]
cmp qword [rax], rbp
je 0x140052d4f
mov rcx, qword [r8 + 0x58]
mov eax, dword [rcx]
test eax, eax
jle 0x140052d4f
dec eax
mov dword [rcx], eax
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, r9d
mov byte [rdx], r9b
jmp 0x140052d5b
mov rax, qword [r8]
mov edx, r9d
mov rcx, r8
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140052dfa
dec rbx
test rbx, rbx
jg 0x140052d10
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
mov r8d, 0x26
lea rdx, str.Killing_process_before_OnLaunchSubApp
mov rcx, qword [rax + rdi + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x48]
cmp rax, 0x26
jne 0x140052dfa
test rbx, rbx
jle 0x140052dff
nop word [rax + rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov r8, qword [rcx + rdi + 0x48]
movzx r9d, byte [rcx + rdi + 0x58]
mov rax, qword [r8 + 0x40]
cmp qword [rax], rbp
je 0x140052ddf
mov rcx, qword [r8 + 0x58]
mov eax, dword [rcx]
test eax, eax
jle 0x140052ddf
dec eax
mov dword [rcx], eax
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, r9d
mov byte [rdx], r9b
jmp 0x140052deb
mov rax, qword [r8]
mov edx, r9d
mov rcx, r8
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140052dfa
dec rbx
test rbx, rbx
jg 0x140052da0
jmp 0x140052dff
mov ebp, 4
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov qword [rcx + rdi + 0x28], 0
mov rax, qword [rdi]
movsxd r8, dword [rax + 4]
add r8, rdi
mov eax, dword [r8 + 0x10]
or eax, ebp
mov edx, eax
or edx, 4
cmp qword [r8 + 0x48], 0
cmovne edx, eax
mov eax, dword [r8 + 0x14]
and edx, 0x17
mov dword [r8 + 0x10], edx
and eax, edx
jne 0x140052f1c
lea rcx, [rsp + 0x28]
call fcn.1400086e0
mov rdx, r14
mov rcx, rdi
call fcn.1400025c0
test sil, 2
je 0x140052e67
and esi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.1400c7810
test sil, 1
je 0x140052eb3
mov rdx, qword [rsp + 0x3c8]
and esi, 0xfffffffe
cmp rdx, 0x10
jb 0x140052eb3
mov rcx, qword [rsp + 0x3b0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052eae
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052f65
call fcn.140157ef0
mov edx, 9
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x170]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140052c10
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140157f90
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test al, 4
je 0x140052f29
lea rbx, str.ios_base::badbit_set
jmp 0x140052f3d
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140015b80
mov r8, rax
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.140006cc0
mov rcx, rax
call fcn.140012fe0
int3
call fcn.1401963ac
int3