Function at 0x1400cc470
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rcx
mov eax, dword [0x140255db0]
add eax, dword [0x140255db4]
mov ecx, 0xae2074ec
xor ecx, 0xf7c7bcb5
xor eax, ecx
mov ecx, 0xf2c95b00
xor edx, edx
div ecx
mov ecx, 0xffffffff
xor ecx, 0xa5cb7926
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
cmp eax, 0x56f93e74
je 0x1400cc7f4
mov eax, dword [0x140255db8]
xor eax, 0x87359fac
mov ecx, dword [0x140255dbc]
xor edx, edx
div ecx
mov edx, eax
mov ecx, edx
xor ecx, 0xf4041270
xor edx, 0x8528982
or edx, 0x93a9761d
mov eax, ecx
mov ecx, edx
lea eax, [rax + rcx - 0x3a345a76]
mov dword [rbp - 0x28], eax
mov eax, 0xf574a7c6
mov dword [rbp - 0x2c], eax
mov eax, 0x10
call fcn.14024f5c0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x48], rax
sub rsp, 0x20
call fcn.1400dcc05
mov r8, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x48]
add rsp, 0x20
mov r9, rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], r9
add r9, 0x50
mov qword [rbp - 0x40], r9
mov r9, qword [r8]
mov qword [rcx], r9
mov r8, qword [r8 + 8]
mov qword [rcx + 8], r8
mov r8, qword [rax]
mov qword [rdx], r8
mov rax, qword [rax + 8]
mov qword [rdx + 8], rax
sub rsp, 0x20
call fcn.14004bd20
mov rdx, qword [rbp - 0x38]
mov ecx, dword [rbp - 0x2c]
mov eax, dword [rbp - 0x28]
add rsp, 0x20
cmp byte [rdx + 0x50], 0
sete dl
mov byte [rbp - 0x21], dl
cmp eax, ecx
je 0x1400cc4cb
mov al, byte [rbp - 0x21]
test al, 1
jne 0x1400cc5a1
jmp 0x1400cc73f
mov rcx, qword [rbp - 0x10]
mov edx, 0x5c
sub rsp, 0x20
call fcn.14004c0e7
mov rax, qword [rbp - 0x40]
add rsp, 0x20
cmp byte [rax], 0
jne 0x1400cc73f
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 8]
mov qword [rbp - 0x50], rax
cmp rax, 0
je 0x1400cc73f
mov rax, qword [rbp - 0x50]
mov rax, qword [rax]
movabs rdx, 0x1a58a1a16fe1b70f
movabs rcx, 0x1a58a1a16fe1b70e
xor rdx, rcx
mov rcx, rax
add rcx, rdx
movabs rdx, 0xd6f07127ab6f57be
movabs r8, 0x290f8ed85490a841
xor rdx, r8
xor rax, rdx
movabs rdx, 0x4000000000000000
or rax, rdx
add rax, rcx
cmp rax, 0
jne 0x1400cc73f
mov ecx, dword [0x140255dc0]
mov edx, dword [0x140255dc4]
mov eax, 0x57627977
xor eax, 0x9a6f6141
xor edx, eax
mov eax, 0xbce21204
xor eax, 0x431dedfb
xor edx, eax
mov eax, ecx
xor eax, edx
and eax, ecx
sub eax, 0x7dd81788
add eax, 0x3e9575fc
add eax, 0x7dd81788
mov edx, eax
xor edx, 0xffffffff
and edx, 0xb004fc82
mov r8d, 0x3b555248
xor r8d, 0x8b51aeca
mov ecx, 0xa770bc8d
xor ecx, 0x588f4372
xor r8d, ecx
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xb004fc82
or eax, 0xb004fc82
imul eax, edx
add eax, ecx
mov ecx, 0xf6005d81
xor ecx, 0x36734692
add eax, ecx
cmp eax, 0xee65af59
je 0x1400cc7fd
mov rcx, qword [rbp - 0x50]
mov eax, dword [0x140255dc8]
add eax, dword [0x140255dcc]
mov r8d, 0x8002b812
xor r8d, 0xa1e54d6c
mov edx, eax
xor edx, r8d
mov r8d, 0x7d17ac6d
xor r8d, 0x82e85392
xor edx, r8d
mov r8d, 0x1ddd3765
xor r8d, 0x3c3ac21b
or eax, r8d
and eax, edx
xor edx, edx
sub edx, 0xe7af142d
sub eax, edx
mov r8d, 0xe2bade23
xor edx, edx
div r8d
mov dword [rbp - 0x54], eax
sub rsp, 0x20
call fcn.14000e9f6
mov eax, dword [rbp - 0x54]
add rsp, 0x20
cmp eax, 0x1ee9d9ab
je 0x1400cc7fd
jmp 0x1400cc73f
mov eax, dword [0x140255dd0]
mov ecx, 0xd6f77688
xor ecx, 0x526395ef
xor eax, ecx
mov r8d, dword [0x140255dd4]
mov edx, r8d
xor edx, 0xffffffff
mov ecx, eax
and ecx, edx
mov edx, eax
xor edx, r8d
add eax, edx
sub eax, ecx
mov ecx, 0x39a14ad6
xor ecx, 0xbf53aad8
xor edx, edx
div ecx
mov ecx, 0x4594e7af
xor ecx, 0x8485d144
xor eax, ecx
add eax, 0x5c4b3d2d
mov ecx, 0xf7dd0e36
xor ecx, 0xbdb8fcd
cmp eax, ecx
ja 0x1400cc806
mov eax, dword [0x140255dd8]
xor eax, dword [0x140255ddc]
or eax, 0x104f3834
mov ecx, 0xffffffff
xor ecx, 0xba98f476
mov edx, 0xe7d67ed2
xor edx, 0xe7d67ed2
mov r8d, 0x9e4e97d6
xor r8d, 0x9e4e97d7
sub edx, r8d
sub ecx, edx
sub eax, ecx
sub eax, 0xed563346
cmp eax, 0x92682b83
je 0x1400cc7a0
mov rax, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
ror dword [rsi + 0x10], cl
lodsb al, byte [rsi]
jmp 0x1400cc4cb
shr byte [rsp + rbx*4 - 0x24], 0xe9
mov ebp, 0xfafffffe
cli
xor esp, dword [rbp - 0x6e1686]
invalid