Function at 0x468490
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
mov ecx, 0x40
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4684b0
push 0x104
lea eax, [ebp - 0x148]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46850d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.GetModuleFileName_error_is___d_n
push str.Forward_server.exe
push 0x1e8
push str.E:ProjectsForwardForwardForward_server.cpp
push str.InstallService
call fcn.004688e0
add esp, 0x18
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469073
mov esp, ebp
pop ebp
ret
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x46855f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.OpenSCManagerW_error_is___d_n
push str.Forward_server.exe
push 0x1f0
push str.E:ProjectsForwardForwardForward_server.cpp
push str.InstallService
call fcn.004688e0
add esp, 0x18
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469073
mov esp, ebp
pop ebp
ret
push edi
push 0xf003f
push 0x485548
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x4685bd
push str.Service_Already_Created_n
call fcn.00468e40
add esp, 4
mov dword [ebp - 0x150], esi
lea eax, [ebp - 0x150]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x46864e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_set_description_is___d_n
push str.Forward_server.exe
push 0x201
jmp 0x468686
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x148]
push eax
push 0
push 2
push 0x10
push 0xf003f
push 0x485548
push 0x485548
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, eax
test edi, edi
jne 0x468634
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.CreateServiceW_error_is___d_n
push str.Forward_server.exe
push 0x21a
push str.E:ProjectsForwardForwardForward_server.cpp
push str.InstallService
call fcn.004688e0
add esp, 0x18
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop ebx
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00469073
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], esi
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
je 0x468670
push str.Description_set_successfully_n
call fcn.00468e40
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 4
push edi
call esi
mov dword [ebp - 0x14c], 0
jmp 0x4686a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_set_description_is___d_n
push str.Forward_server.exe
push 0x226
push str.E:ProjectsForwardForwardForward_server.cpp
push str.InstallService
mov dword [ebp - 0x14c], eax
call fcn.004688e0
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esp, 0x18
push ebx
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14c]
xor ecx, ebp
pop edi
pop ebx
pop esi
call fcn.00469073
mov esp, ebp
pop ebp
ret