Function at 0x140001240
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x22b0]
mov eax, 0x23b0
call fcn.140006d70
sub rsp, rax
movzx eax, word [0x14000f750]
mov r10, rdx
movsd xmm0, qword [str._unknown_]
lea rdx, [rbp + 0x1a0]
mov word [rsp + 0x70], ax
mov r14, r8
xor eax, eax
movsd qword [rsp + 0x68], xmm0
mov edi, ecx
mov qword [rsp + 0x72], rax
mov r8d, 0x104
mov word [rsp + 0x7a], ax
mov rcx, r10
mov rsi, r9
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [rax - 1]
movsxd rdx, ecx
mov rax, rdx
test ecx, ecx
js 0x1400012d2
nop dword [rax]
cmp byte [rbp + rax + 0x1a0], 0x5c
je 0x1400012d2
dec edx
sub rax, 1
jns 0x1400012c0
movsxd rax, ecx
movsxd r8, edx
cmp rax, r8
jl 0x1400012f4
nop dword [rax]
cmp byte [rbp + rax + 0x1a0], 0x2e
je 0x1400012f4
dec ecx
dec rax
cmp rax, r8
jge 0x1400012e0
sub ecx, edx
lea eax, [rdx + 1]
dec ecx
lea r8, [rbp + 0x1a0]
movsxd rbx, ecx
mov edx, 0x104
movsxd rcx, eax
mov r9, rbx
add r8, rcx
lea rcx, [rbp + 0x90]
call fcn.140002530
mov byte [rbp + rbx + 0x90], 0
mov r12d, 0x13
test r14, r14
je 0x140001420
mov r8d, 0x104
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rbp + 0x22f0]
lea rcx, [rbp - 0x80]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test eax, eax
je 0x14000146f
lea r9d, [r12 - 0xf]
mov r8d, 0x1000
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14000146f
mov r9, rax
lea rcx, [rbp - 0x80]
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x14000140c
lea r9, [rbp + 0x22f0]
mov rcx, rbx
lea r8, [rsp + 0x40]
lea rdx, str.StringFileInfo040904e4ProductVersion
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1400013d7
lea r9, [rbp + 0x22f0]
mov rcx, rbx
lea r8, [rsp + 0x40]
lea rdx, str.StringFileInfo040904b0ProductVersion
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14000140c
mov eax, dword [rbp + 0x22f0]
lea rcx, [rsp + 0x68]
mov r8, qword [rsp + 0x40]
cmp eax, r12d
mov edx, 0x14
cmova eax, r12d
mov r9d, eax
mov dword [rbp + 0x22f0], eax
call fcn.140002530
mov eax, dword [rbp + 0x22f0]
mov byte [rsp + rax + 0x68], 0
mov r8d, 0x8000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000146f
lea rdx, str.lvrt.dll
mov rcx, rsi
call fcn.1400024f0
test eax, eax
jne 0x14000145e
lea rax, [rsp + 0x40]
mov r9d, 0x104
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x14000146f
mov r8, rsi
lea rcx, [rbp - 0x80]
mov edx, 0x104
call fcn.140002500
lea eax, [rdi - 2]
mov ebx, 0xb
test eax, 0xfffffffd
mov r13d, 1
sete sil
test sil, sil
cmove ebx, r13d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r15d, 0xfc00
mov r14d, 0x800
and eax, 0x3ff
sub eax, 4
je 0x14000150d
sub eax, 3
je 0x1400014f9
sub eax, 5
je 0x1400014e5
sub eax, 5
je 0x1400014d1
cmp eax, r13d
jne 0x140001531
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x192a0]
jmp 0x140001543
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x190e0]
jmp 0x140001543
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x19150]
jmp 0x140001543
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x191c0]
jmp 0x140001543
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and ax, r15w
cmp ax, r14w
jne 0x140001531
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x19310]
jmp 0x140001543
lea eax, [rbx - 1]
lea rbx, [0x140000000]
mov r8, qword [rbx + rax*8 + 0x19230]
mov rdx, r14
lea rcx, [rbp + 0xab0]
call fcn.140002500
lea rcx, [rbp + 0xab0]
call fcn.140002520
lea rax, [rbp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xab0]
lea rax, str.2018
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov ecx, 0x400
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
mov qword [rbp + 0x2300], rax
lea rax, [rbp + 0x2300]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1ab0]
mov dword [rsp + 0x28], 0x7ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and eax, 0x3ff
sub eax, 4
je 0x14000161e
sub eax, 3
je 0x140001611
sub eax, 5
je 0x140001604
sub eax, 5
je 0x1400015f7
cmp eax, r13d
jne 0x14000163b
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x192a0]
jmp 0x140001646
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x190e0]
jmp 0x140001646
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x19150]
jmp 0x140001646
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x191c0]
jmp 0x140001646
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and ax, r15w
cmp ax, r14w
jne 0x14000163b
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x19310]
jmp 0x140001646
lea eax, [rdi - 1]
mov r8, qword [rbx + rax*8 + 0x19230]
mov rdx, r14
lea rcx, [rbp + 0xab0]
call fcn.140002500
lea rcx, [rbp + 0xab0]
call fcn.140002520
add edi, 0xfffffffd
cmp edi, 7
ja case.0x140001676.5
movsxd rax, edi
mov ecx, dword [rbx + rax*4 + 0x19d8]
add rcx, rbx
jmp rcx
movsxd rax, dword [rbp + 0x2310]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x1ab0]
mov qword [rsp + 0x58], rax
jmp 0x1400016d4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x1ab0]
mov qword [rsp + 0x60], rax
jmp 0x1400016d4
lea rax, [rbp + 0x1ab0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rbp + 0x2300], rax
lea rdx, [rbp + 0xab0]
lea rax, [rbp + 0x2300]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov ecx, 0x400
lea rax, [rbp + 0x12b0]
mov dword [rsp + 0x28], 0x7ff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
xor ecx, ecx
lea r8, [0x14000f7b0]
lea rdx, [rbp + 0x12b0]
test sil, sil
je 0x1400019ae
mov r9d, r12d
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x1400019ba
lea r8, str.http:__www.ni.com_rteFinder_destlvrte
mov byte [rbp + 0x2b0], 0
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.140002500
lea r8, str.version
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
lea rsi, str.18.0
mov rdx, r14
mov r8, rsi
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
lea r8, str.platformWin7_
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
lea r8, [0x14000f800]
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
lea r8, str.lang
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and eax, 0x3ff
sub eax, 4
je 0x14000181f
sub eax, 3
je 0x140001816
sub eax, 5
je 0x14000180d
sub eax, 5
je 0x140001804
cmp eax, r13d
jne 0x140001836
lea r8, [0x14000f864]
jmp 0x14000183d
lea r8, [0x14000f858]
jmp 0x14000183d
lea r8, [0x14000f85c]
jmp 0x14000183d
lea r8, [0x14000f860]
jmp 0x14000183d
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and ax, r15w
lea r8, [0x14000f868]
cmp ax, r14w
je 0x14000183d
lea r8, [0x14000f870]
mov rdx, r14
lea rcx, [rbp + 0x2b0]
call fcn.1400024d0
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.ole32.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rbx, rbx
je 0x1400018d4
test rax, rax
je 0x1400018d4
lea rdx, str.CoInitializeEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ShellExecuteA
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
je 0x1400018d4
test rax, rax
je 0x1400018d4
mov edx, 6
xor ecx, ecx
call rdi
xor r9d, r9d
mov dword [rsp + 0x28], r13d
lea r8, [rbp + 0x2b0]
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call rbx
jmp 0x1400019ba
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and eax, 0x3ff
sub eax, 4
je 0x14000191c
sub eax, 3
je 0x140001913
sub eax, 5
je 0x14000190a
sub eax, 5
je 0x140001901
cmp eax, r13d
jne 0x140001933
mov r8, qword [0x1400192f8]
jmp 0x14000193a
mov r8, qword [0x140019138]
jmp 0x14000193a
mov r8, qword [0x1400191a8]
jmp 0x14000193a
mov r8, qword [str.Die_Website_konnte_nicht_ge]
jmp 0x14000193a
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r8, qword [0x140019368]
and ax, r15w
cmp ax, r14w
je 0x14000193a
mov r8, qword [str.Failed_to_open_webpage.__Please_visit_ni.com_updates_and_search_for_version__1_of_the_LabVIEW_Run_Time_Engine.]
mov rdx, r14
lea rcx, [rbp + 0xab0]
call fcn.140002500
lea rcx, [rbp + 0xab0]
call fcn.140002520
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], rsi
mov qword [rbp + 0x2300], rax
lea rdx, [rbp + 0xab0]
lea rax, [rbp + 0x2300]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rbp + 0x12b0]
mov dword [rsp + 0x28], 0x7ff
mov ecx, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea r8, [0x14000f7b0]
xor ecx, ecx
lea rdx, [rbp + 0x12b0]
mov r9d, InitCommonControls
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rbx, qword [rsp + 0x23f8]
add rsp, 0x23b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret