Function at 0x140103cf0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor esi, esi
mov r14, rdx
mov dword [rsp + 0x40], esi
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x140103d32
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
test eax, eax
jne 0x140103e22
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.140067fc0
test al, al
je 0x140103dea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x140103dea
cmp qword [rdi + 0x18], 8
jb 0x140103d76
mov rax, qword [rdi]
jmp 0x140103d79
mov rax, rdi
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, r14d
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, 0x1f
call fcn.140068d00
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rbp + 0x60]
call fcn.140050da0
lea rcx, [rbx + 0x10]
mov rdi, rax
lea rdx, str.GetFileVersionInfoSize:
call fcn.14002bcb4
mov rcx, rax
mov rdx, rdi
call fcn.14002bf00
mov esi, 3
test sil, 2
je 0x140103dfd
and esi, 0xfffffffd
lea rcx, [rsp + 0x50]
call fcn.140068d80
test r14b, sil
je 0x140103e1b
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140103e1b
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8, r14
call fcn.1400223b0
xor al, al
jmp 0x140103fde
mov rcx, r15
call fcn.140111e80
cmp qword [rdi + 0x18], 8
mov rbx, rax
jb 0x140103e39
mov rcx, qword [rdi]
jmp 0x140103e3c
mov rcx, rdi
mov r9, rbx
mov r8d, r15d
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140103f22
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.140067fc0
test al, al
je 0x140103ee6
cmp qword [rdi + 0x18], 8
jb 0x140103e72
mov rax, qword [rdi]
jmp 0x140103e75
mov rax, rdi
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, r14d
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r8d, 0x26
call fcn.140068d00
lea rdx, [rsp + 0x30]
mov rdi, rax
lea rcx, [rbp + 0x60]
call fcn.140050da0
lea rcx, [rdi + 0x10]
mov rsi, rax
lea rdx, str.GetFileVersionInfo:
call fcn.14002bcb4
mov rcx, rax
mov rdx, rsi
call fcn.14002bf00
mov esi, ntohl
test sil, 8
je 0x140103ef9
and esi, 0xfffffff7
lea rcx, [rsp + 0x50]
call fcn.140068d80
test sil, 4
je 0x140103f96
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140103f96
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8, r14
call fcn.1400223b0
jmp 0x140103f96
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x14014ba54]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x140103f9b
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.140067fc0
test al, al
je 0x140103f86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, r14d
lea r8d, [r14 + 0x30]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140068d00
lea rdx, str.VerQueryValue
lea rcx, [rax + 0x10]
call fcn.14002bcb4
lea esi, [r14 + 0xf]
test sil, 0x10
je 0x140103f96
lea rcx, [rsp + 0x50]
call fcn.140068d80
xor r14b, r14b
jmp 0x140103fce
mov rax, qword [rsp + 0x48]
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r14 + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [r14 + 0x30], eax
mov eax, dword [r14 + 0x18]
and dword [r14 + 0x1c], eax
mov r14d, 1
test rbx, rbx
je 0x140103fdb
mov rcx, rbx
call fcn.140111880
mov al, r14b
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret