Function at 0x140047e50
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140047e7e
mov rcx, qword [rsi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140047f18
mov ebx, eax
mov ecx, eax
call fcn.1400b81f8
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x140047ea3
mov rcx, qword [rsi]
xor edx, edx
mov r8d, ebx
mov qword [rbp + 0x108], rax
mov r9, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140047fd9
lea rdx, [0x140130fb2]
lea r8, [rbp + 0xe8]
lea r9, [rbp + 0xe4]
mov rcx, qword [rbp + 0x108]
call sub.VERSION.dll_VerQueryValueW
mov esi, eax
test eax, eax
je 0x140048084
mov rax, qword [rbp + 0xe8]
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 0x1400480cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x140047fd2
call fcn.1400078ab
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.xplat_third_partycrashpadutilwinmodule_version.cc
lea rdi, [rbp - 0x48]
mov rcx, rdi
mov r9d, 0x1f
call fcn.1400078c2
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rdi
call fcn.1400035ea
mov rdi, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x140047f79
mov rax, qword [rsi]
lea rdx, [rbp + 0xc0]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rbp + 0xe8]
mov rcx, rsi
call fcn.14001d6fb
mov r8, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 0xf
jbe 0x140047fb2
mov rsi, qword [rbp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.14000468b
lea rcx, [rbp + 0xe8]
call fcn.140005a44
lea rcx, [rbp - 0x48]
call fcn.1400078f2
xor esi, esi
jmp 0x1400480dd
call fcn.1400078ab
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.xplat_third_partycrashpadutilwinmodule_version.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x26
call fcn.1400078c2
lea rdx, str.GetFileVersionInfo:
lea rcx, [rbp - 0x48]
call fcn.1400035ea
mov rdi, rax
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x140048027
mov rax, qword [rsi]
lea rdx, [rbp + 0xd0]
mov qword [rdx], rax
mov rax, qword [rsi + 0x10]
mov qword [rdx + 8], rax
lea rsi, [rbp + 0xe8]
mov rcx, rsi
call fcn.14001d6fb
mov r8, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 0xf
jbe 0x140048060
mov rsi, qword [rbp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.14000468b
lea rcx, [rbp + 0xe8]
call fcn.140005a44
lea rcx, [rbp - 0x48]
call fcn.1400078f2
xor esi, esi
jmp 0x1400480d1
call fcn.1400078ab
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.xplat_third_partycrashpadutilwinmodule_version.cc
lea rcx, [rbp - 0x48]
mov r9d, 0x30
call fcn.1400078c2
lea rdx, str.VerQueryValue
lea rcx, [rbp - 0x48]
call fcn.1400035ea
lea rcx, [rbp - 0x48]
call fcn.1400078f2
test esi, esi
setne sil
mov rcx, qword [rbp + 0x108]
call fcn.1400b72ac
mov eax, esi
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop rbp
ret