Function at 0x14001a150
Capabilities:
Delete file
Delete service
Encode data using xor
Execute command
Query service status
Stop service
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140112718]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov eax, dword [str.PXF6]
xor esi, esi
cmp byte [0x1400f9133], sil
mov rbx, rcx
mov edi, dword [reloc.WS2_32.dll_accept]
mov dword [rbp - 0x19], eax
lea r14d, [rsi + 5]
lea r15d, [rsi + 0x1f]
je 0x14001a274
cmp edi, 2
jl 0x14001a239
movdqa xmm3, xmmword [0x1400fe540]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400fe730]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400fe730]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400fe5d0]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400fe690]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
jmp 0x14001a274
lea r9, [rbp - 0x19]
mov r8d, esi
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x14001a240
lea rcx, [rbp - 0x19]
movaps xmmword [rsp + 0x90], xmm6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, dword [0x1400f9f80]
mov r8d, esi
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [rbp - 1], eax
movzx eax, word [0x1400f9f84]
mov word [rbp + 3], ax
movzx eax, byte [0x1400f9f86]
mov byte [rbp + 5], al
movups xmm0, xmmword [str.p_RWE]
movups xmmword [rbp - 0x11], xmm0
cmp edi, 2
jl 0x14001a42b
movdqa xmm0, xmmword [0x1400fe690]
lea rcx, [rbp - 0xd]
movdqa xmm5, xmmword [0x1400fe540]
movdqa xmm4, xmmword [0x1400fe730]
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x1400fe5d0]
movdqa xmmword [rbp - 0x29], xmm0
mov edx, dword [rbp - 0x29]
movaps xmmword [rsp + 0x70], xmm8
movd xmm6, r14d
movd xmm8, r15d
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400fe670]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fe670]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x14001a310
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
cmp r8d, 0x17
jge 0x14001a474
movsxd rax, r8d
lea r9, [rbp - 0x11]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x17
jl 0x14001a440
lea rdx, [rbp - 0x11]
mov rcx, r10
call fcn.140026650
mov eax, dword [str.wtd_a]
lea rcx, [rbp - 0x19]
mov dword [rbp - 0x19], eax
xor edx, edx
movzx eax, word [0x1400fe214]
xor byte [rbp - 0x18], 0x31
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
mov word [rbp - 0x15], ax
movzx eax, byte [0x1400fe216]
xor byte [rbp - 0x15], 0x34
xor al, 0x36
xor byte [rbp - 0x14], 0x35
mov byte [rbp - 0x13], al
mov byte [rbp - 0x19], 0x47
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14001a6e5
cmp byte [0x1401145d1], sil
jne 0x14001a6e5
movsd xmm1, qword [0x1400fe4e8]
xorps xmm0, xmm0
ucomisd xmm0, xmm1
mov byte [reloc.WS2_32.dll_accept], sil
mov byte [0x1401145d2], sil
mov byte [0x1401145d3], sil
ja 0x14001a506
sqrtpd xmm0, xmm1
jmp 0x14001a50e
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm1, xmm0
mov rcx, rbx
call fcn.140019d70
movsd xmm1, qword [0x1400fe500]
movaps xmm2, xmm1
call fcn.140019e20
cmp byte [0x140114618], sil
jne 0x14001a6a1
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
je 0x14001a6cf
cmp byte [reloc.WS2_32.dll_gethostname], 0
movsd xmm0, qword [0x1400fa280]
movzx ecx, word [0x1400fa288]
movsd qword [rbp - 0x29], xmm0
mov word [rbp - 0x21], cx
je 0x14001a59b
xor byte [rbp - 0x28], 0x31
xor byte [rbp - 0x27], 0x32
xor byte [rbp - 0x26], 0x33
xor byte [rbp - 0x25], 0x34
xor byte [rbp - 0x24], 0x35
xor byte [rbp - 0x23], 0x36
xor byte [rbp - 0x22], 0x37
xor byte [rbp - 0x21], 0x38
xor byte [rbp - 0x20], 0x39
mov byte [rbp - 0x29], 0x57
mov r8d, 0xf01ff
lea rdx, [rbp - 0x29]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x14001a6c6
lea rdx, [rbp - 0x11]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14001a6bd
cmp dword [rbp - 0xd], 2
jne 0x14001a68f
lea r8, [rbp - 0x11]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14001a6bd
cmp dword [rbp - 0xd], 2
jne 0x14001a682
movabs r15, 0x7fffffffe2329afe
movabs r14, 0x7fffffffffffffff
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14001a62f
imul rax, rax, 0x64
jmp 0x14001a64d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r15
jg 0x14001a65e
add rax, 0x1dcd6500
mov qword [rbp - 0x19], rax
jmp 0x14001a662
mov qword [rbp - 0x19], r14
lea rcx, [rbp - 0x19]
call fcn.14002d590
lea rdx, [rbp - 0x11]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14001a6bd
cmp dword [rbp - 0xd], 2
je 0x14001a611
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x14001a6bd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rcx, [0x140114ad0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [0x140114be0]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x14001a6cf
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp byte [0x1401145d1], 0
jne 0x14001a8aa
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsd xmm1, qword [0x1400fe4e8]
xorps xmm0, xmm0
ucomisd xmm0, xmm1
ja 0x14001a6fc
sqrtpd xmm6, xmm1
jmp 0x14001a707
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
movaps xmm6, xmm0
mov r9, qword [0x140112830]
movaps xmm1, xmm6
sub r9, qword [0x140112828]
mov rcx, rbx
sar r9, 4
call fcn.1400271a0
mov r9, qword [0x140112800]
movaps xmm1, xmm6
sub r9, qword [0x1401127f8]
mov rcx, rbx
sar r9, 4
call fcn.140027470
mov rcx, qword [0x140112860]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, qword [0x140112858]
movsd xmm0, qword [0x1400fe500]
imul rcx
movsd qword [rbp - 0x19], xmm0
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rdi, edx
test edx, edx
js 0x14001a6cf
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop word [rax + rax]
mov ecx, Ordinal_50
call fcn.1400c1680
mov qword [rbp - 0x11], rax
mov r8, rax
mov r9d, 8
mov qword [rsp + 0x20], rsi
lea rcx, [rax + 0x30]
mov qword [rbp - 1], rcx
lea rcx, [rax + 0x30]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], rsi
mov rdx, qword [0x140112858]
mov rax, qword [rbp - 0x11]
mov qword [rbp - 9], rcx
mov rcx, qword [rbx + rdx + 0x10]
mov qword [rax], rcx
mov rax, qword [rbx + rdx + 8]
mov qword [r8 + 0x10], rax
mov rax, qword [rbx + rdx]
mov qword [r8 + 0x20], rax
lea r8, [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rcx, qword [0x140114958]
mov rdx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140114958]
mov r9d, 8
mov qword [rsp + 0x20], rsi
mov rdx, qword [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbp - 0x11]
lea r8, [rbp - 0x19]
mov rcx, qword [0x140114958]
mov r9d, 8
mov qword [rsp + 0x20], rsi
mov rdx, qword [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14001a890
mov rdx, qword [rbp - 1]
mov rax, rcx
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x14001a88b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r15
ja 0x14001a8a3
call fcn.1400c19dc
sub rbx, 0x18
sub rdi, 1
jns 0x14001a790
jmp 0x14001a6cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005de90
int3