Function at 0x14004d500
Capabilities:
Check if file exists
Create service
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
xor edx, edx
movaps xmmword [rax - 0x18], xmm6
mov rsi, rcx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14004d97e
mov rcx, qword [rsi]
lea r8, str.mhyprot2
xor ebx, ebx
lea rdx, str.mhyprot2
mov qword [rsp + 0x60], rbx
mov r9d, 0x10030
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rcx
mov rcx, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14004d5b3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, rsi
jmp 0x14004db50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x14004d7a1
cmp dword [0x140199088], 2
movups xmm0, xmmword [0x14018e8a0]
mov eax, dword [0x14018e8c8]
movups xmm1, xmmword [0x14018e8b0]
mov dword [rbp + 0x2f], eax
movzx eax, byte [0x14018e8cc]
movups xmmword [rbp + 7], xmm0
mov byte [rbp + 0x33], al
movsd xmm0, qword [0x14018e8c0]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x14004d744
movdqa xmm0, xmmword [0x14018ed30]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018edc0]
movdqa xmm6, xmmword [0x14018ece0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
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, 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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x14004d640
cmp eax, 0x2d
jge 0x14004d77d
movsxd rax, ebx
lea r9, [rbp + 7]
add r9, rax
nop
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp ebx, 0x2d
jl 0x14004d750
lea rcx, [rbp + 7]
call fcn.14003c910
mov r8d, 0x10030
lea rdx, str.mhyprot2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
jmp 0x14004db50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x140199088], 2
mov r9d, eax
movups xmm0, xmmword [0x14018e810]
movzx ecx, word [0x14018e838]
movups xmm1, xmmword [0x14018e820]
mov word [rbp + 0x2f], cx
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x14018e830]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x14004d924
movdqa xmm0, xmmword [0x14018ed30]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018edc0]
movdqa xmm6, xmmword [0x14018ece0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
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, 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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x28
jl 0x14004d820
cmp eax, 0x2a
jge 0x14004d95d
movsxd rax, ebx
lea r8, [rbp + 7]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x2a
jl 0x14004d930
mov r8d, r9d
lea rdx, str.mhyprot2
lea rcx, [rbp + 7]
call fcn.14003c910
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14004db49
call qword [sym.imp.KERNEL32.dll_GetLastError]
movups xmm0, xmmword [0x14018e7d8]
mov ecx, dword [str.F_bOm3]
xor ebx, ebx
cmp dword [0x140199088], 2
mov r9d, eax
movups xmm1, xmmword [0x14018e7e8]
mov dword [rbp + 0x37], ecx
movzx ecx, word [0x14018e80c]
movups xmmword [rbp + 7], xmm0
mov word [rbp + 0x3b], cx
movups xmm0, xmmword [0x14018e7f8]
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp + 0x27], xmm0
jl 0x14004db04
movdqa xmm0, xmmword [0x14018ed30]
lea rcx, [rbp + 0xb]
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018edc0]
movdqa xmm6, xmmword [0x14018ece0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 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 ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
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, 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
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, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x14004da00
cmp eax, 0x36
jge 0x14004db3d
movsxd rax, ebx
lea r8, [rbp + 7]
add r8, rax
nop
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 0x36
jl 0x14004db10
mov edx, r9d
lea rcx, [rbp + 7]
call fcn.14003c910
mov rax, 0xffffffffffffffff
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret