Function at 0x140133420
Capabilities:
Get file version info

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b0
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1401fdbb8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea r14, [rcx + 2]
test byte [rcx], 1
mov rcx, r14
je 0x140133455
mov rcx, qword [rdi + 0x10]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140133502
mov ebp, eax
mov ecx, eax
call fcn.140173d2c
mov rsi, rax
test byte [rdi], 1
mov rcx, r14
je 0x14013347c
mov rcx, qword [rdi + 0x10]
xor edx, edx
mov r8d, ebp
mov r9, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140133528
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x34], 0xaaaaaaaa
lea rdx, [0x1401b5c98]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x34]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne dil
je 0x140133599
mov rax, qword [rsp + 0x58]
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
test rsi, rsi
jne 0x140133600
jmp 0x140133608
mov ecx, 1
call fcn.140060510
test al, al
je 0x140133521
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
jne 0x140133628
xor edi, edi
jmp 0x140133608
mov ecx, 1
call fcn.140060510
test al, al
je 0x1401335f9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinmodule_version.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x28
mov r9d, 1
call fcn.1400619a0
lea rcx, [rsp + 0x80]
lea rdx, str.GetFileVersionInfo:
mov r8d, 0x14
call fcn.140001af0
mov rbx, rax
movzx eax, byte [rdi]
test al, 1
jne 0x140133687
shr eax, 1
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rax
jmp 0x1401336a2
mov ecx, 1
call fcn.140060510
test al, al
je 0x1401335fb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinmodule_version.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r8d, 0x32
mov r9d, 1
call fcn.1400619a0
lea rcx, [rsp + 0x80]
lea rdx, str.VerQueryValue
mov r8d, 0xd
call fcn.140001af0
mov rcx, rbx
call fcn.140061a90
test rsi, rsi
jne 0x140133600
jmp 0x140133608
xor edi, edi
test rsi, rsi
je 0x140133608
mov rcx, rsi
call fcn.140173d34
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140174050
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinmodule_version.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x1e
mov r9d, 1
call fcn.1400619a0
lea rcx, [rsp + 0x80]
lea rdx, str.GetFileVersionInfoSize:
mov r8d, 0x18
call fcn.140001af0
mov rsi, rax
movzx eax, byte [rdi]
test al, 1
jne 0x140133718
shr eax, 1
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rax
jmp 0x14013372f
mov rax, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rax
test rax, rax
js 0x140133798
test rax, rax
sete al
test r14, r14
setne cl
or cl, al
je 0x1401337ab
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x38]
call fcn.1400515e0
movzx r8d, byte [rsp + 0x58]
test r8b, 1
je 0x1401336dd
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
jmp 0x1401336e5
shr r8d, 1
lea rdx, [rsp + 0x59]
mov rcx, rbx
call fcn.140001af0
test byte [rsp + 0x58], 1
je 0x1401336fe
mov rcx, qword [rsp + 0x68]
call fcn.140173cf0
lea rcx, [rsp + 0x70]
call fcn.140061a90
xor edi, edi
test rsi, rsi
jne 0x140133600
jmp 0x140133608
mov rax, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rax
test rax, rax
js 0x140133798
test rax, rax
sete al
test r14, r14
setne cl
or cl, al
je 0x1401337ab
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
call fcn.1400515e0
movzx r8d, byte [rsp + 0x58]
test r8b, 1
je 0x140133766
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
jmp 0x14013376e
shr r8d, 1
lea rdx, [rsp + 0x59]
mov rcx, rsi
call fcn.140001af0
test byte [rsp + 0x58], 1
je 0x140133787
mov rcx, qword [rsp + 0x68]
call fcn.140173cf0
lea rcx, [rsp + 0x70]
call fcn.140061a90
xor edi, edi
jmp 0x140133608
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14003f000
lea rcx, [0x1401b1076]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14003f000
int3