Function at 0x14002e5c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
xor edi, edi
mov dword [rsp + 0x20], edi
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x80]
call fcn.140019700
nop
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rdi
lea ecx, [rdi + 0x20]
call fcn.1400bba90
mov qword [rsp + 0x60], rax
lea rsi, [rax + 0x20]
mov qword [rsp + 0x70], rsi
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rsp + 0x68], rsi
mov r13, qword [rsp + 0x60]
sub rsi, r13
mov rbx, qword [r15 + 0x10]
mov r12, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14002e66d
mov r12, qword [r15]
mov rcx, qword [0x14010a4a0]
lea rax, [0x14010a490]
cmp qword [0x14010a4a8], 0x10
cmovae rax, qword [0x14010a490]
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [str.66666666666666669999999999999999]
movups xmmword [rbp + 0xc0], xmm1
movups xmmword [rbp + 0xd0], xmm1
movups xmmword [rbp + 0xe0], xmm1
movups xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1400f5280]
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
cmp rcx, 0x40
jbe 0x14002e70f
mov r9d, 0x40
lea r8, [rbp + 0x140]
mov rdx, rcx
mov rcx, rax
call fcn.140042000
jmp 0x14002e721
mov r8, rcx
mov rdx, rax
lea rcx, [rbp + 0x140]
call sub.VCRUNTIME140.dll_memcpy
mov rax, rdi
movdqu xmm2, xmmword [rbp + rax + 0x140]
movdqu xmm0, xmmword [rbp + rax + 0xc0]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rbp + rax + 0xc0], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x100]
xorps xmm0, xmm2
movdqu xmmword [rbp + rax + 0x100], xmm0
add rax, 0x10
cmp rax, 0x40
jl 0x14002e724
lea rcx, [rbx + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
movups xmm0, xmmword [rbp + 0xc0]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp + 0xe0]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbp + 0xf0]
movups xmmword [rax + 0x30], xmm1
lea rcx, [rax + 0x40]
mov r8, rbx
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r12d, reloc.WLDAP32.dll_Ordinal_32
mov r9d, r12d
lea r8, [rbp + 0x80]
lea rdx, [rbx + 0x40]
mov rcx, rdi
call fcn.140042000
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [r12 + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
movups xmm0, xmmword [rbp + 0x100]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x110]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x120]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rbp + 0x130]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [rax + 0x50], xmm1
mov r9d, r12d
lea r8, [rbp + 0xa0]
lea edx, [r12 + 0x40]
mov rcx, rax
call fcn.140042000
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp rsi, r12
cmova rsi, r12
mov r8, rsi
lea rdx, [rbp + 0xa0]
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
cmp rsi, r12
je 0x14002e8cf
nop dword [rax + rax]
movzx edi, byte [rsi]
lea rdx, [0x140015990]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov byte [rdx + rax + 0x58], Ordinal_50
mov edx, 2
lea rcx, [rsp + 0x20]
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 [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov edx, edi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc rsi
cmp rsi, r12
jne 0x14002e870
mov rsi, qword [rsp + 0x60]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xor r13d, r13d
mov r9d, r13d
mov qword [rbp + 0x90], r13
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x98], rcx
mov byte [rbp + 0x80], r9b
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
movups xmmword [rbp + 0xa0], xmm0
mov eax, dword [rbp + 8]
and al, 0x22
cmp al, 2
je 0x14002e932
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14002e932
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14002e968
test byte [rbp + 8], 4
jne 0x14002e95a
mov rax, qword [rbp - 0x30]
mov r10, qword [rax]
test r10, r10
je 0x14002e95a
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, r10
sub r8, rdx
jmp 0x14002e968
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x14002e98c
lea rcx, [rbp + 0x80]
call fcn.140019860
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbp + 0x98]
mov r9, qword [rbp + 0x90]
mov ebx, reloc.WS2_32.dll_recv
cmp r9, qword [r14 + 0x10]
setne dil
cmp rcx, rbx
jb 0x14002e9d8
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e9ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed31
call fcn.1400bbd1c
mov rsi, qword [rsp + 0x60]
test dil, dil
je 0x14002eb14
mov byte [0x140109e9d], 1
test rsi, rsi
je 0x14002ea30
mov rdx, qword [rsp + 0x70]
sub rdx, rsi
mov rax, rsi
cmp rdx, 0x1000
jb 0x14002ea1a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed7a
mov rcx, rsi
call fcn.1400bbd1c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
call fcn.140011380
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
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 + 0x18]
cmp rdx, 0x10
jb 0x14002eac3
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14002eabe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002eeaa
mov rcx, r8
call fcn.1400bbd1c
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002eb0d
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002eb08
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002eeb1
mov rcx, r8
call fcn.1400bbd1c
xor al, al
jmp 0x14002ee70
mov r12d, r13d
mov rdi, r13
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov r9, r13
mov qword [rbp + 0x90], r13
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x98], rcx
mov byte [rbp + 0x80], r9b
or ebx, 2
mov dword [rsp + 0x20], ebx
movups xmmword [rbp + 0xa0], xmm0
mov eax, dword [rbp + 8]
and al, 0x22
cmp al, 2
je 0x14002eb7f
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14002eb7f
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14002ebb5
test byte [rbp + 8], 4
jne 0x14002eba7
mov rax, qword [rbp - 0x30]
mov r10, qword [rax]
test r10, r10
je 0x14002eba7
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, r10
sub r8, rdx
jmp 0x14002ebb5
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x14002ebd4
lea rcx, [rbp + 0x80]
call fcn.140019860
mov rcx, qword [rbp + 0x98]
mov r9, qword [rbp + 0x90]
and ebx, 0xfffffffd
or ebx, 1
cmp rdi, r9
setb sil
cmp rcx, 0x10
jb 0x14002ec1c
lea rdx, [rcx + 1]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ec17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed31
call fcn.1400bbd1c
test sil, sil
je 0x14002ed38
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov r9d, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r9
mov byte [rsp + 0x30], 0
or ebx, 8
mov dword [rsp + 0x20], ebx
movups xmmword [rbp + 0xa0], xmm0
mov eax, dword [rbp + 8]
and al, 0x22
cmp al, 2
je 0x14002ec7a
mov rax, qword [rbp - 0x28]
mov r8, qword [rax]
test r8, r8
je 0x14002ec7a
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
cmp r8, qword [rbp]
cmovb r8, qword [rbp]
sub r8, rdx
jmp 0x14002ecb0
test byte [rbp + 8], 4
jne 0x14002eca2
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x14002eca2
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14002ecb0
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
test rdx, rdx
je 0x14002ecc4
lea rcx, [rsp + 0x30]
call fcn.140019860
mov r9, qword [rsp + 0x48]
and ebx, 0xfffffff7
or ebx, 4
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14002ecd7
mov rdx, qword [r14]
lea rax, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
cmp r9, 0x10
cmovae rax, r8
movsx ecx, byte [rax + rdi]
movsx eax, byte [rdx + rdi]
xor ecx, eax
or r12d, ecx
cmp r9, 0x10
jb 0x14002ed29
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14002ed21
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ed31
mov rcx, r8
call fcn.1400bbd1c
inc rdi
jmp 0x14002eb20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r12d, r12d
je 0x14002ed44
mov byte [0x140109e9d], 1
sete bl
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002ed94
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ed81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ed81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbd1c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
call fcn.140011380
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x18]
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 + 0x18]
cmp rdx, 0x10
jb 0x14002ee27
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14002ee22
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002eeaa
mov rcx, r8
call fcn.1400bbd1c
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x14002ee6d
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14002ee68
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002eeb1
mov rcx, r8
call fcn.1400bbd1c
movzx eax, bl
mov byte [r14], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r14 + 0x10], r13
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400bb950
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
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]
int3