Function at 0x140052b80
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 0x140052ec2
nop word [rax + rax]
cmp qword [r12 + 0x18], 8
mov r8, r12
jb 0x140052bff
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 0x140052c24
add rax, 2
test ecx, ecx
jne 0x140052c10
test edx, edx
jne 0x140052eaa
mov r8d, dword [rsp + 0x178]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x140052eaa
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140052e34
mov rdx, r12
lea rcx, [rsp + 0x3b0]
or esi, 3
call fcn.14003aba0
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x140052c76
mov r14, qword [rax]
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_srcutils_win.cc
mov r8d, 0x184
lea rcx, [rsp + 0x68]
call fcn.1400c7000
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 0x140052caf
add rbx, 0xffffffffffffffda
jmp 0x140052cb1
xor ebx, ebx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140006e10
cmp byte [rsp + 0x30], bpl
jne 0x140052ccf
mov ebp, 4
jmp 0x140052def
mov rdx, qword [rdi]
movsxd rax, dword [rdx + 4]
mov ecx, dword [rax + rdi + 0x18]
and ecx, 0x1c0
cmp ecx, 0x40
je 0x140052d4f
test rbx, rbx
jle 0x140052d4f
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 0x140052d2f
mov rcx, qword [r8 + 0x58]
mov eax, dword [rcx]
test eax, eax
jle 0x140052d2f
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 0x140052d3b
mov rax, qword [r8]
mov edx, r9d
mov rcx, r8
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140052dda
dec rbx
test rbx, rbx
jg 0x140052cf0
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 0x140052dda
test rbx, rbx
jle 0x140052ddf
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 0x140052dbf
mov rcx, qword [r8 + 0x58]
mov eax, dword [rcx]
test eax, eax
jle 0x140052dbf
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 0x140052dcb
mov rax, qword [r8]
mov edx, r9d
mov rcx, r8
call qword [rax + SafeArrayPutElement]
cmp eax, 0xffffffff
je 0x140052dda
dec rbx
test rbx, rbx
jg 0x140052d80
jmp 0x140052ddf
mov ebp, 4
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov qword [rcx + rdi + 0x28], 0
add byte [rax], al
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 0x140052efc
lea rcx, [rsp + 0x28]
call fcn.1400086e0
mov rdx, r14
mov rcx, rdi
call fcn.1400025c0
test sil, 2
je 0x140052e47
and esi, 0xfffffffd
lea rcx, [rsp + 0x68]
call fcn.1400c7360
test sil, 1
je 0x140052e93
mov rdx, qword [rsp + 0x3c8]
and esi, 0xfffffffe
cmp rdx, 0x10
jb 0x140052e93
mov rcx, qword [rsp + 0x3b0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052e8e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052f45
call fcn.140157a40
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 0x140052bf0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.140157ae0
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 0x140052f09
lea rbx, str.ios_base::badbit_set
jmp 0x140052f1d
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.140195efc
int3