Function at 0x10002608
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x233c
call fcn.10001ea0
mov ax, word [0x1000ecc8]
movq xmm0, qword [0x1000ecc0]
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x33c]
push 0x104
push eax
push dword [ebp + 0xc]
movq qword [ebp - 0x30], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x26], xmm0
mov word [ebp - 0x1e], 0
call edi
lea esi, [eax - 1]
mov ecx, esi
test ecx, ecx
js 0x1000266b
cmp byte [ebp + ecx - 0x33c], 0x5c
je 0x1000266b
sub ecx, 1
jns 0x1000265c
cmp esi, ecx
jl 0x10002687
nop word [eax + eax]
cmp byte [ebp + esi - 0x33c], 0x2e
je 0x10002687
dec esi
cmp esi, ecx
jge 0x10002678
sub esi, ecx
lea eax, [esi - 1]
push eax
lea eax, [ebp - 0x33b]
add eax, ecx
push eax
lea eax, [ebp - 0x238]
push 0x104
push eax
call fcn.10003cc8
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov byte [ebp + esi - 0x239], 0
test eax, eax
je 0x1000277b
push 0x104
lea ecx, [ebp - 0x134]
push ecx
push eax
call edi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x134]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x100027c4
push 4
push 0x1000
push edi
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x100027c4
push esi
push edi
push 0
lea eax, [ebp - 0x134]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x1000276c
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push eax
push str.StringFileInfo040904e4ProductVersion
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x10002742
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 8]
push eax
push str.StringFileInfo040904b0ProductVersion
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x1000276c
mov eax, dword [ebp + 0x10]
mov ecx, 0x13
cmp eax, ecx
cmova eax, ecx
push eax
push dword [ebp - 8]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x30]
push 0x14
push eax
call fcn.10003cc8
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov byte [ebp + eax - 0x30], 0
push 0x8000
push edi
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
jmp 0x100027c4
mov esi, dword [ebp + 0x14]
push str.lvrt.dll
push esi
call fcn.10003c30
add esp, 8
test eax, eax
jne 0x100027af
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x134]
push eax
push 0x104
push 0
push esi
push 0
call dword [sym.imp.kernel32.dll_SearchPathA]
test eax, eax
jne 0x100027c4
push esi
lea eax, [ebp - 0x134]
push 0x104
push eax
call fcn.10003c70
add esp, 0xc
mov esi, dword [ebp + 8]
push ebx
cmp esi, 2
je 0x100027d6
cmp esi, 4
je 0x100027d6
xor bl, bl
jmp 0x100027d8
mov bl, 1
push 0x800
lea eax, [ebp - 0x133c]
mov ecx, 1
push eax
test bl, bl
mov eax, 0xb
cmove eax, ecx
push eax
push dword [ebp + 0xc]
call fcn.10002548
mov edi, dword [sym.imp.kernel32.dll_FormatMessageA]
lea eax, [ebp - 0x238]
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x18], str.2022
push eax
push 0x7ff
lea eax, [ebp - 0x1b3c]
mov dword [ebp - 0xc], 0x1000ed38
push eax
push 0
push 0
lea eax, [ebp - 0x133c]
push eax
push 0x400
call edi
push 0x800
lea eax, [ebp - 0x133c]
push eax
push esi
push dword [ebp + 0xc]
call fcn.10002548
add esi, 0xfffffffd
add esp, 0x10
cmp esi, 7
ja case.0x1000286e.5
movzx eax, byte [esi + 0x10002a40]
jmp dword [eax*4 + 0x10002a34]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1b3c]
mov dword [ebp - 0x14], eax
jmp 0x100028bb
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1b3c]
mov dword [ebp - 0x10], eax
jmp 0x100028bb
lea eax, [ebp - 0x1b3c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x7ff
lea eax, [ebp - 0x233c]
push eax
push 0
push 0
lea eax, [ebp - 0x133c]
push eax
push 0x400
call edi
call fcn.10002348
test bl, bl
lea eax, [ebp - 0x233c]
pop ebx
je 0x10002a1b
mov esi, dword [sym.imp.user32.dll_MessageBoxA]
push 0x13
push 0x1000ed40
push eax
push 0
call esi
cmp eax, 6
jne 0x10002a2b
push str.http:__www.ni.com_rteFinder_destlvrte
lea eax, [ebp - 0xb3c]
mov byte [ebp - 0xb3c], 0
push 0x800
push eax
call fcn.10003c70
push str.version
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
push str.22.3
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
push str.platformWin7_
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
push 0x1000ed38
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
push str.lang
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
add esp, 0x48
call fcn.100024a0
push eax
lea eax, [ebp - 0xb3c]
push 0x800
push eax
call fcn.10003bd0
push 0x800
lea eax, [ebp - 0x133c]
push eax
push 0xd
push dword [ebp + 0xc]
call fcn.10002548
add esp, 0x1c
lea eax, [ebp - 0xb3c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x7ff
lea eax, [ebp - 0x1b3c]
push eax
push 0
push 0
lea eax, [ebp - 0x133c]
push eax
push 0x400
call edi
push 0
push 0x1000ed98
lea eax, [ebp - 0x1b3c]
push eax
push 0
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x10
push 0x1000ed40
push eax
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret