Function at 0x14003af90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], 0
lea r14, [rdx + 0x10]
mov rax, qword [r14]
mov qword [rbp + 0x148], rax
mov r13, rdx
lea r15, [rdx + 0x18]
cmp qword [rdx + 0x18], 0xf
jbe 0x14003afee
mov r13, qword [rdx]
lea r14, [rdx + 0x10]
call fcn.1400c7a8c
mov qword [rsp + 0x40], r13
mov rcx, qword [rbp + 0x148]
mov qword [rsp + 0x48], rcx
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400393b0
nop
lea rcx, [rsp + 0x70]
call fcn.140039da0
movzx r13d, al
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14003b06d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b068
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003b2a0
lea r14, [rbx + 0x10]
lea r15, [rbx + 0x18]
call fcn.1400c68dc
test r13b, r13b
jne 0x14003b2b5
movsd xmm0, qword [str.u_YS]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x1400e9130]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400e9134]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x1400e9136]
mov byte [rsp + 0x4e], al
xor r14d, r14d
mov ecx, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003b1b3
movdqa xmm4, xmmword [0x1400e9f50]
movdqa xmm2, xmmword [0x1400e9e90]
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, xmmword [0x1400e9eb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e9f40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e9f60]
movd xmm0, dword [str.u_YS]
xorps xmm2, xmm0
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1400e9ea0]
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, xmmword [0x1400e9eb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400e9f40]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e9f60]
movd xmm0, dword [rsp + 0x44]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x14003b1c0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x14003b205
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14004b250
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003b252
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003b24d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b2a7
mov rcx, r8
call fcn.1400c68dc
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14003b297
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14003b292
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b2ae
mov rcx, r8
call fcn.1400c68dc
mov qword [rsi + 0x10], r14
jmp 0x14003b426
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140046f50
nop
xor r13d, r13d
mov qword [rbp - 0x38], r13
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14004a470
nop
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140047af0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140047340
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], r13b
mov dword [rsp + 0x30], Ordinal_41
cmp byte [rax], 3
jne 0x14003b456
mov rdx, qword [rax + 8]
mov r12, r15
cmp rdi, rdx
je 0x14003b348
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14003b33f
mov rdx, qword [rdx]
lea r14, [rbx + 0x10]
lea r12, [rbx + 0x18]
mov rcx, rdi
call fcn.14005b090
nop
lea rcx, [rsp + 0x60]
call fcn.140049100
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140048c80
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_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 - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call fcn.140046ee0
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [r15]
cmp rdx, 0xf
jbe 0x14003b3de
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14003b3d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b448
mov rcx, r8
call fcn.1400c68dc
mov qword [r14], r13
mov qword [r12], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x14003b422
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14003b41d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b44f
mov rcx, r8
call fcn.1400c68dc
mov qword [rsi + 0x10], r13
mov rax, rdi
mov byte [rsi], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
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, rax
call fcn.140049070
mov qword [rbp + 0x148], rax
lea r8, [rbp + 0x148]
lea rcx, [rsp + 0x40]
call fcn.14005b200
nop
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.14005b2b0
lea rdx, [0x1400f8ea8]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
int3