Function at 0x1400140f8
Capabilities:
Get file version info

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x108], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140014128
mov rcx, qword [rsi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400141c7
mov edi, eax
mov ecx, eax
call fcn.14005cb00
mov rbx, rax
mov qword [rbp + 0x100], rax
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x140014157
mov rcx, qword [rsi]
xor edx, edx
mov r8d, edi
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140014274
lea rdx, [0x1400a062a]
lea r8, [rbp + 0xe0]
lea r9, [rbp + 0xdc]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
test eax, eax
je 0x14001430b
mov rax, qword [rbp + 0xe0]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [r14 + 0x10], xmm1
mov eax, dword [rax + 0x30]
mov dword [r14 + 0x30], eax
movups xmmword [r14 + 0x20], xmm2
movups xmmword [r14], xmm0
mov eax, dword [r14 + 0x18]
and dword [r14 + 0x1c], eax
jmp 0x140014355
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x14001426d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str..._.._.._third_party_crashpad_util_win_module_version.cc
lea rbx, [rbp - 0x50]
push 0x1f
pop r9
mov rcx, rbx
call fcn.14004b54e
mov dword [rbx + 0x100], edi
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rbx
call fcn.140002bc9
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x14001422b
mov rax, qword [rsi]
lea rdx, [rbp + 0xb8]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rcx, [rbp + 0xe0]
call fcn.14004c790
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140003113
lea rcx, [rbp + 0xe0]
call fcn.1400049ea
lea rcx, [rbp - 0x50]
call fcn.14004bba4
xor esi, esi
jmp 0x140014367
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str..._.._.._third_party_crashpad_util_win_module_version.cc
lea rcx, [rbp - 0x50]
push 0x26
pop r9
call fcn.14004b54e
lea rcx, [rbp - 0x50]
mov dword [rcx + 0x100], edi
lea rdx, str.GetFileVersionInfo:
call fcn.140002bc9
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x1400142c5
mov rax, qword [rsi]
lea rdx, [rbp + 0xc8]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rcx, [rbp + 0xe0]
call fcn.14004c790
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call fcn.140003113
lea rcx, [rbp + 0xe0]
call fcn.1400049ea
lea rcx, [rbp - 0x50]
call fcn.14004bba4
xor esi, esi
jmp 0x14001435b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str..._.._.._third_party_crashpad_util_win_module_version.cc
lea rcx, [rbp - 0x50]
push 0x30
pop r9
call fcn.14004b54e
lea rcx, [rbp - 0x50]
mov dword [rcx + 0x100], edi
lea rdx, str.VerQueryValue
call fcn.140002bc9
lea rcx, [rbp - 0x50]
call fcn.14004bba4
test esi, esi
setne sil
lea rcx, [rbp + 0x100]
call fcn.14000a7ae
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret