Function at 0x140097cd0
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 [0x14057b900]
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 0x140097dab
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 0x140097dab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 5
je 0x14009801f
cmp eax, 0x57
je 0x14009801f
call fcn.14002c3f0
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 0x14009801f
xorps xmm0, xmm0
xor r12d, r12d
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
mov ecx, 0x208
call fcn.14014f518
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.1403ec370
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 0x140097ea6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6f
je 0x140097e19
cmp eax, 0x7a
jne 0x140097f75
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 0x140097e42
lea rsi, [rcx + 0xfffe]
jmp 0x140097e85
jae 0x140097e89
mov rax, qword [rbp + 0x1f]
sub rax, rcx
sar rax, 1
cmp rax, rdx
jae 0x140097e6a
lea r8, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.140099560
mov rsi, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
jmp 0x140097e89
sub rdx, rdi
lea rdi, [rdx + rdx]
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.1403ec370
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 0x140097f75
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.14001fb40
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.1400976f0
mov rdx, rax
mov rcx, r15
call fcn.14001f2e0
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140097f1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097f19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098062
call fcn.14014f510
movdqa xmm0, xmmword [0x140516800]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
mov rdx, qword [rbp - 0x19]
cmp rdx, 7
jbe 0x140097f70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097f6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140098068
call fcn.14014f510
mov esi, r12d
jmp 0x140097fd6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp r14d, 4
je 0x140097fd6
test eax, eax
je 0x140097fd6
call fcn.14002c3f0
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 0x14009801f
mov rax, qword [rbp + 0x1f]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009800e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009805c
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r12
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140098032
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14014f4f0
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.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3