Function at 0x1400050bb
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov word [rsp + 0x24], 0x502
mov word [rsp + 0x26], 0x569
mov word [rsp + 0x28], 0x567
mov word [rsp + 0x2a], 0x570
mov word [rsp + 0x2c], 0x56c
mov word [rsp + 0x2e], 0x567
mov word [rsp + 0x30], 0x56e
mov word [rsp + 0x32], 0x531
mov word [rsp + 0x34], 0x530
mov word [rsp + 0x36], 0x52c
mov word [rsp + 0x38], 0x566
mov word [rsp + 0x3a], 0x56e
mov word [rsp + 0x3c], 0x56e
mov word [rsp + 0x3e], 0
mov ecx, 0x1a
call fcn.1400018f0
mov rsi, rax
mov eax, 1
nop dword [rax + rax]
movzx ecx, word [rsp + rax*2 + 0x24]
xor cx, word [rsp + 0x24]
mov word [rsi + rax*2 - 2], cx
inc rax
cmp rax, 0xd
jne 0x140004fe0
mov word [rsi + 0x18], 0
mov word [rsp + 0x40], 0x62da
movzx eax, word [rsp + 0x40]
xor eax, 0x6b
mov word [rsp + 0x42], ax
movzx eax, word [rsp + 0x40]
inc eax
xor eax, 0x65
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x40]
add eax, 2
xor eax, 0x72
mov word [rsp + 0x46], ax
movzx eax, word [rsp + 0x40]
add eax, 3
xor eax, 0x6e
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x40]
add eax, 4
xor eax, 0x65
mov word [rsp + 0x4a], ax
movzx eax, word [rsp + 0x40]
add eax, 5
xor eax, 0x6c
mov word [rsp + 0x4c], ax
movzx eax, word [rsp + 0x40]
add eax, 6
xor eax, 0x33
mov word [rsp + 0x4e], ax
movzx eax, word [rsp + 0x40]
add eax, 7
xor eax, 0x32
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x40]
add eax, 8
xor eax, 0x2e
mov word [rsp + 0x52], ax
movzx eax, word [rsp + 0x40]
add eax, 9
xor eax, 0x64
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x40]
add eax, 0xa
xor eax, 0x6c
mov word [rsp + 0x56], ax
movzx eax, word [rsp + 0x40]
add eax, 0xb
xor eax, 0x6c
mov word [rsp + 0x58], ax
mov word [rsp + 0x5a], 0
mov ecx, 0x1a
call fcn.1400018f0
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, word [rsp + rcx*2 + 0x42]
movzx r8d, word [rsp + 0x40]
add r8d, ecx
xor r8w, dx
mov word [rax + rcx*2], r8w
inc rcx
cmp rcx, 0xc
jne 0x1400050e0
mov word [rax + 0x18], 0
mov byte [rsp + 0x5c], 0x69
movzx ecx, byte [rsp + 0x5c]
add cl, 0xf7
movzx ecx, cl
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx + 0x18]
add rcx, 0x20
jmp 0x140005136
cmp r9w, r10w
je 0x140005183
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x50]
xor r8d, r8d
movzx r10d, word [rdx + r8]
lea r11d, [r10 - 0x41]
mov r9d, r10d
or r9d, 0x20
cmp r11w, 0x1a
cmovae r9d, r10d
movzx r11d, word [rax + r8]
lea edi, [r11 - 0x41]
mov r10d, r11d
or r10d, 0x20
cmp di, 0x1a
cmovae r10d, r11d
test r9w, r9w
je 0x140005130
add r8, 2
cmp r9w, r10w
je 0x140005140
jmp 0x140005130
mov rdx, qword [rcx + 0x20]
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov r8d, 0x12337fde
call fcn.140004690
mov rcx, rsi
call rax
mov dword [rsp + 0x40], 0x2ddfacc8
mov dword [rsp + 0x5c], 0x2ddfaf20
mov edi, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x40]
mov word [rsp + 0x24], 0x13c0
mov word [rsp + 0x26], 0x13ab
mov word [rsp + 0x28], 0x13a5
mov word [rsp + 0x2a], 0x13b2
mov word [rsp + 0x2c], 0x13ae
mov word [rsp + 0x2e], 0x13a5
mov word [rsp + 0x30], 0x13ac
mov word [rsp + 0x32], 0x13f3
mov word [rsp + 0x34], 0x13f2
mov word [rsp + 0x36], 0x13ee
mov word [rsp + 0x38], 0x13a4
mov word [rsp + 0x3a], 0x13ac
mov word [rsp + 0x3c], 0x13ac
mov word [rsp + 0x3e], 0
mov ecx, 0x1a
call fcn.1400018f0
mov ecx, 1
nop word [rax + rax]
movzx edx, word [rsp + rcx*2 + 0x24]
xor dx, word [rsp + 0x24]
mov word [rax + rcx*2 - 2], dx
inc rcx
cmp rcx, 0xd
jne 0x140005230
mov word [rax + 0x18], 0
mov byte [rsp + 0x23], 0x69
movzx ecx, byte [rsp + 0x23]
add cl, 0xf7
movzx ecx, cl
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx + 0x18]
add rcx, 0x20
jmp 0x140005276
cmp r9w, r10w
je 0x1400052c3
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x50]
xor r8d, r8d
movzx r10d, word [rdx + r8]
lea r11d, [r10 - 0x41]
mov r9d, r10d
or r9d, 0x20
cmp r11w, 0x1a
cmovae r9d, r10d
movzx r11d, word [rax + r8]
lea ebx, [r11 - 0x41]
mov r10d, r11d
or r10d, 0x20
cmp bx, 0x1a
cmovae r10d, r11d
test r9w, r9w
je 0x140005270
add r8, 2
cmp r9w, r10w
je 0x140005280
jmp 0x140005270
xor esi, edi
mov rdx, qword [rcx + 0x20]
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov r8d, 0x2ca0a50c
call fcn.140004690
mov ecx, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
jmp rax