Function at 0x4086c0
Capabilities:
Check if file exists
Delete file
Delete registry key
Delete registry value
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432758
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x43e0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x10], esi
call fcn.0040c1f0
lea eax, [ebp - 0x14]
push eax
call fcn.0040a970
add esp, 4
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x40872f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40872f
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40872f
mov edx, dword [ebp - 0x14]
push 4
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea eax, [ebp - 0x18]
push eax
mov ecx, str.SpesmarlIlnclzs
call fcn.0040dcd0
mov eax, dword [eax]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
add esp, 4
push esi
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push 0x80000001
call edi
test eax, eax
mov eax, dword [ebp - 0x18]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408782
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test bl, bl
je 0x408813
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.UMsa
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.PLgl
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408802
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x18]
push edx
mov ecx, str.SpesmarlIlnclzs
call fcn.0040dcd0
mov eax, dword [eax]
add esp, 4
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call edi
test eax, eax
mov eax, dword [ebp - 0x18]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408865
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4088f0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.UMsa
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, str.PLgl
call fcn.0040dcd0
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
add esp, 4
push eax
push edx
call esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareTencentTodayDo
push 0x80000001
call edi
test eax, eax
jne 0x40892f
mov eax, dword [ebp - 0x10]
push str.Udte
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
push str.SoftwareTencentReport
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408965
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret