Function at 0x14004dff0
Capabilities:
Check if file exists
Encode data using xor
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x140199040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, qword [0x14019acc8]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14004e248
lea r8, [rsp + 0x70]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14004e238
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [0x14018e840]
movzx ecx, byte [0x14018e868]
mov r9d, eax
movups xmm1, xmmword [0x14018e850]
mov byte [rsp + 0x48], cl
xor ecx, ecx
cmp dword [0x140199088], 2
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x14018e860]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
jl 0x14004e1e4
movdqa xmm0, xmmword [0x14018ed30]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018edc0]
movdqa xmm6, xmmword [0x14018ece0]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x14004e0e0
cmp ecx, 0x29
jge 0x14004e21d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x29
jl 0x14004e1f0
mov edx, r9d
lea rcx, [rsp + 0x20]
call fcn.14003c910
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14004e41a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x14004e41c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [str.F_bOm3]
mov r9d, eax
movups xmm0, xmmword [0x14018e7d8]
mov dword [rsp + 0x50], ecx
movzx ecx, word [0x14018e80c]
movups xmm1, xmmword [0x14018e7e8]
mov word [rsp + 0x54], cx
xor ecx, ecx
cmp dword [0x140199088], 2
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14018e7f8]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
jl 0x14004e3d4
movdqa xmm0, xmmword [0x14018ed30]
lea rdx, [rsp + 0x24]
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018edc0]
movdqa xmm6, xmmword [0x14018ece0]
movdqa xmmword [rsp + 0x60], xmm0
mov r8d, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x14004e2d0
cmp ecx, 0x36
jge 0x14004e40d
movsxd rax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x36
jl 0x14004e3e0
mov edx, r9d
lea rcx, [rsp + 0x20]
call fcn.14003c910
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14004f320
mov rbx, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rdi
ret