Function at 0x1400a4930
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
movaps xmmword [rsp + 0x1e0], xmm6
xor ebx, ebx
mov dword [rbp + 0x120], ebx
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1402cbb10]
movdqu xmmword [rbp - 0x48], xmm1
mov byte [rbp - 0x58], bl
movups xmm0, xmmword [0x1402c7f18]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1402c7f28]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x1402c7f38]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1402c7f3c]
mov word [rsp + 0x74], ax
mov r8d, ebx
mov r15d, dword [reloc.WS2_32.dll_accept]
cmp r15d, 2
jl 0x1400a4afd
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cbd70]
movdqa xmm6, xmmword [0x1402cbba0]
movdqa xmm0, xmmword [str.2222222222222222R]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + 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
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402cbc10]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1402cbc10]
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, 0x20
jl 0x1400a49f0
cmp r8d, 0x26
jge 0x1400a4b43
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x26
jl 0x1400a4b10
lea rax, [rsp + 0x30]
mov qword [rbp + 0x128], rax
lea rax, [rsp + 0x50]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400a4b60
call fcn.14026977c
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov edx, 7
mov qword [rsp + 0x48], rdx
mov word [rsp + 0x30], bx
mov dword [rbp + 0x120], 4
test rdi, rdi
je 0x1400a4c17
cmp rdi, 0x7fffffff
ja 0x1400a50c6
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, edi
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1402697a4
mov rsi, rax
shr rax, 0x20
test eax, eax
jne 0x1400a50d1
xor r8d, r8d
movsxd rdx, esi
lea rcx, [rsp + 0x30]
call fcn.1400b76c0
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova r9, qword [rsp + 0x30]
mov dword [rsp + 0x20], esi
mov r8d, edi
lea rdx, [rsp + 0x50]
mov ecx, r14d
call fcn.1402697a4
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x1400a50dd
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
cmp rdx, 7
cmova rcx, qword [rsp + 0x30]
call fcn.140269e10
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400a50b0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400a4c7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4c7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a4c7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140268570
movups xmm0, xmmword [str.q_thb_YVMH_nGL4__pv]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1402c7f50]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x1402c7f60]
mov dword [rsp + 0x70], eax
movzx eax, word [0x1402c7f64]
mov word [rsp + 0x74], ax
mov r8d, ebx
cmp r15d, 2
jl 0x1400a4dfd
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cbd70]
movdqa xmm6, xmmword [0x1402cbba0]
movdqa xmm0, xmmword [str.2222222222222222R]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x30]
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
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402cbc10]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1402cbc10]
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, 0x20
jl 0x1400a4cf0
cmp r8d, 0x26
jge 0x1400a4e43
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x26
jl 0x1400a4e10
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14009e820
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x1400a504d
movups xmm0, xmmword [str.eZDPR]
movups xmmword [rsp + 0x76], xmm0
movups xmm1, xmmword [0x1402c7f78]
movups xmmword [rbp - 0x7a], xmm1
movsd xmm0, qword [0x1402c7f88]
movsd qword [rbp - 0x6a], xmm0
movzx eax, word [0x1402c7f90]
mov word [rbp - 0x62], ax
movzx eax, byte [0x1402c7f92]
mov byte [rbp - 0x60], al
cmp r15d, 2
jl 0x1400a4ffd
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cbd70]
movdqa xmm6, xmmword [0x1402cbba0]
movdqa xmm0, xmmword [str.2222222222222222R]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x7a]
mov edx, dword [rsp + 0x30]
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
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402cbc10]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1402cbc10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x28
jl 0x1400a4ef3
cmp eax, 0x2b
jge 0x1400a503e
movsxd rax, ebx
lea r8, [rsp + 0x76]
add r8, rax
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x32
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x2b
jl 0x1400a5010
lea rdx, [rsp + 0x76]
lea rcx, [rbp - 0x30]
call fcn.1400878a0
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.1400a0230
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0x230]
movaps xmm6, xmmword [rsp + 0x1e0]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x30]
lea rcx, [0x1402bae3c]
call fcn.1400aa970
nop
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.1400aa9e0
int3
shr rsi, 0x20
mov ecx, esi
call fcn.1400aaa20
int3
shr rcx, 0x20
call fcn.1400aaa20
int3