Function at 0x140060c80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x140141080]
xor rax, rsp
mov qword [rbp + 0xa8], rax
xor r15d, r15d
mov dword [rsp + 0x38], r15d
movups xmm0, xmmword [str.u_rdZUUZTY___17j_5_I]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [0x14012ab58]
movups xmmword [rbp + 0x70], xmm1
movsd xmm0, qword [0x14012ab68]
movsd qword [rbp + 0x80], xmm0
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140060e0a
movdqa xmm5, xmmword [0x14012b940]
movdqa xmm4, xmmword [0x14012bb40]
movdqa xmm6, xmmword [0x14012ba10]
movdqa xmm7, xmmword [str.66666666]
lea rdx, [rbp + 0x60]
nop dword [rax]
movd xmm2, ecx
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 [rdx]
xorps xmm3, xmm0
movq qword [rdx], xmm3
lea eax, [rcx + 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 [rdx + 8]
xorps xmm3, xmm0
movq qword [rdx + 8], xmm3
add ecx, 8
lea rdx, [rdx + 0x10]
cmp ecx, 0x10
jl 0x140060d20
cmp ecx, 0x14
jge 0x140060e51
movsxd rax, ecx
lea r8, [rbp + 0x60]
lea r8, [r8 + rax*2]
mov r9d, 0x1579
nop dword [rax + rax]
mov eax, 0x45b74e4d
imul ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx edx, dx
imul edx, r9d
movzx eax, cx
sub ax, dx
add ax, 0x36
xor word [r8], ax
inc ecx
lea r8, [r8 + 2]
cmp ecx, 0x14
jl 0x140060e20
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
lea rax, [rbp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140060e71
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x88]
call fcn.14009c2d0
nop
mov byte [rsp + 0x28], 0
xor eax, eax
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140096720
mov byte [rsp + 0x28], 2
mov r14, qword [0x140295000]
mov rdi, qword [0x140294ff8]
mov ecx, Ordinal_26
call fcn.14010cbec
mov rsi, rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov rdx, r14
sub rdx, rdi
sar rdx, 5
test rdx, rdx
je 0x140060f30
mov rcx, rsi
call fcn.1400a6780
mov qword [rsp + 0x38], rsi
mov rbx, qword [rsi]
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], rsi
cmp rdi, r14
je 0x140060f2c
nop
mov rdx, rdi
mov rcx, rbx
call fcn.14009a5d0
add rbx, 0x10
mov qword [rbp + 0x68], rbx
add rdi, 0x20
cmp rdi, r14
jne 0x140060f10
mov qword [rsi + 8], rbx
mov qword [rsp + 0x30], rsi
lea rbx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 7
cmova rbx, qword [rbp + 0x88]
lea rax, [0x1401281c8]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 8]
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 + 0x38], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_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 + 0x50]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
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 [rsp + 0x58], rax
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r15
mov rax, qword [0x140295d58]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r15
mov r8d, 2
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140097c80
test rax, rax
jne 0x14006101e
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
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 + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
cmp qword [rbp - 0x28], 0
je 0x14006114d
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__]
mov r8, qword [rax]
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0x50]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140093db0
cmp qword [rbp - 0x28], 0
je 0x140061108
mov rax, qword [rsp + 0x70]
lea rcx, [rbp - 0x38]
cmp qword [rax], rcx
jne 0x1400610b3
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x70]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x58]
mov dword [rax], edx
lea rcx, [rsp + 0x58]
call fcn.140096200
lea rbx, [rsp + 0x58]
test al, al
cmove rbx, r15
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, r15
test eax, eax
cmove rdi, rbx
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r15
mov rax, qword [0x140295d58]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r15
test rdi, rdi
jne 0x14006114d
jmp 0x14006112e
mov byte [rbp - 0x2c], 0
mov byte [rbp - 0x37], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x28], r15
mov rax, qword [0x140295d58]
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x40], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
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 + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], rsi
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140093750
lea rcx, [rsp + 0x60]
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 - 8]
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 + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140096720
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x1400611e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400611e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400611e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010cf38
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.14010c810
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret