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

Disassembly:
push 0xffffffffffffffff
push 0x1001b421
mov eax, dword fs:[0]
push eax
mov eax, 0x5050
call fcn.10019680
mov eax, dword [0x100221c0]
xor eax, esp
mov dword [esp + 0x504c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100221c0]
xor eax, esp
push eax
lea eax, [esp + 0x5064]
mov dword fs:[0], eax
lea esi, [esp + 0x14]
call fcn.10001130
push 0x208
lea eax, [esp + 0xe5c]
push 0
push eax
mov dword [esp + 0x5078], 0
call fcn.1000d630
mov ecx, dword [esp + 0x20]
push ecx
push str._sSoftMgr360OptExt.ini
mov ecx, 0x104
lea ebx, [esp + 0xe6c]
call fcn.100024a0
push 0x4000
lea edx, [esp + 0x1078]
push 0
push edx
call fcn.1000d630
add esp, 0x20
mov eax, ebx
push eax
push 0x2000
lea ecx, [esp + 0x1068]
push ecx
push 0x1001ef40
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.1000d630
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 0x10001320
mov esi, dword [esp + 0x24]
push 0x208
lea ecx, [esp + 0x434]
push 0
push ecx
call fcn.1000d630
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.1000d630
add esp, 0xc
lea ebx, [esp + 0x638]
cmp esi, 6
jb 0x1000137d
movzx ecx, word [esp + 0x430]
push ecx
push str._C:UsersDefaultAppDataLocalTemp
jmp 0x1000138b
movzx edx, word [esp + 0x430]
push edx
push str._C:Documents_and_SettingsDefault_UserLocal_SettingsTemp
mov ecx, 0x104
call fcn.100024a0
add esp, 8
test edi, edi
jbe 0x100015f7
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x1001f0a0
call fcn.10002980
lea ecx, [esp + 0x18]
push ecx
mov bl, 1
lea ecx, [esp + 0x1064]
mov byte [esp + 0x5070], bl
call fcn.10002980
push 0x10024588
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x5078], 2
call fcn.100044f0
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 0x1000140f
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 0x10001437
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x10024598]
sub esi, dword [0x10024594]
sar esi, 2
test esi, esi
jbe 0x100015f7
xor edi, edi
test esi, esi
jbe 0x100015f7
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.1000d630
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.1000d630
add esp, 0x18
cmp edi, esi
jb 0x1000149e
call fcn.1000c7dc
mov edx, dword [0x10024594]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x228]
call fcn.10002440
lea eax, [esp + 0x228]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x100014c0
sub eax, ecx
lea ecx, [esp + 0x20]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x230]
push edx
call fcn.10001020
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xc66]
push ecx
mov word [esp + 0xc68], ax
call fcn.1000d630
lea edx, [esp + 0x38]
push edx
push str.SYSTEMCurrentControlSet_services
push 0x1001f0a4
mov ecx, 0x104
lea ebx, [esp + 0xc74]
call fcn.100024a0
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.1000d630
lea ecx, [esp + 0x2c]
push ecx
push str.SYSTEMCurrentControlSetEnumRootLEGACY__s
mov ecx, 0x104
lea ebx, [esp + 0xa5c]
call fcn.100024a0
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.1000d630
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.100024a0
add esp, 0x18
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x20]
push edx
call fcn.100033f0
mov esi, dword [0x10024598]
sub esi, dword [0x10024594]
inc edi
sar esi, 2
add esp, 4
cmp edi, esi
jb 0x1000145e
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 0x10001622
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.1000c28b
add esp, 0x505c
ret