Function at 0x140006e50
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, qword [rcx]
mov word [rsp + 0x46], 0x64ba
mov word [rsp + 0x48], 0x64cd
mov word [rsp + 0x4a], 0x64d3
mov word [rsp + 0x4c], 0x64d4
mov word [rsp + 0x4e], 0x64d2
mov word [rsp + 0x50], 0x64ce
mov word [rsp + 0x52], 0x64ce
mov word [rsp + 0x54], 0x64ca
mov word [rsp + 0x56], 0x6494
mov word [rsp + 0x58], 0x64de
mov word [rsp + 0x5a], 0x64d6
mov word [rsp + 0x5c], 0x64d6
mov word [rsp + 0x5e], 0
mov ecx, 0x18
call fcn.1400018f0
mov rsi, rax
mov eax, 1
nop word [rax + rax]
movzx ecx, word [rsp + rax*2 + 0x46]
xor cx, word [rsp + 0x46]
mov word [rsi + rax*2 - 2], cx
inc rax
cmp rax, 0xc
jne 0x140006ed0
mov word [rsi + 0x16], 0
mov word [rsp + 0x2a], 0xbfce
mov word [rsp + 0x2c], 0xbfa5
mov word [rsp + 0x2e], 0xbfab
mov word [rsp + 0x30], 0xbfbc
mov word [rsp + 0x32], 0xbfa0
mov word [rsp + 0x34], 0xbfab
mov word [rsp + 0x36], 0xbfa2
mov word [rsp + 0x38], 0xbffd
mov word [rsp + 0x3a], 0xbffc
mov word [rsp + 0x3c], 0xbfe0
mov word [rsp + 0x3e], 0xbfaa
mov word [rsp + 0x40], 0xbfa2
mov word [rsp + 0x42], 0xbfa2
mov word [rsp + 0x44], 0
mov ecx, 0x1a
call fcn.1400018f0
mov ecx, 1
nop
movzx edx, word [rsp + rcx*2 + 0x2a]
xor dx, word [rsp + 0x2a]
mov word [rax + rcx*2 - 2], dx
inc rcx
cmp rcx, 0xd
jne 0x140006f60
mov word [rax + 0x18], 0
mov byte [rsp + 0x29], 0x69
movzx ecx, byte [rsp + 0x29]
add cl, 0xf7
movzx ecx, cl
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx + 0x18]
add rcx, 0x20
jmp 0x140006fa6
cmp r9w, r10w
je 0x140006ff3
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 0x140006fa0
add r8, 2
cmp r9w, r10w
je 0x140006fb0
jmp 0x140006fa0
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 rsi, qword [rdi + 8]
mov word [rsp + 0x2a], 0xc658
movzx eax, word [rsp + 0x2a]
xor eax, 0x77
mov word [rsp + 0x2c], ax
movzx eax, word [rsp + 0x2a]
inc eax
xor eax, 0x69
mov word [rsp + 0x2e], ax
movzx eax, word [rsp + 0x2a]
add eax, 2
xor eax, 0x6e
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x2a]
add eax, 3
xor eax, 0x68
mov word [rsp + 0x32], ax
movzx eax, word [rsp + 0x2a]
add eax, 4
xor eax, 0x74
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x2a]
add eax, 5
xor eax, 0x74
mov word [rsp + 0x36], ax
movzx eax, word [rsp + 0x2a]
add eax, 6
xor eax, 0x70
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x2a]
add eax, 7
xor eax, 0x2e
mov word [rsp + 0x3a], ax
movzx eax, word [rsp + 0x2a]
add eax, 8
xor eax, 0x64
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x2a]
add eax, 9
xor eax, 0x6c
mov word [rsp + 0x3e], ax
movzx eax, word [rsp + 0x2a]
add eax, 0xa
xor eax, 0x6c
mov word [rsp + 0x40], ax
mov word [rsp + 0x42], 0
mov ecx, 0x18
call fcn.1400018f0
xor ecx, ecx
nop dword [rax + rax]
movzx edx, word [rsp + rcx*2 + 0x2c]
movzx r8d, word [rsp + 0x2a]
add r8d, ecx
xor r8w, dx
mov word [rax + rcx*2], r8w
inc rcx
cmp rcx, 0xb
jne 0x1400070e0
mov word [rax + 0x16], 0
mov byte [rsp + 0x46], 0x69
movzx ecx, byte [rsp + 0x46]
add cl, 0xf7
movzx ecx, cl
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx + 0x18]
add rcx, 0x20
jmp 0x140007136
cmp r9w, r10w
je 0x140007183
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 0x140007130
add r8, 2
cmp r9w, r10w
je 0x140007140
jmp 0x140007130
mov rdx, qword [rcx + 0x20]
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov r8d, 0xa3678b20
call fcn.140004690
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call rax
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret