Function at 0x469540
Capabilities:
Persist via screensaver registry key
Resolve function by parsing pe exports
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4ed468
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [esp + 0x290]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x17], bl
mov dword [esp + 0x18], edi
cmp byte [esp + 0x294], bl
je 0x4695a0
add eax, 0x1c
jmp 0x4695d5
push 1
xor eax, eax
push 0x502ad8
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], ax
call fcn.00401760
mov ebx, 1
mov dword [esp + 0x288], edi
mov eax, esi
mov dword [esp + 0x1c], ebx
push 0xffffffffffffffff
push edi
xor ecx, ecx
push eax
lea eax, [esp + 0x48]
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], cx
call fcn.00401850
mov dword [esp + 0x288], 2
mov ebp, 8
test bl, 1
je 0x469630
cmp dword [esp + 0x38], ebp
jb 0x46961d
mov edx, dword [esp + 0x24]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], ax
cmp byte [esp + 0x294], 0
mov edx, 0x50a274
jne 0x469644
mov edx, 0x5055cc
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], cx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x469660
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x60]
call fcn.00401760
push 0x206
lea eax, [esp + 0x7a]
xor edx, edx
push edi
mov byte [esp + 0x290], 3
push eax
mov word [esp + 0x80], dx
call fcn.004d1df0
add esp, 0xc
call fcn.00461780
test al, al
je 0x4696ee
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x4696b6
lea eax, [esp + 0x40]
push 0x104
lea ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea eax, [esp + 0x74]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4696d0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x44]
call fcn.00401760
lea eax, [esp + 0x18]
push eax
push 0x2001f
push edi
push str.Control_PanelDesktop
push Ordinal_4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x469768
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], ebp
jae 0x46971b
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push edi
push 0x50a278
push eax
call esi
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x469748
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x50]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push edi
push str.SCRNSAVE.EXE
push eax
call esi
test eax, eax
sete bl
jmp 0x46976c
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x46977b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, byte [esp + 0x294]
push 3
push edi
push ecx
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [esp + 0x70], ebp
jb 0x4697a2
mov edx, dword [esp + 0x5c]
push edx
call fcn.004c8f17
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], ax
cmp dword [esp + 0x54], ebp
jb 0x4697c8
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004c8f17
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004c8f08
add esp, 0x278
ret 8