Function at 0x140081f40
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x200
movaps xmmword [rax - 0x48], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov r15, qword [rdx + 0x10]
mov r14, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140081f8d
mov r14, qword [rdx]
call fcn.14016d0b4
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14005e840
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x78]
call fcn.14016d1f0
mov edx, eax
test eax, eax
jne 0x14008200c
mov ecx, dword [rbp - 0x78]
bt ecx, 0xa
jae 0x140082001
mov eax, dword [rbp - 0x74]
cmp eax, 0xa000000c
jne 0x140081ff3
lea ecx, [rdx + 4]
jmp 0x140082028
cmp eax, 0xa0000003
jne 0x140082001
mov ecx, 0xa
jmp 0x140082028
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140082028
sub eax, 2
je 0x140082023
sub eax, 1
je 0x140082023
sub eax, 0x32
je 0x140082023
cmp eax, 0x46
mov ecx, r12d
jne 0x140082028
mov ecx, 1
mov dword [rsp + 0x30], edx
lea rax, [0x1401f8dd0]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test ecx, ecx
je 0x14008208e
cmp ecx, 1
sete r14b
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400820a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008209b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008209b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r14b, 1
test edx, edx
jne 0x1400824e8
jmp 0x14008204e
call fcn.14016c298
test r14b, r14b
je 0x140082305
movsd xmm0, qword [str.vXV]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1401b4260]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1401b4264]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1401b4266]
mov byte [rsp + 0x3e], al
mov ecx, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400821fd
movdqa xmm4, xmmword [0x1401b9770]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1401b9240]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [str.vXV]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1401b9260]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401b9280]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401b9320]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.0000000000000000]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x140082210
mov qword [rdi], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140082260
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14004ef70
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400822ae
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400822a9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400822fe
mov rcx, r8
call fcn.14016c298
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140082464
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14008245f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14008245c
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 - 0x20]
call fcn.14008b080
nop
mov qword [rbp - 0x30], r12
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140092a40
nop
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14005d2c0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14008ba20
nop
mov qword [rdi], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x40], Ordinal_45
cmp byte [rax], 3
jne 0x14008249e
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x140082387
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008237e
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.14004ef70
nop
lea rcx, [rsp + 0x48]
call fcn.14008e7a0
nop
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14008faa0
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call fcn.1400588f0
lea rcx, [rbp - 8]
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 + 0x90]
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 [rbx + 0x18]
cmp rdx, 0x10
jb 0x14008241f
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14008241a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140082490
mov rcx, r8
call fcn.14016c298
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140082464
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14008245f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140082497
mov rcx, r8
call fcn.14016c298
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov rax, rdi
mov byte [rsi], 0
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x200
pop r15
pop r14
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.14008e710
mov qword [rbp + 0x158], rax
lea r8, [rbp + 0x158]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x58]
call fcn.1400a0810
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x68]
call fcn.140093b30
lea rdx, [0x1401d2d28]
lea rcx, [rbp - 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
call fcn.14005f050
int3