Function at 0x14007c080
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 [0x1400d61c0]
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 0x14007c0c2
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r15d, eax
test eax, eax
jne 0x14007c1ac
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.1400250c0
test al, al
je 0x14007c174
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x14007c174
cmp qword [rdi + 0x18], 8
jb 0x14007c101
mov rax, qword [rdi]
jmp 0x14007c104
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 sub.KERNEL32.dll_GetLastError
mov r9d, r14d
mov dword [rsp + 0x20], eax
mov r8d, 0x1f
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rsp + 0x50]
call fcn.140025ea0
lea rdx, [rsp + 0x30]
mov rbx, rax
lea rcx, [rbp + 0x60]
call fcn.140029790
lea rcx, [rbx + 0x10]
mov rdi, rax
lea rdx, str.GetFileVersionInfoSize:
call fcn.14000f5a0
mov rcx, rax
mov rdx, rdi
call fcn.140011ba0
mov esi, 3
test sil, 2
je 0x14007c187
and esi, 0xfffffffd
lea rcx, [rsp + 0x50]
call fcn.140025f20
test r14b, sil
je 0x14007c1a5
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14007c1a5
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8, r14
call fcn.1400013b0
xor al, al
jmp 0x14007c360
mov rcx, r15
call fcn.140081370
cmp qword [rdi + 0x18], 8
mov rbx, rax
jb 0x14007c1c3
mov rcx, qword [rdi]
jmp 0x14007c1c6
mov rcx, rdi
mov r9, rbx
mov r8d, r15d
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14007c2a6
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.1400250c0
test al, al
je 0x14007c26a
cmp qword [rdi + 0x18], 8
jb 0x14007c1f7
mov rax, qword [rdi]
jmp 0x14007c1fa
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 sub.KERNEL32.dll_GetLastError
mov r9d, r14d
mov dword [rsp + 0x20], eax
mov r8d, 0x26
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rsp + 0x50]
call fcn.140025ea0
lea rdx, [rsp + 0x30]
mov rdi, rax
lea rcx, [rbp + 0x60]
call fcn.140029790
lea rcx, [rdi + 0x10]
mov rsi, rax
lea rdx, str.GetFileVersionInfo:
call fcn.14000f5a0
mov rcx, rax
mov rdx, rsi
call fcn.140011ba0
mov esi, 0xc
test sil, 8
je 0x14007c27d
and esi, 0xfffffff7
lea rcx, [rsp + 0x50]
call fcn.140025f20
test sil, 4
je 0x14007c318
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14007c318
mov rcx, qword [rbp + 0x60]
inc rdx
mov r8, r14
call fcn.1400013b0
jmp 0x14007c318
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x1400c229c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14007c31d
lea r14d, [rax + 1]
mov ecx, r14d
call fcn.1400250c0
test al, al
je 0x14007c308
call sub.KERNEL32.dll_GetLastError
mov r9d, r14d
mov dword [rsp + 0x20], eax
lea r8d, [r14 + 0x30]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_module_version.cc
lea rcx, [rsp + 0x50]
call fcn.140025ea0
lea rdx, str.VerQueryValue
lea rcx, [rax + 0x10]
call fcn.14000f5a0
lea esi, [r14 + 0xf]
test sil, 0x10
je 0x14007c318
lea rcx, [rsp + 0x50]
call fcn.140025f20
xor r14b, r14b
jmp 0x14007c350
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 0x14007c35d
mov rcx, rbx
call fcn.1400818c0
mov al, r14b
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400812a0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret