Function at 0x10001420
Capabilities:
Check os version
Delete file
Delete registry key
Delete registry value
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1001bbd1
mov eax, dword fs:[0]
push eax
mov eax, 0x5050
call fcn.10019dc0
mov eax, dword [0x100261c0]
xor eax, esp
mov dword [esp + 0x504c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100261c0]
xor eax, esp
push eax
lea eax, [esp + 0x5064]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
call fcn.10001320
push 0x208
lea eax, [esp + 0xe5c]
push 0
push eax
mov dword [esp + 0x5078], 0
call fcn.1000de40
mov ecx, dword [esp + 0x20]
push ecx
push str._sSoftMgr360OptExt.ini
mov ecx, 0x104
lea ebx, [esp + 0xe6c]
call fcn.10002680
push 0x4000
lea edx, [esp + 0x1078]
push 0
push edx
call fcn.1000de40
add esp, 0x20
mov eax, ebx
push eax
push 0x2000
lea ecx, [esp + 0x1068]
push ecx
push 0x10022780
push str.items
push str.360CsVc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x118
xor esi, esi
lea edx, [esp + 0x28]
push esi
push edx
mov edi, eax
call fcn.1000de40
add esp, 0xc
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10001510
mov esi, dword [esp + 0x24]
push 0x208
lea ecx, [esp + 0x434]
push 0
push ecx
call fcn.1000de40
add esp, 0xc
push 0x104
lea edx, [esp + 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea eax, [esp + 0x63c]
push 0
push eax
call fcn.1000de40
add esp, 0xc
lea ebx, [esp + 0x638]
cmp esi, 6
jb 0x1000156d
movzx ecx, word [esp + 0x430]
push ecx
push str._C:UsersDefaultAppDataLocalTemp
jmp 0x1000157b
movzx edx, word [esp + 0x430]
push edx
push str._C:Documents_and_SettingsDefault_UserLocal_SettingsTemp
mov ecx, 0x104
call fcn.10002680
add esp, 8
test edi, edi
jbe 0x100017e7
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x10022a00
call fcn.10002b80
lea ecx, [esp + 0x18]
push ecx
mov bl, 1
lea ecx, [esp + 0x1064]
mov byte [esp + 0x5070], bl
call fcn.10002b80
push 0x100286c0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x5078], 2
call fcn.10004c30
mov byte [esp + 0x5078], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100015ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x506c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10001627
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x100286d0]
sub esi, dword [0x100286cc]
sar esi, 2
test esi, esi
jbe 0x100017e7
xor edi, edi
test esi, esi
jbe 0x100017e7
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x232]
push edx
mov word [esp + 0x234], cx
call fcn.1000de40
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.1000de40
add esp, 0x18
cmp edi, esi
jb 0x1000168e
call fcn.1000cfec
mov edx, dword [0x100286cc]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x228]
call fcn.10002620
lea eax, [esp + 0x228]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100016b0
sub eax, ecx
lea ecx, [esp + 0x20]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x230]
push edx
call fcn.10001210
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xc66]
push ecx
mov word [esp + 0xc68], ax
call fcn.1000de40
lea edx, [esp + 0x38]
push edx
push str.SYSTEMCurrentControlSet_services
push 0x10022a04
mov ecx, 0x104
lea ebx, [esp + 0xc74]
call fcn.10002680
add esp, 0x24
mov eax, ebx
push eax
push 0x80000002
call ebp
lea ecx, [esp + 0x20]
push ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0xa52]
push eax
mov word [esp + 0xa54], dx
call fcn.1000de40
lea ecx, [esp + 0x2c]
push ecx
push str.SYSTEMCurrentControlSetEnumRootLEGACY__s
mov ecx, 0x104
lea ebx, [esp + 0xa5c]
call fcn.10002680
add esp, 0x14
mov edx, ebx
push edx
push 0x80000002
call ebp
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x84a]
push ecx
mov word [esp + 0x84c], ax
call fcn.1000de40
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x648]
push eax
push str._s_s.dll
mov ecx, 0x104
lea ebx, [esp + 0x858]
call fcn.10002680
add esp, 0x18
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x20]
push edx
call fcn.10003890
mov esi, dword [0x100286d0]
sub esi, dword [0x100286cc]
inc edi
sar esi, 2
add esp, 4
cmp edi, esi
jb 0x1000164e
mov dword [esp + 0x506c], 0xffffffff
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 0x10001812
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x5064]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x504c]
xor ecx, esp
call fcn.1000c9cb
add esp, 0x505c
ret