Function at 0x43a050
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x664
mov eax, dword [0x5c3040]
xor eax, esp
mov dword [esp + 0x660], eax
push ebx
mov edx, 2
mov byte [esp + 0xb], cl
push esi
push edi
push 0
lea ecx, [edx + 4]
call fcn.0042b4d0
add esp, 4
test al, al
jne 0x43a3f1
push 0x9c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [esp + 0x44], 0x9c
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
push str.USER32
mov dword [esp + 0x4c], 0x1c0000
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x43a19f
push 0x5ac74c
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43a198
push 0x1a4
lea eax, [esp + 0xc8]
push 0
push eax
call fcn.00526a30
add esp, 0xc
mov dword [esp + 0xc0], 0x1a8
xor esi, esi
mov byte [esp + 0x20], 0
lea eax, [esp + 0xc0]
push esi
push eax
push esi
push esi
call edi
test eax, eax
je 0x43a17d
nop dword [eax]
nop word [eax + eax]
mov ecx, str.mv_video_hook_driver2
lea eax, [esp + 0xe4]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43a160
test dl, dl
je 0x43a15c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43a160
add eax, 2
add ecx, 2
test dl, dl
jne 0x43a140
xor eax, eax
jmp 0x43a165
sbb eax, eax
or eax, 1
test eax, eax
je 0x43a1b6
push 0
lea eax, [esp + 0xc4]
inc esi
push eax
push esi
push 0
call edi
test eax, eax
jne 0x43a130
cmp byte [esp + 0x13], 0
je 0x43a198
push 0
push str.driver_info:_required_version_1.00.22
mov edx, str.Driver_not_found:_Perhaps_you_need_to_reboot_after_install
call fcn.00425f30
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [esp + 0x13], 0
je 0x43a3f1
push 0x579be0
lea eax, [esp + 0x46c]
push 0x200
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [esp + 0x268]
push 0x579be0
push 0x200
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [esp + 0x268]
push str.Driver_found.__n
push 0x200
push eax
call fcn.0052c1a3
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push str.mv2.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
jne 0x43a24b
push str.Fail:_Using_32bit_winvnc.exe_with__a_64bit_driver___n
lea eax, [esp + 0x46c]
push 0x200
push eax
call fcn.0052c1a3
add esp, 0xc
jmp 0x43a2cd
push edi
call fcn.005247b4
add esp, 4
mov esi, eax
push esi
push edi
push 0
push str.mv2.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueA]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push str.StringFileInfo040904b0ProductVersion
push esi
call edi
test eax, eax
jne 0x43a2a9
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push str.StringFileInfo000004b0ProductVersion
push esi
call edi
test eax, eax
jne 0x43a2a9
push esi
mov byte [esp + 0x46c], al
call fcn.00524771
add esp, 4
jmp 0x43a2cd
push 0x200
push dword [esp + 0x18]
lea eax, [esp + 0x470]
push 0x200
push eax
call fcn.00534cfe
push esi
call fcn.00524771
add esp, 0x14
mov ecx, str.1.00.22
lea eax, [esp + 0x468]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43a300
test dl, dl
je 0x43a2fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43a300
add eax, 2
add ecx, 2
test dl, dl
jne 0x43a2e0
xor eax, eax
jmp 0x43a305
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43a310
mov eax, str.Driver_version_OK__n
jmp 0x43a34c
push str.Driver_verion_is_not_1.00.22__n
lea eax, [esp + 0x26c]
push 0x200
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x26c]
push 0x200
push eax
call fcn.0052c1fd
add esp, 0xc
mov eax, 0x5aca58
push eax
lea esi, [esp + 0x26c]
push 0x200
push esi
call fcn.0052c1fd
add esp, 0xc
mov eax, esi
test byte [esp + 0x164], 1
je 0x43a3b1
push str._driver_Active
push 0x200
push eax
call fcn.0052c1fd
add esp, 0xc
lea eax, [esp + 0xc4]
push 0
push 0
push eax
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
test eax, eax
je 0x43a3aa
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, str._access_ok
jmp 0x43a3c9
mov eax, str._access_denied__permission_problem
jmp 0x43a3c9
push str.Driver_Not_Activated__is_the_viewer_current_connected___n
push 0x200
push eax
call fcn.0052c1fd
add esp, 0xc
mov eax, str.A_mirrior_driver_can_only_be_started_if_winvnc_is_a_service_or_running_as_admin_n
push eax
push 0x200
push esi
call fcn.0052c1fd
add esp, 0xc
lea eax, [esp + 0x468]
lea edx, [esp + 0x268]
push 0
push eax
call fcn.00425f30
add esp, 8
mov ecx, dword [esp + 0x66c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00524763
mov esp, ebp
pop ebp
ret