Function at 0x14006a4c0
Capabilities:
Get file version info

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x128], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
cmp byte [rcx + 0x17], 0
jns 0x14006a4ef
mov rcx, qword [rsi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14006a57e
mov ebx, eax
mov ecx, eax
call fcn.1400966cc
mov r14, rax
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14006a516
mov rcx, qword [rsi]
xor edx, edx
mov r8d, ebx
mov r9, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14006a596
lea rdx, [0x1400d0afe]
lea r8, [rbp + 0x110]
lea r9, [rbp + 0x104]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne sil
je 0x14006a74a
mov rax, qword [rbp + 0x110]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [rax + 0x30]
mov dword [rdi + 0x30], eax
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi], xmm0
mov eax, dword [rdi + 0x18]
and dword [rdi + 0x1c], eax
jmp 0x14006a7a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x14006a675
xor esi, esi
jmp 0x14006a7ad
mov qword [rbp + 0x108], r14
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str.third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x26
call fcn.1400069d0
lea rcx, [rbp - 0x48]
lea rdx, str.GetFileVersionInfo:
mov r8d, 0x14
call fcn.1400048b0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14006a5f5
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xf8], rax
lea rsi, [rbp + 0x110]
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call fcn.140017cd0
movsx r8, byte [rbp + 0x127]
test r8, r8
cmovs r8, qword [rbp + 0x118]
cmovs rsi, qword [rbp + 0x110]
mov rcx, rdi
mov rdx, rsi
call fcn.1400048b0
cmp byte [rbp + 0x127], 0
jns 0x14006a665
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x110]
call fcn.14009665c
lea rcx, [rbp - 0x50]
call fcn.140006a90
xor esi, esi
jmp 0x14006a79e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str.third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x1f
call fcn.1400069d0
lea rcx, [rbp - 0x48]
lea rdx, str.GetFileVersionInfoSize:
mov r8d, 0x18
call fcn.1400048b0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14006a6cd
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], rax
lea rsi, [rbp + 0x110]
lea rdx, [rbp + 0xe0]
mov rcx, rsi
call fcn.140017cd0
movsx r8, byte [rbp + 0x127]
test r8, r8
cmovs r8, qword [rbp + 0x118]
cmovs rsi, qword [rbp + 0x110]
mov rcx, rdi
mov rdx, rsi
call fcn.1400048b0
cmp byte [rbp + 0x127], 0
jns 0x14006a73d
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x110]
call fcn.14009665c
lea rcx, [rbp - 0x50]
call fcn.140006a90
xor esi, esi
jmp 0x14006a7ad
mov qword [rbp + 0x108], r14
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_base::FilePath___VS_FIXEDFILEINFO__
lea r8, str.third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x30
call fcn.1400069d0
lea rcx, [rbp - 0x48]
lea rdx, str.VerQueryValue
mov r8d, 0xd
call fcn.1400048b0
lea rcx, [rbp - 0x50]
call fcn.140006a90
mov r14, qword [rbp + 0x108]
mov rcx, r14
call fcn.14009665c
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret