Function at 0x140061220
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
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140141080]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r14, rcx
mov qword [rbp + 0x80], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
movups xmm0, xmmword [str.u_rdZUUZTY___17j_5_I]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [0x14012ab58]
movups xmmword [rbp + 0xf8], xmm1
movsd xmm0, qword [0x14012ab68]
movsd qword [rbp + 0x108], xmm0
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400613cf
movdqa xmm5, xmmword [0x14012b940]
movdqa xmm4, xmmword [0x14012bb40]
movdqa xmm6, xmmword [0x14012ba10]
movdqa xmm7, xmmword [str.66666666]
lea rcx, [rbp + 0xe8]
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
psrad xmm1, 0x19
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, [r8 + 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
psrad xmm1, 0x19
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 r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x1400612e0
cmp r8d, 0x14
jge 0x140061425
movsxd rax, r8d
lea r9, [rbp + 0xe8]
lea r9, [r9 + rax*2]
mov r10d, 0x1579
nop dword [rax]
nop word [rax + rax]
mov eax, 0x45b74e4d
imul r8d
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx ecx, dx
imul ecx, r10d
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x14
jl 0x1400613f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
lea rax, [rbp + 0xe8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140061450
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xc8]
call fcn.14009c2d0
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140096c50
nop
lea rdi, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rdi, qword [rbp + 0xc8]
lea rax, [0x140128540]
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x80], rax
mov byte [rbp - 4], 0
mov byte [rbp - 0xf], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp], rbx
mov rax, qword [0x140295d58]
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x18], rbx
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140097c80
test rax, rax
jne 0x140061560
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
cmp qword [rbp], 0
je 0x1400617ec
mov qword [rbp + 0xc0], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx - 0x48]
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x88]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x110]
call fcn.14009b9a0
nop
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rax
call fcn.1400959e0
nop
lea rcx, [rbp + 0x158]
call fcn.140094e50
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x140061604
mov rax, qword [rcx]
lea rdx, [rbp + 0x110]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp qword [rbp], 0
je 0x140061684
mov rax, qword [rbp - 0x68]
lea rcx, [rbp - 0x10]
cmp qword [rax], rcx
jne 0x140061632
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov rax, qword [rbp - 0x48]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x30]
mov dword [rax], edx
lea rcx, [rbp - 0x80]
call fcn.140096200
lea rdi, [rbp - 0x80]
test al, al
cmove rdi, rbx
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, rbx
test eax, eax
cmove rsi, rdi
mov byte [rbp - 4], 0
mov byte [rbp - 0xf], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp], rbx
mov rax, qword [0x140295d58]
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x18], rbx
test rsi, rsi
jne 0x1400616c8
jmp 0x1400616a9
mov byte [rbp - 4], 0
mov byte [rbp - 0xf], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp], rbx
mov rax, qword [0x140295d58]
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x18], rbx
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x30], listen
lea rcx, [rsp + 0x60]
cmp byte [rsp + 0x60], 2
jne 0x1400618bc
lea rdx, [rsp + 0x48]
call fcn.1400a68a0
nop
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x48]
cmp r14, rax
je 0x140061784
mov rcx, qword [r14]
test rcx, rcx
je 0x14006175f
mov rdx, qword [r14 + 8]
call fcn.14009e9b0
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x14006174f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400617d9
mov rcx, r8
call fcn.14010cf38
mov qword [r14], rbx
mov qword [r14 + 8], rbx
mov qword [r14 + 0x10], rbx
mov rax, qword [rsp + 0x48]
mov qword [r14], rax
mov rax, qword [rsp + 0x50]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [r14 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
jmp 0x140061789
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x1400617ec
mov rdi, rsi
mov r15, qword [rsp + 0x50]
cmp rsi, r15
je 0x1400617b1
mov rcx, rdi
call fcn.14004cee0
add rdi, 0x20
cmp rdi, r15
jne 0x1400617a0
sub rbx, rsi
and rbx, 0xffffffffffffffe0
mov rax, rsi
cmp rbx, 0x1000
jb 0x1400617e0
add rbx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400617e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbx
mov rcx, rsi
call fcn.14010cf38
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], r12
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.140093750
lea rcx, [rbp - 0x78]
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 + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140096720
nop
mov rdx, qword [rbp + 0xe0]
cmp rdx, 7
jbe 0x140061884
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006187f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006187f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010cf38
mov rax, r14
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14010c810
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
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.140096bc0
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0xe8]
call fcn.1400a6b40
nop
mov r8, rax
lea rcx, [rbp + 0x88]
call fcn.1400a6bf0
lea rdx, [0x14013d068]
lea rcx, [rbp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
int3