Function at 0x14012b6f0
Capabilities:
Get file version info

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x190
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x188], rax
cmp qword [rcx + 0x18], 7
jbe 0x14012b71f
mov rcx, qword [rdi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14012b7b2
mov ebp, eax
mov ecx, eax
call fcn.14014a890
mov rsi, rax
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x14012b747
mov rcx, qword [rdi]
xor edx, edx
mov r8d, ebp
mov r9, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14012b874
lea rdx, [0x140197fc0]
lea r8, [rsp + 0x168]
lea r9, [rsp + 0x2c]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14012b91b
mov rax, qword [rsp + 0x168]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
mov eax, dword [rax + 0x30]
mov dword [rbx + 0x30], eax
movups xmmword [rbx + 0x20], xmm2
movups xmmword [rbx], xmm0
mov eax, dword [rbx + 0x18]
and dword [rbx + 0x1c], eax
mov dil, 1
jmp 0x14012b96d
mov ecx, 1
call fcn.14003c410
test al, al
je 0x14012b86d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x14012b86d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x1f
mov r9d, 1
call fcn.14003d2f0
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileVersionInfoSize:
call fcn.140002b70
mov rbx, rax
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x14012b81f
mov rax, qword [rdi]
lea rdx, [rsp + 0x40]
mov qword [rdx], rax
mov rax, qword [rdi + 0x10]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x168]
mov rcx, rdi
call fcn.14004ebe0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14012b855
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rdi
call fcn.140006b10
mov rcx, rsi
call fcn.14003d430
xor edi, edi
jmp 0x14012b975
mov ecx, 1
call fcn.14003c410
test al, al
je 0x14012b96b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r8d, 0x26
mov r9d, 1
call fcn.14003d2f0
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileVersionInfo:
call fcn.140002b70
mov rbx, rax
cmp qword [rdi + 0x18], 7
mov rax, rdi
jbe 0x14012b8d0
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rdi + 0x10]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x168]
mov rcx, rdi
call fcn.14004ebe0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14012b906
mov rdx, qword [rsp + 0x168]
mov rcx, rbx
call fcn.140009cb0
mov rcx, rdi
call fcn.140006b10
mov rcx, r14
jmp 0x14012b966
mov ecx, 1
call fcn.14003c410
test al, al
je 0x14012b96b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x31
mov r9d, 1
call fcn.14003d2f0
lea rcx, [rsp + 0x60]
lea rdx, str.VerQueryValue
call fcn.140002b70
mov rcx, rdi
call fcn.14003d430
xor edi, edi
mov rcx, rsi
call fcn.14014a880
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x190
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret