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

Disassembly:
push 0xffffffffffffffff
push 0x1001c3e1
mov eax, dword fs:[0]
push eax
mov eax, 0x5050
call fcn.10018f80
mov eax, dword [0x100341b0]
xor eax, esp
mov dword [esp + 0x504c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100341b0]
xor eax, esp
push eax
lea eax, [esp + 0x5064]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.10004b30
push 0x208
lea eax, [esp + 0xe5c]
push 0
push eax
mov dword [esp + 0x5078], 0
call fcn.1000e5a0
mov ecx, dword [esp + 0x20]
push ecx
push str._sSoftMgr360OptExt.ini
mov ecx, 0x104
lea ebx, [esp + 0xe6c]
call fcn.10002cb0
push 0x4000
lea edx, [esp + 0x1078]
push 0
push edx
call fcn.1000e5a0
add esp, 0x20
mov eax, ebx
push eax
push 0x2000
lea ecx, [esp + 0x1068]
push ecx
push 0x1002fe34
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.1000e5a0
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 0x100015d0
mov esi, dword [esp + 0x24]
push 0x208
lea ecx, [esp + 0x434]
push 0
push ecx
call fcn.1000e5a0
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.1000e5a0
add esp, 0xc
lea ebx, [esp + 0x638]
cmp esi, 6
jb 0x1000162d
movzx ecx, word [esp + 0x430]
push ecx
push str._C:UsersDefaultAppDataLocalTemp
jmp 0x1000163b
movzx edx, word [esp + 0x430]
push edx
push str._C:Documents_and_SettingsDefault_UserLocal_SettingsTemp
mov ecx, 0x104
call fcn.10002cb0
add esp, 8
test edi, edi
jbe 0x100018ac
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x10030088
call fcn.10002c00
lea ecx, [esp + 0x18]
push ecx
mov bl, 1
lea ecx, [esp + 0x1064]
mov byte [esp + 0x5070], bl
call fcn.10002c00
push 0x100366f0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x5078], 2
call fcn.10005bb0
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 0x100016bf
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 0x100016e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x10036700]
sub esi, dword [0x100366fc]
sar esi, 2
test esi, esi
jbe 0x100018ac
xor edi, edi
test esi, esi
jbe 0x100018ac
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.1000e5a0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.1000e5a0
add esp, 0x18
cmp edi, esi
jb 0x1000174e
call fcn.1000d790
mov edx, dword [0x100366fc]
mov eax, dword [edx + edi*4]
lea edx, [esp + 0x228]
call fcn.100026e0
lea eax, [esp + 0x228]
lea ecx, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x10001770
sub eax, ecx
push 0x104
lea ecx, [esp + 0x24]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x234]
push edx
call fcn.100048e0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xc6a]
push ecx
mov word [esp + 0xc6c], ax
call fcn.1000e5a0
lea edx, [esp + 0x3c]
push edx
push str.SYSTEMCurrentControlSet_services
push 0x1003008c
mov ecx, 0x104
lea ebx, [esp + 0xc78]
call fcn.10002cb0
add esp, 0x28
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.1000e5a0
lea ecx, [esp + 0x2c]
push ecx
push str.SYSTEMCurrentControlSetEnumRootLEGACY__s
mov ecx, 0x104
lea ebx, [esp + 0xa5c]
call fcn.10002cb0
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.1000e5a0
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.10002cb0
add esp, 0x18
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x20]
push edx
call fcn.100039c0
mov esi, dword [0x10036700]
sub esi, dword [0x100366fc]
inc edi
sar esi, 2
add esp, 4
cmp edi, esi
jb 0x1000170e
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 0x100018d7
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.1000d16f
add esp, 0x505c
ret