Function at 0x441a50
Capabilities:
Create service
Delete service
Get common file path
Persist via windows service
Query service status
Start service
Write file on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x468600]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x154]
push ebp
push edi
mov edi, dword [esp + 0x150]
xor ebp, ebp
push 0xf003f
push ebp
push ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x441abb
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00427f57
add esp, 0x144
ret
push ebx
push esi
push 0xf01ff
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebp
je 0x441b2f
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x441cf0
mov ebx, 1
cmp dword [esp + 0x34], ebx
je 0x441b17
lea eax, [esp + 0x30]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x441cf0
cmp dword [esp + 0x34], ebx
je 0x441b17
mov dword [esp + 0x10], 0x425
jmp 0x441cfa
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x441cf0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x441b48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp eax, 0x424
jne 0x441d05
mov dword [esp + 0x10], ebp
push 0x454b4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x441b75
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x459060
push esi
call ebp
push str.Wow64EnableWow64FsRedirection
push esi
mov ebx, eax
call ebp
mov ebp, eax
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x441ba7
test ebp, ebp
je 0x441ba7
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
cmp dword [esp + 0x18], 0
je 0x441ba7
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x28]
jmp 0x441bb2
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call fcn.0044b270
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
jne 0x441bd6
mov dword [esp + 0x10], 0xd
jmp 0x441d05
cmp dword [esp + 0x18], 0
je 0x441be1
push 0
call ebp
push 0x104
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441bf8
sub eax, edx
push edi
lea ecx, [esp + eax + 0x50]
push str.drivers_s.sys
push ecx
call fcn.00448df0
add esp, 0xc
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x441c68
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x441c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x441c72
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], 0
je 0x441c7d
push 1
call ebp
mov eax, dword [esp + 0x1c]
push eax
call fcn.004297a2
add esp, 4
cmp dword [esp + 0x14], 0
je 0x441d05
push edi
lea ecx, [esp + 0x50]
push str.system32drivers_s.sys
push ecx
call fcn.00448df0
add esp, 0xc
push 0
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x60]
push edx
push 0
push 2
push 1
push 0xf01ff
push edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x441cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], esi
jmp 0x441cf6
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x441cfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
test esi, esi
je 0x441d05
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x14]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
call fcn.00427f57
add esp, 0x144
ret