Function at 0x1400050b0
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2e8
lea rdi, [rsp + 0xd0]
mov r12, rcx
mov rbp, rdx
mov rcx, rdi
xor edx, edx
mov rsi, r8
mov r8d, 0x208
call fcn.14000cf90
mov rax, qword [0x1403b75d0]
lea rcx, [0x1403b5740]
mov qword [rsp + 0x40], rax
mov eax, dword [0x1403b75d8]
mov dword [rsp + 0x48], eax
call fcn.140007d60
lea rcx, [0x1403b5720]
mov r13, rax
call fcn.140007d60
cmp byte [r13], 0
mov rbx, rax
jne 0x140005145
mov byte [rax + 0xc], 1
mov rax, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x14000d380]
mov qword [rbx], rax
mov eax, dword [rsp + 0x48]
mov dword [rbx + 8], eax
mov byte [r13], 1
call fcn.1400074a0
cmp byte [rbx + 0xc], 0
je 0x140005163
movabs rax, 0x81a1a1d5d57373c5
mov byte [rbx + 0xc], 0
xor qword [rbx], rax
xor dword [rbx + 8], 0xc7bfbf81
mov rdx, rsi
mov r8, rbx
mov rcx, rdi
call fcn.140005690
mov rcx, rsi
call fcn.1400058e0
lea rsi, [rsp + 0x40]
mov r8d, 0x8c
lea rdx, str.8w_Mm_v_
mov rcx, rsi
call fcn.14000cf88
lea rcx, [0x1403b5780]
call fcn.140007d60
lea rcx, [0x1403b5760]
cmp byte [rax], 0
mov r13, rax
je 0x140005250
call fcn.140007d60
mov rbx, rax
cmp byte [rbx + 0x8c], 0
je 0x1400051f5
movabs r8, 0xbb2103bf0b4d771d
xor eax, eax
nop
mov rcx, rax
mov rdx, r8
and ecx, 7
shl rcx, 3
shr rdx, cl
xor word [rbx + rax*2], dx
add rax, 1
cmp rax, 0x46
jne 0x1400051d0
mov byte [rbx + 0x8c], 0
mov r9, rbx
mov r8, rbp
mov rdx, r12
mov qword [rsp + 0x28], rdi
mov ecx, 1
mov qword [rsp + 0x20], rbp
call fcn.140004ff0
lea rdx, [rsp + 0x3c]
mov rcx, rdi
call fcn.140005b40
mov rcx, rdi
mov rbx, rax
call fcn.140005e00
xor eax, eax
test rbx, rbx
je 0x14000523b
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
jne 0x14000528c
add rsp, 0x2e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call fcn.140007d60
mov rdx, rsi
mov r8d, 0x8c
mov rbx, rax
mov rcx, rax
mov byte [rax + 0x8c], 1
call fcn.14000cf88
mov byte [r13], 1
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x14000d390]
call fcn.1400074a0
jmp 0x1400051ba
mov rax, qword [0x1403b75e0]
mov ecx, 0xffff9719
mov word [rsp + 0x4c], cx
lea rcx, [0x1403b57c0]
mov qword [rsp + 0x40], rax
mov eax, dword [0x1403b75e8]
mov dword [rsp + 0x48], eax
call fcn.140007d60
lea rcx, [0x1403b57a0]
mov rbp, rax
call fcn.140007d60
cmp byte [rbp], 0
mov rdi, rax
jne 0x1400052fb
mov byte [rax + 0xe], 1
mov rax, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x14000d3a0]
mov qword [rdi], rax
mov rax, qword [rsp + 0x46]
mov qword [rdi + 6], rax
mov byte [rbp], 1
call fcn.1400074a0
cmp byte [rdi + 0xe], 0
je 0x14000531f
movabs rax, 0xd90d0d7f7fe7e737
mov byte [rdi + 0xe], 0
xor qword [rdi], rax
xor dword [rdi + 8], 0x194141d9
xor word [rdi + 0xc], 0x9719
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_wcsstr
test rax, rax
je 0x140005344
mov eax, 1
add rsp, 0x2e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rax, qword [0x1403b75f0]
mov edx, 0xffffc77f
lea rcx, [0x1403b5800]
mov word [rsp + 0x4c], dx
mov qword [rsp + 0x40], rax
mov eax, dword [0x1403b75f8]
mov dword [rsp + 0x48], eax
call fcn.140007d60
lea rcx, [0x1403b57e0]
mov rbp, rax
call fcn.140007d60
cmp byte [rbp], 0
mov rdi, rax
jne 0x1400053b3
mov byte [rax + 0xe], 1
mov rax, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
lea rcx, [0x14000d3b0]
mov qword [rdi], rax
mov rax, qword [rsp + 0x46]
mov qword [rdi + 6], rax
mov byte [rbp], 1
call fcn.1400074a0
cmp byte [rdi + 0xe], 0
je 0x1400053d7
movabs rax, 0x236b6badad474799
mov byte [rdi + 0xe], 0
xor qword [rdi], rax
xor dword [rdi + 8], 0x7f777723
xor word [rdi + 0xc], 0xc77f
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14000532f
lea rcx, [0x1403b5840]
call fcn.140007d60
lea rcx, [0x1403b5820]
mov rbp, rax
call fcn.140007d60
cmp byte [rbp], 0
mov rdi, rax
jne 0x140005436
mov byte [rax + 8], 1
xor r8d, r8d
movabs rax, 0x45f9f9d591763bc6
mov rdx, rdi
mov qword [rdi], rax
lea rcx, [0x14000d2f0]
mov byte [rbp], 1
call fcn.1400074a0
cmp byte [rdi + 8], 0
je 0x140005454
movq xmm0, qword [rdi]
mov byte [rdi + 8], 0
movq xmm1, qword [0x1403b7600]
pxor xmm0, xmm1
movq qword [rdi], xmm0
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14000532f
lea rcx, [0x1403b5880]
call fcn.140007d60
lea rcx, [0x1403b5860]
mov rbp, rax
call fcn.140007d60
cmp byte [rbp], 0
mov rdi, rax
jne 0x1400054b3
mov byte [rax + 8], 1
xor r8d, r8d
movabs rax, 0xafabab6c053f6b9c
mov rdx, rdi
mov qword [rdi], rax
lea rcx, [0x14000d310]
mov byte [rbp], 1
call fcn.1400074a0
cmp byte [rdi + 8], 0
je 0x1400054d1
movq xmm0, qword [rdi]
mov byte [rdi + 8], 0
movq xmm1, qword [0x1403b7608]
pxor xmm0, xmm1
movq qword [rdi], xmm0
mov rdx, rdi
mov rcx, rbx
call sub.msvcrt.dll_wcsstr
test rax, rax
jne 0x14000532f
mov rax, qword [0x1403b7630]
lea rcx, [0x1403b58c0]
movdqa xmm0, xmmword [0x1403b7610]
movaps xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1403b7620]
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403b7638]
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x68], eax
mov eax, 0xffff8707
mov word [rsp + 0x6c], ax
call fcn.140007d60
lea rcx, [0x1403b58a0]
mov r12, rax
call fcn.140007d60
cmp byte [r12], 0
mov rbp, rax
jne 0x140005569
mov byte [rax + 0x2e], 1
mov ecx, 0x2e
mov rdi, rax
xor r8d, r8d
rep movsb byte [rdi], byte [rsi]
mov rdx, rax
mov byte [r12], 1
lea rcx, [0x14000d270]
call fcn.1400074a0
cmp byte [rbp + 0x2e], 0
je 0x14000559e
movabs rdx, 0x8707dd23b1c9b5ef
xor eax, eax
mov rcx, rax
mov rsi, rdx
and ecx, 7
shl rcx, 3
shr rsi, cl
xor word [rbp + rax*2], si
add rax, 1
cmp rax, 0x17
jne 0x14000557b
mov byte [rbp + 0x2e], 0
mov rdx, rbp
mov rcx, rbx
call sub.msvcrt.dll_wcsstr
test rax, rax
setne al
jmp 0x14000523b