Function at 0x1401a7824
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rsi, rdx
mov rdi, rcx
lea rcx, [rsp + 0x50]
call fcn.1401a7f6c
nop
xor ebx, ebx
cmp qword [rsp + 0x60], rbx
je 0x1401a78ce
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov r8d, 0x20
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov r15d, 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x50]
call fcn.1400ac668
mov rax, rdi
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x70], 0x17
mov eax, dword [rsp + 0x70]
xor ax, 0x2e
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x70]
mov r14d, 1
add ax, r14w
xor ax, 0x65
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x70]
add ax, 2
xor ax, 0x78
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x70]
add ax, 3
xor ax, 0x65
mov word [rsp + 0x7a], ax
xor eax, eax
mov word [rsp + 0x7c], ax
movzx eax, word [rsp + 0x74]
mov rdx, rbx
movzx eax, word [rsp + rdx*2 + 0x74]
mov ecx, dword [rsp + 0x70]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x74], cx
add rdx, r14
cmp rdx, 4
jb 0x1401a792b
mov word [rsp + 0x7c], bx
mov rdx, qword [rsi + 0x10]
lea rax, [rsp + 0x74]
or r12, 0xffffffffffffffff
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1401a795d
movabs r13, 0x7ffffffffffffffe
mov rax, r13
sub rax, rdx
cmp rax, rcx
jb 0x1401a7f53
mov r9, rsi
mov r15d, 8
cmp qword [rsi + 0x18], r15
jb 0x1401a7991
mov r9, qword [rsi]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x10]
call fcn.140172528
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xb0]
call fcn.1401a7f6c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bbecc
lea rcx, [rbp + 0xb0]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x10]
call fcn.1400ac668
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rsp + 0x74]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x60], rbx
jne 0x1401a786c
mov dword [rbp - 0x68], 0x21
mov eax, 0xf
mov word [rbp - 0x64], ax
mov eax, 0x45
mov word [rbp - 0x62], ax
mov eax, 0x4d
mov word [rbp - 0x60], ax
mov word [rbp - 0x5e], ax
xor eax, eax
mov word [rbp - 0x5c], ax
movzx eax, word [rbp - 0x64]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x64]
mov ecx, dword [rbp - 0x68]
xor cx, ax
mov word [rbp + rdx*2 - 0x64], cx
add rdx, r14
cmp rdx, 4
jb 0x1401a7a32
mov word [rbp - 0x5c], bx
mov rdx, qword [rsi + 0x10]
lea rax, [rbp - 0x64]
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1401a7a5a
mov rax, r13
sub rax, rdx
cmp rax, rcx
jb 0x1401a7f59
mov r9, rsi
cmp qword [rsi + 0x18], r15
jb 0x1401a7a7e
mov r9, qword [rsi]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x30]
call fcn.140172528
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.1401a7f6c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bbecc
lea rcx, [rbp + 0xd0]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x30]
call fcn.1400ac668
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x64]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x60], rbx
jne 0x1401a786c
mov dword [rsp + 0x40], 0x24
mov eax, dword [rsp + 0x40]
xor ax, 0x2e
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0x40]
add ax, r14w
xor ax, 0x2e
mov word [rsp + 0x46], ax
mov eax, dword [rsp + 0x40]
add ax, 2
xor ax, 0x5c
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
movzx eax, word [rsp + 0x44]
mov rdx, rbx
movzx eax, word [rsp + rdx*2 + 0x44]
mov ecx, dword [rsp + 0x40]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x44], cx
add rdx, r14
cmp rdx, 3
jb 0x1401a7b30
mov word [rsp + 0x4a], bx
lea rax, [rsp + 0x44]
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1401a7b5a
mov rdx, qword [rsi + 0x10]
mov rax, r13
sub rax, rdx
cmp rax, rcx
jb 0x1401a7f5f
mov rax, rsi
cmp qword [rsi + 0x18], r15
jb 0x1401a7b82
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x44]
lea rcx, [rbp + 0x50]
call fcn.140172528
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xf0]
call fcn.1401a7f6c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bbecc
lea rcx, [rbp + 0xf0]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x50]
call fcn.1400ac668
nop
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x60], rbx
jne 0x1401a786c
mov dword [rbp - 0x58], 0x47
mov eax, 0x69
mov word [rbp - 0x54], ax
lea ecx, [rax - 0x47]
mov word [rbp - 0x52], cx
lea eax, [rcx + 0x1d]
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], cx
xor eax, eax
mov word [rbp - 0x4c], ax
movzx eax, word [rbp - 0x54]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x54]
mov ecx, dword [rbp - 0x58]
xor cx, ax
mov word [rbp + rdx*2 - 0x54], cx
add rdx, r14
cmp rdx, 4
jb 0x1401a7c1e
mov word [rbp - 0x4c], bx
mov dword [rbp - 0x80], 0x26
mov word [rbp - 0x7c], r15w
mov word [rbp - 0x7a], r15w
mov eax, 0x7a
mov word [rbp - 0x78], ax
xor eax, eax
mov word [rbp - 0x76], ax
movzx eax, word [rbp - 0x7c]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x7c]
mov ecx, dword [rbp - 0x80]
xor cx, ax
mov word [rbp + rdx*2 - 0x7c], cx
add rdx, r14
cmp rdx, 3
jb 0x1401a7c62
mov word [rbp - 0x76], bx
lea rax, [rbp - 0x7c]
mov rcx, r12
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1401a7c86
mov rdx, qword [rsi + 0x10]
mov rax, r13
sub rax, rdx
cmp rax, rcx
jb 0x1401a7f65
mov rax, rsi
cmp qword [rsi + 0x18], r15
jb 0x1401a7cae
mov rax, qword [rsi]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x7c]
lea rcx, [rbp + 0x70]
call fcn.140172528
nop
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0x70]
call fcn.140172498
mov rbx, rax
and qword [rbp - 0x38], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov r14d, 0x20
mov r8d, r14d
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
xor eax, eax
mov qword [rbx + 0x10], rax
lea r15d, [r14 - 0x19]
mov qword [rbx + 0x18], r15
mov word [rbx], ax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x110]
call fcn.1401a7f6c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bbecc
lea rcx, [rbp + 0x110]
call fcn.1400ac668
nop
lea rcx, [rbp - 0x38]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x70]
call fcn.1400ac668
nop
xor edx, edx
lea r8d, [r14 - 0x18]
lea rcx, [rbp - 0x7c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [r14 - 0x16]
lea rcx, [rbp - 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor ebx, ebx
cmp qword [rsp + 0x60], rbx
je 0x1401a7d98
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov r8d, r14d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
jmp 0x1401a7891
mov dword [rbp - 0x48], 0x1d
mov eax, 0x33
mov word [rbp - 0x44], ax
mov eax, 0x79
mov word [rbp - 0x42], ax
mov eax, 0x71
mov word [rbp - 0x40], ax
mov word [rbp - 0x3e], ax
xor eax, eax
mov word [rbp - 0x3c], ax
movzx eax, word [rbp - 0x44]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x44]
mov ecx, dword [rbp - 0x48]
xor cx, ax
mov word [rbp + rdx*2 - 0x44], cx
inc rdx
cmp rdx, 4
jb 0x1401a7dcb
mov word [rbp - 0x3c], bx
mov dword [rbp - 0x74], 0x45
mov eax, 0x6b
mov word [rbp - 0x70], ax
mov word [rbp - 0x6e], ax
mov eax, 0x19
mov word [rbp - 0x6c], ax
xor eax, eax
mov word [rbp - 0x6a], ax
movzx eax, word [rbp - 0x70]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x70]
mov ecx, dword [rbp - 0x74]
xor cx, ax
mov word [rbp + rdx*2 - 0x70], cx
inc rdx
cmp rdx, 3
jb 0x1401a7e12
mov word [rbp - 0x6a], bx
lea rax, [rbp - 0x70]
inc r12
cmp word [rax + r12*2], bx
jne 0x1401a7e33
mov rax, qword [rsi + 0x10]
sub r13, rax
cmp r13, r12
jb 0x1401a7f47
cmp qword [rsi + 0x18], 8
jb 0x1401a7e57
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x70]
lea rcx, [rbp + 0x90]
call fcn.140172528
nop
lea rdx, [rbp - 0x44]
lea rcx, [rbp + 0x90]
call fcn.140172498
mov rbx, rax
xor esi, esi
mov qword [rbp - 0x18], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov r8, r14
mov rdx, rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], r15
mov word [rbx], si
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x130]
call fcn.1401a7f6c
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400bbecc
lea rcx, [rbp + 0x130]
call fcn.1400ac668
nop
lea rcx, [rbp - 0x18]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x90]
call fcn.1400ac668
nop
xor edx, edx
lea r8d, [rsi + 8]
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rsi + 0xa]
lea rcx, [rbp - 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
cmp qword [rsp + 0x60], rsi
je 0x1401a7f4d
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov r8, r14
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
jmp 0x1401a789b
call fcn.14009f088
nop
call fcn.140173fa4
nop
call fcn.14009f088
nop
call fcn.14009f088
nop
call fcn.14009f088
nop
call fcn.14009f088
int3