Function at 0x140051010
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.14007b890
sub rsp, rax
mov rax, qword [0x1400bca20]
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 0x140051068
lea eax, [rcx + 1]
jmp 0x140051334
or r8d, 0xffffffff
lea rdx, [0x14009f290]
lea rcx, [rsp + 0x60]
call fcn.140028ed4
nop
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400293b4
mov r9d, 0x12f
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000b3c8
nop
lea rcx, [rsp + 0x60]
call fcn.140029050
mov rbx, rax
lea rdx, str._CInstallerManager::TerminateApp__the_event_exists__need_terminate_mainboard:
lea rcx, [0x1400bf210]
call fcn.14001119c
mov rcx, rax
mov rdx, rbx
call fcn.140009fc8
nop
lea rcx, [rsp + 0x20]
call fcn.14000b5f4
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 0x14005114f
mov r9d, 0x13c
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.14000b3c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CInstallerManager::TerminateApp__failed_to_enum_processes__error_code:
lea rcx, [0x1400bf0f0]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x20]
call fcn.14000b5f4
jmp 0x140051328
mov r14d, dword [rsp + 0x24]
shr r14d, 2
mov r12d, edi
mov dword [rsp + 0x20], edi
mov r13d, r15d
test r14d, r14d
je 0x140051325
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 0x140051315
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1070], xmm0
mov ecx, dword [0x1400abd18]
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.140029050
mov rdx, rax
lea rcx, [rbp + 0x1070]
call fcn.140080488
test rax, rax
je 0x1400513ea
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 0x14005126d
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.140005584
nop
or esi, edi
mov dword [rsp + 0x2c], esi
lea rcx, [rsp + 0x38]
call fcn.14001599c
test al, al
je 0x14005126d
mov r12b, dil
test dil, sil
je 0x1400512b7
and esi, 0xfffffffe
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400512b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400512b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400513f8
call fcn.140027b00
test r12b, r12b
je 0x140051364
mov r9d, 0x16a
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14000b3c8
nop
lea rdx, str._CInstallerManager::TerminateApp__skip_VDI:
lea rcx, [0x1400bf210]
call fcn.140009fc8
mov rcx, rax
lea rdx, [rbp + 0x2010]
call fcn.140009fc8
nop
lea rcx, [rsp + 0x30]
call fcn.14000b5f4
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 0x14005116f
mov edi, r12d
lea rcx, [rsp + 0x60]
call fcn.140028fd0
mov eax, edi
mov rcx, qword [rbp + 0x2fb0]
xor rcx, rsp
call fcn.14007a950
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.140051400
xor r12d, r12d
test eax, eax
jne 0x140051310
mov r9d, 0x174
lea r8, str.c:jenkinsworkspaceClientClientWindows_releasewin_common_srcinstallerNoMSIInstallerZoomProductUtil.cpp
mov edx, edi
lea rcx, [rsp + 0x34]
call fcn.14000b3c8
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str._CInstallerManager::TerminateApp__failed_to_kill_processes__PID:
lea rcx, [0x1400bf0f0]
call fcn.14000475c
mov rcx, rax
mov edx, dword [r15]
call fcn.1400024b0
mov rcx, rax
lea rdx, [0x1400a1708]
call fcn.14000475c
mov rcx, rax
mov edx, ebx
call fcn.1400024b0
nop
lea rcx, [rsp + 0x34]
call fcn.14000b5f4
mov dword [rsp + 0x20], r12d
jmp 0x140051315
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140051315
call fcn.14005fbcc
int3