Function at 0x417c80
Capabilities:
Create service
Disable system features via registry on windows
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x448d60]
xor eax, ebp
mov dword [ebp - 0xc], eax
push str.ContinentTLS:_install_..._n
call fcn.0040e130
add esp, 4
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x417cd1
push str.GetModuleFileName
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e240
add esp, 8
jmp 0x417f51
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x417cff
push 0x4392d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e240
add esp, 8
jmp 0x417f51
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
push 1
push 2
push 0x110
push 0xf01ff
push str.ContinentTLS
push str.ContinentTLS
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x417d59
push str.CreateService
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e240
add esp, 8
jmp 0x417f51
push str.ContinentTLS
push str.SYSTEMCurrentControlSetServicesEventLogApplication_s
lea eax, [ebp - 0x220]
push eax
call fcn.0042a738
add esp, 0xc
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x11c]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x417ef1
lea ecx, [ebp - 0x118]
push ecx
call fcn.0042ad30
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x118]
push edx
push 2
push 0
push str.EventMessageFile
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x224], 7
push 4
lea ecx, [ebp - 0x224]
push ecx
push 4
push 0
push str.TypesSupported
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x224], 2
push 4
lea eax, [ebp - 0x224]
push eax
push 4
push 0
push str.CategoryCount
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [ebp - 0x118]
push edx
call fcn.0042ad30
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x118]
push eax
push 2
push 0
push str.CategoryMessageFile
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx eax, byte [0x448010]
test eax, eax
je 0x417ef1
push str.ContinentTLS
push str.SYSTEMCurrentControlSetServices_s
lea ecx, [ebp - 0x220]
push ecx
call fcn.0042a738
add esp, 0xc
lea edx, [ebp - 0x11c]
push edx
push 0x2001f
push 0
lea eax, [ebp - 0x220]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417ef1
push 0x448010
call fcn.0042ad30
add esp, 4
add eax, 1
push eax
push 0x448010
push 1
push 0
push str.Description
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push str.ContinentTLS
push 0x64
push 4
call fcn.0040e190
add esp, 0x14
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x417f2e
push str.StartService
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e240
add esp, 8
jmp 0x417f51
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.ContinentTLS:_install:_done_n
call fcn.0040e130
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042a637
mov esp, ebp
pop ebp
ret