Function at 0x1400509a0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2fe8]
mov eax, 0x30c0
call fcn.14007a310
sub rsp, rax
mov rax, qword [0x1400bba20]
xor rax, rsp
mov qword [rbp + 0x2fb0], rax
mov rbx, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x2c], r15d
test rcx, rcx
jne 0x1400509f8
lea eax, [rcx + 1]
jmp 0x140050cc4
or r8d, 0xffffffff
lea rdx, [0x14009e290]
lea rcx, [rsp + 0x60]
call fcn.140029464
nop
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140029944
mov r9d, 0x12f
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000b3b8
nop
lea rcx, [rsp + 0x60]
call fcn.1400295e0
mov rbx, rax
lea rdx, str._CInstallerManager::TerminateApp__the_event_exists__need_terminate_mainboard:
lea rcx, [0x1400be210]
call fcn.14001117c
mov rcx, rax
mov rdx, rbx
call fcn.140009fb8
nop
lea rcx, [rsp + 0x20]
call fcn.14000b5e4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rsp + 0x24]
mov edx, 0x1000
lea rcx, [rbp + 0x70]
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
mov edi, 1
test eax, eax
jne 0x140050adf
mov r9d, 0x13c
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CInstallerManager::TerminateApp__failed_to_enum_processes__error_code:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x20]
call fcn.14000b5e4
jmp 0x140050cb8
mov r14d, dword [rsp + 0x24]
shr r14d, 2
mov r12d, edi
mov dword [rsp + 0x20], edi
mov r13d, r15d
test r14d, r14d
je 0x140050cb5
lea r15, [rbp + 0x70]
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140050ca5
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1070], xmm0
mov ecx, dword [0x1400aaec8]
mov dword [rbp + 0x1080], ecx
xor edx, edx
mov r8d, 0xf8c
lea rcx, [rbp + 0x1084]
call main
mov r8d, 0x7cf
lea rdx, [rbp + 0x1070]
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea rcx, [rsp + 0x60]
call fcn.1400295e0
mov rdx, rax
lea rcx, [rbp + 0x1070]
call fcn.14007ef08
test rax, rax
je 0x140050d7a
xor edx, edx
mov r8d, 0xfa0
lea rcx, [rbp + 0x2010]
call main
mov dword [rsp + 0x28], 0x7cf
lea r9, [rsp + 0x28]
lea r8, [rbp + 0x2010]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor r12d, r12d
test eax, eax
je 0x140050bfd
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
lea rdx, [rbp + 0x2010]
lea rcx, [rsp + 0x38]
call fcn.1400055a4
nop
or esi, edi
mov dword [rsp + 0x2c], esi
lea rcx, [rsp + 0x38]
call fcn.140015a5c
test al, al
je 0x140050bfd
mov r12b, dil
test dil, sil
je 0x140050c47
and esi, 0xfffffffe
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140050c47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050c42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050d88
call fcn.140028090
test r12b, r12b
je 0x140050cf4
mov r9d, 0x16a
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b3b8
nop
lea rdx, str._CInstallerManager::TerminateApp__skip_VDI:
lea rcx, [0x1400be210]
call fcn.140009fb8
mov rcx, rax
lea rdx, [rbp + 0x2010]
call fcn.140009fb8
nop
lea rcx, [rsp + 0x30]
call fcn.14000b5e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, dword [rsp + 0x20]
add r13d, edi
add r15, 4
cmp r13d, r14d
jb 0x140050aff
mov edi, r12d
lea rcx, [rsp + 0x60]
call fcn.140029560
mov eax, edi
mov rcx, qword [rbp + 0x2fb0]
xor rcx, rsp
call fcn.1400793d0
lea r11, [rsp + 0x30c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [r15]
call fcn.140050d90
xor r12d, r12d
test eax, eax
jne 0x140050ca0
mov r9d, 0x174
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
mov edx, edi
lea rcx, [rsp + 0x34]
call fcn.14000b3b8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CInstallerManager::TerminateApp__failed_to_kill_processes__PID:
lea rcx, [0x1400be0f0]
call fcn.14000475c
mov rcx, rax
mov edx, dword [r15]
call fcn.1400024b0
mov rcx, rax
lea rdx, [0x1400a09a8]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x34]
call fcn.14000b5e4
mov dword [rsp + 0x20], r12d
jmp 0x140050ca5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140050ca5
call fcn.14005e65c
int3