Function at 0x140063220
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 0x14006324f
mov rcx, qword [rsi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1400632de
mov ebx, eax
mov ecx, eax
call fcn.14008ded8
mov r14, rax
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140063276
mov rcx, qword [rsi]
xor edx, edx
mov r8d, ebx
mov r9, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400632f6
lea rdx, [0x1400c899e]
lea r8, [rbp + 0x110]
lea r9, [rbp + 0x104]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne sil
je 0x140063486
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 0x1400634e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x1400633c2
xor esi, esi
jmp 0x1400634e9
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 - 0x48]
mov r9d, 0x26
call fcn.140005e40
lea rdx, str.GetFileVersionInfo:
lea rcx, [rbp - 0x48]
mov r8d, 0x14
call fcn.140003fb0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140063353
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.1400164b0
movzx r8d, byte [rbp + 0x127]
test r8b, r8b
cmovs r8, qword [rbp + 0x118]
cmovs rsi, qword [rbp + 0x110]
mov rcx, rdi
mov rdx, rsi
call fcn.140003fb0
cmp byte [rbp + 0x127], 0
jns 0x1400633b2
mov rcx, qword [rbp + 0x110]
call fcn.14008de68
lea rcx, [rbp - 0x48]
call fcn.140005e70
xor esi, esi
jmp 0x1400634da
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 rdi, [rbp - 0x48]
mov rcx, rdi
mov r9d, 0x1f
call fcn.140005e40
lea rdx, str.GetFileVersionInfoSize:
mov r8d, 0x18
mov rcx, rdi
call fcn.140003fb0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x14006341a
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.1400164b0
movzx r8d, byte [rbp + 0x127]
test r8b, r8b
cmovs r8, qword [rbp + 0x118]
cmovs rsi, qword [rbp + 0x110]
mov rcx, rdi
mov rdx, rsi
call fcn.140003fb0
cmp byte [rbp + 0x127], 0
jns 0x140063479
mov rcx, qword [rbp + 0x110]
call fcn.14008de68
lea rcx, [rbp - 0x48]
call fcn.140005e70
xor esi, esi
jmp 0x1400634e9
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 - 0x48]
mov r9d, 0x30
call fcn.140005e40
lea rdx, str.VerQueryValue
lea rcx, [rbp - 0x48]
mov r8d, 0xd
call fcn.140003fb0
lea rcx, [rbp - 0x48]
call fcn.140005e70
mov r14, qword [rbp + 0x108]
mov rcx, r14
call fcn.14008dee0
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret