Function at 0x140004b20
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 [0x1400be010]
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 0x140004b65
mov rcx, qword [rcx]
lea rdx, [rsp + 0x34]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x140005105
mov ecx, esi
mov qword [rsp + 0x890], rdi
call fcn.140055768
cmp qword [rbx + 0x18], 8
mov rdi, rax
jb 0x140004b96
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 0x1400050cb
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 0x1400050cb
test dword [rsp + 0x38], 0xfffffffc
jbe 0x1400050cb
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x800
call fcn.140059e60
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 0x140004c62
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004c50
mov rcx, r14
call fcn.140001a50
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 0x140004cc4
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004cb1
lea rcx, [r14 + 0x20]
call fcn.140001a50
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 0x140004d26
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004d13
lea rcx, [r14 + 0x40]
call fcn.140001a50
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 0x140004d88
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004d75
lea rcx, [r14 + 0x60]
call fcn.140001a50
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 0x140004df6
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004de0
lea rcx, [r14 + 0x80]
call fcn.140001a50
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 0x140004e5b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004e45
lea rcx, [r14 + 0xa0]
call fcn.140001a50
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 0x140004ec6
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004eb0
lea rcx, [r14 + 0xc0]
call fcn.140001a50
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 0x140004f2b
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004f15
lea rcx, [r14 + 0xe0]
call fcn.140001a50
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 0x140004f96
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004f80
lea rcx, [r14 + 0x100]
call fcn.140001a50
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 0x140004ffb
mov r8, rbx
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140004fe5
lea rcx, [r14 + 0x120]
call fcn.140001a50
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 0x140005066
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140005050
lea rcx, [r14 + 0x140]
call fcn.140001a50
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 0x1400050cb
inc rbx
cmp word [rdx + rbx*2], r15w
jne 0x1400050b2
mov r8, rbx
lea rcx, [r14 + 0x160]
call fcn.140001a50
test rdi, rdi
je 0x1400050dd
mov edx, 1
mov rcx, rdi
call fcn.140055724
mov rdi, qword [rsp + 0x890]
xor al, al
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.140055700
add rsp, 0x850
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
xor al, al
jmp 0x1400050e7