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

Disassembly:
push 0xffffffffffffffff
push 0x456b30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], ebp
push 0x78
push ecx
mov ecx, 0x461b70
mov byte [esp + 0x48], 1
call fcn.00401f80
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.0043c130
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, ebp
je 0x42d113
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42d11c
call fcn.0043e955
mov esi, dword [esp + 0x2c]
mov edi, 8
cmp dword [esi + 0x18], edi
jb 0x42d12b
mov esi, dword [esi + 4]
jmp 0x42d12e
add esi, 4
push esi
call fcn.0043ef57
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x14], eax
je 0x42d161
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x42d16a
call fcn.0043e955
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x34], edi
jb 0x42d174
mov esi, dword [esi + 0x20]
jmp 0x42d177
add esi, 0x20
push esi
call fcn.0043ef57
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, ebp
mov dword [esp + 0x18], eax
je 0x42d1aa
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x42d1b3
call fcn.0043e955
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x50], edi
jb 0x42d1bd
mov esi, dword [esi + 0x3c]
jmp 0x42d1c0
add esi, 0x3c
push esi
call fcn.0043ef57
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, ebp
mov ebx, eax
je 0x42d1f1
mov ecx, dword [esp + 0x30]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x42d1fa
call fcn.0043e955
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x6c], edi
jb 0x42d204
mov esi, dword [esi + 0x58]
jmp 0x42d207
add esi, 0x58
push esi
call fcn.0043ef57
add esp, 4
mov edi, eax
push str.Writing_resolution_parameters_to_factory_location
push 0x46fa40
xor eax, eax
call fcn.00431730
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebp
je 0x42d235
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
lea ecx, [esp + 0x24]
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SOFTWAREIntelDisplayigfxcuiigfxsrvcFactoryInstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, 0x8086
jne 0x42d315
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.RequestSig
push eax
mov dword [esp + 0x34], ebp
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.RequestedXRes
push eax
mov dword [esp + 0x34], ecx
call esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.RequestedYRes
push eax
mov dword [esp + 0x34], ecx
call esi
mov edx, dword [esp + 0x20]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push str.RequestedBPP
push edx
mov dword [esp + 0x34], ebx
call esi
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.RequestedRate
push ecx
mov dword [esp + 0x34], edi
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42d30d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
push str.Writing_resolution_parameters_to_services_key
push 0x46fa40
xor eax, eax
call fcn.00431730
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x42d338
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push eax
lea edx, [esp + 0x24]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push str.SYSTEMCurrentControlSetServicesialmdevice0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42d3f8
mov ecx, dword [esp + 0x20]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.RequestSig
push ecx
mov dword [esp + 0x34], ebp
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.RequestedXRes
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push 4
lea eax, [esp + 0x20]
push eax
push 4
push 0
push str.RequestedYRes
push ecx
mov dword [esp + 0x34], edx
call esi
mov eax, dword [esp + 0x20]
push 4
lea edx, [esp + 0x20]
push edx
push 4
push 0
push str.RequestedBPP
push eax
mov dword [esp + 0x34], ebx
call esi
mov edx, dword [esp + 0x20]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push str.RequestedRate
push edx
mov dword [esp + 0x34], edi
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42d407
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x20], 0
je 0x42d435
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push ecx
call fcn.00411dd0
mov edx, dword [esp + 0x30]
add esp, 4
push edx
call fcn.0043e965
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret