Function at 0x1400a50f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rbx, rdx
mov esi, ecx
lea rcx, [0x1400a6870]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
movsd xmm0, qword [str.TAQP6]
movsd qword [rbp - 0x31], xmm0
movzx eax, word [0x1402c5610]
mov ecx, 0x66
mov word [rbp - 0x31], cx
xor word [rbp - 0x2f], 0x33
xor word [rbp - 0x2d], 0x34
xor word [rbp - 0x2b], 0x35
xor ax, 0x36
mov word [rbp - 0x29], ax
lea r8, [rbp - 0x31]
mov rdx, rbx
mov ecx, esi
call fcn.1400b5be0
test eax, eax
setg r15b
mov rax, qword [str._WX5__PeWP_J:]
mov qword [rbp + 0x7f], rax
xor r12d, r12d
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp word [0x1402c561e], r12w
je 0x1400a5252
cmp r14d, 2
jl 0x1400a5210
movdqa xmm3, xmmword [0x14027d080]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1402cbd70]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1402cbd70]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1402cbba0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.22222222]
movq xmm0, qword [rbp + 0x7f]
xorps xmm2, xmm0
movq qword [rbp + 0x7f], xmm2
jmp 0x1400a5252
lea r8, [rbp + 0x7f]
mov edi, r12d
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, di
sub ax, cx
add ax, 0x32
xor word [r8], ax
inc edi
lea r8, [r8 + 2]
cmp edi, 4
jl 0x1400a5220
lea r8, [rbp + 0x7f]
mov rdx, rbx
mov ecx, esi
call fcn.1400b5be0
movups xmm0, xmmword [0x1402c5620]
movups xmmword [rbp - 0x31], xmm0
movzx eax, word [0x1402c5630]
mov ecx, 0x69
mov word [rbp - 0x31], cx
xor word [rbp - 0x2f], 0x33
xor word [rbp - 0x2d], 0x34
xor word [rbp - 0x2b], 0x35
xor word [rbp - 0x29], 0x36
xor word [rbp - 0x27], 0x37
xor word [rbp - 0x25], 0x38
xor word [rbp - 0x23], 0x39
xor ax, 0x3a
mov word [rbp - 0x21], ax
lea r8, [rbp - 0x31]
mov rdx, rbx
mov ecx, esi
call fcn.1400b5be0
movups xmm0, xmmword [str.bRGFw_TVYZHTQQ]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [0x1402c5648]
movups xmmword [rbp - 1], xmm1
mov eax, dword [0x1402c5658]
mov dword [rbp + 0xf], eax
mov edi, r12d
cmp r14d, 2
jl 0x1400a5402
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cbd70]
movdqa xmm6, xmmword [0x1402cbba0]
movdqa xmm7, xmmword [str.22222222]
lea rcx, [rbp - 0x11]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edi
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rdi + 4]
movd xmm2, eax
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add edi, 8
lea rcx, [rcx + 0x10]
cmp edi, 0x10
jl 0x1400a5310
cmp edi, 0x12
jge 0x1400a5442
movsxd rax, edi
lea r8, [rbp - 0x11]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0xa0a0a0a1
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, di
sub ax, cx
add ax, 0x32
xor word [r8], ax
inc edi
lea r8, [r8 + 2]
cmp edi, 0x12
jl 0x1400a5410
lea r8, [rbp - 0x11]
mov rdx, rbx
mov ecx, esi
call fcn.1400b5be0
test eax, eax
setg dil
call fcn.14018f410
mov qword [0x140449fd0], rax
mov eax, dword [0x1402c565c]
mov dword [rbp + 0x7f], eax
movzx ecx, word [0x1402c5660]
mov word [rbp + 0x83], cx
movzx eax, byte [0x1402c5662]
mov byte [rbp + 0x7f], 0x35
xor byte [rbp + 0x80], 0x33
xor byte [rbp + 0x81], 0x34
xor byte [rbp + 0x82], 0x35
xor cl, 0x36
mov byte [rbp + 0x83], cl
xor byte [rbp + 0x84], 0x37
xor al, 0x38
mov byte [rbp + 0x85], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], r12
lea rax, [rbp + 0x7f]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400a54d0
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x31]
call fcn.14007adb0
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14009e940
mov r8, rax
lea rdx, [rbp - 0x49]
lea rcx, [0x14044a010]
call fcn.14012d9b0
nop
mov dword [rbp + 0x77], r12d
lea rax, [rbp + 0x77]
mov qword [rsp + 0x48], rax
lea rax, [0x1400acd90]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x38], dil
mov dword [rsp + 0x30], r12d
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], r15b
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x49]
mov rcx, qword [0x140449fd0]
call fcn.1401914d0
test rax, rax
jne 0x1400a555c
mov rcx, qword [0x140449fd0]
call fcn.140190740
mov rcx, qword [0x140449fd0]
call fcn.140190740
mov rax, qword [rbp - 0x49]
cmp rax, qword [rbp - 0x41]
je 0x1400a5576
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x21], r12
lea rax, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rax, qword [rbp - 0x31]
mov byte [rax], 0
mov rbx, r12
mov rsi, r12
mov rdi, qword [rbp - 0x41]
movabs r15, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x49]
sub rdi, rcx
mov r8, r12
je 0x1400a5613
cmp rdi, r15
ja 0x1400a586a
cmp rdi, 0x1000
jb 0x1400a55e6
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400a5864
call fcn.140268aec
test rax, rax
je 0x1400a57e5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400a55f1
mov rcx, rdi
call fcn.140268aec
mov rbx, rax
lea rsi, [rbx + rdi]
mov rdi, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
sub rdi, rdx
mov r8, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea r8, [rdi + rbx]
mov rcx, qword [rbp - 0x49]
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], r8
mov rdx, qword [rbp - 0x39]
mov qword [rbp - 0x39], rsi
test rcx, rcx
je 0x1400a565d
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400a5650
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a57e5
mov rcx, rdi
call fcn.140268570
mov r8, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x49]
sub r8, rbx
xor edx, edx
mov rcx, rbx
call fcn.14026a60a
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rcx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
xor edx, edx
call fcn.14026a60a
mov rcx, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
sub rcx, rdi
xor eax, eax
rep stosb byte [rdi], al
lea rdi, [rbp - 0x31]
cmp qword [rbp - 0x19], 0xf
cmova rdi, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x21]
rep stosb byte [rdi], al
mov r8, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
sub r8, rcx
xor edx, edx
call fcn.14026a60a
mov rsi, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
cmp rsi, rcx
je 0x1400a56cc
mov rsi, rcx
mov qword [rbp - 0x41], rcx
mov rdi, r12
mov r14, r12
sub rsi, rcx
mov rbx, r12
je 0x1400a5741
cmp rsi, r15
ja 0x1400a586a
cmp rsi, 0x1000
jb 0x1400a5715
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400a5864
call fcn.140268aec
test rax, rax
je 0x1400a57e5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400a5720
mov rcx, rsi
call fcn.140268aec
mov rdi, rax
lea r14, [rdi + rsi]
mov rbx, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
add rbx, rdi
mov rcx, qword [rbp - 0x49]
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rbx
mov rdx, qword [rbp - 0x39]
mov qword [rbp - 0x39], r14
test rcx, rcx
je 0x1400a5787
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400a577a
add rdx, 0x27
mov rdi, qword [rcx - 8]
sub rcx, rdi
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400a57e5
mov rcx, rdi
call fcn.140268570
mov rbx, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
cmp rbx, rdi
je 0x1400a57b1
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov byte [rdi], al
inc rdi
cmp rdi, rbx
jne 0x1400a5790
mov rbx, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x49]
cmp rbx, rdi
je 0x1400a57b1
mov qword [rbp - 0x41], rdi
test rdi, rdi
je 0x1400a5800
mov rdx, qword [rbp - 0x39]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a57ec
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a57ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rdi
call fcn.140268570
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r12
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x1400a583e
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5839
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a5839
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140268570
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140082dc0
nop
call fcn.1400aad60
int3