Function at 0x140049010
Capabilities:
Encode data using xor

Disassembly:
xchg r11, rbx
mov qword [rsp + 8], r11
xchg r11, rbx
xchg r9, rsi
mov qword [rsp + 0x10], r9
xchg rsi, r9
push rdi
mov dword [rsp - 0x38], 0x3a48f2b5
neg rsp
sub rsp, 0xffffffffffffffe0
neg rsp
mov rsi, qword [rcx + 0x38]
xchg rdx, rbx
mov rdx, rbx
xchg rbx, rdx
xchg r8, r14
mov r14, qword [rdx + 0x38]
xchg r14, r8
xchg rdi, r11
mov r11, rcx
xchg rdi, r11
add r8, rsi
mov dword [rsp - 0x34], 0x3887a75f
xchg rdx, r8
mov r8, rsi
xchg r8, rdx
mov qword [rcx + 0x38], r8
mov dword [rsp - 0x10], esi
call fcn.140049ce0
mov r9, qword [rbx]
mov ecx, esi
mov rsp, rsp
and ecx, 3
mov r8d, 0xae80c54
add r8d, 0x4fdf2cf8
xor r8d, 0x56045369
add r8d, 0x22160d2b
shl ecx, 3
mov edx, r8d
mov dword [rsp - 0x20], 0x77c7c1c0
ror edx, cl
xchg r10, rax
mov rax, r10
xchg r10, rax
xor ecx, ecx
mov dword [rsp - 0x2c], ecx
cmp qword [rbx + 0x38], rcx
jbe 0x140049132
lea rax, [rsi + rsi]
mov r11d, 0x46b0b755
xor r11d, 0x33ce39e9
sub r11d, 0x71327901
sub r11d, 0x44c14bc
sub rax, r9
add r10, rax
xchg rsp, rsp
nop dword [rax]
movzx eax, dx
lea r9, [r9 + 2]
xor ax, r8w
xchg rbp, rbp
ror edx, 8
and ax, r11w
ror r8d, 3
ror r8d, 5
xor ax, word [r9 - 2]
mov dword [rsp - 0x40], 0x25bf26a6
inc rcx
mov word [r10 + r9 - 2], ax
cmp rcx, qword [rbx + 0x38]
xchg rcx, rcx
jb 0x1400490f2
xchg r13, rbx
mov r13, qword [rsp + 0x30]
xchg r13, rbx
xchg rdi, rax
mov rdi, rax
xchg rdi, rax
xchg rsi, r11
mov r11, qword [rsp + 0x38]
xchg rsi, r11
neg rsp
add rsp, 0xffffffffffffffe0
neg rsp
pop rdi
mov dword [rsp - 0x24], edx
ret

Function at 0x140049160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xchg r15, r15
mov qword [rsp + 0x10], rsi
xchg rdi, rbx
mov qword [rsp + 0x18], rbx
xchg rbx, rdi
push r14
xchg r15, r15
neg rsp
sub rsp, 0xffffffffffffffe0
neg rsp
xchg rbp, r14
mov rbp, qword [rcx + 0x38]
xchg r14, rbp
xchg rdx, rdi
mov rdx, rdi
xchg rdi, rdx
xchg rcx, rbp
mov rsi, rbp
xchg rbp, rcx
nop
movabs rbx, 0xffffffff1d5dab2c
sub rbx, 0x2b2bd97
xor rbx, 0x8065a04
add rbx, 0x5a38c92f
add rbx, 0x7fffffff
xor rbx, 0x131a7f40
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400491d1
mov rsi, rsi
lea r8, [r14 + rbx]
xchg r14, rdx
mov r14, rdx
xchg rdx, r14
xchg r8, rsp
mov qword [rcx + 0x38], rsp
xchg rsp, r8
call fcn.140049ce0
xchg r13, r13
mov ecx, r14d
mov edx, 0x641f13
add edx, 0x3d40fc6d
sub edx, 0x3c5e87a
sub edx, 0xb05bbb6
and ecx, 3
mov r13, r13
shl ecx, 3
ror edx, cl
test rbx, rbx
je 0x14004929c
mov dword [rsp - 0x30], 0x4908fd28
lea r8, [r14 + r14]
mov ecx, 0x619c0312
xor ecx, 0x1044c124
xor ecx, 0x4e5a39c5
xor ecx, 0x3f82fb0c
sub r8, rdi
add r8, rax
mov dword [rsp - 0x3c], edi
nop dword [rax]
nop dword [rax + rax]
movzx eax, dx
lea rdi, [rdi + 2]
mov dword [rsp - 0x38], 0x678d0496
and ax, cx
ror edx, 3
ror edx, 2
ror edx, 2
ror edx, 1
xor ax, word [rdi - 2]
mov word [r8 + rdi - 2], ax
mov rsp, rsp
sub rbx, 1
jne 0x140049268
xchg rbx, r12
mov r12, qword [rsp + 0x30]
xchg r12, rbx
xchg rsi, rsp
mov rax, rsp
xchg rsp, rsi
mov rsi, qword [rsp + 0x38]
mov dword [rsp - 0x14], 0x4bddc543
mov rdi, qword [rsp + 0x40]
neg rsp
add rsp, 0xffffffffffffffe0
neg rsp
nop
add rsp, 8
mov r14, qword [rsp - 8]
ret