Function at 0x458dec
Capabilities:
Copy file
Create service
Delete file
Delete service
Get common file path
Persist via windows service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc68
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x398], ebx
mov dword [ebp - 0x394], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x459144
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x459158
lea edi, [ebp - 0x271]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
cmp dword [0x466118], 0xffffffff
jne 0x4590a7
call sub.kernel32.dll_GetVersion
mov esi, eax
cmp esi, 0x80000000
jae 0x458e55
mov edi, 0x459258
jmp 0x458e5a
mov edi, 0x459268
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push edi
call sub.kernel32.dll_CreateFileA_1
mov dword [0x466118], eax
cmp dword [0x466118], 0xffffffff
jne 0x4590a7
cmp esi, 0x80000000
jb 0x458ee1
mov edi, 0x459278
push 0
push 0x4000000
push 1
push 0
push 0
push 0
push edi
call sub.kernel32.dll_CreateFileA_1
mov dword [0x466118], eax
cmp dword [0x466118], 0xffffffff
jne 0x4590a7
call sub.kernel32.dll_GetLastError_1
mov word [ebp - 0x12], ax
cmp word [ebp - 0x12], 0x32
jne 0x458ece
push edi
call sub.kernel32.dll_DeleteFileA
mov bx, 2
mov dword [0x466118], 0xffffffff
jmp 0x459126
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x458f01
mov bx, 0xffff
jmp 0x459126
push pe_nt_image_headers32
lea eax, [ebp - 0x171]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, 0x45928c
lea eax, [ebp - 0x171]
call fcn.00408c00
lea eax, [ebp - 0x394]
lea edx, [ebp - 0x171]
mov ecx, pe_nt_image_headers32
call fcn.00404518
mov eax, dword [ebp - 0x394]
call fcn.004089e8
test al, al
je 0x458f83
push 0xf01ff
lea eax, [ebp - 0x271]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x458ff0
lea eax, [ebp - 0x390]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
push esi
call sub.advapi32.dll_DeleteService
push esi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x458ff0
lea eax, [ebp - 0x371]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetCurrentDirectoryA
mov edx, 0x4592a4
lea eax, [ebp - 0x371]
call fcn.00408c00
lea eax, [ebp - 0x398]
lea edx, [ebp - 0x371]
mov ecx, pe_nt_image_headers32
call fcn.00404518
mov eax, dword [ebp - 0x398]
call fcn.004089e8
test al, al
jne 0x458fdb
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CloseServiceHandle
mov bx, 2
jmp 0x459126
push 0
lea eax, [ebp - 0x171]
push eax
lea eax, [ebp - 0x371]
push eax
call sub.kernel32.dll_CopyFileA
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x171]
push eax
push 1
push 2
push 1
push 0xf01ff
lea eax, [ebp - 0x271]
push eax
lea eax, [ebp - 0x271]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CreateServiceA
push 0xf01ff
lea eax, [ebp - 0x271]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_OpenServiceA
mov esi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x459059
mov bx, 0xffff
push esi
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_CloseServiceHandle
push 0x3e8
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x4592b4
call sub.kernel32.dll_CreateFileA_1
mov dword [0x466118], eax
cmp dword [0x466118], 0xffffffff
jne 0x4590a0
mov bx, 0xffff
cmp word [ebp - 0x12], 0
jne 0x459126
movzx eax, word [ebp - 2]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x71]
lea eax, [ebp - 0x48]
call fcn.00458bb0
mov eax, 0xa410e400
mov word [ebp - 0x12], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 2
lea edx, [ebp - 0x12]
push edx
push 0x28
lea edx, [ebp - 0x71]
push edx
push eax
mov eax, dword [0x466118]
push eax
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x459122
mov bx, 0xffff
jmp 0x459126
mov bx, word [ebp - 0x12]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45914b
lea eax, [ebp - 0x398]
mov edx, 2
call fcn.004042d4
ret