Function at 0x428510
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.USER32
mov dword [ebp - 0x36c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42864b
push str.EnumDisplayDevicesA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov dword [ebp - 0x35c], ebx
test ebx, ebx
je 0x42864b
push 0x9c
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.004b67a0
add esp, 0xc
mov dword [ebp - 0x18c], 0x9c
lea eax, [ebp - 0x1b0]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov dword [ebp - 0x188], 0x1c0000
test eax, eax
je 0x428644
push 0x1a8
lea eax, [ebp - 0x358]
push 0
push eax
call fcn.004b67a0
add esp, 0xc
mov dword [ebp - 0x358], 0x1a8
xor esi, esi
mov byte [ebp - 0x1b0], 0
lea eax, [ebp - 0x358]
push esi
push eax
push esi
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x428632
nop
mov ecx, str.mv_video_hook_driver2
lea eax, [ebp - 0x334]
jmp 0x4285f0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428610
test dl, dl
je 0x42860c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428610
add eax, 2
add ecx, 2
test dl, dl
jne 0x4285f0
xor eax, eax
jmp 0x428615
sbb eax, eax
or eax, 1
test eax, eax
je 0x42865c
push 0
lea eax, [ebp - 0x358]
inc esi
push eax
push esi
push 0
call dword [ebp - 0x35c]
mov ebx, eax
test ebx, ebx
jne 0x4285e0
push str.mv_video_hook_driver2
push str.No__s_found._n
call fcn.004af726
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aca59
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x428632
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x354]
push eax
push esi
push str.DevNum:_d_nName:_s_nString:_s_nID:_s_nKey:_s_n_n
call fcn.004af726
lea eax, [ebp - 0x230]
push eax
call fcn.004af682
lea eax, [ebp - 0x230]
push str.DEVICE
push eax
call fcn.004af0d0
add esp, 0x24
mov edx, 0x104
push ecx
test eax, eax
jne 0x4286b8
push str.DEVICE0
jmp 0x4286ba
inc eax
push eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.00427e30
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x360]
push eax
push str.SYSTEMCurrentControlSetHardware_ProfilesCurrentSystemCurrentControlSetServicesmv2
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x360], 0
call esi
test eax, eax
jne 0x428644
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x35c]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x360]
call esi
test eax, eax
jne 0x428644
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x364]
push eax
push 4
push 0
push str.Attach.ToDesktop
push dword [ebp - 0x35c]
call ebx
test eax, eax
jne 0x428644
push dword [ebp - 0x360]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x35c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x230]
push str.SYSTEM
push eax
call fcn.004af0d0
add esp, 8
mov dword [ebp - 0x364], eax
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x35c], 0
push eax
push str.SYSTEMCurrentControlSetHardware_ProfilesCurrent
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x428644
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x360]
push eax
push dword [ebp - 0x364]
push dword [ebp - 0x35c]
call esi
test eax, eax
jne 0x428644
push 4
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x368]
push eax
push 4
push 0
push str.Attach.ToDesktop
push dword [ebp - 0x360]
call ebx
test eax, eax
jne 0x428644
push dword [ebp - 0x35c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push dword [ebp - 0x360]
call ebx
push 0x9c
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.004b67a0
add esp, 8
mov dword [ebp - 0x18c], 0x9c
mov edx, 0x20
push 0x4e2144
push ecx
lea ecx, [ebp - 0x1b0]
call fcn.00427e30
mov dword [ebp - 0x148], 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov ebx, dword [sym.imp.USER32.dll_SetThreadDesktop]
mov dword [ebp - 0x368], eax
test eax, eax
je 0x428874
push 0x2000000
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [ebp - 0x36c], eax
test eax, eax
je 0x428874
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_ChangeDisplaySettingsExA]
lea eax, [ebp - 0x1b0]
push 0
push 1
push 0
push eax
lea eax, [ebp - 0x354]
push eax
call esi
push 0
push 0
push 0
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x354]
push eax
call esi
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x4288b3
push eax
call ebx
mov eax, dword [ebp - 0x36c]
test eax, eax
je 0x428644
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
jmp 0x428644