Function at 0x1000aa00
Capabilities:
Check if file exists
Create service
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10024b72
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x1002e210]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002e210]
xor eax, esp
push eax
lea eax, [esp + 0x64c]
mov dword fs:[0], eax
mov edi, 0x208
push edi
xor ebp, ebp
lea eax, [esp + 0x23c]
push ebp
push eax
mov esi, ecx
call fcn.10016010
push esi
push 0x10028bb0
push str._s_s
mov ecx, 0x104
lea ebx, [esp + 0x250]
call fcn.100099c0
push edi
lea ecx, [esp + 0x45c]
push ebp
push ecx
call fcn.10016010
push esi
push 0x10028be8
push str._s_s
mov ecx, 0x104
lea ebx, [esp + 0x470]
call fcn.100099c0
push edi
lea edx, [esp + 0x64]
push ebp
push edx
call fcn.10016010
add esp, 0x3c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x23c]
push ecx
push 0x80000002
mov dword [esp + 0x30], 4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000ab9a
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
push str.ImagePath
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [ebp + 1]
test eax, eax
je 0x1000abe4
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.1000a1c0
push ebx
push 0x1002a270
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x660], ebp
call fcn.10008320
push 9
push str.ImagePath
lea edx, [esp + 0x1c]
push edx
call fcn.10008320
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push str.SOFTWARE360Safe_softmgrDisableSVC3
push 0x80000002
mov dword [esp + 0x34], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1000aba4
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x654], 0xffffffff
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 0x1000ab9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
jmp 0x1000aed4
mov ecx, dword [esp + 0x14]
push ecx
push str.SOFTWARE360Safe_softmgrDisableSVC3
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov dword [esp + 0x654], 0xffffffff
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 0x1000abe4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1c]
call fcn.1000b470
add esp, 4
mov dword [esp + 0x654], ebx
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], ebx
jle 0x1000ac17
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.10009fb0
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebp
test eax, eax
jne 0x1000acd8
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 4], ebx
jle 0x1000ac43
mov eax, dword [ecx - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10009fb0
mov ecx, dword [esp + 0x18]
lea edi, [esp + 0x14]
call fcn.1000afa0
mov byte [esp + 0x654], 2
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], ebx
jle 0x1000ac6d
mov edx, dword [eax - 0xc]
push edx
mov eax, edi
push eax
call fcn.10009fb0
mov eax, dword [esp + 0x14]
push eax
call ebp
or edx, 0xffffffff
mov byte [esp + 0x654], bl
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x1000acbf
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ac9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x654], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1000ab8e
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000acd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 4], ebx
jle 0x1000acf3
mov ecx, dword [ecx - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.10009fb0
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x30]
call fcn.1000b470
add esp, 4
lea edi, [esp + 0x18]
mov byte [esp + 0x654], 3
call fcn.100079b0
mov byte [esp + 0x654], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ad39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.1000a1c0
mov ebp, 0x208
push ebp
lea edx, [esp + 0x34]
push 0
mov byte [esp + 0x65c], 4
push edx
mov dword [esp + 0x28], ebp
call fcn.10016010
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0x1002a274
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ad98
lea edx, [esp + 0x30]
lea edi, [esp + 0x28]
call fcn.1000a180
mov edx, dword [0x10075568]
mov eax, dword [edx + 0xc]
mov ecx, 0x10075568
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push ebp
lea ecx, [esp + 0x34]
push 0
mov byte [esp + 0x65c], 5
push ecx
mov dword [esp + 0x28], ebp
call fcn.10016010
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.Group
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ae01
lea edx, [esp + 0x30]
lea edi, [esp + 0x14]
call fcn.1000a180
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xe00f003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x1000ae5c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x65c]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
push edi
push ecx
push ebx
push 3
push edx
push 0xf01ff
push eax
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x1000ae59
push eax
call esi
push ebp
call esi
lea eax, [edi - 0x10]
mov byte [esp + 0x654], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ae80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x654], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000aea7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x654], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000aed2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x64c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x634]
xor ecx, esp
call fcn.10014422
add esp, 0x644
ret