Function at 0x1400676e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 0x10], r8
mov word [rbp - 2], cx
mov ecx, dword [0x140243fd8]
and ecx, dword [0x140243fdc]
sub ecx, 0x7bc81d6e
mov eax, ecx
and eax, 0x5bc815a8
shl eax, 1
xor ecx, 0x5bc815a8
add ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, 0xf03c5541
xor edx, 0xe84a684
mov r8d, 0x3adccafc
xor r8d, 0xc5233503
xor edx, r8d
and eax, edx
mov edx, 0xdc1d0a5a
xor edx, 0x22a5f99f
or ecx, edx
xor ecx, 0xffffffff
or eax, ecx
mov ecx, 0x42dc63d0
xor ecx, 0xbd239c2f
xor eax, ecx
mov ecx, 0x7a04dda8
xor ecx, 0x8d727fa3
cmp eax, ecx
jbe 0x140067a61
mov eax, dword [0x140243fe0]
xor eax, 0xeb31f14
mov ecx, dword [0x140243fe4]
xor ecx, 0xae6f44e
imul eax, ecx
mov ecx, eax
or ecx, 0xe045040
not eax
and eax, 0x1098002a
and ecx, 0xf44f451
or eax, ecx
mov ecx, 0xbe612e27
imul rax, rcx
shr rax, 0x3b
mov dword [rbp - 0x18], eax
mov eax, 0xcb0725a
mov dword [rbp - 0x1c], eax
mov eax, 0x20
call fcn.14023fff0
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x50], rax
sub rsp, 0x20
call fcn.1400672eb
mov cx, word [rbp - 2]
add rsp, 0x20
mov qword [rbp - 0x28], rax
mov rax, qword [0x14026bf98]
mov qword [rbp - 0x48], rax
movsx rcx, cx
mov qword [rbp - 0x40], rcx
add rax, 8
shl rcx, 4
add rax, rcx
add rax, 8
mov rcx, qword [rax]
mov qword [rbp - 0x38], rcx
mov rax, rcx
add rax, 8
mov qword [rbp - 0x30], rax
add rcx, 0x13
sub rsp, 0x20
call fcn.1400676b0
mov rdx, qword [rbp - 0x28]
mov ecx, dword [rbp - 0x1c]
add rsp, 0x20
mov r8b, al
mov eax, dword [rbp - 0x18]
mov byte [rbp - 0x12], r8b
mov dl, byte [rdx]
mov r8b, 2
xor r8b, 2
cmp dl, r8b
sete dl
mov byte [rbp - 0x11], dl
cmp eax, ecx
jae 0x14006776a
mov al, byte [rbp - 0x11]
test al, 1
jne 0x14006785c
jmp 0x140067a18
mov rcx, qword [rbp - 0x38]
add rcx, 0x14
sub rsp, 0x20
call fcn.1400676b0
add rsp, 0x20
mov byte [rbp - 0x51], al
cmp al, 0xe0
jne 0x1400678a1
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x48]
add rcx, 8
shl rax, 4
add rcx, rax
sub rsp, 0x20
call fcn.140067a80
add rsp, 0x20
jmp 0x140067a3b
mov rcx, qword [rbp - 0x30]
sub rsp, 0x20
call fcn.1400676b0
mov r8, qword [rbp - 0x38]
mov r10, qword [rbp - 0x10]
mov r9b, byte [rbp - 0x12]
mov cl, byte [rbp - 0x51]
add rsp, 0x20
mov dl, al
mov rax, qword [rbp - 0x50]
add r8, 0x15
mov qword [rax], r10
mov byte [rax + 8], r9b
mov qword [rax + 0x10], r8
movzx edx, dl
mov dword [rax + 0x18], edx
mov rax, qword [0x14025a9c8]
mov rax, qword [rax + 8]
movzx ecx, cl
mov edx, ecx
mov rcx, rax
add rcx, 8
imul r8, rdx, 0x48
add rcx, r8
add rcx, 0x38
add rax, 8
imul rdx, rdx, 0x48
add rax, rdx
add rax, 0x40
mov rax, qword [rax]
mov qword [rbp - 0x68], rax
mov rcx, qword [rcx]
mov qword [rbp - 0x60], rcx
cmp rax, 0
je 0x140067940
mov rax, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x50]
sub rsp, 0x20
call rax
add rsp, 0x20
jmp 0x140067a18
mov eax, dword [0x140243fe8]
mov edx, dword [0x140243fec]
mov ecx, eax
xor ecx, 0xffffffff
and ecx, edx
xor edx, 0xffffffff
and eax, edx
sub eax, ecx
imul eax, eax, 0xa3b1864
mov ecx, 0x7a364c4f
xor ecx, 0xc4db5823
sub eax, ecx
sub eax, 0x484f12be
mov ecx, 0xeaf6c049
xor ecx, 0x541bd425
add eax, ecx
mov ecx, 0xdadd725d
xor edx, edx
div ecx
cmp eax, 0x27a7b569
jae 0x140067a6a
mov rax, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
mov edx, dword [0x140243ff0]
mov r9d, dword [0x140243ff4]
mov r8d, 0x9528e53e
xor r8d, 0xa9b116f5
xor r9d, r8d
mov r10d, edx
xor r10d, r9d
xor r10d, 0xffffffff
mov r8d, r9d
and r8d, r10d
shl r8d, 1
sub r8d, r9d
sub edx, r8d
xor edx, 0xd26fd244
mov r8d, 0x527dfb92
xor r8d, 0x8c3f9658
and edx, r8d
mov r8d, 0xca18f007
xor r8d, 0x611656dc
and edx, r8d
mov dword [rbp - 0x6c], edx
sub rsp, 0x20
call rax
mov eax, dword [rbp - 0x6c]
add rsp, 0x20
cmp eax, 0xc1c32afa
je 0x140067993
jmp 0x140067a18
mov rax, qword [rbp - 0x40]
mov rcx, qword [0x14026bf98]
add rcx, 8
shl rax, 4
add rcx, rax
sub rsp, 0x20
call fcn.140067a80
add rsp, 0x20
mov rcx, qword [rbp - 0x40]
mov rax, qword [0x14026bf98]
add rax, 8
shl rcx, 4
add rax, rcx
add rax, 8
mov rax, qword [rax]
mov byte [rax + 0xa], 0x35
mov rsp, rbp
pop rbp
ret
push rdi
out 0x6a, eax
jmp 0x14006776a
jns 0x140067abd
invalid