Function at 0x4564e6
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5129e9
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x5ff740]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
lea eax, [esp + 0x34]
mov edi, SysReAllocStringLen
push eax
lea esi, [esp + 0x58]
mov dword [esp + 0x38], edi
call fcn.0040ac2c
xor ebx, ebx
mov dword [esp + 0x288], ebx
call fcn.0047876d
cmp eax, 6
jne 0x456571
cmp byte [ebp + 8], bl
je 0x456567
push ebx
call fcn.004554b5
push 1
call fcn.004559b7
jmp 0x4567da
push 1
call fcn.004554b5
push ebx
jmp 0x45655d
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x40]
mov dword [esp + 0x1c], edi
call fcn.0040ac2c
push 1
push 0x5ba468
push edi
mov byte [esp + 0x294], 1
call fcn.0040ac48
test eax, eax
je 0x4567c5
cmp byte [ebp + 8], bl
je 0x45670d
mov eax, dword [0x60889c]
push dword [eax]
lea ecx, [esp + 0x24]
call fcn.0040253b
push str._StartedAfterOptimization
lea ecx, [esp + 0x18]
mov byte [esp + 0x28c], 2
call fcn.0040253b
mov byte [esp + 0x288], 3
mov al, byte [0x60a9e0]
test al, al
je 0x4565ee
push str._StartedAfter50PerNOpt
lea ecx, [esp + 0x18]
call fcn.00402719
lea eax, [esp + 0x14]
push eax
mov esi, 0x5b3664
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0040dc86
add esp, 0xc
mov edi, eax
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 4
call fcn.0040253b
lea ecx, [esp + 0x20]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x294], 5
call fcn.00402130
add esp, 0xc
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x294], 6
call fcn.00402130
add esp, 0xc
mov ecx, dword [esp + 0x38]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
call fcn.0040285b
mov byte [esp + 0x288], 0xa
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040285b
mov edi, dword [esp + 0x1c]
push ebx
push 0x5afd90
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x298], 0xb
mov ecx, esp
mov dword [esp + 0x28], esp
push str.AFX_IDS_APP_TITLE
call fcn.0040253b
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x29c], 0xa
call fcn.00406ef3
push dword [eax]
lea ecx, [esp + 0x44]
call fcn.0040ad1a
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040285b
push str.RDReminder
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285b
jmp 0x4567bc
push 0x5afd90
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.RESOURCESTRING
call fcn.0040253b
push ecx
mov byte [esp + 0x294], 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push str.AFX_IDS_APP_TITLE
call fcn.0040253b
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x298], 1
call fcn.00406ef3
push dword [eax]
lea eax, [esp + 0x40]
call fcn.0040ad05
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285b
xor eax, eax
push 0x206
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push ebx
push eax
call fcn.004e38a0
add esp, 0xc
push 0x104
lea eax, [esp + 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edi, [esp + 0x6c]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x456796
mov esi, str.__rem
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push str.RDReminder
lea edi, [esp + 0x74]
lea ecx, [esp + 0x44]
call fcn.0040ad1a
lea esi, [esp + 0x3c]
call fcn.0040aca6
lea esi, [esp + 0x3c]
call fcn.0040aca6
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffff0
call fcn.0040285b
lea esi, [esp + 0x54]
call fcn.0040aca6
mov ecx, dword [esp + 0x5c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.004de422
mov esp, ebp
pop ebp
ret 4