Function at 0x140031bf0
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 [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x590], rax
xor r8d, r8d
movzx r15d, cl
lea edx, [r8 + 2]
lea ecx, [rdx + 4]
call fcn.140027360
test al, al
jne 0x14003204b
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 0x1400320b6
lea rdx, [0x1401c8128]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1400320ad
xor edx, edx
lea rcx, [rbp - 0x1c]
mov r8d, 0x1a4
call fcn.140135010
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 0x140031d2b
nop dword [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 4]
call fcn.1401686d0
test eax, eax
je 0x140031dca
inc edi
lea r8, [rbp - 0x20]
mov edx, edi
xor r9d, r9d
xor ecx, ecx
call rsi
test eax, eax
jne 0x140031d00
test r15b, r15b
je 0x1400320ad
mov rax, qword [0x1401fdf80]
cmp dword [rax + 0xe20], ebx
je 0x140032094
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 0x1400320ad
test rax, rax
je 0x1400320ad
cmp rax, rbx
je 0x1400320ad
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 0x14003204d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15b, r15b
je 0x14003204b
lea r8, [0x14019528c]
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.14013b330
lea r8, [0x14019528c]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013b330
lea r8, str.Driver_found.__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013b330
lea rdx, [rsp + 0x30]
lea rcx, str.mv2.dll
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
jne 0x140031e59
lea r8, str.Fail:_Using_32bit_winvnc.exe_with__a_64bit_driver___n
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.14013b330
jmp 0x140031edf
mov rcx, rsi
call fcn.14013268c
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 0x140031ebd
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 0x140031ebd
mov byte [rbp + 0x390], bl
jmp 0x140031ed7
mov r8, qword [rsp + 0x28]
lea rcx, [rbp + 0x390]
mov r9d, 0x200
mov edx, r9d
call fcn.1401456fc
mov rcx, rdi
call fcn.140132640
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 0x140031f0c
cmp rbx, 8
jne 0x140031ef0
lea r8, str.Driver_version_OK__n
jmp 0x140031f43
lea r8, str.Driver_verion_is_not_1.00.22__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013b390
lea r8, [rbp + 0x390]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013b390
lea r8, [0x1401c8498]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013b390
test byte [rbp + 0x84], 1
lea rcx, [rbp + 0x190]
mov edx, 0x200
je 0x140031fac
lea r8, str._driver_Active
call fcn.14013b390
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 0x140031fa3
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
lea r8, str._access_ok
jmp 0x140031fbf
lea r8, str._access_denied__permission_problem
jmp 0x140031fbf
lea r8, str.Driver_Not_Activated__is_the_viewer_current_connected___n
call fcn.14013b390
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.14013b390
mov rax, qword [0x1401fdf80]
cmp dword [rax + 0xe20], 0
je 0x140032079
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 0x14003204b
test rax, rax
je 0x14003204b
cmp rax, rbx
je 0x14003204b
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.140132620
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 0x14003204b
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 0x14003204d