Function at 0x140048960
Capabilities:
Encode data using xor

Disassembly:
xchg rbx, r13
mov qword [rsp + 0x10], r13
xchg r13, rbx
xchg rsi, rbp
mov qword [rsp + 0x18], rsi
xchg rbp, rsi
xchg r9, rsi
mov qword [rsp + 0x20], r9
xchg rsi, r9
nop
sub rsp, 8
mov qword [rsp], rdi
push r12
xchg r13, r13
push r13
push r14
nop
mov qword [rsp - 8], r15
sub rsp, 8
sub rsp, 0x20
xchg r8, r8
nop
movabs rsi, 0xffffffff611b5a9c
sub rsi, 0x2dc14668
sub rsi, 0x264fdf43
add rsi, 0x413fb0ea
add rsi, 0x7fffffff
xor rsi, 0x31b61a25
xchg rbx, r12
mov rbx, r8
xchg rbx, r12
xchg rbx, rsp
mov rsp, rsi
xchg rsp, rbx
xchg rdx, r15
mov rdx, r15
xchg r15, rdx
xchg r14, r13
mov r14, rcx
xchg r14, r13
nop
inc rbx
xchg r12, r12
cmp word [r8 + rbx*2], 0
jne 0x1400489f7
mov rax, qword [rdx + 0x38]
mov dword [rsp - 0x20], edi
add rax, rbx
xchg rcx, rax
mov qword [rsp + 0x50], rcx
xchg rcx, rax
lea rcx, [rax + 1]
mov rcx, rcx
mov eax, 0xac1587a
sub eax, 0xa75dffc
add eax, 0x6d332234
sub eax, 0x6d7e9ab0
mul rcx
mov dword [rsp - 0x20], ebp
cmovo rax, rsi
xchg r10, rax
mov rcx, r10
xchg r10, rax
call fcn.14007fa60
mov dword [rsp - 0x2c], edi
xor ebp, ebp
mov edi, 0x61a9c9f6
sub edi, 0x56b9bd32
add edi, 0x353c722
xor edi, 0x4a58467f
sub edi, 0x15421e49
xchg rbp, rax
mov r14, rbp
xchg rbp, rax
mov eax, edi
mov r8d, ebp
mov r9d, 0x34b09286
add r9d, 0x2049e595
sub r9d, 0x54993d39
add r9d, 0x24cebb75
sub r9d, 0x252ff558
cmp qword [r15 + 0x38], rbp
jbe 0x140048af5
mov dword [rsp - 0x44], 0x3aac9540
nop word [rax + rax]
mov rcx, qword [r15]
movzx edx, ax
mov dword [rsp - 0x10], 0x5c33d560
and dx, r9w
ror eax, 3
ror eax, 1
ror eax, 1
ror eax, 2
ror eax, 1
xor dx, word [rcx + r8*2]
mov word [r14 + r8*2], dx
inc r8
mov dword [rsp - 0x1c], 0x12bfe8c2
cmp r8, qword [r15 + 0x38]
jb 0x140048ab8
xchg rdx, r10
mov r10, rbp
xchg rdx, r10
test rbx, rbx
mov dword [rsp - 0x14], edi
je 0x140048b3a
nop dword [rax + rax]
mov rcx, qword [r15 + 0x38]
mov dword [rsp - 0x18], esp
movzx eax, word [r12 + rdx*2]
add rcx, rdx
inc rdx
xchg rsp, rsp
mov word [r14 + rcx*2], ax
cmp rdx, rbx
jb 0x140048b13
xchg rbx, rbx
mov rax, qword [rsp + 0x50]
xorps xmm0, xmm0
mov word [r14 + rax*2], bp
mov r13, r13
lea rax, [r13 + 8]
xchg r15, rax
mov qword [r13], r15
xchg r15, rax
xchg rsi, rax
movups xmmword [rsi], xmm0
xchg rsi, rax
xchg r14, rax
movups xmmword [r14 + 0x10], xmm0
xchg r14, rax
movups xmmword [rax + 0x20], xmm0
mov dword [rsp - 0x18], ebp
nop dword [rax]
inc rsi
cmp word [r14 + rsi*2], bp
mov dword [rsp - 0x24], 0x50a2291a
jne 0x140048b75
xchg r14, rsi
mov rdx, r14
xchg rsi, r14
xchg rsi, r15
mov qword [r13 + 0x38], r15
xchg r15, rsi
xchg r14, r13
mov rcx, r14
xchg r14, r13
call fcn.140016528
mov dword [rsp - 0x40], 0x98c1d50
cmp qword [r13 + 0x38], rbp
jbe 0x140048c1e
mov rdx, r14
mov r8d, 0x60f85bf
add r8d, 0x723aa824
sub r8d, 0x4b56dbcb
xor r8d, 0x2cf352e7
sub rdx, rax
mov dword [rsp - 0x44], ecx
nop dword [rax + rax]
movzx ecx, di
lea rax, [rax + 2]
mov r8, r8
and cx, r8w
ror edi, 6
ror edi, 1
ror edi, 1
xor cx, word [rdx + rax - 2]
inc rbp
mov dword [rsp - 0x38], 0x6d554271
mov word [rax - 2], cx
cmp rbp, qword [r13 + 0x38]
jb 0x140048be8
mov rsi, rsi
xchg r11, rcx
mov r11, r14
xchg rcx, r11
call fcn.14007fa70
mov dword [rsp - 0x24], ebx
mov rbx, qword [rsp + 0x58]
xchg r13, rbx
mov rax, rbx
xchg r13, rbx
xchg r15, rbp
mov r15, qword [rsp + 0x60]
xchg rbp, r15
xchg rsi, rcx
mov rcx, qword [rsp + 0x68]
xchg rsi, rcx
sub rsp, 0xffffffffffffffe0
nop
add rsp, 8
mov r15, qword [rsp - 8]
pop r14
mov dword [rsp - 0x40], esp
nop
mov r13, qword [rsp]
add rsp, 8
nop
mov r12, qword [rsp]
add rsp, 8
nop
add rsp, 8
mov rdi, qword [rsp - 8]
ret