Function at 0x408610
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432f3e
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x43f090]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x43f090]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x28], ebx
cmp dword [0x442644], esi
je 0x4086d0
mov eax, dword [0x4418c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4418c4
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x2a0], esi
mov eax, dword [0x442644]
push eax
push 0x438d90
lea edi, [esp + 0x18]
call fcn.00403fc0
add esp, 8
mov ecx, 0x438af0
cmp dword [ebx + 0xb0], esi
jne 0x4086a6
mov ecx, 0x438af8
lea edx, [esp + 0x14]
push edx
call fcn.00404c80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 1
call fcn.00403920
mov byte [esp + 0x2a4], 0
jmp 0x408724
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x43649c
call fcn.00404c80
mov dword [esp + 0x2a0], 2
mov ecx, 0x438b00
cmp dword [ebx + 0xb0], esi
jne 0x4086fc
mov ecx, 0x438b08
lea edx, [esp + 0x14]
push edx
call fcn.00404c80
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 3
call fcn.00403920
mov byte [esp + 0x2a4], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408747
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2a0], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408772
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x80], esi
je 0x4087bd
mov eax, dword [ebx + 0x80]
cmp eax, esi
jne 0x40878e
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push 0x400
push esi
push eax
call edx
mov eax, dword [ebx + 0x80]
cmp eax, esi
jne 0x4087b0
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
cmp dword [ebx + 0x7c], esi
je 0x408886
mov eax, dword [0x4418c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x4418c4
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x2a0], 4
mov eax, 0x438b10
cmp dword [ebx + 0xb0], esi
jne 0x4087f9
mov eax, 0x438b1c
push eax
push 0x43630c
lea edi, [esp + 0x1c]
call fcn.00403fc0
mov edi, dword [esp + 0x1c]
add esp, 4
mov eax, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0040b5a0
mov byte [esp + 0x2a4], 5
mov ecx, dword [ebx + 0x7c]
cmp ecx, esi
jne 0x408834
push 0x80004003
call fcn.0041e480
mov byte [esp + 0x2a4], 4
call fcn.0040b3f0
mov eax, dword [ebx + 0x7c]
cmp eax, esi
jne 0x408852
push 0x80004003
call fcn.0041e480
mov ecx, dword [eax]
mov edx, dword [ecx + 0x9c]
push 1
push eax
call edx
lea eax, [edi - 0x10]
mov dword [esp + 0x2a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0xbc], esi
jne 0x40899e
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWARE360CleanMaster
mov dword [esp + 0x2c0], 6
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x408935
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
lea esi, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.00403640
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x408915
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push 0x436390
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408935
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0xb0], 0
jne 0x408991
lea esi, [esp + 0x14]
call fcn.00403660
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x408971
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push str.ipartner
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
cmp edi, esi
je 0x40899e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push str.SOFTWARE360CleanMaster
mov dword [esp + 0x2c0], 7
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x408ac3
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x24], esi
call fcn.0041fafc
add esp, 4
cmp eax, 0xffffffff
jne 0x408a10
cmp edx, eax
je 0x408ac3
mov edx, dword [0x4418c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4418c4
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2a0], 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
push str._I64d
lea edi, [esp + 0x1c]
call fcn.00403fc0
mov edi, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
cmp dword [ebx + 0xb0], eax
jne 0x408a79
test edi, edi
setne al
test eax, eax
je 0x408a9f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push str.insttime
jmp 0x408a98
test edi, edi
setne al
test eax, eax
je 0x408a9f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push str.updtime
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [edi - 0x10]
mov byte [esp + 0x2a0], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408ac3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0xb4]
sub eax, 0x10
call fcn.004049c0
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x14
push str.360CleanSpeedup.exe
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x2ac], 9
call fcn.00404850
mov edi, dword [esp + 0x14]
push 0
push 1
push 1
mov ecx, edi
call fcn.00402450
test eax, eax
je 0x408bad
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x8e]
push eax
mov word [esp + 0x90], dx
call fcn.00420660
add esp, 0xc
push str._Setup
push edi
push str.__s___s
mov ecx, 0x104
lea ebx, [esp + 0x90]
call fcn.0040b490
add esp, 0xc
push 0x44
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.00420660
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, ebx
push ecx
push 0
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x30]
push eax
call ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x30]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [edi - 0x10]
mov byte [esp + 0x2a0], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408be1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x408bf0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0041e5bb
mov esp, ebp
pop ebp
ret