Function at 0x140498790
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
xchg rsi, rbx
mov qword [rsp + 0x20], rbx
xchg rbx, rsi
nop
push r9
mov qword [rsp], rdi
nop
add rsp, 0x5c0fb85a
sub rsp, 0x5c0fb89a
mov r8, qword [0x1404ec180]
xchg r8, r8
lea rdx, [rsp + 0x58]
mov rdi, rcx
mov dword [rsp + 0x58], 0x7d1b1c44
add dword [rsp + 0x58], 0x2952d48
xor dword [rsp + 0x58], 0x3021a887
sub dword [rsp + 0x58], 0x4f91e0fb
movabs rcx, 0x3f239a087b7f4783
sub rcx, 0x45c37957
add rcx, 0x23a3eb1a
xor rcx, 0x25d9018b
add rcx, 0x7fffffff
sub rcx, 0x48391083
movabs rax, 0xfdd6ced445268782
xor rax, 0xdcffcaa
add rax, 0x2acb5a33
add rax, 0x7fffffff
sub rax, 0x385130ae
xor r8, rcx
mov rsi, rsi
movabs rcx, 0xd6eac207276a2c4
sub rcx, 0x44c4a75d
add rcx, 0x34b124c5
xor rcx, 0x51096dfc
add rcx, 0x7fffffff
add rcx, 0x394d0791
ror r8, 3
ror r8, 2
ror r8, 7
ror r8, 3
ror r8, 1
ror r8, 1
ror r8, 1
add r8, rcx
xchg rsp, rsp
movabs rcx, 0x3d2efcf42aee85df
xor rcx, 0x2d9f1de7
add rcx, 0x5d68831c
sub rcx, 0xf56bca7
add rcx, 0x6e192080
ror r8, 0x32
ror r8, 2
ror r8, 2
ror r8, 6
ror r8, 1
add r8, rcx
lea rcx, [rsp + 0x20]
xor r8, rax
mov rbx, rbx
call r8
lea rbp, [rdi + 8]
xorps xmm0, xmm0
xchg r15, rbp
mov qword [rdi], r15
xchg r15, rbp
xchg rbp, r11
movups xmmword [r11], xmm0
xchg rbp, r11
xchg rbp, rdx
movups xmmword [rdx + 0x10], xmm0
xchg rdx, rbp
xchg rbp, r10
movups xmmword [r10 + 0x20], xmm0
xchg r10, rbp
test eax, eax
jne 0x140498953
mov r15, r15
xor esi, esi
xchg r10, rdi
mov rax, r10
xchg rdi, r10
xchg rsi, rdx
mov qword [rdi + 0x38], rdx
xchg rdx, rsi
xchg rbp, r10
mov r10, qword [rsp + 0x60]
xchg r10, rbp
mov rsi, qword [rsp + 0x68]
mov dword [rsp - 0x20], 0x5f11b2ea
nop
sub rsp, 0x657d0b89
add rsp, 0x657d0bc9
nop
mov rdi, qword [rsp]
add rsp, 8
ret
xchg rbx, rbp
mov qword [rsp + 0x50], rbp
xchg rbx, rbp
lea rax, [rsp + 0x20]
nop
movabs rbx, 0xffffffff742dd25a
xor rbx, 0x11504fe8
xor rbx, 0x327741d6
sub rbx, 0x4e38fdd4
add rbx, 0x7fffffff
add rbx, 0x772e2170
nop
mov dword [rsp - 0x2c], 0x30237e95
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14049899b
xchg r11, rbx
mov qword [rdi + 0x38], r11
xchg r11, rbx
mov rcx, qword [rdi]
mov dword [rsp - 0x34], edx
cmp rcx, rbp
je 0x1404989c8
call fcn.1400c1b60
xor esi, esi
mov dword [rsp - 0x20], 0x2a48e365
cmp rbx, 0x18
jbe 0x140498a0c
lea rcx, [rbx + rbx]
mov dword [rsp - 0x18], esi
call fcn.1400c1e00
mov qword [rdi], rax
test rax, rax
jne 0x140498a18
mov dword [rsp - 0x2c], esi
xchg r10, rbp
mov qword [rdi], r10
xchg rbp, r10
mov edx, esi
mov rbx, rbx
jmp 0x140498a46
mov qword [rdi], rbp
xchg r13, rbp
mov rax, r13
xchg rbp, r13
xorps xmm0, xmm0
mov dword [rsp - 0x10], 0x5d550caa
xchg rsp, rax
movups xmmword [rsp], xmm0
xchg rsp, rax
xchg rbp, rax
movups xmmword [rbp + 0x10], xmm0
xchg rbp, rax
xchg rcx, rax
movups xmmword [rcx + 0x20], xmm0
xchg rcx, rax
mov rdx, qword [rdi]
mov dword [rsp - 0x34], 0x22012a34
mov eax, 0x711a2c42
xor eax, 0x8270b30
sub eax, 0x4f0b006b
add eax, 0xd2fec04
xchg rbx, rcx
mov rcx, qword [rsp + 0x50]
xchg rcx, rbx
cmp qword [rdi + 0x38], rsi
xchg r14, r14
jbe 0x140498ad3
lea r8, [rsp + 0x20]
mov r9d, 0x389f4bac
add r9d, 0x471659ae
sub r9d, 0x63c768f4
add r9d, 0x166c2f04
sub r9d, 0x325a6a6b
sub r8, rdx
mov dword [rsp - 0x14], ebx
movzx ecx, ax
lea rdx, [rdx + 2]
and cx, r9w
xchg r13, r13
ror eax, 2
ror eax, 3
ror eax, 2
ror eax, 1
xor cx, word [rdx + r8 - 2]
inc rsi
xchg rdx, rdx
mov word [rdx - 2], cx
cmp rsi, qword [rdi + 0x38]
jb 0x140498aa0
xchg rbp, r13
mov r13, qword [rsp + 0x60]
xchg rbp, r13
mov rax, rdi
xchg rsi, r8
mov r8, qword [rsp + 0x68]
xchg rsi, r8
neg rsp
add rsp, 0xffffffffffffffc0
neg rsp
pop rdi
ret