Function at 0x10001ad5
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Modify service

Disassembly:
sub esp, 0x460
mov eax, dword [0x1001900c]
xor eax, esp
mov dword [esp + 0x45c], eax
mov eax, dword [esp + 0x470]
mov dword [0x10019858], eax
mov eax, dword [esp + 0x46c]
push ebx
mov dword [0x1001985c], eax
xor ebx, ebx
mov eax, dword [esp + 0x46c]
push 0x400
mov dword [0x10019860], eax
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.10004be0
lea eax, [esp + 0x6c]
push eax
call fcn.100019e6
add esp, 0x10
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10001d4d
call fcn.10001512
push eax
lea ecx, [esp + 0xc]
call fcn.10001095
lea eax, [esp + 0x60]
mov dword [esp + 0x54], 0x76726573
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x5c], 0x656369
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x58], 0x2d207325
push eax
call fcn.10001468
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [esp + 8]
call fcn.100010bb
mov eax, dword [esp + 4]
cmp dword [eax - 4], 1
jle 0x10001bad
push dword [eax - 0xc]
lea ecx, [esp + 8]
call fcn.100013fc
mov eax, dword [esp + 4]
push ebp
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.10001840
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.10001307
pop ecx
push 2
push ebx
lea esi, [eax + 0x10]
push ebx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
jne 0x10001c0b
lea ecx, [esi - 0x10]
call fcn.10001828
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10001828
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10001828
jmp 0x10001d4b
push edi
lea eax, [esp + 0x4c]
mov dword [esp + 0x4f], 0x33697061
push eax
mov dword [esp + 0x57], 0x6c642e32
mov word [esp + 0x50], 0x6441
mov word [esp + 0x5b], 0x6c
mov byte [esp + 0x52], 0x76
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10001d27
lea ecx, [esp + 0x24]
mov byte [esp + 0x32], bl
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push eax
mov dword [esp + 0x2c], 0x61657243
mov dword [esp + 0x36], 0x41656369
mov word [esp + 0x31], 0x5365
mov word [esp + 0x34], 0x7672
mov byte [esp + 0x30], 0x74
mov byte [esp + 0x33], 0x65
call ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x40], 0x72617453
mov dword [esp + 0x45], 0x76726553
mov word [esp + 0x4c], 0x41
mov word [esp + 0x49], 0x6369
mov byte [esp + 0x4b], 0x65
mov byte [esp + 0x44], 0x74
call ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10001d27
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edi
push 1
push 2
push 0x10
push 0xf01ff
push esi
push dword [esp + 0x3c]
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x10001d27
cmp dword [esi - 4], 1
jle 0x10001cfe
push dword [esi - 0xc]
lea ecx, [esp + 0x20]
call fcn.100013fc
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push 0
push 0
push ebx
call dword [esp + 0x2c]
push ebx
call fcn.1000188f
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esi - 0x10]
call fcn.10001828
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10001828
lea ecx, [edi - 0x10]
call fcn.10001828
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x460]
pop ebx
xor ecx, esp
call fcn.1000255d
add esp, 0x460
ret