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

Disassembly:
push rbp
sub rsp, 0x390
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x308], 0xfffffffffffffffe
mov qword [rbp + 0x88], rcx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x2e8], 0
mov qword [rbp + 0x2f0], 0
mov qword [rbp + 0x2d8], 0
mov qword [rbp + 0x2e0], 0
xor eax, eax
mov edx, eax
mov r8d, 2
mov rcx, rdx
call sub.advapi32.dll_OpenSCManagerW
mov rcx, rax
mov qword [rbp + 0x98], rcx
mov qword [rbp + 0x228], rcx
call fcn.140008120
test al, 1
jne 0x140001493
call fcn.140009700
mov qword [rbp + 0x70], rax
mov r8, rdx
mov rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0xa0]
mov qword [rbp + 0x78], rcx
call fcn.140009760
mov rcx, qword [rbp + 0x78]
call fcn.140007ef0
mov qword [rbp + 0x80], rax
jmp 0x1400014a6
mov rax, qword [rbp + 0x88]
mov qword [rax], 0
jmp 0x14000158c
mov rdx, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x98]
mov r8d, 0xf01ff
call sub.advapi32.dll_OpenServiceW
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x230], rax
lea rcx, [rbp + 0xa0]
call fcn.14000bbc0
mov rcx, qword [rbp + 0x68]
call fcn.140008120
test al, 1
jne 0x140001531
lea rcx, [rbp + 0x1f8]
lea rdx, str.____Service_already_exists._n
call fcn.14000f5b0
lea rcx, [rbp + 0x1f8]
call fcn.14007e960
mov rcx, qword [rbp + 0x98]
call sub.advapi32.dll_CloseServiceHandle
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x88]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
mov qword [rax], 1
jmp 0x14000158c
lea rcx, [rbp + 0xb8]
mov qword [rbp + 0x50], rcx
call fcn.1400098e0
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x280], rcx
lea rax, [0x140009500]
mov qword [rbp + 0x288], rax
mov qword [rbp + 0x290], rcx
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x278], rax
movups xmm0, xmmword [rbp + 0x270]
movaps xmmword [rbp + 0x150], xmm0
call fcn.140009710
mov qword [rbp + 0x58], rdx
mov qword [rbp + 0x60], rax
jmp 0x14000159c
mov rax, qword [rbp + 0x90]
add rsp, 0x390
pop rbp
ret
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x170], rcx
mov qword [rbp + 0x178], rax
lea rcx, [rbp + 0x170]
mov qword [rbp + 0x258], rcx
lea rax, [0x14000e3a0]
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rcx
mov qword [rbp + 0x248], rcx
mov qword [rbp + 0x250], rax
movups xmm0, xmmword [rbp + 0x248]
movaps xmmword [rbp + 0x160], xmm0
movaps xmm0, xmmword [rbp + 0x150]
movaps xmmword [rbp + 0x130], xmm0
movaps xmm0, xmmword [rbp + 0x160]
movups xmmword [rbp + 0x140], xmm0
lea rdx, [0x140097630]
lea rcx, [rbp + 0x100]
lea r8, [rbp + 0x130]
call fcn.14000f4c0
jmp 0x140001629
lea rcx, [rbp + 0xe8]
lea rdx, [rbp + 0x100]
call fcn.140002020
jmp 0x14000163e
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xe0], rax
movups xmm0, xmmword [rbp + 0xe8]
movaps xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1400095b0
mov qword [rbp + 0x40], rdx
mov qword [rbp + 0x48], rax
jmp 0x140001670
mov r8, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x180]
call fcn.140009760
jmp 0x140001686
lea rcx, [rbp + 0x180]
call fcn.140007ef0
mov qword [rbp + 0x38], rax
jmp 0x140001698
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x238], rax
call fcn.140009700
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], rax
jmp 0x1400016b2
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x198]
call fcn.140009760
jmp 0x1400016c8
lea rcx, [rbp + 0x198]
call fcn.140007ef0
mov qword [rbp + 0x20], rax
jmp 0x1400016da
call fcn.140009700
mov qword [rbp + 0x10], rdx
mov qword [rbp + 0x18], rax
jmp 0x1400016e9
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x1b0]
call fcn.140009760
jmp 0x1400016ff
lea rcx, [rbp + 0x1b0]
call fcn.140007ef0
mov qword [rbp + 8], rax
jmp 0x140001711
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x98]
mov r9, qword [rbp + 0x38]
mov qword [rbp + 0x2c8], 0
mov qword [rbp + 0x2d0], 0
mov qword [rbp + 0x2f8], 0
mov qword [rbp + 0x300], 0
mov qword [rbp + 0x2b8], 0
mov qword [rbp + 0x2c0], 0
mov qword [rbp + 0x2a8], 0
mov qword [rbp + 0x2b0], 0
mov qword [rbp + 0x298], 0
mov qword [rbp + 0x2a0], 0
mov rax, rsp
mov qword [rbp - 8], rax
mov qword [rax + 0x38], r9
mov qword [rax + 0x60], 0
mov qword [rax + 0x58], 0
mov qword [rax + 0x50], 0
mov qword [rax + 0x48], 0
mov qword [rax + 0x40], 0
mov dword [rax + 0x30], 1
mov dword [rax + 0x28], 2
mov dword [rax + 0x20], 1
mov r9d, 0xf01ff
call sub.advapi32.dll_CreateServiceW
mov rcx, rax
mov qword [rbp], rcx
mov qword [rbp + 0x240], rax
lea rcx, [rbp + 0x1b0]
call fcn.14000bbc0
jmp 0x140001801
lea rcx, [rbp + 0x198]
call fcn.14000bbc0
jmp 0x14000180f
mov rcx, qword [rbp]
call fcn.140008120
mov byte [rbp - 9], al
jmp 0x14000181d
mov al, byte [rbp - 9]
test al, 1
jne 0x140001834
jmp 0x140001826
lea rcx, [rbp + 0x180]
call fcn.14000bbc0
jmp 0x140001849
lea rdx, str.Pv_t_
lea rcx, [rbp + 0x1c8]
call fcn.14000f5b0
jmp 0x140001889
lea rcx, [rbp + 0xd0]
call fcn.140013dd0
jmp 0x140001857
lea rcx, [rbp + 0xb8]
call fcn.140013dd0
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rbp + 0x88]
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rcx
mov qword [rax], 1
jmp 0x14000158c
lea rcx, [rbp + 0x1c8]
call fcn.14007e960
jmp 0x140001897
mov rcx, qword [rbp + 0x98]
call sub.advapi32.dll_CloseServiceHandle
mov rax, qword [rbp + 0x88]
mov qword [rax], 0
lea rcx, [rbp + 0x180]
call fcn.14000bbc0
jmp 0x1400018bf
lea rcx, [rbp + 0xd0]
call fcn.140013dd0
jmp 0x1400018cd
lea rcx, [rbp + 0xb8]
call fcn.140013dd0
jmp 0x14000158c