Function at 0x405e10
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418c7b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x425140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
call fcn.00408640
add esp, 4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.00405c80
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x2c]
call fcn.00402100
add esp, 4
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x405eb9
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405eaf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e1
push ecx
push edx
call fcn.0040bdd6
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x405f0b
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405f01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e1
push ecx
push edx
call fcn.0040bdd6
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x30]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov dword [ebp - 0x4c], 7
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40601e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00406e10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x84]
lea esi, [eax*2 + 2]
lea eax, [ebp - 0x2c]
push eax
call fcn.00406e10
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
push esi
cmova eax, dword [ebp - 0x48]
push eax
push 1
push 0
push str.ArcControlServices
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x405fc4
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405fba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e6
push ecx
push edx
call fcn.0040bdd6
add esp, 8
mov ecx, dword [ebp - 0x80]
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp ecx, 7
jbe 0x406015
mov edx, dword [ebp - 0x94]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40600b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060e6
push ecx
push edx
call fcn.0040bdd6
add esp, 8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x406058
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40604e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4060eb
push ecx
push edx
call fcn.0040bdd6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040b978
mov esp, ebp
pop ebp
ret
call fcn.0040f1ef
call fcn.0040f1ef
call fcn.0040f1ef
int3