Function at 0x140048ba0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movsxd r15, ecx
call fcn.1400489d0
mov r10, qword [0x140199f78]
test r10, r10
jne 0x140048c57
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea r8d, [r10 + 0xc]
lea rdx, str.ntoskrnl.exe
lea rcx, [rsp + 0x30]
call fcn.140047320
nop
lea rcx, [rsp + 0x30]
call fcn.1400487d0
mov r10, rax
mov qword [0x140199f78], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140048c57
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048c4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140048c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004f410
mov r10, qword [0x140199f78]
xor ebx, ebx
mov ebp, ebx
movups xmm0, xmmword [0x14018e368]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [str._7_f._iz3i__]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14018e380]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14018e384]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x14018e386]
mov byte [rsp + 0x4e], al
mov r8d, ebx
mov r14d, dword [0x140199088]
cmp r14d, 2
jl 0x140048de5
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018ed20]
movdqa xmm6, xmmword [0x14018ecf0]
movdqa xmm0, xmmword [0x14018ed30]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x140048ce0
cmp r8d, 0x1f
jge 0x140048e1f
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1f
jl 0x140048df0
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14003c910
mov ecx, r15d
call fcn.140048560
mov rsi, rax
add rsi, qword [0x140199f60]
mov edx, 0xc
lea ecx, [rdx - 0xb]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rdi, rax
test rax, rax
je 0x140048e7d
mov qword [rax], rsi
mov dword [rax + 8], 8
mov r8d, 0xc
mov rdx, rax
mov ecx, 0x83064000
call fcn.14004bbb0
test al, al
je 0x140048e7d
cmp dword [rdi], ebx
jne 0x140048e7d
mov rbp, qword [rdi + 4]
movups xmm0, xmmword [0x14018e388]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x14018e398]
movups xmmword [rsp + 0x40], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x14004900e
cmp r14d, 2
jl 0x140048fdd
movdqa xmm5, xmmword [0x14018ecb0]
movdqa xmm4, xmmword [0x14018ed20]
movdqa xmm6, xmmword [0x14018ecf0]
movdqa xmm0, xmmword [0x14018ed30]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14018ed10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140048ee0
jmp 0x14004900e
lea r8, [rsp + 0x30]
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx edx, bl
sub dl, cl
add dl, 0x33
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x20
jl 0x140048fe2
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.14003c910
mov qword [0x140199f70], r15
mov rax, rbp
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop rdi
ret