Function at 0x140041990
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x438]
sub rsp, 0x520
movaps xmmword [rax - 0x28], xmm6
xor r14d, r14d
mov rbx, 0xffffffffffffffff
lea esi, [rbx + 0xe]
cmp qword [0x140134d70], rbx
je 0x140041b27
lea rax, [rbp - 0x70]
mov qword [rbp + 0x440], rax
mov dword [rsp + 0x40], 0xf4e8ebc4
mov dword [rsp + 0x44], 0xe9e6cfe2
mov dword [rsp + 0x48], 0x87e2ebe3
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov rdx, qword [0x14013ae18]
test rdx, rdx
jne 0x140041a43
mov edi, 0xc
mov ecx, edi
call fcn.140075634
mov rdx, rax
mov qword [0x14013ae18], rax
mov rcx, rax
lea r8, [rsp + 0x20]
sub r8, rax
nop
movzx eax, byte [r8 + rcx]
xor al, 0x87
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x140041a30
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r14b
mov r8, rbx
inc r8
cmp byte [rdx + r8], r14b
jne 0x140041a56
lea rcx, [rbp - 0x70]
call fcn.1400064d0
nop
mov dword [rsp + 0x20], 0xcbd7c0ce
mov dword [rsp + 0x24], 0xb7b6c9c0
mov dword [rsp + 0x28], 0xe9e9e1ab
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0x85
mov rdx, qword [0x14013aca8]
test rdx, rdx
jne 0x140041ae3
mov rcx, rsi
call fcn.140075634
mov rdx, rax
mov qword [0x14013aca8], rax
mov rcx, rax
lea r8, [rsp + 0x40]
sub r8, rax
mov rdi, rsi
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, 0x85
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x140041ad0
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140041af6
lea rcx, [rbp - 0x50]
call fcn.1400064d0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140047090
mov rcx, qword [0x140134d70]
call rax
mov qword [0x140134d70], rbx
mov rax, qword [0x14013ac70]
test rax, rax
jne 0x140041b62
lea ecx, [rax + 0x12]
call fcn.140075634
mov qword [0x14013ac70], rax
mov dword [rax], 0x6e0050
mov dword [rax + 4], 0x42006b
mov dword [rax + 8], 0x740073
mov dword [rax + 0xc], 0x4b0072
mov word [rax + 0x10], r14w
mov rdx, rax
mov rcx, qword [0x14013b1d8]
call fcn.14003f2d0
lea rdi, [rbp]
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
lea rax, [rbp - 0x50]
mov qword [rbp + 0x440], rax
movdqa xmm6, xmmword [0x140121680]
mov dword [rsp + 0x30], 0x8ddaf4ff
movaps xmmword [rsp + 0x40], xmm6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
mov rdx, qword [0x14013aae0]
test rdx, rdx
jne 0x140041c23
mov edi, 0x14
mov ecx, edi
call fcn.140075634
mov rdx, rax
mov qword [0x14013aae0], rax
mov rax, r14
lea rcx, [rdx + 0x13]
lea r8, [rsp + 0x53]
cmp rdx, r8
ja 0x140041be3
lea r8, [rsp + 0x40]
cmp rcx, r8
jae 0x140041bf8
movdqa xmm0, xmmword [0x140121250]
pxor xmm0, xmm6
movdqu xmmword [rdx], xmm0
mov eax, 0x10
lea rcx, [rax + rdx]
lea r8, [rsp + 0x40]
sub r8, rdx
sub rdi, rax
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor al, 0x8d
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x140041c10
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov r8, rbx
inc r8
cmp byte [rdx + r8], 0
jne 0x140041c36
lea rcx, [rbp - 0x50]
call fcn.1400064d0
nop
mov dword [rsp + 0x20], 0xc5d9cec0
mov dword [rsp + 0x24], 0xb9b8c7ce
mov dword [rsp + 0x28], 0xe7e7efa5
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x48], eax
mov byte [rsp + 0x4c], 0x8b
mov rdx, qword [0x14013aaf0]
test rdx, rdx
jne 0x140041cc2
mov rcx, rsi
call fcn.140075634
mov rdx, rax
mov qword [0x14013aaf0], rax
mov rcx, rax
lea rdi, [rsp + 0x40]
sub rdi, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
xor al, 0x8b
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x140041cb0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140041cd2
mov r8, rbx
lea rcx, [rbp - 0x70]
call fcn.1400064d0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140046bf0
mov edx, 0x104
lea rcx, [rbp]
call rax
test eax, eax
je 0x140041e3b
mov dword [rsp + 0x60], 0xeb00d3
mov dword [rsp + 0x64], 0xe600fd
mov dword [rsp + 0x68], 0xea00f9
mov dword [rsp + 0x6c], 0xfc00fd
mov dword [rsp + 0x70], 0xdf00d3
mov dword [rsp + 0x74], 0xe400e1
mov dword [rsp + 0x78], 0xfc00cd
mov dword [rsp + 0x7c], 0xfd00fb
mov dword [rbp - 0x80], 0xa100c4
mov dword [rbp - 0x7c], 0xf600fc
mov dword [rbp - 0x78], 0x8f00fc
mov ebx, 0x8f
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x20], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rbp - 8], eax
mov r8, qword [0x14013ab68]
test r8, r8
jne 0x140041e24
lea ecx, [rbx - 0x63]
call fcn.140075634
mov r8, rax
mov qword [0x14013ab68], rax
add rax, 0x2a
lea rcx, [rbp - 6]
cmp r8, rcx
ja 0x140041dbc
lea rcx, [rbp - 0x30]
cmp rax, rcx
jae 0x140041df7
movdqa xmm1, xmmword [0x140120a20]
mov rax, r8
lea rdx, [rbp - 0x30]
sub rdx, r8
mov ecx, 2
lea r14d, [rcx + 0xe]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax]
pxor xmm0, xmm1
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140041de0
lea rcx, [r8 + r14*2]
lea rdi, [rbp - 0x30]
sub rdi, r8
mov edx, 0x16
sub rdx, r14
nop word [rax + rax]
movzx eax, word [rcx + rdi]
xor ax, bx
mov word [rcx], ax
lea rcx, [rcx + 2]
sub rdx, 1
jne 0x140041e10
mov edx, 0x208
lea rcx, [rbp]
call fcn.140089f0c
lea rcx, [rbp]
call fcn.140040170
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret