Function at 0x140047880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x710]
sub rsp, 0x810
mov rax, qword [0x14046c618]
xor rax, rsp
mov qword [rbp + 0x700], rax
xor r9d, r9d
mov qword [rbp - 0x30], r8
xor r10d, r10d
mov qword [rbp - 0x28], rcx
mov rdi, r8
mov r11, rdx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10 + r11]
add r9d, eax
lea edx, [r9 + 8]
sar edx, 4
movzx eax, dl
shl al, 4
sub r9b, al
mov byte [rbp + r10*2 + 0x6c0], r9b
lea r9d, [rdx + 8]
sar r9d, 4
movzx eax, r9b
shl al, 4
sub dl, al
mov byte [rbp + r10*2 + 0x6c1], dl
inc r10
cmp r10, 0x1f
jl 0x1400478d0
movzx eax, byte [r11 + 0x1f]
mov rdx, r8
add r9d, eax
lea ecx, [r9 + 8]
sar ecx, 4
movzx eax, cl
mov byte [rbp + 0x6ff], cl
shl al, 4
lea rcx, [rbp + 0x1c0]
sub r9b, al
mov byte [rbp + 0x6fe], r9b
call fcn.140046a20
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x28], 7
mov qword [rsp + 0x20], rax
lea rbx, [rbp + 0x290]
mov r8, rax
lea rcx, [rbp + 0x120]
mov rdx, rdi
call fcn.140045e30
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x80]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0xa8]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xd0]
call fcn.140044630
lea r8, [rbp + 0x148]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf8]
call fcn.140044630
mov r12d, dword [rbp + 0x90]
mov r13d, dword [rbp + 0xb8]
mov r14d, dword [rbp + 0x94]
mov r15d, dword [rbp + 0xbc]
mov edi, dword [rbp + 0x98]
mov esi, dword [rbp + 0xc0]
mov r10d, dword [rbp + 0x9c]
mov r11d, dword [rbp + 0xc4]
mov r8d, dword [rbp + 0xa0]
mov r9d, dword [rbp + 0xc8]
mov ecx, dword [rbp + 0xa4]
mov edx, dword [rbp + 0xcc]
mov eax, dword [rbp + 0x80]
add eax, dword [rbp + 0xa8]
mov dword [rbx - 0x30], eax
mov eax, dword [rbp + 0x84]
add eax, dword [rbp + 0xac]
mov dword [rbx - 0x2c], eax
mov eax, dword [rbp + 0x88]
add eax, dword [rbp + 0xb0]
mov dword [rbx - 0x28], eax
mov eax, dword [rbp + 0x8c]
add eax, dword [rbp + 0xb4]
mov dword [rbx - 0x24], eax
lea eax, [r12 + r13]
mov dword [rbx - 0x20], eax
sub r13d, r12d
lea eax, [r14 + r15]
mov dword [rbx + 8], r13d
mov dword [rbx - 0x1c], eax
sub r15d, r14d
lea eax, [rdi + rsi]
mov dword [rbx + 0xc], r15d
mov dword [rbx - 0x18], eax
sub esi, edi
lea eax, [r10 + r11]
mov dword [rbx + 0x10], esi
mov dword [rbx - 0x14], eax
sub r11d, r10d
lea eax, [r8 + r9]
mov dword [rbx + 0x14], r11d
mov dword [rbx - 0x10], eax
sub r9d, r8d
lea eax, [rcx + rdx]
mov dword [rbx + 0x18], r9d
mov dword [rbx - 0xc], eax
mov eax, dword [rbp + 0xa8]
sub eax, dword [rbp + 0x80]
mov dword [rbx - 8], eax
mov eax, dword [rbp + 0xac]
sub eax, dword [rbp + 0x84]
mov dword [rbx - 4], eax
mov eax, dword [rbp + 0xb0]
sub eax, dword [rbp + 0x88]
mov dword [rbx], eax
mov eax, dword [rbp + 0xb4]
sub eax, dword [rbp + 0x8c]
sub edx, ecx
mov dword [rbx + 4], eax
mov eax, dword [rbp + 0xd0]
mov dword [rbx + 0x1c], edx
mov dword [rbx + 0x20], eax
lea rcx, [rbx + 0x48]
mov eax, dword [rbp + 0xd4]
lea r8, [0x1403dee80]
mov dword [rbx + 0x24], eax
lea rdx, [rbp + 0xf8]
mov eax, dword [rbp + 0xd8]
mov dword [rbx + 0x28], eax
mov eax, dword [rbp + 0xdc]
mov dword [rbx + 0x2c], eax
mov eax, dword [rbp + 0xe0]
mov dword [rbx + 0x30], eax
mov eax, dword [rbp + 0xe4]
mov dword [rbx + 0x34], eax
mov eax, dword [rbp + 0xe8]
mov dword [rbx + 0x38], eax
mov eax, dword [rbp + 0xec]
mov dword [rbx + 0x3c], eax
mov eax, dword [rbp + 0xf0]
mov dword [rbx + 0x40], eax
mov eax, dword [rbp + 0xf4]
mov dword [rbx + 0x44], eax
call fcn.140044630
mov rax, qword [rsp + 0x20]
lea rbx, [rbx + 0xa0]
mov rdi, qword [rbp - 0x30]
add rax, 0xa0
sub qword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
jne 0x140047962
mov r14, qword [rbp - 0x28]
xor eax, eax
mov r13d, 0x3f
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], 1
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rax
mov qword [r14 + 0x40], rax
mov qword [r14 + 0x48], rax
mov qword [r14 + 0x50], 1
mov qword [r14 + 0x58], rax
mov qword [r14 + 0x60], rax
mov qword [r14 + 0x68], rax
mov qword [r14 + 0x70], rax
nop dword [rax + rax]
movsx rbx, byte [rbp + r13 + 0x6c0]
lea rcx, [rbp + 0x120]
mov rsi, rbx
mov rdx, r14
shr rsi, 0x3f
call fcn.140046810
lea r8, [rbp + 0x198]
mov rcx, r14
lea rdx, [rbp + 0x120]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [r14 + 0x28]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [r14 + 0x50]
call fcn.140044630
mov rdx, r14
lea rcx, [rbp + 0x120]
call fcn.140046810
lea r8, [rbp + 0x198]
mov rcx, r14
lea rdx, [rbp + 0x120]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [r14 + 0x28]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [r14 + 0x50]
call fcn.140044630
mov rdx, r14
lea rcx, [rbp + 0x120]
call fcn.140046810
lea r8, [rbp + 0x198]
mov rcx, r14
lea rdx, [rbp + 0x120]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [r14 + 0x28]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [r14 + 0x50]
call fcn.140044630
mov rdx, r14
lea rcx, [rbp + 0x120]
call fcn.140046810
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x80]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0xa8]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0xd0]
call fcn.140044630
lea r8, [rbp + 0x148]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0xf8]
call fcn.140044630
movdqa xmm0, xmmword [0x1404382d0]
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x20], xmm0
movdqa xmm0, xmmword [0x140438300]
movdqa xmmword [rbp - 0x10], xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmm1, xmmword [0x1404382d0]
movdqa xmmword [rbp], xmm0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm1
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
movzx eax, sil
movdqa xmmword [rbp + 0x60], xmm0
neg al
movdqa xmmword [rbp + 0x70], xmm1
and al, bl
lea rdx, [rbp + 0x1c0]
add al, al
lea rcx, [rbp - 0x20]
sub bl, al
movzx edi, bl
mov ebx, edi
xor ebx, 1
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x260]
xor ebx, 2
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x288]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x300]
xor ebx, 3
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x328]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x378]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x3a0]
xor ebx, 4
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x3c8]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x418]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x440]
xor ebx, 5
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x468]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x4b8]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x4e0]
xor ebx, 6
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x508]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x530]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x558]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov ebx, edi
lea rdx, [rbp + 0x580]
xor ebx, 7
lea rcx, [rbp - 0x20]
dec ebx
shr ebx, 0x1f
mov r8d, ebx
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp + 0x5f8]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
xor edi, 8
lea rdx, [rbp + 0x620]
dec edi
lea rcx, [rbp - 0x20]
shr edi, 0x1f
mov r8d, edi
call fcn.1400441f0
mov r8d, edi
lea rdx, [rbp + 0x648]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, edi
lea rdx, [rbp + 0x670]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, edi
lea rdx, [rbp + 0x698]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
mov eax, dword [rbp + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x34], eax
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x3c], eax
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x44], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x2c]
mov dword [rsp + 0x54], eax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x5c], eax
mov eax, dword [rbp - 0x18]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x64], eax
mov eax, dword [rbp - 0x10]
mov dword [rsp + 0x68], eax
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x6c], eax
mov eax, dword [rbp - 8]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 4]
mov dword [rsp + 0x74], eax
mov eax, dword [rbp]
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x7c], eax
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp + 0x34]
mov dword [rbp - 0x7c], eax
mov eax, dword [rbp + 0x38]
mov dword [rbp - 0x78], eax
mov eax, dword [rbp + 0x3c]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp + 0x40]
mov dword [rbp - 0x70], eax
mov eax, dword [rbp + 0x44]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbp + 0x48]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp + 0x4c]
mov dword [rbp - 0x64], eax
mov eax, dword [rbp + 0x50]
mov dword [rbp - 0x60], eax
mov eax, dword [rbp + 0x54]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbp + 0x58]
neg eax
mov dword [rbp - 0x58], eax
mov eax, dword [rbp + 0x5c]
neg eax
mov dword [rbp - 0x54], eax
mov eax, dword [rbp + 0x60]
neg eax
mov dword [rbp - 0x50], eax
mov eax, dword [rbp + 0x64]
neg eax
mov dword [rbp - 0x4c], eax
mov eax, dword [rbp + 0x68]
neg eax
mov dword [rbp - 0x48], eax
mov eax, dword [rbp + 0x6c]
neg eax
movzx ebx, sil
mov dword [rbp - 0x44], eax
lea rdx, [rsp + 0x30]
mov eax, dword [rbp + 0x70]
lea rcx, [rbp - 0x20]
neg eax
mov r8d, ebx
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x74]
neg eax
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp + 0x78]
neg eax
mov dword [rbp - 0x38], eax
mov eax, dword [rbp + 0x7c]
neg eax
mov dword [rbp - 0x34], eax
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 8]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x30]
call fcn.1400441f0
mov r8d, ebx
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x58]
call fcn.1400441f0
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x120]
call fcn.140045e30
lea r8, [rbp + 0x198]
mov rcx, r14
lea rdx, [rbp + 0x120]
call fcn.140044630
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x148]
lea rcx, [r14 + 0x28]
call fcn.140044630
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0x170]
lea rcx, [r14 + 0x50]
call fcn.140044630
sub r13, 1
jns 0x140047be0
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.1403171d0
mov rbx, qword [rsp + 0x858]
add rsp, 0x810
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret