Function at 0x1400e3100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xa0
mov rdi, r9
mov r9d, r8d
mov r14, rdx
mov r8, rcx
xor edx, edx
mov dword [rbp - 0x49], edx
mov r15, qword [rbp + 0x7f]
mov rsi, qword [r15]
test rsi, rsi
jne 0x1400e3154
call fcn.1400b70d0
mov dword [r14], 6
jmp 0x1400e34fe
cmp r9d, 8
jge 0x1400e316b
call fcn.1400b70d0
mov dword [r14], 7
jmp 0x1400e34fe
lea r12, [rdi + 0x10]
mov rcx, qword [r12]
cmp rcx, 0x7d
jbe 0x1400e318a
call fcn.1400b70d0
mov dword [r14], 8
jmp 0x1400e34fe
movzx eax, byte [r8 + 9]
mov byte [rbp - 0x50], al
movzx ebx, r9b
and bl, 0xf
or bl, 0x80
mov byte [rbp - 0x51], bl
mov r13d, 0x80
test al, al
cmovne r13d, edx
or r13b, cl
mov dword [rbp - 0x49], r13d
add rsi, 0x50
mov rdx, qword [rsi + 0x10]
cmp rcx, rdx
ja 0x1400e31d6
mov qword [rsi + 0x10], rcx
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400e31d0
mov rax, qword [rsi]
mov byte [rax + rcx], 0
jmp 0x1400e324a
mov r13, rcx
sub r13, rdx
mov r8, qword [rsi + 0x18]
mov rax, r8
sub rax, rdx
cmp r13, rax
ja 0x1400e322f
mov qword [rsi + 0x10], rcx
mov rcx, rsi
mov qword [rbp - 0x41], r12
cmp r8, 0xf
jbe 0x1400e3207
mov rcx, qword [rsi]
lea rax, [rdi + 0x10]
mov qword [rbp - 0x41], rax
lea rbx, [rcx + rdx]
mov r8, r13
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r13], 0
mov r13d, dword [rbp - 0x49]
mov rax, qword [rbp - 0x41]
movzx ebx, byte [rbp - 0x51]
mov r8, qword [rbp + 0x5f]
jmp 0x1400e324d
mov byte [rsp + 0x20], 0
mov r9, r13
mov rdx, r13
mov rcx, rsi
call fcn.140070690
mov r13d, dword [rbp - 0x49]
mov r8, qword [rbp + 0x5f]
mov rax, r12
cmp byte [rbp - 0x50], 0
jne 0x1400e33cd
mov rbx, qword [r8 + 0x98]
mov qword [rbp - 0x41], rbx
add rbx, 0x10
mov qword [rbp - 0x49], rbx
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400e3283
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x1400e329e
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rax, qword [rbp - 0x41]
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov rcx, rax
call fcn.1400f12c0
mov dword [rbp - 0x49], eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
xor eax, eax
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], eax
mov rdx, qword [r12]
lea rcx, [rbp - 0x39]
call fcn.1400b5420
movsxd rcx, eax
mov ebx, dword [rbp - 0x49]
mov dword [rbp + rcx - 0x39], ebx
mov rax, qword [r15]
mov qword [rbp - 0x41], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov eax, 2
mov dword [rbp - 0x49], eax
movzx ecx, byte [rbp - 0x51]
mov byte [rbp - 9], cl
mov qword [rbp + 7], rax
mov byte [rbp - 8], r13b
mov byte [rbp - 7], 0
movzx ecx, r13b
and cl, 0x7f
cmp cl, 0x7e
jne 0x1400e3321
mov eax, 4
jmp 0x1400e332d
mov edx, 0xa
cmp cl, 0x7f
cmove rax, rdx
lea r8, [rax + 4]
test r13b, r13b
cmovns r8, rax
sub r8, 2
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 9]
call fcn.14004d550
mov rcx, qword [rbp - 0x41]
add rcx, 0x10
lea rax, [rbp - 9]
cmp rcx, rax
je 0x1400e3372
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rdx, qword [rbp - 9]
mov r8, qword [rbp + 7]
call fcn.14004d3e0
nop
lea rcx, [rbp - 9]
call fcn.14004d380
mov dword [rbp + 0x7f], ebx
cmp qword [rsi + 0x18], 0xf
jbe 0x1400e3388
mov rsi, qword [rsi]
mov rax, qword [r12]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400e339b
add rax, qword [rdi]
mov rdi, qword [rdi]
jmp 0x1400e339e
add rax, rdi
xor edx, edx
cmp rdi, rax
je 0x1400e34e0
sub rsi, rdi
nop dword [rax]
movzx ecx, byte [rbp + rdx + 0x7f]
xor cl, byte [rdi]
mov byte [rdi + rsi], cl
inc rdx
and edx, 3
inc rdi
cmp rdi, rax
jne 0x1400e33b0
jmp 0x1400e34e0
xor ecx, ecx
mov qword [rbp - 0x39], rcx
mov dword [rbp - 0x31], ecx
mov rdx, qword [rax]
lea rcx, [rbp - 0x39]
call fcn.1400b5420
mov r12, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x49], 1
mov byte [rbp - 0x29], bl
mov eax, 2
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x28], r13b
mov byte [rbp - 0x27], 0
movzx ecx, r13b
and cl, 0x7f
cmp cl, 0x7e
jne 0x1400e3422
mov eax, 4
jmp 0x1400e342e
mov edx, 0xa
cmp cl, 0x7f
cmove rax, rdx
lea r8, [rax + 4]
test r13b, r13b
cmovns r8, rax
sub r8, 2
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.14004d550
lea rcx, [r12 + 0x10]
lea rax, [rbp - 0x29]
cmp rcx, rax
je 0x1400e3470
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r8, qword [rbp - 0x19]
call fcn.14004d3e0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400e34ae
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e34a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e34a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016d66c
cmp qword [rsi + 0x18], 0xf
jbe 0x1400e34b8
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400e34cb
mov r8, qword [rdi]
add r8, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x1400e34d2
mov r8, qword [rdi + 0x10]
add r8, rdi
sub r8, rdi
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r15]
mov ecx, dword [rbp + 0x6f]
mov dword [rax + 0x70], ecx
mov rax, qword [r15]
mov byte [rax + 0x74], 1
mov dword [r14], 0
lea rax, [0x140275de0]
mov qword [r14 + 8], rax
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x1400e3537
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400e3537
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1400e3537
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret