Function at 0x4486f0
Capabilities:
Create service
Modify service
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x448745
mov dword [ebp - 0x14], 0
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x14]
jmp 0x4489a6
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4487cd
lea ecx, [ebp + 0x18]
call fcn.0041cc40
movzx ecx, al
test ecx, ecx
je 0x44877e
mov dword [ebp - 0x2c], 0
jmp 0x448789
lea ecx, [ebp + 0x18]
call fcn.0041cbc0
mov dword [ebp - 0x2c], eax
push 0
push 0
push 0x582364
push 0
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp + 0x10]
call fcn.0041cb20
push eax
push 1
mov eax, dword [ebp + 0x14]
push eax
push 0x10
push 0xf01ff
lea ecx, [ebp + 0xc]
call fcn.0041cb20
push eax
lea ecx, [ebp + 8]
call fcn.0041cb20
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x448814
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x18]
jmp 0x4489a6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 0x14]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x448883
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x1c]
jmp 0x4489a6
mov dword [ebp - 0xc], 0
lea ecx, [ebp + 0x1c]
call fcn.0041cbc0
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x4488f4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x20], 0
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x20]
jmp 0x4489a6
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x448960
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x420
je 0x448960
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x24], 0
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x24]
jmp 0x4489a6
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x28], 1
lea ecx, [ebp + 8]
call fcn.0040f740
lea ecx, [ebp + 0xc]
call fcn.0040f740
lea ecx, [ebp + 0x10]
call fcn.0040f740
lea ecx, [ebp + 0x18]
call fcn.0040f740
lea ecx, [ebp + 0x1c]
call fcn.0040f740
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret