Function at 0x14002ecb0
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rdx
mov r14d, ecx
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp + 0x27], rax
test rax, rax
jne 0x14002ed8b
mov r8d, r14d
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rbp + 0x27], rax
test rax, rax
jne 0x14002ed8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 5
je 0x14002efff
cmp eax, 0x57
je 0x14002efff
call fcn.140014110
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r14d
lea rcx, str.OpenProcess_call_with_pid___d__failed_with_error___d_._Cannot_get_the_process_path_
mov qword [rsp + 0x30], rcx
lea rcx, str.ProcessUtils
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 5
mov r9d, 0x1c2
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonProcessUtils.cpp
lea rdx, str.mb::common::system::ProcessUtils::GetProcessPath
mov rcx, rax
call rdi
jmp 0x14002efff
xorps xmm0, xmm0
xor r12d, r12d
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
mov ecx, 0x208
call fcn.1401629b8
mov qword [rbp + 0xf], rax
lea rsi, [rax + 0x208]
mov qword [rbp + 0x1f], rsi
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call fcn.14019d6e0
mov qword [rbp + 0x17], rsi
mov rdx, qword [rbp + 0xf]
sub rsi, rdx
sar rsi, 1
mov r8d, esi
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x14002ee86
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6f
je 0x14002edf9
cmp eax, 0x7a
jne 0x14002ef55
mov word [rbp - 0x39], r12w
mov rsi, qword [rbp + 0x17]
mov rdi, rsi
mov rcx, qword [rbp + 0xf]
sub rdi, rcx
sar rdi, 1
mov edx, 0x7fff
cmp rdi, rdx
jbe 0x14002ee22
lea rsi, [rcx + 0xfffe]
jmp 0x14002ee65
jae 0x14002ee69
mov rax, qword [rbp + 0x1f]
sub rax, rcx
sar rax, 1
cmp rax, rdx
jae 0x14002ee4a
lea r8, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.14001a6e0
mov rsi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
jmp 0x14002ee69
sub rdx, rdi
lea rdi, [rdx + rdx]
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14019d6e0
add rsi, rdi
mov rcx, qword [rbp + 0xf]
mov qword [rbp + 0x17], rsi
sub rsi, rcx
sar rsi, 1
mov r8d, esi
mov rdx, rcx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x14002ef55
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8d, eax
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x31]
call fcn.14000ae10
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14002e6d0
mov rdx, rax
mov rcx, r15
call fcn.140005890
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14002eefe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eef9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f042
call fcn.1401629f4
movdqa xmm0, xmmword [0x140258810]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x14002ef50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ef4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f048
call fcn.1401629f4
mov esi, r12d
jmp 0x14002efb6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp r14d, 4
je 0x14002efb6
test eax, eax
je 0x14002efb6
call fcn.140014110
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r14d
lea rcx, str.GetProcessImageFileName_for___d__failed_with_error___d_._Cannot_get_the_process_path_
mov qword [rsp + 0x30], rcx
lea rcx, str.ProcessUtils
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9d, 0x1df
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonProcessUtils.cpp
lea rdx, str.mb::common::system::ProcessUtils::GetProcessPath
mov rcx, rax
call rdi
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14002efff
mov rax, qword [rbp + 0x1f]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002efee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f03c
call fcn.1401629f4
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14002f012
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140162ed0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14017234c
nop
call fcn.14017234c
nop
call fcn.14017234c
int3