Function at 0x1400315e0
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.140026d50
test al, al
jne 0x140031a3b
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 0x140031aa6
lea rdx, [0x1401c80d8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140031a9d
xor edx, edx
lea rcx, [rbp - 0x1c]
mov r8d, 0x1a4
call fcn.140133cb0
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 0x14003171b
nop dword [rax + rax]
lea rdx, str.mv_video_hook_driver2
lea rcx, [rbp + 4]
call fcn.140167370
test eax, eax
je 0x1400317ba
inc edi
lea r8, [rbp - 0x20]
mov edx, edi
xor r9d, r9d
xor ecx, ecx
call rsi
test eax, eax
jne 0x1400316f0
test r15b, r15b
je 0x140031a9d
mov rax, qword [0x1401fdf60]
cmp dword [rax + 0xe20], ebx
je 0x140031a84
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 0x140031a9d
test rax, rax
je 0x140031a9d
cmp rax, rbx
je 0x140031a9d
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 0x140031a3d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r15b, r15b
je 0x140031a3b
lea r8, [0x14019526c]
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.140139fd0
lea r8, [0x14019526c]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.140139fd0
lea r8, str.Driver_found.__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.140139fd0
lea rdx, [rsp + 0x30]
lea rcx, str.mv2.dll
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
jne 0x140031849
lea r8, str.Fail:_Using_32bit_winvnc.exe_with__a_64bit_driver___n
mov edx, 0x200
lea rcx, [rbp + 0x390]
call fcn.140139fd0
jmp 0x1400318cf
mov rcx, rsi
call fcn.14013132c
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 0x1400318ad
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 0x1400318ad
mov byte [rbp + 0x390], bl
jmp 0x1400318c7
mov r8, qword [rsp + 0x28]
lea rcx, [rbp + 0x390]
mov r9d, 0x200
mov edx, r9d
call fcn.14014991c
mov rcx, rdi
call fcn.1401312e0
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 0x1400318fc
cmp rbx, 8
jne 0x1400318e0
lea r8, str.Driver_version_OK__n
jmp 0x140031933
lea r8, str.Driver_verion_is_not_1.00.22__n
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013a030
lea r8, [rbp + 0x390]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013a030
lea r8, [0x1401c8448]
mov edx, 0x200
lea rcx, [rbp + 0x190]
call fcn.14013a030
test byte [rbp + 0x84], 1
lea rcx, [rbp + 0x190]
mov edx, 0x200
je 0x14003199c
lea r8, str._driver_Active
call fcn.14013a030
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 0x140031993
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
lea r8, str._access_ok
jmp 0x1400319af
lea r8, str._access_denied__permission_problem
jmp 0x1400319af
lea r8, str.Driver_Not_Activated__is_the_viewer_current_connected___n
call fcn.14013a030
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.14013a030
mov rax, qword [0x1401fdf60]
cmp dword [rax + 0xe20], 0
je 0x140031a69
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 0x140031a3b
test rax, rax
je 0x140031a3b
cmp rax, rbx
je 0x140031a3b
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.1401312c0
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 0x140031a3b
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 0x140031a3d