Function at 0x1400197d0
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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x68], r15d
add rcx, 0x30
mov qword [rbp - 0x78], rcx
call fcn.14006e9e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movdqa xmm1, xmmword [0x140258810]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], r15w
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14001983d
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 - 0x28]
call fcn.140017140
nop
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp]
call fcn.14019d6e0
mov edx, 1
lea rcx, [rbp]
call fcn.1400055b0
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp + 0x10]
call fcn.1400101e0
lea rdx, str.__0x
mov rcx, rax
call fcn.140007800
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.1400174d0
mov rcx, rax
lea rdx, [0x1402536f8]
call fcn.140007800
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r15w
mov dword [rbp - 0x68], 0x12
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
mov rcx, r15
mov r8, qword [rbp + 0x88]
mov eax, r8d
and al, 0x22
cmp al, 2
je 0x140019944
mov rax, qword [rbp + 0x58]
mov rdx, qword [rax]
test rdx, rdx
je 0x140019944
mov rax, qword [rbp + 0x38]
mov r9, qword [rax]
cmp rdx, qword [rbp + 0x80]
cmovb rdx, qword [rbp + 0x80]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x14001997a
test r8b, 4
jne 0x1400199b2
mov rax, qword [rbp + 0x50]
mov r8, qword [rax]
mov rdx, r15
test r8, r8
je 0x140019976
mov rax, qword [rbp + 0x30]
mov r9, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd rcx, dword [rax]
lea rdx, [r8 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x14001997a
mov r9, qword [rbp - 0x60]
test rcx, rcx
je 0x1400199b2
lea rcx, [rsp + 0x68]
cmp rdx, 7
ja 0x1400199a6
mov qword [rsp + 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14019d040
mov word [rsp + rbx + 0x68], r15w
jmp 0x1400199b2
movzx r8d, byte [rsp + 0x60]
call fcn.14000abb0
nop
lea rcx, [rbp]
call fcn.140004a20
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400199fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400199f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d8f
call fcn.1401629f4
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140019a3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019a37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d95
call fcn.1401629f4
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rsp + 0x78]
movdqu xmmword [rbp - 0x38], xmm0
cmp qword [rsi + 0x58], 0
je 0x140019c87
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
test al, al
je 0x140019a6e
mov bl, 1
jmp 0x140019d09
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140019ace
mov rax, qword [rcx]
mov r10, qword [rax + 0x20]
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140019a8b
mov rdx, qword [rdi]
lea rax, [rsi + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140019a99
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 0x140019adb
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x140019c79
xorps xmm0, xmm0
mov ebx, eax
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
cmp rbx, 0x1000
jb 0x140019b2e
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140019d9b
call fcn.1401629b8
mov rcx, rax
test rax, rax
je 0x140019da1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140019b36
mov rcx, rbx
call fcn.1401629b8
mov qword [rbp - 0x60], rax
lea r14, [rax + rbx]
mov qword [rbp - 0x50], r14
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14019d6e0
mov qword [rbp - 0x58], r14
mov r9, qword [rbp - 0x60]
sub r14, r9
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140019b67
mov rcx, qword [rdi]
mov r8d, r14d
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140019c3f
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x68], r15d
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x70]
lea rdx, [0x14024d088]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140019c3f
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140019c3f
cmp dword [rbp - 0x68], 0x34
jne 0x140019c3f
mov r10, qword [rsi + 8]
test r10, r10
je 0x140019c3f
mov rax, qword [r10]
mov r11, qword [rax + 0x20]
cmp qword [rdi + 0x18], 7
jbe 0x140019bd4
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 0x140019bf4
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 - 0x60]
test rcx, rcx
je 0x140019c79
mov rdx, qword [rbp - 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019c74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019da1
call fcn.1401629f4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140019d07
mov r10, qword [rsi + 8]
test r10, r10
je 0x140019d07
mov rax, qword [r10]
mov r11, qword [rax + 0x20]
lea rdx, [rbp - 0x48]
movq rcx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 7
cmova rdx, rcx
cmp qword [rdi + 0x18], 7
jbe 0x140019cbc
mov rdi, qword [rdi]
add rsi, 0x10
cmp qword [rsi + 0x18], 7
jbe 0x140019cca
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 - 0x30]
cmp rdx, 7
jbe 0x140019d45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019d40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019d89
call fcn.1401629f4
movdqa xmm0, xmmword [0x140258810]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r15w
lea rcx, [rbp - 0x78]
call fcn.140019690
movzx eax, bl
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140162ed0
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14017234c
nop
call fcn.14017234c
int3
call fcn.14017234c
int3
call fcn.14000b320
int3
call fcn.14017234c
int3