Function at 0x1400b2ce0
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 [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
mov r15d, 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 0x1400b2dbd
mov r8d, r15d
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 0x1400b2dbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 5
je 0x1400b2f4b
cmp eax, 0x57
je 0x1400b2f4b
call fcn.14001e910
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
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 0x1400b2f4b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
xor r14d, r14d
mov word [rbp - 0x39], r14w
lea r8, [rbp - 0x39]
mov edx, 0x104
lea rcx, [rbp + 0xf]
call fcn.140046600
nop
mov r8, qword [rbp + 0x17]
mov rdx, qword [rbp + 0xf]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
jne 0x1400b2ea1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6f
je 0x1400b2e18
cmp eax, 0x7a
jne 0x1400b2ede
mov word [rbp - 0x39], r14w
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 0x1400b2e41
lea rsi, [rcx + 0xfffe]
jmp 0x1400b2e84
jae 0x1400b2e88
mov rax, qword [rbp + 0x1f]
sub rax, rcx
sar rax, 1
cmp rax, rdx
jae 0x1400b2e69
lea r8, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.1400b3d80
mov rsi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
jmp 0x1400b2e88
sub rdx, rdi
lea rdi, [rdx + rdx]
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.14030b3a0
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 0x1400b2ede
mov r8d, eax
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14002ebe0
nop
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.1400b2a10
mov rdx, rax
mov rcx, r12
call fcn.14002eb40
lea rcx, [rbp - 0x31]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x11]
call fcn.1400166f0
jmp 0x1400b2f41
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp r15d, 4
je 0x1400b2f41
test eax, eax
je 0x1400b2f41
call fcn.14001e910
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x20]
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
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
lea rcx, [rbp + 0xf]
call fcn.1400487f0
nop
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400b2f5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, r14d
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1402ba9b0
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