Function at 0x1400ba000
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf8
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp - 9], rax
mov qword [rsp + 0x70], r9
mov r13, r8
mov r12, rdx
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x79], rax
mov rsi, qword [rbp + 0x77]
mov r14, qword [rbp + 0x7f]
xor ebx, ebx
mov rdx, rcx
lea rcx, [rbp - 0x49]
call fcn.1400c0c30
nop
mov dword [rbp - 0x69], ebx
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
lea rdx, [rbp - 0x69]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
test eax, eax
jne 0x1400ba133
test rsi, rsi
je 0x1400ba12c
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r14, r14
je 0x1400ba097
mov dword [r14], ebx
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.1400f0ee0
nop
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x50]
call fcn.1400a7e10
nop
lea rcx, [rbp - 0x29]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, str.Error_getting_version_for__ls___ls
mov qword [rsp + 0x30], rax
lea rax, str.FileSystemUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x4a8
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileSystemUtils_Win32.cpp
lea rdx, str.mb::common::io::FileSystemUtils::GetFileVersion
mov rcx, rsi
call rdi
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor bl, bl
jmp 0x1400ba3a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], rbx
mov rdx, r15
lea rcx, [rbp - 0x61]
call fcn.140020fb0
mov rbx, qword [rbp - 0x61]
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.14030b3a0
lea rax, [rbx + r15]
mov qword [rbp - 0x59], rax
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
mov r9, qword [rbp - 0x61]
mov r8d, r15d
mov edx, dword [rbp - 0x69]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1400ba246
test rsi, rsi
je 0x1400ba32b
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r14, r14
je 0x1400ba1aa
mov dword [r14], ebx
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.1400f0ee0
nop
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x50]
call fcn.1400a7e10
nop
lea rcx, [rbp - 0x29]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, str.Error_getting_version_for__ls___ls
mov qword [rsp + 0x30], rax
lea rax, str.FileSystemUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x4b0
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileSystemUtils_Win32.cpp
lea rdx, str.mb::common::io::FileSystemUtils::GetFileVersion
mov rcx, rsi
call rdi
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor bl, bl
jmp 0x1400ba35e
mov qword [rbp - 0x71], 0
mov dword [rbp - 0x65], 0
lea r9, [rbp - 0x65]
lea r8, [rbp - 0x71]
lea rdx, [0x140428268]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1400ba32f
test rsi, rsi
je 0x1400ba32b
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r14, r14
je 0x1400ba296
mov dword [r14], ebx
mov edx, ebx
lea rcx, [rbp - 0x29]
call fcn.1400f0ee0
nop
mov r8, rbx
lea rdx, [rbp - 0x29]
lea rcx, [rsp + 0x50]
call fcn.1400a7e10
nop
lea rcx, [rbp - 0x29]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
lea rax, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rax, qword [rbp - 0x49]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
lea rax, str.Error_getting_version_for__ls___ls
mov qword [rsp + 0x30], rax
lea rax, str.FileSystemUtils
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x4b9
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileSystemUtils_Win32.cpp
lea rdx, str.mb::common::io::FileSystemUtils::GetFileVersion
mov rcx, rsi
call rdi
nop
lea rcx, [rsp + 0x50]
call fcn.1400166f0
xor bl, bl
jmp 0x1400ba35e
mov rcx, qword [rbp - 0x71]
movzx eax, word [rcx + 0xa]
mov word [r12], ax
movzx eax, word [rcx + 8]
mov word [r13], ax
movzx eax, word [rcx + 0xe]
mov rdx, qword [rsp + 0x70]
mov word [rdx], ax
movzx eax, word [rcx + 0xc]
mov rcx, qword [rbp - 0x79]
mov word [rcx], ax
mov bl, 1
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400ba3a4
mov rdx, qword [rbp - 0x51]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba38f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ba3d0
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], 0
lea rcx, [rbp - 0x49]
call fcn.1400166f0
movzx eax, bl
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402caabc
nop
int3