Function at 0x140031580
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x1401f0010]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r8d, r8d
movzx r15d, cl
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.140026cf0
test al, al
jne 0x1400319db
xorps xmm0, xmm0
lea r8, [rsp + 0x40]
xor eax, eax
mov edx, 0xffffffff
movups xmmword [rsp + 0x60], xmm0
xor ecx, ecx
mov dword [rsp + 0x64], 0x9c
movups xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x30], rax
xor ebx, ebx
movups xmmword [rsp + 0x50], xmm0
mov dword [rbp - 0x28], eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.USER32.dll_EnumDisplaySettingsA]
lea rcx, str.USER32
mov dword [rsp + 0x68], 0x1c0000
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x140031a46
lea rdx, [0x1401c89b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140031a3d
xor edx, edx
lea rcx, [rbp - 0x1c]
mov r8d, 0x1a4
call fcn.1401348e0
xor r9d, r9d
mov dword [rbp - 0x20], 0x1a8
lea r8, [rbp - 0x20]
mov byte [rsp + 0x40], bl
xor edx, edx
xor ecx, ecx
mov edi, ebx
call rsi
test eax, eax
je 0x1400316bb
nop dword [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 4]
call fcn.140167fa0
test eax, eax
je 0x14003175a
inc edi
lea r8, [rbp - 0x20]
mov edx, edi
xor r9d, r9d
xor ecx, ecx
call rsi
test eax, eax
jne 0x140031690
test r15b, r15b
je 0x140031a3d
mov rax, qword [0x1401fef68]
cmp dword [rax + 0xe20], ebx
je 0x140031a24
xor edx, edx
xor ecx, ecx
mov r8d, 0x400001cf
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
test rbx, rbx
je 0x140031a3d
test rax, rax
je 0x140031a3d
cmp rax, rbx
je 0x140031a3d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
xor r9d, r9d
lea r8, str.driver_info:_required_version_1.00.22
lea rdx, str.Driver_not_found:_Perhaps_you_need_to_reboot_after_install
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CloseDesktop]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x1400319dd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15b, r15b
je 0x1400319db
lea r8, [0x14019626c]
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.14013ac00
lea r8, [0x14019626c]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac00
lea r8, str.Driver_found.__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac00
lea rdx, [rsp + 0x30]
lea rcx, str.mv2.dll
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
jne 0x1400317e9
lea r8, str.Fail:_Using_32bit_winvnc.exe_with__a_64bit_driver___n
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.14013ac00
jmp 0x14003186f
mov rcx, rsi
call fcn.140131f5c
mov r9, rax
lea rcx, str.mv2.dll
mov r8d, esi
xor edx, edx
mov rdi, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, str.StringFileInfo040904b0ProductVersion
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x14003184d
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, str.StringFileInfo000004b0ProductVersion
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x14003184d
mov byte [rbp + 0x390], bl
jmp 0x140031867
mov r8, qword [rsp + 0x28]
lea rcx, [rbp + 0x390]
mov r9d, 0x200
mov edx, r9d
call fcn.14014a54c
mov rcx, rdi
call fcn.140131f10
lea rcx, [rbp + 0x390]
lea rdx, str.1.00.22
nop dword [rax]
movzx eax, byte [rcx + rbx]
inc rbx
cmp al, byte [rdx + rbx - 1]
jne 0x14003189c
cmp rbx, 8
jne 0x140031880
lea r8, str.Driver_version_OK__n
jmp 0x1400318d3
lea r8, str.Driver_verion_is_not_1.00.22__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac60
lea r8, [rbp + 0x390]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac60
lea r8, [0x1401c8d28]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac60
test byte [rbp + 0x84], 1
lea rcx, [rbp + 0x190]
mov edx, 0x200
je 0x14003193c
lea r8, str._driver_Active
call fcn.14013ac60
xor r9d, r9d
lea rdx, [rbp - 0x1c]
xor r8d, r8d
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCA]
test rax, rax
je 0x140031933
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
lea r8, str._access_ok
jmp 0x14003194f
lea r8, str._access_denied__permission_problem
jmp 0x14003194f
lea r8, str.Driver_Not_Activated__is_the_viewer_current_connected___n
call fcn.14013ac60
lea r8, str.A_mirrior_driver_can_only_be_started_if_winvnc_is_a_service_or_running_as_admin_n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013ac60
mov rax, qword [0x1401fef68]
cmp dword [rax + 0xe20], 0
je 0x140031a09
xor edx, edx
xor ecx, ecx
mov r8d, 0x400001cf
call qword [sym.imp.USER32.dll_OpenInputDesktop]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov rdi, rax
test rbx, rbx
je 0x1400319db
test rax, rax
je 0x1400319db
cmp rax, rbx
je 0x1400319db
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetThreadDesktop]
xor r9d, r9d
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x190]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetThreadDesktop]
mov rcx, rbx
call qword [sym.imp.USER32.dll_CloseDesktop]
mov al, 1
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140131ef0
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor r9d, r9d
lea r8, [rbp + 0x390]
lea rdx, [rbp + 0x190]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400319db
xor r9d, r9d
lea r8, str.driver_info:_required_version_1.00.22
lea rdx, str.Driver_not_found:_Perhaps_you_need_to_reboot_after_install
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x1400319dd