Function at 0x1400a4910
Capabilities:
Check if file exists
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x70], r15d
add rcx, 0x30
mov qword [rbp - 0x80], rcx
call fcn.14011a850
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140516800]
movdqu xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r15w
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a497d
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.1400f4110
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call fcn.1403ec370
lea rcx, [rbp - 0x10]
call fcn.1400252f0
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp]
call fcn.14001df00
lea rdx, str.__0x
mov rcx, rax
call fcn.140023f90
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.14008ee00
mov rcx, rax
lea rdx, [0x1404e22dc]
call fcn.140023f90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov dword [rbp - 0x70], 0x12
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov rcx, r15
mov r8, qword [rbp + 0x78]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x1400a4a77
mov rax, qword [rbp + 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400a4a77
mov rax, qword [rbp + 0x28]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x70]
cmovb rdx, qword [rbp + 0x70]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400a4aad
test r8b, 4
jne 0x1400a4adf
mov rax, qword [rbp + 0x40]
mov r8, qword [rax]
mov rdx, r15
test r8, r8
je 0x1400a4aa9
mov rax, qword [rbp + 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1400a4aad
mov r9, qword [rbp - 0x68]
test rcx, rcx
je 0x1400a4adf
lea rcx, [rsp + 0x60]
cmp rdx, 7
ja 0x1400a4ad9
mov qword [rsp + 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.1403ebbf0
mov word [rsp + rbx + 0x60], r15w
jmp 0x1400a4adf
call fcn.140023ce0
nop
lea rcx, [rbp - 0x10]
call fcn.140024270
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400a4b29
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4b24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4ebc
call fcn.14014f510
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400a4b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4ec2
call fcn.14014f510
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rsp + 0x70]
movdqu xmmword [rbp - 0x40], xmm0
cmp qword [rsi + 0x58], 0
je 0x1400a4db4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
test al, al
je 0x1400a4b9b
mov bl, 1
jmp 0x1400a4e36
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400a4bfb
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a4bb8
mov rdx, qword [rdi]
lea rax, [rsi + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400a4bc6
mov rax, qword [rax]
mov qword [rsp + 0x38], rdx
lea rdx, str.Failed_to_load_function_ptrs_for__s
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x2d
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDynamicLibrary.cpp
lea rdx, str.mb::common::system::DynamicLibrary::Load
call r10
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a4c08
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x1400a4da6
xorps xmm0, xmm0
mov ebx, eax
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r15
cmp rbx, 0x1000
jb 0x1400a4c5b
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400a4ec8
call fcn.14014f518
mov rcx, rax
test rax, rax
je 0x1400a4ece
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a4c63
mov rcx, rbx
call fcn.14014f518
mov qword [rbp - 0x68], rax
lea r14, [rax + rbx]
mov qword [rbp - 0x58], r14
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1403ec370
mov qword [rbp - 0x60], r14
mov r9, qword [rbp - 0x68]
sub r14, r9
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a4c94
mov rcx, qword [rdi]
mov r8d, r14d
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400a4d6c
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x78]
lea rdx, [0x1404f3ab0]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400a4d6c
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400a4d6c
cmp dword [rbp - 0x70], 0x34
jne 0x1400a4d6c
mov r10, qword [rsi + 8]
test r10, r10
je 0x1400a4d6c
mov rax, qword [r10]
mov r11, qword [rax + 0x20]
cmp qword [rdi + 0x18], 7
jbe 0x1400a4d01
mov rdi, qword [rdi]
movzx edx, word [rcx + 0xc]
movzx r8d, word [rcx + 0xe]
movzx r9d, word [rcx + 8]
movzx ecx, word [rcx + 0xa]
lea rax, [rsi + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x1400a4d21
mov rax, qword [rax]
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ecx
lea rcx, str.File_version__u._u._u._u_for__s
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
mov r9d, 0x41
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDynamicLibrary.cpp
lea rdx, str.mb::common::system::DynamicLibrary::Load
mov rcx, r10
call r11
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400a4da6
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4da1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4ece
call fcn.14014f510
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x1400a4e34
mov r10, qword [rsi + 8]
test r10, r10
je 0x1400a4e34
mov rax, qword [r10]
mov r11, qword [rax + 0x20]
lea rdx, [rbp - 0x50]
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 7
cmova rdx, rcx
cmp qword [rdi + 0x18], 7
jbe 0x1400a4de9
mov rdi, qword [rdi]
add rsi, 0x10
cmp qword [rsi + 0x18], 7
jbe 0x1400a4df7
mov rsi, qword [rsi]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rdi
lea rax, str.Failed_to_load__s___s
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 1
mov r9d, 0x4b
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonDynamicLibrary.cpp
lea rdx, str.mb::common::system::DynamicLibrary::Load
mov rcx, r10
call r11
xor bl, bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x1400a4e72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4e6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4eb6
call fcn.14014f510
movdqa xmm0, xmmword [0x140516800]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
lea rcx, [rbp - 0x80]
call fcn.140055c60
movzx eax, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3
call fcn.14015fa1c
int3
call fcn.14001cd90
int3
call fcn.14015fa1c
int3