Function at 0x140081388
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], 8
jb 0x1400813b6
mov rcx, qword [rsi]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140081450
mov ebx, eax
mov ecx, eax
call fcn.1400eb800
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x1400813db
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 0x14008154a
lea rdx, [0x140147d80]
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 0x140081635
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 0x14008167c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x140081543
call fcn.1400372c2
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.1400372da
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rdi
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x1400814b1
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.14004784a
mov r8, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 0x10
jb 0x1400814ea
mov rsi, qword [rbp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.140004e8c
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
jb 0x14008153a
mov rcx, qword [rbp + 0xe8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140081535
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x1400816a4
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp - 0x48]
call fcn.14003730a
xor esi, esi
jmp 0x140081691
call fcn.1400372c2
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.1400372da
lea rdx, str.GetFileVersionInfo:
lea rcx, [rbp - 0x48]
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x140081598
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.14004784a
mov r8, qword [rbp + 0xf8]
cmp qword [rbp + 0x100], 0x10
jb 0x1400815d1
mov rsi, qword [rbp + 0xe8]
mov rcx, rdi
mov rdx, rsi
call fcn.140004e8c
mov rax, qword [rbp + 0x100]
cmp rax, 0x10
mov rdi, qword [rbp + 0x108]
jb 0x140081628
mov rcx, qword [rbp + 0xe8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140081623
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14008169f
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp - 0x48]
call fcn.14003730a
xor esi, esi
jmp 0x140081689
call fcn.1400372c2
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.1400372da
lea rdx, str.VerQueryValue
lea rcx, [rbp - 0x48]
call fcn.14000345f
lea rcx, [rbp - 0x48]
call fcn.14003730a
test esi, esi
setne sil
mov rdi, qword [rbp + 0x108]
mov rcx, rdi
call fcn.1400e7768
mov eax, esi
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3