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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x9c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x364], 0
push 0
push eax
mov esi, ecx
call fcn.004cddb0
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 ecx, eax
mov dword [ebp - 0x188], 0x1c0020
mov eax, dword [ebp - 0x148]
cmp eax, 8
je 0x430e88
cmp eax, 0x10
je 0x430e88
cmp eax, 0x20
jne 0x430f3e
shr eax, 3
imul eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x14]
add eax, 0xdac4
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x430f3e
push 0x1a4
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.004cddb0
mov ebx, dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
lea eax, [ebp - 0x358]
add esp, 0xc
mov dword [ebp - 0x358], 0x1a8
xor esi, esi
mov byte [ebp - 0x1b0], 0
push esi
push eax
push esi
push esi
call ebx
mov edi, eax
test edi, edi
je 0x430f3e
nop dword [eax]
nop dword [eax + eax]
mov ecx, str.mv_video_hook_driver2
lea eax, [ebp - 0x334]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x430f20
test dl, dl
je 0x430f1c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x430f20
add eax, 2
add ecx, 2
test dl, dl
jne 0x430f00
xor eax, eax
jmp 0x430f25
sbb eax, eax
or eax, 1
test eax, eax
je 0x430f53
push 0
lea eax, [ebp - 0x358]
inc esi
push eax
push esi
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x430ef0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x430f3e
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.00430220
lea eax, [ebp - 0x230]
push eax
call fcn.004db21f
add esp, 0x1c
lea eax, [ebp - 0x230]
push str.DEVICE
push eax
call fcn.004cd490
mov esi, eax
lea ecx, [ebp - 0x110]
add esp, 8
mov edx, 0x104
mov eax, ecx
test esi, esi
jne 0x430fdb
mov esi, str.DEVICE0
sub esi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x430ff9
mov al, byte [esi + ecx]
test al, al
je 0x430ff9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x430fc0
jmp 0x430ff9
inc esi
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x430ff9
mov al, byte [esi + ecx]
test al, al
je 0x430ff9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x430fe0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ecx - 1]
test edx, edx
mov dword [ebp - 0x35c], 0
cmovne eax, ecx
mov byte [eax], 0
lea eax, [ebp - 0x35c]
push eax
push str.SYSTEMCurrentControlSetHardware_ProfilesCurrentSystemCurrentControlSetServicesmv2
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x430f3e
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x360]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x35c]
call esi
test eax, eax
jne 0x430f3e
push 4
lea eax, [ebp - 0x368]
mov dword [ebp - 0x368], 1
push eax
push 4
push 0
push str.Attach.ToDesktop
push dword [ebp - 0x360]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x430f3e
mov edi, dword [ebp - 0x148]
push 0x9c
push eax
lea eax, [ebp - 0x1b0]
push eax
call fcn.004cddb0
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x18c], 0x9c
mov esi, 0x541244
mov eax, ecx
add esp, 0xc
mov edx, 0x20
sub esi, eax
nop dword [eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x4310d9
mov al, byte [esi + ecx]
test al, al
je 0x4310d9
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4310c0
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], 0x1c0020
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x148], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
mov edi, dword [sym.imp.USER32.dll_SetThreadDesktop]
mov ebx, eax
test ebx, ebx
je 0x43114d
push 0x2000000
push 0
push 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [ebp - 0x364], eax
test eax, eax
je 0x43114d
push eax
call edi
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
test eax, eax
jne 0x430f3e
push eax
push eax
push eax
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x354]
push eax
call esi
mov dword [ebp - 0x36c], eax
test ebx, ebx
je 0x431191
push ebx
call edi
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x4311a2
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
push dword [ebp - 0x35c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x360]
call esi
cmp dword [ebp - 0x36c], 0
jne 0x430f3e
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 0x10