Function at 0x4060d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ee6e
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x44206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x1c], 0x57c62fd4
mov edx, 0x580a5990
mov eax, dword [ebp - 0x1c]
sub edx, eax
mov eax, dword [edx]
add eax, 0x1acf61f4
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
call fcn.00406480
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x406150
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x406166
call fcn.004019c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x406467
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
mov eax, dword [ebx + 0x20]
mov edx, str.http:__version.unchecky.com_files_unchecky_setup_version
push dword [eax - 0xc]
push eax
push 0x38
call fcn.00407fa0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ebx, dword [ebp - 0xdc]
add ebx, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x4061f0
cmp dword [ebx + 0xc], 0
jl 0x4061e1
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4061e1
mov ecx, esi
call fcn.00408cc0
or edi, 0xffffffff
mov dword [ebp - 0x28], eax
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4061d6
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
add eax, 0x10
mov dword [ebp - 0xdc], eax
jmp 0x4061f3
push dword [eax - 0xc]
lea ecx, [ebp - 0xdc]
push eax
call fcn.00409200
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40620b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov edx, 0x6dd5636a
add eax, eax
sub edx, eax
jne 0x40621d
xor ecx, ecx
jmp 0x406231
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406222
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd4]
call fcn.00409200
push 0x188
mov byte [ebp - 0x21], 1
call fcn.00414efe
add esp, 4
mov dword [ebp - 0x20], eax
push 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.004052a0
mov esi, eax
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x28], esi
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00405a40
mov ebx, eax
test ebx, ebx
js 0x406471
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 1
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ecx + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [ebp - 0x64]
sub esp, 0x18
mov eax, dword [ebp - 0x60]
shr ecx, 0x1f
add eax, eax
or ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], ecx
push 0x80000002
mov dword [eax + 4], ecx
mov ecx, 0x3e326ebf
mov dword [ebp - 0x18], 0x3dee4503
mov eax, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov esi, dword [ecx]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 2
call fcn.0040c6f0
lea eax, [esi + esi]
mov byte [ebp - 4], 5
mov ecx, 0x3836a2ae
sub ecx, eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.00409300
cmp dword [ebp - 0x40], 1
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
je 0x406340
mov eax, esi
test eax, eax
je 0x40635e
mov ecx, dword [ebp - 0x38]
push 4
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
push ecx
push 4
push 0
push dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x406376
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x406385
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x40638b
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x406395
push eax
call esi
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4063b1
mov ecx, esi
call fcn.004080b0
push 0x188
push esi
call fcn.00414cce
add esp, 8
lea ecx, [ebp - 0xdc]
call fcn.004066c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004093b0
push ebx
call fcn.004093b0
int3