Function at 0x15c43e0
Capabilities:
Create service
Persist via windows service

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r15, r8
mov r14, rdx
mov r12, rcx
xor edi, edi
mov r13, rdi
mov qword [rax - 0x50], rdi
mov rbx, rdi
mov qword [rax - 0x58], rbx
mov qword [rax - 0x60], rdi
mov ecx, 0x410
call sub.MSVCR80.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x15c4468
mov dword [rsp + 0xf8], edi
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, 0xc1030001
call fcn.0124e580
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
xor edx, edx
mov r8d, 0x410
mov rcx, rax
call sub.MSVCR80.dll_memset
lea r8, [0x0156e054]
mov edx, 0x208
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll_wcscat_s]
lea rdx, [rsi + 2]
xor ecx, ecx
mov r8d, 0x206
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x15c44d0
mov dword [rsp + 0xf8], edi
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, 0xc1010000
call fcn.0124e580
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
mov word [rsi + 0x40e], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rcx, 0x206
jl 0x15c4518
lea r8, [0x015c48e0]
mov edx, 0xaad
lea rcx, [0x0156dfe0]
call fcn.017eea00
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
lea r8, [0x0156e054]
mov edx, 0x208
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll_wcscat_s]
mov qword [rsp + 0x90], 2
mov rdx, qword [0x01580f70]
mov rcx, r14
call qword [sym.imp.MSVCR80.dll__wcsicmp]
mov ebx, 2
mov ecx, 3
test eax, eax
cmovne rbx, rcx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rbx
nop
nop
movsxd rax, dword [r12 + 0x10]
cmp rbx, rax
jge 0x15c45ef
mov rdi, qword [r12 + 0x18]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, qword [rdi + rbx*8]
repne scasw ax, word [rdi]
not rcx
lea rdx, [rcx - 1]
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov eax, 0x207
sub rax, rcx
add rax, 2
cmp rdx, rax
jg 0x15c45ef
lea r8, [0x0156dfd8]
mov edx, 0x208
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll_wcscat_s]
mov r8, qword [r12 + 0x18]
mov r8, qword [r8 + rbx*8]
mov edx, 0x208
mov rcx, rsi
call qword [sym.imp.MSVCR80.dll_wcscat_s]
add rbx, 1
mov qword [rsp + 0x98], rbx
jmp 0x15c4570
mov word [rsi + 0x40e], 0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x15c4650
lea rcx, [0x015c48b0]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov dword [rsp + 0xf8], ebx
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc1010000
call fcn.0124e580
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, r14
mov rdx, rax
mov rcx, r12
call fcn.015c2eb0
mov edi, eax
mov dword [rsp + 0x70], eax
test eax, eax
jns 0x15c4679
jmp 0x15c47a0
test eax, eax
jne 0x15c46bb
lea rcx, [0x015c4840]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc1010000
call fcn.0124e580
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
lea rax, [0x01187df8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, 0xf01ff
mov r8, r15
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r13, rax
mov qword [rsp + 0x88], rax
test rax, rax
jne 0x15c4756
lea rcx, [0x015c4808]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov dword [rsp + 0xf8], edi
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov ecx, 0xc1010000
call fcn.0124e580
mov edi, eax
mov dword [rsp + 0x70], eax
jmp 0x15c47a0
mov rdx, r15
lea rcx, [0x015c47e8]
call qword [sym.imp.MSVCR80.dll_wprintf]
mov dword [rsp + 0x70], edi
jmp 0x15c47a0
test rsi, rsi
je 0x15c47ad
mov rcx, rsi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void____ptr64_
test r13, r13
je 0x15c47bb
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x15c47c9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret