Function at 0x140087cb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14016e080]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
xor r15d, r15d
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x100]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 0xf
jbe 0x140087d0a
mov rbx, qword [rbx]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rbx
lea rcx, [rbp + 0x100]
call fcn.1400a7830
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x100], r12
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xfc], edx
mov qword [rsp + 0x40], r15
mov word [rsp + 0x48], 1
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rbp + rcx + 0x148]
mov qword [rbp + 0x30], rcx
test rcx, rcx
sete byte [rbp + 0x38]
mov byte [rbp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x140087dd3
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sgetc_void____ptr64]
cmp eax, 0xffffffff
je 0x140087dc2
mov byte [rbp + 0x39], al
mov rax, qword [rbp + 0x30]
mov byte [rbp + 0x38], 1
movaps xmm0, xmmword [rbp + 0x30]
jmp 0x140087dd8
mov rax, r15
mov qword [rbp + 0x30], rax
mov byte [rbp + 0x38], 1
movaps xmm0, xmmword [rbp + 0x30]
jmp 0x140087dd8
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x140087fc6
test rax, rax
je 0x140087fcf
movdqa xmmword [rsp + 0x50], xmm6
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x88]
call fcn.1400ac9f0
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], r15
xor eax, eax
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
lea rdx, str._w__24._w__6._w__27
lea rcx, [rbp + 0xd0]
call fcn.1400a68a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], rax
lea rdx, str.mfa._w__84
lea rcx, [rbp + 0xa8]
call fcn.1400a68a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
mov rcx, qword [rbp + 0xf0]
mov qword [rbp - 0x60], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x78]
call fcn.1400a97b0
nop
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x140087ecc
lock inc dword [rbx + 0x2c]
lea rcx, [rbp - 0x80]
call fcn.1400a8f80
mov qword [rbp - 0x80], rbx
lea rdx, [rbp + 0x88]
lea rcx, [rbp - 0x10]
call fcn.14005df10
nop
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1400876a0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x58], r15
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbp + 0xc8]
mov qword [rbp - 0x38], rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x50]
call fcn.1400a97b0
nop
mov rbx, qword [rbp + 0xa8]
test rbx, rbx
je 0x140087f4a
lock inc dword [rbx + 0x2c]
lea rcx, [rbp - 0x58]
call fcn.1400a8f80
mov qword [rbp - 0x58], rbx
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x10]
call fcn.14005df10
nop
lea r8, [rbp - 0x58]
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400876a0
nop
mov ebx, r15d
mov rax, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
sub rax, rdx
sar rax, 5
mov r9, qword [rbp + 0x48]
test rax, rax
je 0x140088017
mov rcx, r15
nop dword [rax + rax]
shl rcx, 5
add rcx, rdx
cmp r9, qword [rbp + 0x50]
je 0x140087feb
mov rdx, rcx
mov rcx, r9
call fcn.14005df10
mov r9, qword [rbp + 0x48]
add r9, 0x20
mov qword [rbp + 0x48], r9
jmp 0x140087ffe
test rax, rax
je 0x140087def
movdqa xmm0, xmmword [0x140155950]
movdqu xmmword [rbp + 0x98], xmm0
mov byte [rbp + 0x88], 0
jmp 0x140087e12
mov r8, rcx
mov rdx, r9
lea rcx, [rbp + 0x40]
call fcn.14005fc00
mov r9, qword [rbp + 0x48]
inc ebx
mov rax, qword [rbp + 0x78]
mov rdx, qword [rbp + 0x70]
sub rax, rdx
sar rax, 5
movsxd rcx, ebx
cmp rcx, rax
jb 0x140087fa0
mov ebx, r15d
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140088083
mov rcx, r15
shl rcx, 5
add rcx, rdx
cmp r9, qword [rbp + 0x50]
je 0x140088057
mov rdx, rcx
mov rcx, r9
call fcn.14005df10
mov r9, qword [rbp + 0x48]
add r9, 0x20
mov qword [rbp + 0x48], r9
jmp 0x14008806a
mov r8, rcx
mov rdx, r9
lea rcx, [rbp + 0x40]
call fcn.14005fc00
mov r9, qword [rbp + 0x48]
inc ebx
mov rax, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
sub rax, rdx
sar rax, 5
movsxd rcx, ebx
cmp rcx, rax
jb 0x140088031
mov edi, r15d
mov rax, r9
mov rdx, qword [rbp + 0x40]
sub rax, rdx
sar rax, 5
test rax, rax
je 0x140088323
mov rsi, r15
mov r14d, dword [reloc.WS2_32.dll_accept]
nop word [rax + rax]
cmp byte [0x14033f7d1], 0
je 0x140088307
lea rbx, [rdx + rsi]
movups xmm0, xmmword [str.e_M_IX]
movups xmmword [rbp + 0x30], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14008825e
cmp r14d, 2
jl 0x140088227
movdqa xmm5, xmmword [0x140155990]
mov edx, r15d
movdqa xmm4, xmmword [0x140155bb0]
movdqa xmm6, xmmword [0x1401559c0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp + 0x34]
mov r8d, dword [rsp + 0x70]
nop dword [rax]
movd xmm2, edx
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 [0x140155a10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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 [0x140155a10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140088120
jmp 0x14008825e
lea r8, [rbp + 0x30]
mov ecx, r15d
nop
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, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x10
jl 0x140088230
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140088280
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.14000c2b0
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400882a6
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000beb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x50]
lea rcx, [0x14037c3c0]
call fcn.1400c0db0
nop
lea rcx, [rbp - 0x30]
call fcn.14000bc30
mov r9, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
inc edi
add rsi, 0x20
mov rcx, r9
sub rcx, rdx
sar rcx, 5
movsxd rax, edi
cmp rax, rcx
jb 0x1400880b0
lea rcx, [rbp + 0x58]
call fcn.14005e370
nop
lea rcx, [rbp + 0x70]
call fcn.14005e370
nop
lea rcx, [rbp + 0xa8]
call fcn.1400a8f80
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14008836c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14008836c
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0xd0]
call fcn.1400a8f80
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x1400883a1
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400883a1
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
lea rcx, [rbp + 0x40]
call fcn.14005e370
nop
lea rcx, [rbp + 0x88]
call fcn.14000bc30
nop
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x100], r12
mov rax, qword [rbp + 0x100]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0xfc], edx
lea rcx, [rbp + 0x110]
call fcn.1400a77c0
lea rcx, [rbp + 0x118]
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 + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140114480
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret