Function at 0x14013a630
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140726340]
xor rax, rsp
mov qword [rbp], rax
mov r14, r8
mov r15, rdx
mov r13, rcx
mov qword [rsp + 0x20], rcx
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], r8
xor esi, esi
call fcn.14013f0c0
mov rbx, rax
test rax, rax
jne 0x14013a6d3
mov dword [rsp + 0x20], 0xe4ebf3eb
mov word [rsp + 0x24], 0x100
nop dword [rax]
lea eax, [rsi - 0x7b]
xor byte [rsp + rsi + 0x20], al
inc rsi
cmp rsi, 4
jb 0x14013a690
mov byte [rsp + 0x25], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140024780
nop
mov rcx, r15
call fcn.140006260
nop
mov rcx, r14
call fcn.140006260
jmp 0x14013a9b1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x14056f8f0]
movdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], 0
movups xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
mov byte [rbp - 0x20], 0
mov r8, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x14013a705
mov r8, qword [r14]
mov edx, 0x2712
mov rcx, rbx
call fcn.1401418c0
mov edx, 0x51
lea r8d, [rdx - 0x50]
mov rcx, rbx
call fcn.1401418c0
mov dword [rsp + 0x30], 0xe9fee3ee
mov dword [rsp + 0x34], 0xa2e3fefc
mov dword [rsp + 0x38], 0xe1e7fa
mov byte [rsp + 0x3c], 1
lea r8, [rsp + 0x30]
mov edx, 0x27c1
mov rcx, rbx
call fcn.1401418c0
mov edx, 0x40
lea r8d, [rdx - 0x3f]
mov rcx, rbx
call fcn.1401418c0
mov r8, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14013a770
mov r8, qword [r15]
mov edx, 0x271f
mov rcx, rbx
call fcn.1401418c0
lea r8, [0x14013d9f0]
mov edx, 0x4e2b
mov rcx, rbx
call fcn.1401418c0
lea r8, [rbp - 0x40]
mov edx, 0x2711
mov rcx, rbx
call fcn.1401418c0
lea r8, [0x140134270]
mov edx, 0x4e6f
mov rcx, rbx
call fcn.1401418c0
lea r8, [rbp - 0x20]
mov edx, 0x272d
mov rcx, rbx
call fcn.1401418c0
mov rcx, rbx
call fcn.14013f180
test eax, eax
je 0x14013a814
mov ecx, eax
call fcn.14013e7b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14013a7f3
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006600
lea rcx, [rsp + 0x48]
call fcn.1401333c0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.140021190
mov rdi, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140021190
mov rbx, rax
mov rdx, r15
lea rcx, [rbp - 0x70]
call fcn.140021190
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140131060
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [r13 + 0x10], xmm1
movdqa xmm0, xmmword [0x14056f8f0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14013a8c5
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013a8c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013a8c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402cbf74
movdqa xmm0, xmmword [0x14056f8f0]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14013a914
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013a90f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14013a90f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402cbf74
movdqa xmm0, xmmword [0x14056f8f0]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x14013a95b
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x14013a956
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013a9d2
mov rcx, r8
call fcn.1402cbf74
mov qword [r15 + 0x10], rsi
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x14013a9a1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14013a99c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013a9d9
mov rcx, r8
call fcn.1402cbf74
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rax, r13
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1402cbf10
add rsp, 0x110
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
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