Function at 0x140004b50
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x750]
sub rsp, 0x850
mov rax, qword [0x1400cc010]
xor rax, rsp
mov qword [rbp + 0x740], rax
xor r15d, r15d
mov r14, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x28], r15
jb 0x140004b95
mov rcx, qword [rcx]
lea rdx, [rsp + 0x34]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x140005135
mov ecx, esi
mov qword [rsp + 0x890], rdi
call fcn.14005da98
cmp qword [rbx + 0x18], 8
mov rdi, rax
jb 0x140004bc6
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400050fb
lea r9, [rsp + 0x38]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400050fb
test dword [rsp + 0x38], 0xfffffffc
jbe 0x1400050fb
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
call fcn.140062890
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xFileDescription
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
mov rbx, 0xffffffffffffffff
test rdx, rdx
je 0x140004c92
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004c80
mov rcx, r14
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xFileVersion
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004cf4
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004ce1
lea rcx, [r14 + 0x20]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductName
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004d56
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004d43
lea rcx, [r14 + 0x40]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductVersion
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004db8
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004da5
lea rcx, [r14 + 0x60]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xCompanyName
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004e26
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004e10
lea rcx, [r14 + 0x80]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xComments
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004e8b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004e75
lea rcx, [r14 + 0xa0]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xInternalName
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004ef6
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004ee0
lea rcx, [r14 + 0xc0]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xLegalCopyright
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004f5b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004f45
lea rcx, [r14 + 0xe0]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xLegalTrademarks
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140004fc6
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004fb0
lea rcx, [r14 + 0x100]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xOriginalFilename
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x14000502b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140005015
lea rcx, [r14 + 0x120]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xPrivateBuild
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x140005096
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140005080
lea rcx, [r14 + 0x140]
call fcn.140001a40
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xSpecialBuild
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], r15d
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x30]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x1400050fb
inc rbx
cmp word [rdx + rbx*2], r15w
jne 0x1400050e2
mov r8, rbx
lea rcx, [r14 + 0x160]
call fcn.140001a40
test rdi, rdi
je 0x14000510d
mov edx, 1
mov rcx, rdi
call fcn.14005da54
mov rdi, qword [rsp + 0x890]
xor al, al
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14005da30
add rsp, 0x850
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
xor al, al
jmp 0x140005117